@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #050511;
    /* Very dark blue/black */
    --text-white: #ffffff;
    --text-muted: #9ca3af;
    --accent-purple: #7c3aed;
    --accent-pink: #db2777;
    --gradient-text: linear-gradient(135deg, #a78bfa, #f472b6);
    /* Lavender to Pink */
    --gradient-btn: linear-gradient(to right, #ffffff, #f3f4f6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Navbar - Minimal & Transparent */
.navbar {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.nav-links a {
    margin: 0 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover {
    color: white;
}

/* Hero Section - EskHype Specific */
.hero-wrapper {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 40px;
    background: radial-gradient(circle at center, #1e1b4b 0%, #050511 60%);
}

.pill-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c4b5fd;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: #a78bfa;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-direction: row;
    /* Force side-by-side */
}

.btn-white {
    background: white;
    color: black;
    padding: 16px 36px;
    /* Slightly larger padded */
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    /* Initial glow */
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.btn-white:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    /* Stronger glow on hover */
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    /* Slight tint */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    /* Modern glass effect */
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
}


/* Section Headers */
.section-header-clean {
    padding: 60px 0 30px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Horizontal Cards (Refined) */
.event-card-h {
    display: flex;
    background: #0f0f1a;
    border: 1px solid #1f1f2e;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: 0.3s;
}

.event-card-h:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.card-img-h {
    width: 280px;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.card-body-h {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.card-date-h {
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-title-h {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-loc-h {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-actions-h {
    margin-top: auto;
}

/* Newsletter Section */
.newsletter-section {
    background: #5b21b6;
    /* Vivid Purple */
    padding: 80px 40px;
    text-align: center;
    margin-top: 80px;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    padding: 8px;
    border-radius: 50px;
    width: 100%;
    max-width: 500px;
}

.newsletter-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0 20px;
    flex: 1;
    outline: none;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: white;
    color: #5b21b6;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1000;
        color: white;
    }

    .nav-links {
        display: none !important;
    }

    .user-actions-desktop {
        display: none !important;
    }

    /* Mobile Menu Drawer Structure */
    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(15, 15, 26, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .mobile-drawer.active {
        right: 0;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .drawer-header {
        padding: 25px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .drawer-header h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 900;
        background: var(--gradient-text);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -1px;
    }

    .btn-close-drawer {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s;
    }

    .btn-close-drawer:hover {
        background: #ef4444;
        border-color: #ef4444;
        transform: rotate(90deg);
    }

    .drawer-nav {
        padding: 20px 0;
        display: flex;
        flex-direction: column;
    }

    .drawer-nav a {
        padding: 16px 25px;
        font-size: 1.15rem;
        font-weight: 600;
        color: #cbd5e1;
        display: flex;
        align-items: center;
        gap: 15px;
        border-left: 4px solid transparent;
        transition: 0.3s;
    }

    .drawer-nav a:hover {
        background: rgba(167, 139, 250, 0.05);
        color: white;
        border-left-color: #a78bfa;
    }

    .drawer-nav a i {
        width: 30px;
        text-align: center;
        font-size: 1.3rem;
        color: #a78bfa;
    }

    .drawer-actions {
        margin-top: auto;
        padding: 30px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }


    .hero-title {
        font-size: 3rem;
    }

    /* Fix Index Page Event Cards */
    .event-card-h {
        flex-direction: column;
        height: auto !important;
    }

    .card-img-h {
        width: 100%;
        height: 250px;
        min-height: 250px;
    }

    .card-img-container {
        width: 100% !important;
        height: 250px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Fix Event Detail Page */
    .event-layout {
        grid-template-columns: 1fr !important;
        margin-top: -50px !important;
        padding: 0 20px !important;
    }

    .event-sidebar {
        order: -1;
        /* Show ticket card first on mobile? Or keep bottom? Let's keep bottom or top. Usually ticket bottom. */
        /* Let's keep duplicate booking card logic if we want sticky bottom, but simpler to just stack. */
    }

    .booking-card {
        position: static !important;
        margin-top: 20px;
    }

    /* Fix Buy Ticket Page */
    .grid-responsive {
        grid-template-columns: 1fr !important;
    }

    /* Stack Hero Buttons on Mobile */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 40px;
    }

    .btn-white,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

.mobile-menu-btn {
    display: none;
}

/* New Utility for Responsive Grids */
.grid-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Base Global Mobile Drawer Styles (Hidden on Desktop) */
.mobile-drawer {
    /* Blocked by default on desktop */
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

@media (min-width: 769px) {

    .mobile-drawer,
    .mobile-overlay {
        display: none !important;
    }
}

.drawer-header {
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.btn-close-drawer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-close-drawer:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.drawer-nav {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.drawer-nav a {
    padding: 16px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid transparent;
    transition: 0.3s;
}

.drawer-nav a:hover {
    background: rgba(167, 139, 250, 0.05);
    color: white;
    border-left-color: #a78bfa;
}

.drawer-nav a i {
    width: 30px;
    text-align: center;
    font-size: 1.3rem;
    color: #a78bfa;
}

.drawer-actions {
    margin-top: auto;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}