@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Premium Glassmorphism Dark Theme (GenZ Aesthetic) */
    --bg-dark: #030303;
    --bg-darker: #000000;
    --text-primary: #FFFFFF;
    --text-off: #8A8A93;
    
    --purple-main: #9D7AFF;
    --purple-glow: rgba(157, 122, 255, 0.2);
    --accent-blue: #4D9FFF;
    --accent-green: #39FF88;
    --accent-pink: #FF39B4;
    --accent-yellow: #FFD239;
    
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --border-radius-lg: 32px;
    --border-radius-md: 24px;
    --border-radius-sm: 16px;
    --glow-purple: 0 0 50px rgba(157, 122, 255, 0.15);
    --glow-green: 0 0 50px rgba(57, 255, 136, 0.15);
}

/* Texture overlay for premium feel */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: url('https://raw.githubusercontent.com/Antigravity-AI/assets/main/noise.png');
    opacity: 0.04;
    z-index: 999;
    pointer-events: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background ambient glow */
body::before {
    content: '';
    position: fixed;
    top: -20%; left: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(120px);
    animation: pulseGlow 10s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%; right: -10%;
    width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(57, 255, 136, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(120px);
    animation: pulseGlow 12s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideTogetherLeft {
    0% { opacity: 0; transform: translateX(-50px); filter: blur(10px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes slideTogetherRight {
    0% { opacity: 0; transform: translateX(50px); filter: blur(10px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.slide-left { display: inline-block; animation: slideTogetherLeft 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.slide-right { display: inline-block; animation: slideTogetherRight 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    margin-top: 60px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.marquee-container::before, .marquee-container::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 1.2rem;
    color: var(--purple-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
}
.marquee-content span { margin: 0 40px; display: inline-block; }

@keyframes float3D {
    0% { transform: translateY(0px) perspective(600px) rotateX(0deg); }
    50% { transform: translateY(-8px) perspective(600px) rotateX(8deg); }
    100% { transform: translateY(0px) perspective(600px) rotateX(0deg); }
}
.float-3d {
    animation: float3D 6s ease-in-out infinite;
    display: inline-block;
    transform-style: preserve-3d;
}

/* Texture overlay for premium feel */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: url('https://raw.githubusercontent.com/Antigravity-AI/assets/main/noise.png');
    opacity: 0.03;
    z-index: 999;
    pointer-events: none;
}

/* Typography Details */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
p { font-weight: 400; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }

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

/* Glass Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 100;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.nav-logo span { color: var(--purple-main); }

.nav-links { display: flex; gap: 32px; font-size: 0.95rem; font-weight: 500; color: var(--text-off); }
.nav-links a:hover { color: var(--text-primary); }

.btn {
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary { 
    background: var(--text-primary); 
    color: var(--bg-darker); 
}
.btn-primary:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 10px 30px rgba(255,255,255,0.25); 
}
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--border-light); 
    color: var(--text-primary); 
}
.btn-outline:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--text-primary);
}
.btn-glass { 
    background: rgba(255,255,255,0.03); 
    backdrop-filter: blur(16px); 
    color: white; 
    border: 1px solid var(--border-light); 
}
.btn-glass:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* --- Clean Hero Area --- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 0 80px;
    background: radial-gradient(circle at 50% 50%, rgba(157, 122, 255, 0.15) 0%, transparent 80%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1519671482749-fd098f3b1a83?q=80&w=2000&auto=format&fit=crop') center/cover;
    opacity: 0.15;
    z-index: -1;
    filter: blur(2px);
}
.hero-badge {
    background: rgba(157, 122, 255, 0.1);
    color: var(--purple-main);
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(142, 107, 255, 0.2);
    margin-bottom: 30px;
}
.hero-title { 
    font-size: clamp(3.5rem, 10vw, 7rem); 
    margin-bottom: 24px; 
    line-height: 1;
    letter-spacing: -0.06em;
}
.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-off);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* --- Beautiful City Hero --- */
.city-hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    border: none;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.city-hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(3,3,3,0.3) 0%, rgba(3,3,3,1) 100%);
    z-index: 1;
}
.city-hero-section .container { position: relative; z-index: 2; }

/* --- Rounded City Cards (Requested by User) --- */
.section { padding: 100px 0; position: relative; z-index: 2;}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-off); max-width: 600px; margin: 0 auto; }

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.img-card {
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.img-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    transition: background 0.3s;
}
.img-card:hover { 
    transform: scale(1.03) translateY(-10px); 
    border-color: var(--purple-main);
    box-shadow: 0 20px 60px rgba(159, 131, 255, 0.15);
} 
.img-card:hover::before { background: rgba(0, 0, 0, 0.3); }

.img-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}
.img-content h3 { font-size: 3rem; margin-bottom: 20px; color: white; text-shadow: 0 4px 20px rgba(0,0,0,0.8); letter-spacing: -0.05em; }
.img-content .btn-glass { font-size: 0.95rem; padding: 12px 24px; }


/* --- Premium Community Cards (City Pages) --- */
.community-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 1000px) { .community-grid-3x3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .community-grid-3x3 { grid-template-columns: 1fr; } }

.community-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    height: 100%;
}
.community-card-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
    transition: transform 0.8s ease;
}
.community-card:hover .community-card-banner {
    transform: scale(1.08);
}
.community-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}
.community-card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), var(--glow-purple);
}
.community-card-icon {
    width: 72px;
    height: 72px;
    min-height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background: var(--purple-main);
    border: 6px solid var(--bg-dark);
    margin-top: -66px; /* Adjusted for banner overlap */
    margin-bottom: 20px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}
