/* ============================================
   THE 1% LAQ - Global Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-deep: #f4f6fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4ff;
    --accent: #3a6fd8;
    --accent-glow: rgba(58, 111, 216, 0.15);
    --accent-soft: rgba(58, 111, 216, 0.06);
    --text-primary: #1a2030;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border: rgba(0, 0, 0, 0.1);
    --border-active: rgba(201, 168, 76, 0.6);
    --success: #38a169;
    --selected-bg: rgba(58, 111, 216, 0.08);
    --selected-border: rgba(58, 111, 216, 0.4);
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
}

/* --- Background atmosphere --- */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(58, 111, 216, 0.04) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-2%, 1%) rotate(1deg); }
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Common Components --- */
.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    backdrop-filter: blur(8px);
    background: rgba(79, 140, 255, 0.05);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.8rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #4f8cff 0%, #6366f1 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 24px rgba(79, 140, 255, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 40px rgba(79, 140, 255, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--border-active);
    color: var(--text-primary);
}

/* --- Top Bar --- */
.top-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: rgba(10, 15, 26, 0.8);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
}

/* --- Progress Bar --- */
.progress-bar-wrap {
    position: relative;
    z-index: 1;
    height: 3px;
    background: rgba(79, 140, 255, 0.08);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f8cff, #6366f1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(79, 140, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .btn-primary { padding: 0.85rem 2rem; font-size: 0.9rem; }
}