/**
 * ==============================================================================
 * QURL (qurl.kr) 전용 스타일시트 (custom.css)
 * ==============================================================================
 */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #475569;
    --dark-bg: #0f172a;
    --card-border-radius: 1rem;
    --transition-smooth: all 0.25s ease-in-out;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    min-height: 100vh;
}

/* 텍스트 그라디언트 */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------------------------
 * 랜딩 페이지 스타일
 * ------------------------------------------------------------------------------ */
.landing-body {
    background-color: #0f172a;
}

.hero-section {
    background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card {
    transition: var(--transition-smooth);
    border-radius: var(--card-border-radius);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12) !important;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------------------
 * 관리자 페이지 Top Navbar 레이아웃
 * ------------------------------------------------------------------------------ */
.admin-navbar {
    background: #0f172a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-navbar .navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.admin-navbar .nav-link {
    font-weight: 500;
    color: #94a3b8 !important;
    padding: 0.6rem 1rem !important;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
    margin: 0 2px;
}

.admin-navbar .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08);
}

.admin-navbar .nav-link.active {
    color: #ffffff !important;
    background-color: #2563eb;
}

/* 통계 및 요약 카드 */
.stat-card {
    border-radius: var(--card-border-radius);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-3px);
}

/* 테이블 커스텀 */
.table-custom {
    vertical-align: middle;
}

.table-custom th {
    background-color: #f1f5f9;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.table-custom td {
    padding: 0.85rem 0.75rem;
    font-size: 0.925rem;
}

/* 원클릭 복사 버튼 및 링크 강조 */
.code-badge {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #eff6ff;
    color: #1d4ed8;
    padding: 0.25rem 0.6rem;
    border-radius: 0.375rem;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-copy {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    transform: scale(1.1);
}

/* 모달 커스텀 */
.modal-content {
    border-radius: var(--card-border-radius);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 토스트 알림 고정 위치 */
.toast-container {
    z-index: 9999;
}
