* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #212155;
    --bg-secondary: #191945;
    --bg-tertiary: #2a2a6a;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #a0a0c0;
    --accent: #ffc418;
    --accent-light: rgba(255, 196, 24, 0.15);
    --border: #3a3a7a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(33, 33, 85, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 196, 24, 0.15);
    padding: 16px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 48px;
    }
}

.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 24px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 40;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding-top: 17px;
    padding-bottom: 64px;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 196, 24, 0.18);
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: rgba(33, 33, 85, 0.5);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    width: 100%;
}

/* Mobile: logo on top, centered */
.hero-logo-mobile {
    display: block;
    text-align: center;
    margin-bottom: 24px;
}

.hero-logo-mobile img {
    width: 180px;
    height: auto;
}

/* Desktop: logo hidden on mobile */
.hero-logo-desktop {
    display: none;
}

@media (min-width: 768px) {
    .hero-layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 48px;
    }

    .hero-text {
        flex: 1;
    }

    .hero-logo-mobile {
        display: none;
    }

    .hero-logo-desktop {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .hero-logo-desktop img {
        width: 280px;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .hero-logo-desktop img {
        width: 380px;
    }
}

@media (min-width: 1280px) {
    .hero-logo-desktop img {
        width: 450px;
    }
}

.badge {
    display: inline-block;
    background: var(--accent-light);
    border: 1px solid rgba(255, 196, 24, 0.4);
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 32px;
    word-spacing: 100vw;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 64px;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 96px;
    }
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 512px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: #212155;
}

.btn-primary:hover {
    background-color: #ffcf40;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 196, 24, 0.35);
}

.btn-secondary {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Section */
.section {
    padding: 64px 24px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 48px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 48px;
    }
}

/* Routes / Kategori */
#routes {
    background: var(--bg-primary);
}

.routes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.route-card {
    background: linear-gradient(135deg, rgba(255, 196, 24, 0.08), var(--bg-tertiary));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.route-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
}

.route-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.route-stat {
    text-align: center;
}

.route-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.route-stat-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
}

.route-card p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Registration */
#register {
    background: var(--bg-secondary);
}

.register-card {
    max-width: 896px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 196, 24, 0.1), var(--bg-tertiary));
    border: 1px solid rgba(255, 196, 24, 0.2);
    border-radius: 24px;
    padding: 32px;
}

@media (min-width: 768px) {
    .register-card {
        padding: 48px;
    }
}

.register-card h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .register-card h2 {
        font-size: 48px;
    }
}

.register-card > p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
}

.register-btn {
    width: 100%;
    background-color: var(--accent);
    color: #212155;
    font-weight: 900;
    font-size: 18px;
    padding: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.register-btn:hover {
    background-color: #ffcf40;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 196, 24, 0.35);
}

.register-disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-section:first-child h4 {
    color: var(--accent);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 32px;
    padding-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.count-up {
    display: inline-block;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.typed-cursor {
    display: inline-block;
    width: 3px;
    background: var(--accent);
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: rgba(255, 196, 24, 0.4);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Countdown */
.countdown-section {
    padding: 64px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.countdown-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.countdown-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .countdown-title {
        font-size: 36px;
    }
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .countdown-boxes {
        gap: 24px;
    }
}

.countdown-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 16px;
    min-width: 70px;
    transition: border-color 0.3s ease;
}

@media (min-width: 640px) {
    .countdown-box {
        padding: 28px 24px;
        min-width: 100px;
    }
}

.countdown-box:hover {
    border-color: rgba(255, 196, 24, 0.4);
}

.countdown-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

@media (min-width: 640px) {
    .countdown-value {
        font-size: 48px;
    }
}

.countdown-unit {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 640px) {
    .countdown-unit {
        font-size: 13px;
    }
}
