/* Tomorrowland Thailand 2026 - Mobile-First Styles */
:root {
    --primary: #1a0a2e;
    --primary-light: #2d1b4e;
    --accent: #ff6b35;
    --accent-hover: #ff8555;
    --gold: #d4af37;
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.7);
    --bg-dark: #0a0a0a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Navigation - Mobile First */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: 2px; }
.logo-sub { font-size: 0.6rem; color: var(--gold); letter-spacing: 1px; }

.nav-links { display: none; }

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span { width: 22px; height: 2px; background: var(--text); transition: 0.3s; }

/* Hero - Mobile First */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,10,46,0.6) 0%, rgba(10,10,10,0.9) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 16px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.hero-title span { color: var(--gold); display: block; }
.hero-subtitle { font-size: 0.9rem; color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.hero-desc { font-size: 0.9rem; color: var(--text-muted); }

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 16px;
    text-align: center;
}

.cta-section h2 { font-size: 1.4rem; margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem; }

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 14px 32px;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Section Titles */
.section-title { font-size: 1.5rem; text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; }

/* Passes Section */
.passes-section { padding: 40px 16px; background: var(--bg-dark); }

.passes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pass-card {
    background: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.pass-card.featured { border: 2px solid var(--gold); }

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.pass-img { height: 140px; background-size: cover; background-position: center; }

.pass-content { padding: 16px; }
.pass-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pass-content p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.price { color: var(--gold); font-size: 1rem; font-weight: 600; }

/* Sales Timeline - Mobile */
.sales-section {
    padding: 40px 16px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary) 100%);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-content { flex: 1; }
.timeline-date { color: var(--gold); font-size: 0.75rem; display: block; margin-bottom: 2px; }
.timeline-content strong { font-size: 0.9rem; }

/* Practical Section */
.practical-section { padding: 40px 16px; background: var(--primary); }

.practical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.practical-card {
    text-align: center;
    padding: 20px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.practical-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    color: var(--gold);
}

.practical-card h3 { font-size: 0.85rem; margin-bottom: 6px; color: var(--gold); }
.practical-card p { color: var(--text-muted); font-size: 0.75rem; line-height: 1.4; }

/* Media Section */
.media-section { padding: 40px 16px; background: var(--bg-dark); }

.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.media-card { border-radius: 12px; overflow: hidden; background: var(--primary); }
.media-img { height: 150px; background-size: cover; background-position: center; }
.media-card h3 { padding: 12px; font-size: 0.9rem; }

/* FAQ Section */
.faq-section {
    padding: 40px 16px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary) 100%);
}

.faq-list { max-width: 600px; margin: 0 auto; }

.faq-item {
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon { font-size: 1.2rem; color: var(--gold); transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.active .faq-answer { max-height: 150px; }
.faq-answer p { padding: 14px; color: var(--text-muted); font-size: 0.85rem; }

/* SEO Section */
.seo-section { padding: 40px 16px; background: var(--primary); }
.seo-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.85rem; text-align: justify; }

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 40px 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-brand .logo-text { font-size: 0.9rem; }
.footer-brand .logo-sub { font-size: 0.55rem; }

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.footer-bottom { text-align: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: var(--text-muted); font-size: 0.75rem; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }

.modal-content {
    position: relative;
    background: var(--primary);
    padding: 24px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-content h2 { font-size: 1.3rem; margin-bottom: 8px; }
.modal-content > p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.85rem; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.8rem; color: var(--text-muted); }

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: var(--text);
    font-size: 1rem;
}

.form-group input:focus { outline: none; border-color: var(--gold); }
.btn-full { width: 100%; }
#formStatus { margin-top: 14px; text-align: center; color: var(--gold); font-size: 0.85rem; }

/* Desktop Styles */
@media (min-width: 768px) {
    .container { padding: 0 24px; }
    .navbar { padding: 16px 0; }
    .nav-container { padding: 0 24px; }
    .logo-text { font-size: 1.3rem; }
    .logo-sub { font-size: 0.65rem; }
    
    .nav-links {
        display: flex;
        gap: 24px;
    }
    
    .nav-links a {
        color: var(--text);
        text-decoration: none;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        cursor: pointer;
    }
    
    .nav-links a:hover { color: var(--gold); }
    .mobile-toggle { display: none; }
    
    .hero { height: 90vh; }
    .hero-title { font-size: 3.5rem; letter-spacing: 4px; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-desc { font-size: 1rem; }
    
    .cta-section { padding: 60px 24px; }
    .cta-section h2 { font-size: 2rem; }
    
    .section-title { font-size: 2rem; margin-bottom: 12px; }
    .section-subtitle { margin-bottom: 36px; }
    
    .passes-section { padding: 60px 24px; }
    .passes-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pass-img { height: 180px; }
    .pass-content { padding: 20px; }
    .pass-content h3 { font-size: 1.2rem; }
    
    .sales-section { padding: 60px 24px; }
    .timeline { flex-direction: row; max-width: none; justify-content: center; }
    .timeline-item { flex-direction: column; text-align: center; padding: 20px; min-width: 160px; }
    
    .practical-section { padding: 60px 24px; }
    .practical-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .practical-card { padding: 24px 16px; }
    .practical-icon { width: 40px; height: 40px; }
    .practical-card h3 { font-size: 0.95rem; }
    .practical-card p { font-size: 0.8rem; }
    
    .media-section { padding: 60px 24px; }
    .media-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .media-img { height: 180px; }
    
    .faq-section { padding: 60px 24px; }
    .faq-question { padding: 18px; }
    
    .seo-section { padding: 60px 24px; }
    .seo-content { columns: 2; column-gap: 32px; }
    .seo-content p { font-size: 0.9rem; }
    
    .footer { padding: 50px 24px 24px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 1024px) {
    .passes-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-title { font-size: 4.5rem; }
}
.seo-content a, .footer-bottom a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
}
.seo-content a:hover, .footer-bottom a:hover {
	color: var(--gold);
}