/* ============================================================
   EventHorizon - Main Stylesheet
   Theme: Premium dark purple / blue neon
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
    --bg-dark: #050816;
    --bg-light: #0b1023;
    --bg-card: #11162a;
    --bg-nav: rgba(7, 11, 24, 0.88);

    --accent-purple: #7c3aed;
    --accent-purple-dark: #5b21b6;
    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --accent-pink: #ec4899;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --border: rgba(148, 163, 184, 0.14);

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --radius: 14px;
    --radius-lg: 20px;

    --shadow: 0 10px 35px rgba(2, 6, 23, 0.45);
    --shadow-glow: 0 0 28px rgba(124, 58, 237, 0.22);

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top, rgba(124, 58, 237, 0.12), transparent 28%),
        linear-gradient(180deg, #060816 0%, #050816 100%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: 0.25s ease;
}

a:hover {
    color: var(--accent-cyan);
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.hidden { display: none; }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--bg-nav);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.12);
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-links a {
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.navbar-links a:hover,
.navbar-links a.active {
    background: rgba(124, 58, 237, 0.16);
    color: var(--text-primary);
}

.navbar-links .btn-nav {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.navbar-links .btn-nav:hover {
    transform: translateY(-1px);
}

/* ---------- Hamburger ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 24px 90px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.25), transparent 32%),
        linear-gradient(180deg, #0a0f22 0%, #060816 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(56, 189, 248, 0.22) 1px, transparent 1px);
    background-size: 68px 68px;
    opacity: 0.16;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(56, 189, 248, 0.08);
    color: #c4f1ff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.12;
    font-weight: 900;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 20%, #7dd3fc 55%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.08);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 34px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(124, 58, 237, 0.35);
    color: #fff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.5);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-2px);
    color: #d9f6ff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-success:hover {
    background: #059669;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Sections ---------- */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title span {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 12px;
}

.section-divider {
    width: 68px;
    height: 3px;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
}

/* ---------- Cards ---------- */
.card {
    background: linear-gradient(180deg, rgba(17, 22, 42, 0.95), rgba(13, 18, 36, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.25s ease;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.25);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #1a0a3a, #0a1a3a);
}

.card-img-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #1a0a3a 0%, #0d1b4a 100%);
}

.card-body {
    padding: 20px;
}

.card-category {
    display: inline-block;
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-bottom: 14px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue);
}

/* ---------- Features Grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 28px;
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(56,189,248,0.14));
    border: 1px solid rgba(124,58,237,0.18);
}

/* ---------- CTA ---------- */
.home-cta {
    padding: 10px 0 90px;
}

.cta-box {
    text-align: center;
    padding: 44px 28px;
    background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(17,22,42,0.95));
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.cta-box h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ---------- Grid ---------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

/* ---------- Auth ---------- */
.auth-wrapper {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: radial-gradient(ellipse at center, #110a2a 0%, var(--bg-dark) 70%);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 40px rgba(124,58,237,0.18);
}

.auth-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.14);
}

.form-control::placeholder {
    color: #64748b;
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--bg-card);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ---------- Alerts ---------- */
.alert {
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6ee7b7;
}

.alert-danger {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}

.alert-info {
    background: rgba(6,182,212,0.15);
    border: 1px solid rgba(6,182,212,0.3);
    color: #67e8f9;
}

.alert-warning {
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    color: #fcd34d;
}

/* ---------- Tables ---------- */
.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: rgba(124,58,237,0.08);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

tbody tr {
    border-bottom: 1px solid rgba(30,30,63,0.8);
    transition: background 0.15s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(124,58,237,0.04);
}