.community-card:hover .community-card-icon {
    transform: scale(1.1);
}

/* Fix for cards without banner (though we will add banners to all) */
.community-card:not(:has(.community-card-banner)) .community-card-icon {
    margin-top: 20px;
}
.community-card h3 { 
    font-size: 1.6rem; 
    margin-bottom: 10px; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    height: 1.6rem; /* Fixed height for 1 line */
    line-height: 1;
}
.community-card p.meta { 
    color: var(--purple-main); 
    font-size: 0.9rem; 
    font-weight: 700; 
    margin-bottom: 16px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.community-card p.desc { 
    color: var(--text-off); 
    font-size: 1rem; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    flex-grow: 1; 
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.community-card .ticket-footer {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}
.btn-social {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.btn-social:hover { background: rgba(255,255,255,0.1); }
.btn-social.primary {
    background: var(--text-primary);
    color: black;
}
.btn-social.primary:hover { opacity: 0.9; }

/* FAQ Layout */
.faq-box {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
    cursor: pointer;
}
.faq-box p { font-size: 1.1rem; font-weight: 500; }
.faq-answer { display: none; margin-top: 12px; color: var(--text-off); font-size: 0.95rem; }
.faq-box.active .faq-answer { display: block; }

/* Functional Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 100px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.footer h4 { font-size: 1.5rem; margin-bottom: 16px; }
.footer p { color: var(--text-off); font-size: 0.9rem; margin-bottom: 24px; }
.f-col h5 { font-size: 0.9rem; color: var(--text-off); text-transform: uppercase; margin-bottom: 16px; }
.f-col a { display: block; color: var(--text-primary); margin-bottom: 12px; font-size: 0.95rem; }
.f-col a:hover { opacity: 0.7; }
.socials i { font-size: 1.5rem; margin-right: 12px; color: white; opacity: 0.7; }
.socials i:hover { opacity: 1; }

/* Events section styling */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.event-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}
.event-card:hover {
    transform: translateX(8px);
    border-color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .navbar { position: absolute; }
    .container { padding: 0 6%; }
    .hero { padding: 140px 0 60px; min-height: 60vh; }
    .hero-title { font-size: 2.8rem; }
    .nav-links { display: none; }
    .city-grid { grid-template-columns: 1fr; gap: 20px; }
    .community-grid-3x3 { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .f-brand { display: flex; flex-direction: column; align-items: center; }
    .socials { margin-top: 10px; }
    .event-card { flex-direction: column; align-items: flex-start; gap: 20px; }
    .event-card .btn { width: 100%; }
    .section { padding: 60px 0; }
    .img-content h3 { font-size: 2.4rem; }
    .img-card { height: 320px; }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Section Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 280px;
    border: 1px solid var(--border-light);
    transition: all 0.4s;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.gallery-item:hover {
    border-color: var(--purple-main);
    box-shadow: var(--glow-purple);
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* CTA Section Styles */
.cta-overlay {
    background: linear-gradient(135deg, rgba(159, 131, 255, 0.1) 0%, rgba(5, 5, 5, 1) 100%);
    padding: 80px 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
}

