/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #111640;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.3);
    --red: #dc2626;
    --red-soft: rgba(220, 38, 38, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(175deg, #0a0e27 0%, #15112b 40%, #1a0a1e 70%, #1c0a0a 100%);
}

/* ===== Stars Background ===== */
.stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite alternate;
}

.star:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.star:nth-child(2) { top: 12%; left: 85%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 20%; left: 45%; animation-delay: 1s; opacity: 0.6; }
.star:nth-child(4) { top: 8%; left: 65%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 30%; left: 20%; animation-delay: 2s; opacity: 0.4; }
.star:nth-child(6) { top: 15%; left: 35%; animation-delay: 0.3s; width: 3px; height: 3px; }
.star:nth-child(7) { top: 25%; left: 75%; animation-delay: 0.8s; }
.star:nth-child(8) { top: 35%; left: 90%; animation-delay: 1.2s; opacity: 0.5; }
.star:nth-child(9) { top: 40%; left: 5%; animation-delay: 1.8s; }
.star:nth-child(10) { top: 3%; left: 50%; animation-delay: 2.5s; width: 3px; height: 3px; }
.star:nth-child(11) { top: 50%; left: 30%; animation-delay: 0.7s; opacity: 0.3; }
.star:nth-child(12) { top: 55%; left: 70%; animation-delay: 1.3s; }
.star:nth-child(13) { top: 60%; left: 15%; animation-delay: 2.2s; opacity: 0.5; }
.star:nth-child(14) { top: 65%; left: 55%; animation-delay: 0.4s; }
.star:nth-child(15) { top: 70%; left: 40%; animation-delay: 1.6s; width: 3px; height: 3px; }
.star:nth-child(16) { top: 75%; left: 80%; animation-delay: 0.9s; opacity: 0.4; }
.star:nth-child(17) { top: 80%; left: 25%; animation-delay: 2.1s; }
.star:nth-child(18) { top: 85%; left: 60%; animation-delay: 1.1s; opacity: 0.6; }
.star:nth-child(19) { top: 90%; left: 10%; animation-delay: 0.6s; }
.star:nth-child(20) { top: 45%; left: 95%; animation-delay: 1.9s; width: 3px; height: 3px; }

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.3); }
}

/* ===== Header ===== */
.header {
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem 1rem;
    display: flex;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 7rem;
    width: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
    animation: floatIn 0.8s ease-out;
}

/* ===== Main ===== */
.main {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem 3rem;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===== Location Cards ===== */
.locations {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeUp 0.5s ease-out both;
    animation-delay: calc(0.3s + var(--delay) * 0.08s);
    cursor: pointer;
}

.location-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 158, 11, 0.15);
}

.location-card:active {
    transform: translateY(0);
}

.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--red-soft);
    color: #f87171;
    flex-shrink: 0;
}

.location-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.location-name {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.location-cta {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.location-arrow {
    color: var(--text-secondary);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.location-card:hover .location-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ===== Animations ===== */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .logo {
        height: 9rem;
    }

    .header {
        padding: 3rem 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .main {
        max-width: 520px;
        padding: 2rem 2rem 4rem;
    }

    .location-card {
        padding: 1.25rem 1.5rem;
    }

    .location-name {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .main {
        max-width: 560px;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.location-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