tbody td {
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.9rem;
    vertical-align: middle;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.badge-danger  { background: rgba(239,68,68,0.2); color: #fca5a5; }
.badge-warning { background: rgba(245,158,11,0.2); color: #fcd34d; }
.badge-info    { background: rgba(6,182,212,0.2); color: #67e8f9; }
.badge-purple  { background: rgba(124,58,237,0.2); color: #c4b5fd; }

/* ---------- Admin Dashboard ---------- */
.admin-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
}

.sidebar {
    width: 240px;
    min-width: 240px;
    background: linear-gradient(180deg, #0b1023, #090d1d);
    border-right: 1px solid var(--border);
    padding: 24px 0;
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 0 20px 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(124,58,237,0.1);
    color: var(--text-primary);
    border-left-color: var(--accent-purple);
}

.sidebar-link span {
    font-size: 1.1rem;
}

.admin-content {
    flex: 1;
    padding: 32px;
    overflow-x: auto;
}

/* ---------- Stats Cards ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.stat-icon.purple { background: rgba(124,58,237,0.15); }
.stat-icon.teal   { background: rgba(6,182,212,0.15); }
.stat-icon.green  { background: rgba(16,185,129,0.15); }
.stat-icon.pink   { background: rgba(236,72,153,0.15); }

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Search Bar ---------- */
.search-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 16px;
    max-width: 480px;
    margin: 0 auto 32px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.search-bar input::placeholder {
    color: #64748b;
}

.search-bar button {
    background: var(--accent-purple);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
}

.search-bar button:hover {
    background: #6d28d9;
}

/* ---------- Page Header ---------- */
.page-header {
    padding: 40px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.45rem;
    font-weight: 700;
}

/* ---------- Event Detail ---------- */
.event-detail-hero {
    background: linear-gradient(135deg, rgba(26,10,58,0.95) 0%, rgba(13,27,74,0.95) 100%);
    border-radius: var(--radius);
    padding: 48px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    display: flex;
    gap: 40px;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.event-detail-icon {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    background: rgba(124,58,237,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-detail-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.event-meta-item {
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.04);
}

.event-meta-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.event-meta-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ---------- Booking ---------- */
.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: sticky;
    top: 88px;
    box-shadow: var(--shadow);
}

.booking-price {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.booking-price small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

/* ---------- Seats ---------- */
.seats-bar {
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0 4px;
}

.seats-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    transition: width 0.5s ease;
}

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}

.empty-state .emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 80px;
    background:
        linear-gradient(180deg, #0b1023 0%, #060816 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.12);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(124,58,237,0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(56,189,248,0.10), transparent 28%);
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 1;
    padding: 64px 24px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
    padding-left: 3px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #7c8aa5;
    font-size: 0.88rem;
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    transform: scale(0.95);
    transition: transform 0.2s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #0b1023;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        align-items: stretch;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
    }

    .navbar-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .navbar-links a {
        padding: 12px 16px;
    }

    .hero {
        padding: 90px 20px 70px;
    }

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

    .event-detail-hero {
        flex-direction: column;
        padding: 28px;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: unset;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding-top: 52px;
    }

    .footer-text {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .events-grid,
    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 72px 16px 56px;
    }

    .container {
        padding: 0 16px;
    }

    .cta-box {
        padding: 32px 18px;
    }
}

/* ============================================================
   MY BOOKINGS PAGE - ADMIN DASHBOARD MATCHED THEME
   Small clean footer only
   ============================================================ */

.bookings-page {
    background:
        radial-gradient(circle at top center, rgba(124, 58, 237, 0.10), transparent 24%),
        linear-gradient(180deg, #060816 0%, #050816 100%);
    color: var(--text-primary);
}

.bookings-container {
    padding-top: 28px;
    padding-bottom: 56px;
    min-height: calc(100vh - 72px - 90px);
}

.bookings-header {
    padding: 24px 0 18px;
    margin-bottom: 10px;
}

.bookings-header .page-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bookings-table-wrap {
    background: linear-gradient(180deg, rgba(12, 18, 36, 0.96), rgba(10, 15, 30, 0.96));
    border: 1px solid rgba(120, 119, 198, 0.16);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.38);
}

.bookings-table-wrap thead th {
    background: rgba(124, 58, 237, 0.10);
    color: #93a4c3;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.bookings-table-wrap tbody tr {
    background: transparent;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.bookings-table-wrap tbody tr:hover {
    background: rgba(124, 58, 237, 0.05);
}

.booking-id-cell {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    color: #7dd3fc;
}

.booking-event-cell {
    font-weight: 600;
    color: #f8fafc;
}

.booking-price-cell {
    font-weight: 700;
    color: #7dd3fc;
}

.bookings-page .btn-outline {
    background: rgba(8, 15, 30, 0.72);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.42);
}

.bookings-page .btn-outline:hover {
    background: rgba(56, 189, 248, 0.08);
    color: #dff7ff;
}

.bookings-page .badge-success {
    background: rgba(16, 185, 129, 0.16);
    color: #5eead4;
}

.bookings-page .badge-danger {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

/* ---------- Small Footer ---------- */
.mini-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    background:
        linear-gradient(90deg, rgba(11, 16, 35, 0.96), rgba(8, 12, 26, 0.96));
    backdrop-filter: blur(10px);
    padding: 16px 0 18px;
}

.mini-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.mini-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.mini-footer-icon {
    font-size: 1.05rem;
    color: #8b5cf6;
}

.mini-footer-name {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-footer-text {
    margin: 0;
    font-size: 0.92rem;
    color: #cbd5e1;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .bookings-header {
        gap: 14px;
    }

    .bookings-header .page-title {
        font-size: 1.55rem;
    }

    .mini-footer {
        padding: 14px 0 16px;
    }

    .mini-footer-name {
        font-size: 0.92rem;
    }

    .mini-footer-text {
        font-size: 0.84rem;
    }
}