/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--bg);
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --bg: #0E1624;
    --bg-alt: #111C2D;
    --bg-alt2: #142033;
    --panel: rgba(255,255,255,0.92);
    --panel-strong: rgba(255,255,255,0.98);
    --text: #1f2937;
    --muted: rgba(255,255,255,0.75);
    --muted-dark: #6b7280;
    /* Theme */
    --brandA: #2563EB;
    --brandB: #1D4ED8;
    --accent: #22C55E;
    --accent-hover: #16A34A;
    --brandA-rgb: 37, 99, 235;
    --brandB-rgb: 29, 78, 216;
    --accent-rgb: 34, 197, 94;
    --ring: rgba(var(--brandA-rgb), 0.25);

    /* Logo badge tint */
    --logo-badge-rgb: 231, 231, 228; /* #e7e7e4 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, rgba(var(--brandA-rgb), 0.28) 0%, rgba(var(--brandB-rgb), 0.28) 100%);
    padding: 0.65rem 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .navbar {
        background: rgba(16, 24, 39, 0.28);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255,255,255,0.10);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-search {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 14px;
    position: relative;
}

.nav-searchbar {
    width: min(560px, 100%);
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(16, 24, 39, 0.38);
    overflow: hidden;
}

.nav-searchbar:focus-within {
    border-color: rgba(255,255,255,0.40);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.10);
}

.nav-search-input {
    flex: 1;
    height: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.92);
    outline: none;
}

.nav-search-input::placeholder {
    color: rgba(255,255,255,0.70);
}

.nav-search-input:focus {
    box-shadow: none;
}

.nav-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 100%;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 100%;
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-search-submit:hover {
    background: rgba(255,255,255,0.26);
    transform: translateY(-1px);
}

.nav-filter-icon {
    opacity: 0.9;
}

.nav-filter-toggle:hover {
    background: rgba(255,255,255,0.26);
    transform: translateY(-1px);
}

.nav-filters-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(560px, 100%);
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: var(--panel);
    color: #111827;
    box-shadow: 0 18px 55px rgba(0,0,0,0.28);
    padding: 12px;
    z-index: 1001;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
.lang-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lang-picker {
    position: relative;
    align-self: flex-start;
}

.lang-picker-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f3f3ef;
    color: #0b1220;
    cursor: pointer;
}

.lang-picker-btn:focus-visible {
    outline: 2px solid rgba(33, 196, 140, 0.55);
    outline-offset: 2px;
}

.lang-picker-chevron {
    font-size: 12px;
    opacity: 0.75;
}

.lang-picker-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: max-content;
    min-width: 100%;
    max-width: calc(100vw - 40px);
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f3f3ef;
    color: #0b1220;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    display: none;
    z-index: 120;
}

.lang-picker-menu.open {
    display: block;
}

.lang-picker-item {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.65);
    color: #0b1220;
    cursor: pointer;
    white-space: nowrap;
}

.lang-picker-item + .lang-picker-item {
    margin-top: 8px;
}

.lang-picker-item:hover {
    background: rgba(255, 255, 255, 0.85);
}

.lang-picker-item.active {
    border-color: rgba(33, 196, 140, 0.45);
    background: rgba(33, 196, 140, 0.12);
}

.filter-picker {
    position: relative;
    width: 100%;
}

.filter-picker-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.65);
    color: #0b1220;
    cursor: pointer;
}

.filter-picker-btn:focus-visible {
    outline: 2px solid rgba(33, 196, 140, 0.55);
    outline-offset: 2px;
}

.filter-picker-chevron {
    font-size: 12px;
    opacity: 0.75;
}

.filter-picker-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f3f3ef;
    color: #0b1220;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    display: none;
    z-index: 130;
}

.filter-picker-menu.open {
    display: block;
}

.filter-picker-item {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.65);
    color: #0b1220;
    cursor: pointer;
}

.filter-picker-item + .filter-picker-item {
    margin-top: 8px;
}

.filter-picker-item:hover {
    background: rgba(255, 255, 255, 0.85);
}

.filter-picker-item.active {
    border-color: rgba(33, 196, 140, 0.45);
    background: rgba(33, 196, 140, 0.12);
}
    .nav-filters-panel {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

.nav-filters-panel.open {
    display: grid;
    gap: 10px;
}

.nav-filter-row {
    display: grid;
    gap: 6px;
}

.nav-filters-panel .control-input {
    width: 100%;
}

.nav-filters-panel .control-button:hover {
    box-shadow: none;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(var(--logo-badge-rgb), 0.30);
    border: 1px solid rgba(var(--logo-badge-rgb), 0.32);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.logo-link:hover {
    transform: translateY(-1px);
    background: rgba(var(--logo-badge-rgb), 0.38);
    border-color: rgba(var(--logo-badge-rgb), 0.42);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.28));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-auth {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: auto;
    width: fit-content;
    max-width: calc(100vw - 40px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: var(--panel);
    color: #111827;
    box-shadow: 0 18px 55px rgba(0,0,0,0.28);
    z-index: 1001;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .nav-auth {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

.nav-auth.open {
    display: flex;
}

.nav-auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    outline: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-mobile-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.nav-mobile-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.nav-mobile-toggle:hover {
    background: rgba(255,255,255,0.26);
    transform: translateY(-1px);
}

.nav-mobile-toggle:focus {
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

.user-dropdown {
    position: relative;
}

/* Always use the compact dropdown nav (same UX as mobile) */
.nav-menu-main {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: auto;
    width: fit-content;
    max-width: calc(100vw - 40px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(16, 24, 39, 0.92);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1001;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .nav-menu-main {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

.nav-menu-main.open {
    display: flex;
}

.nav-menu-main .nav-link {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.nav-auth-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}

.nav-auth-links .nav-link {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.nav-auth .nav-link {
    color: #111827;
}

.nav-auth-links .nav-link:hover {
    opacity: 1;
    background: rgba(17, 24, 39, 0.05);
}

.nav-auth .lang-select {
    width: auto;
    max-width: 140px;
    padding: 6px 30px 6px 12px;
    font-size: 0.9rem;
    background-color: #ffffff;
    border-color: rgba(17, 24, 39, 0.10);
    color: #111827;
}

.user-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.user-dropdown .dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Add a small invisible bridge to prevent gap issues */
.user-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 2;
}

.user-dropdown .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.user-dropdown .dropdown-content a:hover {
    background-color: #f8f9ff;
    border-left-color: var(--brandA);
    transform: translateX(3px);
    padding-left: 19px;
}

.user-name {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.user-name:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 8px 34px 8px 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    outline: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-select:hover {
    background: rgba(255,255,255,0.26);
    transform: translateY(-1px);
}

.lang-select:focus {
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

/* Add a tiny chevron */
.lang-select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.85) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.85) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 55%,
        calc(100% - 12px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.nav-auth .lang-select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(17,24,39,0.70) 50%),
        linear-gradient(135deg, rgba(17,24,39,0.70) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 55%,
        calc(100% - 12px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.nav-auth .lang-select:focus {
    border-color: rgba(var(--brandA-rgb), 0.65);
    box-shadow: 0 0 0 5px var(--ring);
}

/* Prevent white-on-white dropdown lists (e.g., language selector options) */
.lang-select option,
.lang-select optgroup {
    color: #111827;
    background: #ffffff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brandA) 0%, var(--brandB) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 48px;
    padding-bottom: 48px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -100px;
    background:
        radial-gradient(600px 250px at 20% 20%, rgba(var(--accent-rgb), 0.16), transparent 60%),
        radial-gradient(720px 360px at 55% 18%, rgba(var(--accent-rgb), 0.10), transparent 62%),
        radial-gradient(700px 280px at 85% 35%, rgba(var(--brandB-rgb), 0.50), transparent 55%),
        radial-gradient(500px 260px at 55% 80%, rgba(var(--brandA-rgb), 0.32), transparent 60%);
    filter: blur(10px);
    opacity: 0.9;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-grid {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 32px;
    align-items: center;
    text-align: left;
}

.hero-grid.no-ticket {
    grid-template-columns: 1fr;
}

.hero-left {
    position: relative;
    padding-right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-eyebrow {
    justify-content: center;
}

.hero-brand {
    position: relative;
    z-index: 1;
    display: block;
    width: 420px;
    max-width: 100%;
    height: auto;
    margin-top: 18px;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.40));
}

.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.pill-muted {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.8);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 22px;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    background: rgba(255,255,255,0.10);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.hero-stat {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 14px 14px;
}

.hero-stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-mock {
    width: 320px;
    max-width: 100%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    transform: none;
}

/* Short viewport handling (landscape phones, small laptop windows) */
@media (max-height: 740px) {
    .hero {
        align-items: flex-start;
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
        gap: 8px;
    }

    .pill {
        padding: 6px 10px;
        font-size: 0.82rem;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 0.65rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.35rem;
    }

    .hero-grid {
        gap: 20px;
        align-items: start;
    }

    .hero-mock {
        width: 300px;
        transform: rotate(0deg);
    }

    .hero-mock-body {
        padding: 14px;
    }

    .hero-mock-qr {
        width: 140px;
        height: 140px;
    }

    .hero-mock-qr canvas,
    .hero-mock-qr img {
        width: 124px;
        height: 124px;
    }
}

@media (max-height: 640px) {
    /* Prioritize primary CTA + ticket; remove secondary blocks that cause clipping */
    .hero-stats {
        display: none;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-actions {
        margin-bottom: 14px;
    }
}

.hero-mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(0,0,0,0.18);
}

.hero-mock-title {
    font-weight: 800;
    letter-spacing: 0.3px;
}

.hero-mock-chip {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(40, 167, 69, 0.18);
    border: 1px solid rgba(40, 167, 69, 0.32);
}

.hero-mock-body {
    padding: 16px;
}

.hero-mock-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.95rem;
}

.hero-mock-row span {
    color: rgba(255,255,255,0.75);
}

.hero-mock-divider {
    height: 1px;
    background: rgba(255,255,255,0.18);
    margin: 12px 0;
}

.hero-mock-qr {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0, rgba(255,255,255,0.18) 2px, transparent 2px, transparent 6px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0, rgba(255,255,255,0.12) 2px, transparent 2px, transparent 6px);
    border: 1px solid rgba(255,255,255,0.20);
}

.hero-mock-qr.has-real-qr {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(17,24,39,0.16);
    color: #111827;
}

.hero-mock-qr canvas,
.hero-mock-qr img {
    width: 140px;
    height: 140px;
    border-radius: 10px;
}

.hero-mock-foot {
    text-align: center;
    margin-top: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.30);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 7px 25px rgba(var(--accent-rgb), 0.40);
}

/* Sections */
.events-section,
.about-section,
.contact-section {
    padding: 80px 0;
}

.events-section {
    background: var(--bg-alt);
    color: rgba(255,255,255,0.92);
}

.about-section {
    background: var(--bg-alt2);
    color: rgba(255,255,255,0.92);
}

.contact-section {
    background: var(--bg-alt);
    color: rgba(255,255,255,0.92);
}

.events-section .section-title,
.about-section .section-title,
.contact-section .section-title {
    color: rgba(255,255,255,0.96);
}

.events-section .section-subtitle,
.about-section .section-subtitle,
.contact-section .section-subtitle {
    color: rgba(255,255,255,0.72);
}

.events-section .control-label {
    color: rgba(255,255,255,0.78);
}

.about-section .about-content p,
.contact-section .contact-content p {
    color: rgba(255,255,255,0.78);
}

/* Featured Carousel */
.featured {
    background: white;
    color: #111827;
    border-radius: 18px;
    padding: 22px 22px 16px 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(17, 24, 39, 0.06);
    margin-bottom: 22px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.featured-subtitle {
    color: #6b7280;
    margin: 6px 0 0 0;
}

.featured-actions {
    display: flex;
    gap: 10px;
}

.featured-nav {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: white;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.featured-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}

.featured-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.featured-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 14px 2px;
    scroll-snap-type: x mandatory;
    scroll-padding: 8px;
    -webkit-overflow-scrolling: touch;
}

.featured-track:focus {
    outline: none;
}

.featured-track::-webkit-scrollbar {
    height: 10px;
}

.featured-track::-webkit-scrollbar-thumb {
    background: rgba(17, 24, 39, 0.15);
    border-radius: 999px;
}

.featured-card {
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 26px rgba(0,0,0,0.10);
    background: linear-gradient(135deg, rgba(var(--brandA-rgb), 0.10), rgba(var(--accent-rgb), 0.10));
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.featured-card-media {
    height: 160px;
    background: rgba(17, 24, 39, 0.08);
    position: relative;
}

.featured-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-weight: 800;
    font-size: 0.8rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.featured-card-body {
    padding: 14px 14px 16px 14px;
    background: rgba(255,255,255,0.92);
}

.featured-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.featured-card-meta {
    margin-top: 10px;
    display: grid;
    gap: 6px;
    color: #4b5563;
    font-size: 0.92rem;
}

.featured-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.featured-card-price {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.featured-card-price strong {
    color: var(--accent);
    font-size: 1.15rem;
}

.featured-card-cta {
    font-weight: 800;
    color: #111827;
    opacity: 0.9;
}

.featured-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.18);
}

.featured-dot.active {
    width: 22px;
    background: linear-gradient(135deg, var(--brandA), var(--brandB));
}

.events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.section-subtitle {
    margin-top: -18px;
    color: var(--muted-dark);
    text-align: center;
}

.events-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Search now lives in the navbar on the public homepage */
#events .events-controls {
    display: none;
}

.control {
    display: grid;
    gap: 6px;
}

.control-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.control-input {
    width: 240px;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.control-input:focus {
    border-color: rgba(var(--brandA-rgb), 0.65);
    box-shadow: 0 0 0 5px var(--ring);
}

.control-button {
    height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: white;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.control-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Grouped-by-category layout */
.events-groups {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 1.25rem;
}

.events-group-title {
    color: rgba(255,255,255,0.92);
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 12px 0;
}

.events-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-card-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 5px var(--ring);
    border-radius: 16px;
}

.event-card {
    background: white;
    color: #111827;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-media {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(var(--brandA-rgb), 0.35), rgba(var(--accent-rgb), 0.22));
    overflow: hidden;
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.event-card:hover .event-media img {
    transform: scale(1.06);
}

.event-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.event-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.55);
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.event-header {
    background: linear-gradient(135deg, var(--accent), var(--brandA));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.event-header {
    padding: 1.2rem 1.4rem;
    text-align: left;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-date {
    opacity: 0.9;
    font-size: 1rem;
}

.event-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.16);
}

.event-details {
    padding: 1.5rem;
}

.event-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-venue {
    color: #666;
    font-size: 0.9rem;
}

.event-time {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #495057;
}

.event-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.event-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.event-available {
    font-size: 0.9rem;
    color: var(--accent-hover);
}

.buy-button {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button {
    border-radius: 12px;
    padding: 13px;
}

.buy-button:hover {
    background: var(--accent-hover);
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-right {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .section-subtitle {
        text-align: center;
        margin-top: -10px;
    }
}

@media (max-width: 520px) {
    .control-input {
        width: 100%;
    }
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.96);
}

.feature p {
    color: rgba(255,255,255,0.75);
}

/* Contact Section */
/* (Background handled in Sections block above) */

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.contact-info {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    color: #111827;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: var(--bg);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 0;
}

.modal-content {
    background-color: white;
    color: #111827;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: calc(100svh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Event Detail Page */
.event-detail-section {
    padding: 60px 0 60px 0;
    background: var(--bg-alt2);
    min-height: 100vh;
}

.event-detail-card {
    background: white;
    color: #111827;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    grid-template-areas:
        "image info"
        "desc info"
        "tickets info";
    gap: 22px;
    padding: 22px;
}

.event-detail-image-area {
    grid-area: image;
}

.event-detail-info-area {
    grid-area: info;
    align-self: start;
}

.event-detail-desc-area {
    grid-area: desc;
}

.event-detail-tickets-area {
    grid-area: tickets;
}

.event-detail-section-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: #111827;
}

.event-detail-media img {
    width: 100%;
    height: min(660px, 72vh);
    object-fit: contain;
    display: block;
    background: linear-gradient(135deg, rgba(var(--brandA-rgb), 0.18), rgba(var(--accent-rgb), 0.12));
}

.event-detail-title {
    font-size: 2rem;
    line-height: 1.15;
    margin: 0 0 10px 0;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6b7280;
    margin-bottom: 18px;
}

.event-detail-meta-vertical {
    flex-direction: column;
    align-items: flex-start;
}

.event-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.event-detail-description {
    color: #374151;
    margin: 0 0 18px 0;
}

.event-detail-muted {
    color: #9ca3af;
}

.event-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.event-detail-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.event-detail-buy:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.event-detail-tickettypes {
    margin-top: 8px;
    display: grid;
    gap: 10px;
}

@media (max-width: 980px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "info"
            "desc"
            "tickets";
        padding: 18px;
        gap: 18px;
    }

    .event-detail-media img {
        height: auto;
        max-height: 70vh;
        object-fit: contain;
    }
}

.event-detail-tickettype {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(17, 24, 39, 0.02);
}

.event-detail-tickettype-name {
    font-weight: 800;
    margin-bottom: 6px;
}

.event-detail-tickettype-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #6b7280;
}

.event-detail-tickettype-price {
    color: #111827;
    font-weight: 800;
}

.event-detail-error {
    color: rgba(255,255,255,0.86);
    text-align: center;
    padding: 24px 18px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close-button:hover {
    color: #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brandA);
}

.tickettypes-editor {
    display: grid;
    gap: 10px;
}

.tickettypes-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
}

.tickettypes-row textarea {
    min-height: 42px;
    resize: vertical;
}

.tickettypes-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: #6c757d;
}

.tickettypes-hint {
    display: block;
    color: #6c757d;
    margin-top: 8px;
}

@media (max-width: 980px) {
    .tickettypes-row {
        grid-template-columns: 1fr;
    }
}

.form-total {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.purchase-button {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.purchase-button:hover {
    background: var(--accent-hover);
}

/* PSE Payment Styles */
.payment-fields {
    background: #f8f9ff;
    border: 1px solid #e3e8ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.pse-info {
    background: #e6f3ff;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.pse-info p {
    margin-bottom: 0.5rem;
    color: #0c5460;
}

.pse-info ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.pse-info li {
    color: #0c5460;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.payment-method-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    border-color: var(--brandA);
    background: #f8f9ff;
}

.payment-method-card.selected {
    border-color: var(--brandA);
    background: #f8f9ff;
}

/* Authentication Modal Styles */
.auth-modal {
    max-width: 500px;
    width: 90%;
}

.auth-form-container {
    text-align: center;
}

.auth-form-container h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.auth-button {
    width: 100%;
    background: linear-gradient(135deg, var(--brandA) 0%, var(--brandB) 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--brandA-rgb), 0.30);
}

.auth-switch {
    color: #6c757d;
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--brandA);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Google Sign-In Styles */
.google-signin-container {
    margin: 20px 0;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #6c757d;
    font-size: 0.9rem;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
}

.google-signin-btn {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #dadce0;
    background: white;
    color: #3c4043;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #c4c7c5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.google-signin-btn:active {
    background: #f1f3f4;
}

.google-logo {
    width: 20px;
    height: 20px;
}

/* Disabled state for Google Sign-In */
.google-signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.google-signin-btn:disabled:hover {
    background: white;
    border-color: #dadce0;
    box-shadow: none;
}

/* Dashboard Styles */
.dashboard-section {
    padding: 120px 0 60px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e9ecef 100%);
    min-height: 100vh;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #6c757d;
}

.tab-button.active,
.tab-button:hover {
    background: linear-gradient(135deg, var(--brandA) 0%, var(--brandB) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--brandA) 0%, var(--brandB) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(var(--brandA-rgb), 0.30);
}

.stat-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.recent-activity h3,
.tab-content h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.activity-list,
.tickets-grid,
.orders-list {
    display: grid;
    gap: 1rem;
}

.activity-item,
.ticket-item,
.order-item {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--brandA);
}

.settings-form {
    max-width: 600px;
}

.settings-form .form-group small {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.settings-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.settings-button:hover {
    background: #218838;
}

.danger-zone {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
}

.danger-zone h4 {
    color: #e53e3e;
    margin-bottom: 0.5rem;
}

.danger-zone p {
    color: #718096;
    margin-bottom: 1rem;
}

.danger-button {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.danger-button:hover {
    background: #c53030;
}

/* Role badges */
.role-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-admin {
    background: #ffd700;
    color: #8b6914;
}

.role-producer {
    background: #e6f3ff;
    color: #0066cc;
}

.role-spectator {
    background: #f0f0f0;
    color: #666;
}

.loading {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 2rem;
}

/* Profile page */
.profile-page {
    max-width: 820px;
    margin: 0 auto;
}

.profile-header {
    margin-bottom: 1rem;
}

.profile-title {
    color: rgba(255,255,255,0.92);
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.profile-subtitle {
    color: var(--muted);
    margin-top: 0.25rem;
}

.profile-panel {
    background: var(--panel);
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(0,0,0,0.18);
    padding: 1.25rem;
    margin-top: 1rem;
}

.profile-section-title {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.profile-kv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.profile-k {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-v {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 700;
}

.profile-help {
    color: #6c757d;
}

.profile-notice {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--brandA-rgb), 0.22);
    background: rgba(var(--brandA-rgb), 0.08);
}

@media (max-width: 640px) {
    .profile-kv {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .nav-search {
        order: 3;
        flex-basis: 100%;
        margin: 0;
        justify-content: stretch;
    }

    .nav-search-input {
        width: 100%;
    }

    .nav-filters-panel {
        width: 100%;
    }
    .hero-title {
        font-size: 2.0rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 36px;
    }

    .navbar {
        padding: 0.55rem 0;
    }
    
    .events-grid,
    .events-category-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
