/* EventSika — styles et thème fusionnés. Hero cinéma avec vignettes. */

:root {
    --navy: #020617;
    --navy2: #0b1026;
    --violet: #7c3aed;
    --violet2: #9333ea;
    --pink: #ec4899;
    --gradient: linear-gradient(135deg, #6d28d9, #9333ea, #db2777);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    overflow-x: hidden;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.navbar {
    padding: 18px 0;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.nav-container {
    width: min(1380px, 94%);
    min-height: 54px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    box-shadow: 0 8px 25px rgba(124, 58, 237, .3);
}

.logo-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    letter-spacing: -.5px;
}

.logo-text span {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.7vw, 27px);
}

.nav-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: .3s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--violet), var(--pink));
    box-shadow: 0 0 10px rgba(124, 58, 237, .65);
    transform: translateX(-50%);
    transition: width .35s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 70%;
}

.nav-menu a.active {
    font-weight: 700;
}

.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.login {
    color: #fff;
    font-size: 13px;
}

.login:hover {
    color: #c4b5fd;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.btn-primary {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 10px 30px rgba(124, 58, 237, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, .35);
}

.btn-primary.small {
    padding: 9px 14px;
    font-size: 12px;
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .05);
}

.btn-outline:hover {
    color: #111827;
    background: #fff;
}

.btn-white {
    color: #5b21b6;
    background: #fff;
}

.user-welcome {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: 10px;
    background: rgba(124, 58, 237, .15);
    color: #fff;
    font-size: 12px;
}

.user-welcome i {
    color: #a78bfa;
    font-size: 18px;
}

.user-welcome strong {
    color: #7e65e6;
}

.logout-form {
    margin: 0;
}

.logout {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: .3s;
}

.logout:hover {
    color: #fda4af;
    background: rgba(239, 68, 68, .1);
    border-color: rgba(239, 68, 68, .4);
}

.mobile-menu {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 19px;
}

.hero {
    position: relative;
    min-height: 720px;
    padding: 150px 0 60px;
    overflow: hidden;
    isolation: isolate;
    background: url("../images/jpg/BG.jpg") center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(2, 6, 23, .94), rgba(2, 6, 23, .78) 38%, rgba(2, 6, 23, .52) 68%, rgba(30, 20, 60, .6));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 75% 20%, rgba(139, 92, 246, .3), transparent 35%), radial-gradient(circle at 20% 80%, rgba(124, 58, 237, .18), transparent 30%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(2, 6, 23, .18), rgba(2, 6, 23, .05));
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    align-items: center;
    gap: 58px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(168, 85, 247, .4);
    border-radius: 50px;
    background: rgba(124, 58, 237, .14);
    color: #ddd6fe;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #f0abfc;
}

.hero-title {
    max-width: 720px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -3px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .45);
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: wordAppear .8s cubic-bezier(.22, 1, .36, 1) forwards;
}

.word-1 {
    animation-delay: .1s !important;
}

.word-2 {
    animation-delay: .3s !important;
}

.word-3 {
    animation-delay: .5s !important;
}

.word-4 {
    animation-delay: .7s !important;
}

.hero h1 span {
    color: #c4b5fd;
}

.hero h1 strong {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes wordAppear {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.hero-description {
    max-width: 590px;
    margin-bottom: 30px;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
    opacity: 0;
    transform: translateY(25px);
    animation: heroTextAppear 1s ease-out .5s forwards;
}

@keyframes heroTextAppear {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: translateY(25px);
    animation: buttonsAppear .8s ease-out 1s forwards;
}

@keyframes buttonsAppear {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-btn {
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .6s;
}

.hero-btn:hover::before {
    left: 130%;
}

.hero-btn span,
.hero-btn i {
    position: relative;
    z-index: 2;
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 600px;
    margin-top: 34px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #cbd5e1;
    font-size: 11px;
}

.hero-feature i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(124, 58, 237, .22);
    color: #c4b5fd;
}

.hero-card {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 12px;
}

.hero-card-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-header a {
    color: #c4b5fd;
}

.hero-card-header a:hover {
    color: #fff;
}

.hero-photo-gallery {
    position: relative;
    width: 100%;
    height: 220px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
}

.photo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .5s, transform .8s;
}

.photo-slide.active {
    opacity: 1;
    transform: scale(1);
}

.photo-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-photo-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, .05), rgba(2, 6, 23, .7));
    pointer-events: none;
}

.photo-overlay {
    position: absolute;
    left: 15px;
    bottom: 14px;
    z-index: 3;
}

.photo-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    background: rgba(15, 23, 42, .6);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.photo-overlay i {
    color: #c4b5fd;
}

@keyframes photoZoom {
    to {
        transform: scale(1.07);
    }
}

.photo-slide.active img {
    animation: photoZoom 6s ease-out forwards;
}

.event-slide {
    display: none;
}

.event-slide.active {
    display: flex;
    flex-direction: column;
    animation: eventFade .4s ease;
}

@keyframes eventFade {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.featured-event {
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
}

.event-image {
    height: 190px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 43px;
    padding: 6px;
    text-align: center;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
    font-size: 8px;
    font-weight: 600;
}

.date-badge strong {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.featured-content {
    padding: 18px;
}

.event-category {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f3e8ff;
    color: #7c3aed;
    font-size: 10px;
    font-weight: 700;
}

.event-category.pink {
    background: #fce7f3;
    color: #db2777;
}

.event-category.blue {
    background: #dbeafe;
    color: #2563eb;
}

.event-category.green {
    background: #dcfce7;
    color: #16a34a;
}

.event-category.purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.featured-content h3 {
    margin: 8px 0;
    font-size: 18px;
}

.featured-content p,
.card-content p {
    color: #64748b;
    font-size: 11px;
}

.event-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.event-bottom strong {
    font-size: 14px;
}

.event-bottom span {
    color: #94a3b8;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #6c5ce7;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
    transition: .3s;
}

.carousel-btn:hover {
    background: #6c5ce7;
    color: #fff;
    transform: translateY(-2px);
}

.carousel-counter {
    min-width: 50px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.section {
    padding: 100px 0;
    background: #f5f6fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
}

.section-label {
    text-transform: uppercase;
}

.section-label.light {
    color: #ddd6fe;
}

.section-header h2,
.center-header h2 {
    margin-bottom: 8px;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-header p,
.center-header p {
    color: #64748b;
    font-size: 14px;
}

.see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 600;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.event-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    transition: .3s;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: #ddd6fe;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .1);
}

.card-image {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #64748b;
}

.favorite:hover {
    color: #db2777;
    transform: scale(1.08);
}

.card-content {
    padding: 17px;
}

.card-content h3 {
    margin: 8px 0;
    font-size: 16px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #f1f5f9;
}

.card-footer strong {
    font-size: 13px;
}

.card-footer span {
    color: #94a3b8;
    font-size: 9px;
}

.how-section {
    background: #f8fafc;
}

.center-header {
    max-width: 600px;
    margin: 0 auto 55px;
    text-align: center;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step {
    width: 220px;
    text-align: center;
}

.step-number {
    margin-bottom: 10px;
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
}

.step-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
    background: #ede9fe;
    color: #7c3aed;
    font-size: 22px;
    box-shadow: 0 0 0 10px #f5f3ff;
}

.step h3 {
    margin-top: 25px;
    font-size: 15px;
}

.step p {
    margin-top: 8px;
    color: #64748b;
    font-size: 11px;
}

.step-line {
    width: 70px;
    height: 1px;
    margin-top: 62px;
    border-top: 1px dashed #c4b5fd;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-icon {
    place-items: center;
    margin: 0 auto 15px;
}

.category-card span {
    color: #94a3b8;
    font-size: 10px;
}

.purple-bg {
    background: #ede9fe;
    color: #7c3aed;
}

.pink-bg {
    background: #fce7f3;
    color: #db2777;
}

.blue-bg {
    background: #dbeafe;
    color: #2563eb;
}

.orange-bg {
    background: #ffedd5;
    color: #ea580c;
}

.violet-bg {
    background: #f3e8ff;
    color: #9333ea;
}

.green-bg {
    background: #dcfce7;
    color: #16a34a;
}

.stats-section {
    padding: 35px 0;
    background: linear-gradient(120deg, #1e1b4b, #4c1d95, #7e22ce);
    color: #fff;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    color: #ddd6fe;
}

.stat strong {
    display: block;
    font-size: 24px;
}

.stat span {
    color: #c4b5fd;
    font-size: 10px;
}

.home-info-section {
    width: 100%;
    padding: 100px 0;
    background: #f7f8fc;
}

.home-info-heading {
    max-width: 780px;
    margin: 0 auto 60px;
    text-align: center;
}

.home-info-heading>span {
    display: inline-block;
    margin-bottom: 16px;
    color: #6366f1;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.home-info-heading h2 {
    color: #0b1026;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.home-info-heading h2 strong {
    color: #7c3aed;
}

.home-info-heading p {
    max-width: 680px;
    margin: 20px auto 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.8;
}

.home-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.home-info-card {
    position: relative;
    padding: 40px;
    overflow: hidden;
    border: 1px solid #e8eaf2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .06);
    transition: .3s;
}

.home-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.home-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(79, 70, 229, .12);
}

.home-info-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 1.3rem;
}

.home-info-card h3 {
    margin-bottom: 12px;
    color: #0b1026;
    font-size: 1.45rem;
}

.home-info-card p {
    margin-bottom: 25px;
    color: #667085;
    font-size: .95rem;
    line-height: 1.8;
}

.home-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
}

.home-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, .25);
}

.organizer-section {
    padding: 100px 0;
    background: #faf7ff;
}

.organizer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding: 60px;
    overflow: hidden;
    border-radius: 25px;
    background: linear-gradient(120deg, #312e81, #6d28d9, #9333ea);
    color: #fff;
    box-shadow: 0 30px 70px rgba(76, 29, 149, .2);
}

.organizer-content h2 {
    max-width: 500px;
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.15;
}

.organizer-content p {
    max-width: 500px;
    margin-bottom: 25px;
    color: #ddd6fe;
    font-size: 14px;
}

.dashboard-preview {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dashboard-stats div {
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
}

.dashboard-stats span {
    display: block;
    color: #ddd6fe;
    font-size: 9px;
}

.dashboard-stats strong {
    font-size: 20px;
}

.chart {
    height: 170px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .12);
}

.chart-bar {
    flex: 1;
    min-height: 20px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(to top, #c084fc, #f0abfc);
}

.site-footer {
    --footer-bg: #020617;
    --footer-text: #f8fafc;
    --footer-muted: #a3adc2;
    --footer-border: rgba(148, 163, 184, .18);
    --footer-accent: #c4b5fd;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 64px 0 24px;
    border-top: 1px solid var(--footer-border);
}

.site-footer .footer-container,
.site-footer .footer-bottom {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.site-footer .footer-container {
    display: grid;
    grid-template-columns: minmax(240px, 1.65fr) repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 48px);
    padding-bottom: 44px;
}

.site-footer .footer-brand {
    min-width: 0;
}

.site-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--footer-text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.site-footer .footer-logo img {
    width: 43px;
    height: 43px;
    display: block;
    object-fit: contain;
    flex: none;
}

.site-footer .footer-logo>span>span {
    color: #c084fc;
}

.site-footer .footer-brand p {
    max-width: 310px;
    margin: 19px 0 0;
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.8;
}

.site-footer .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.site-footer .footer-column h3 {
    margin: 0 0 9px;
    color: var(--footer-text);
    font-size: 14px;
    font-weight: 750;
}

.site-footer .footer-column a {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-column a i {
    color: var(--footer-accent);
    font-size: 13px;
    flex: none;
}

.site-footer .footer-column a:hover {
    color: var(--footer-accent);
    transform: translateX(3px);
}

.site-footer .footer-column a:focus-visible,
.site-footer .footer-logo:focus-visible {
    outline: 2px solid #a78bfa;
    outline-offset: 4px;
    border-radius: 3px;
}

.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
}

.site-footer .footer-bottom p {
    margin: 0;
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.6;
}

html[data-theme="light"] .site-footer {
    --footer-bg: #f8fafc;
    --footer-text: #0f172a;
    --footer-muted: #475569;
    --footer-border: #dbe2ec;
    --footer-accent: #6d28d9;
}

html[data-theme="light"] .site-footer .footer-logo>span>span {
    color: #7c3aed;
}

@media (max-width: 980px) {
    .site-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding-top: 42px;
    }

    .site-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
        padding-bottom: 30px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer .footer-column h3 {
        font-size: 13px;
    }

    .site-footer .footer-column a {
        font-size: 12px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .site-footer .footer-container {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer .footer-column a {
        transition: none;
    }
}

@media (max-width:1050px) {
    .search-box {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero-card {
        max-width: 650px;
        margin: auto;
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }

    .newsletter {
        grid-column: span 2;
    }
}

@media (max-width:800px) {
    .hero {
        min-height: auto;
        padding: 125px 0 50px;
    }

    .hero-container {
        width: min(92%, 600px);
        gap: 35px;
    }

    .hero-title {
        font-size: clamp(38px, 10vw, 54px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-photo-gallery {
        height: 190px;
    }

    .home-info-section {
        padding: 75px 0;
    }

    .home-info-grid {
        grid-template-columns: 1fr;
    }

    .home-info-card {
        padding: 30px;
    }

    .organizer-container {
        grid-template-columns: 1fr;
        padding: 40px 25px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand,
    .newsletter {
        grid-column: span 2;
    }
}

@media (max-width:700px) {
    .navbar {
        padding: 14px 0;
    }

    .nav-container {
        width: 94%;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon,
    .logo-icon img {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-header h2,
    .center-header h2 {
        font-size: 28px;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        max-width: 500px;
        margin: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-line {
        width: 1px;
        height: 40px;
        margin: 0;
        border-top: 0;
        border-left: 1px dashed #c4b5fd;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
    }
}

@media (max-width:480px) {
    .hero {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1.5px;
    }

    .hero-card {
        padding: 12px;
        border-radius: 16px;
    }

    .hero-photo-gallery {
        height: 170px;
    }

    .photo-overlay {
        left: 10px;
        bottom: 10px;
    }

    .photo-overlay span {
        font-size: 10px;
        padding: 6px 9px;
    }

    .event-image {
        height: 160px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    .category-card {
        padding: 18px 10px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .home-info-card {
        padding: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .newsletter {
        grid-column: span 1;
    }
}

:focus-visible {
    outline: 3px solid rgba(167, 139, 250, .7);
    outline-offset: 3px;
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1050px) {
    @keyframes mobileMenuOpen {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media screen and (max-width: 700px) {
    .navbar {
        padding: 14px 0;
    }

    .nav-container {
        width: 92%;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-number,
.page-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    text-decoration: none;
    transition: 0.2s ease;
}

.page-number:hover,
.page-arrow:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.1);
    color: #ffffff;
}

.page-number.active {
    border-color: #8b5cf6;
    background: linear-gradient(135deg,
            #6366f1,
            #8b5cf6);
    color: #ffffff;
}

.page-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.event-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 28px;
}

.category-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    background: #ffffff;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.category-filter i {
    font-size: 11px;
}

.category-filter:hover {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.25);
    background: #faf7ff;
    transform: translateY(-1px);
}

.category-filter.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg,
            #7c3aed,
            #9333ea);
    box-shadow: 0 7px 18px rgba(124, 58, 237, 0.22);
}

@media (max-width: 700px) {
    .event-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .event-categories::-webkit-scrollbar {
        display: none;
    }

    .category-filter {
        flex-shrink: 0;
    }
}

.hero-featured {
    position: relative;
    min-height: 650px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-featured .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(7, 11, 26, 0.96) 0%,
            rgba(7, 11, 26, 0.82) 40%,
            rgba(7, 11, 26, 0.35) 75%,
            rgba(7, 11, 26, 0.20) 100%),
        linear-gradient(0deg,
            rgba(7, 11, 26, 0.85),
            transparent 60%);
}

.hero-featured .hero-container {
    position: relative;
    z-index: 2;
}

.hero-event-category {
    display: block;
    width: fit-content;
    margin: 18px 0 10px;
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.hero-featured-title {
    max-width: 780px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero-event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.hero-event-info span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #cbd5e1;
    font-size: 12px;
}

.hero-event-info i {
    color: #a78bfa;
}

.hero-featured .hero-description {
    max-width: 620px;
    color: #cbd5e1;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .hero-featured {
        min-height: 600px;
    }

    .hero-featured .hero-overlay {
        background: linear-gradient(0deg,
                rgba(7, 11, 26, 0.98),
                rgba(7, 11, 26, 0.45));
    }

    .hero-featured-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero-event-info {
        flex-direction: column;
        gap: 9px;
    }
}

.popular-events {
    background: #f8fafc;
}

.popular-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 35px;
}

.popular-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 10px 0;
}

.popular-header p {
    color: #64748b;
    font-size: 14px;
}

.popular-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.popular-event-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
}

.popular-event-image {
    display: block;
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #e2e8f0;
}

.popular-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.popular-event-card:hover img {
    transform: scale(1.06);
}

.popular-image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 42px;
}

.popular-event-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 13px;
    background: #7c3aed;
    color: #fff;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
}

.popular-event-content {
    padding: 22px;
}

.popular-event-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.popular-event-content h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 13px;
}

.popular-event-content h3 a {
    color: #0f172a;
    text-decoration: none;
}

.popular-event-content h3 a:hover {
    color: #7c3aed;
}

.popular-event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 20px;
}

.popular-event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.popular-events-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 45px 20px;
    color: #64748b;
}

.popular-events-empty i {
    font-size: 35px;
    margin-bottom: 12px;
}

@media (max-width: 1000px) {
    .popular-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .popular-events {
        padding: 55px 0;
    }

    .popular-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .popular-header h2 {
        font-size: 26px;
    }

    .popular-events-grid {
        grid-template-columns: 1fr;
    }
}

.popular-categories {
    padding: 75px 0 85px;
    background: #f6f7fc;
}

.categories-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 45px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #7c3aed;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.categories-header h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
}

.all-categories-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.all-categories-link:hover {
    color: #5b21b6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 165px;
    padding: 22px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #c4b5fd;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.10);
}

.category-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 50%;
    background: #ede9fe;
    color: #7c3aed;
    font-size: 19px;
}

.category-card:nth-child(6n +2) .category-icon {
    background: #fce7f3;
    color: #db2777;
}

.category-card:nth-child(6n +3) .category-icon {
    background: #dbeafe;
    color: #2563eb;
}

.category-card:nth-child(6n +4) .category-icon {
    background: #ffedd5;
    color: #ea580c;
}

.category-card:nth-child(6n +5) .category-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.category-card:nth-child(6n +6) .category-icon {
    background: #dcfce7;
    color: #16a34a;
}

.category-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.category-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 10px;
}

.categories-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .categories-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .categories-header h2 {
        font-size: 26px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-card {
        min-height: 145px;
    }
}

@media (min-width: 1051px) {
    .navbar .nav-mobile-panel {
        display: contents;
    }

    .navbar .mobile-menu {
        display: none;
    }
}

@media (max-width: 1050px) {
    .navbar {
        z-index: 2000;
    }

    .navbar .nav-container {
        position: relative;
        justify-content: space-between;
    }

    .navbar .mobile-menu {
        display: flex;
        position: relative;
        inset: auto;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        z-index: 2010;
        color: #fff;
        background: rgba(124, 58, 237, .18);
        border: 1px solid rgba(167, 139, 250, .3);
        border-radius: 10px;
    }

    .navbar .mobile-menu.active {
        background: linear-gradient(135deg, #7c3aed, #db2777);
    }

    .navbar .nav-mobile-panel {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2005;
        max-height: calc(100dvh - 115px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid rgba(167, 139, 250, .22);
        background: #070b1c;
        box-shadow: 0 25px 60px rgba(0, 0, 0, .5);
        -webkit-overflow-scrolling: touch;
    }

    .navbar .nav-mobile-panel.mobile-open {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .navbar .nav-mobile-panel .nav-menu,
    .navbar .nav-mobile-panel .nav-actions {
        display: flex;
        position: static;
        inset: auto;
        width: 100%;
        flex: none;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        animation: none;
        white-space: normal;
    }

    .navbar .nav-mobile-panel .nav-menu a {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 13px;
        color: #e2e8f0;
        transform: none;
    }

    .navbar .nav-mobile-panel .nav-menu a.active,
    .navbar .nav-mobile-panel .nav-menu a:hover {
        color: #fff;
        background: rgba(124, 58, 237, .22);
    }

    .navbar .nav-mobile-panel .nav-menu a::after {
        left: 14px;
        bottom: 5px;
        transform: none;
    }

    .navbar .nav-mobile-panel .nav-menu a.active::after {
        width: 42px;
    }

    .navbar .nav-mobile-panel .nav-actions {
        gap: 10px;
        padding-top: 14px;
        border-top: 1px solid rgba(167, 139, 250, .22);
    }

    .navbar .nav-mobile-panel .user-welcome {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 46px;
        padding: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .navbar .nav-mobile-panel .logout-form,
    .navbar .nav-mobile-panel .logout,
    .navbar .nav-mobile-panel .dashboard-link,
    .navbar .nav-mobile-panel .login,
    .navbar .nav-mobile-panel .btn {
        width: 100%;
    }

    .navbar .nav-mobile-panel .logout,
    .navbar .nav-mobile-panel .dashboard-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 14px;
        text-align: center;
    }

    .navbar .nav-mobile-panel .dashboard-link {
        background: rgba(124, 58, 237, .2);
        border: 1px solid rgba(167, 139, 250, .3);
    }

    .navbar .nav-mobile-panel .logout-form .logout {
        background: rgba(239, 68, 68, .12);
        border: 1px solid rgba(239, 68, 68, .25);
    }

    .navbar .nav-mobile-panel .login {
        display: flex;
        justify-content: center;
        padding: 12px;
    }
}

.my-reservations-page {
    min-height: 100vh;
    background: #080d20;
    color: #f8fafc;
}

.my-reservations-page .reservations-header {
    padding: 145px 0 65px;
    background: linear-gradient(135deg,
            #0b1026 0%,
            #1e1b4b 55%,
            #312e81 100%);
    border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.my-reservations-page .reservations-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.my-reservations-page .reservations-header h1 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.my-reservations-page .reservations-header p {
    max-width: 650px;
    color: #cbd5e1;
    font-size: 15px;
}

.my-reservations-page .reservations-content {
    padding: 55px 0 90px;
}

.my-reservations-page .reservations-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.my-reservations-page .reservations-toolbar h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.my-reservations-page .reservations-toolbar p {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 14px;
}

.my-reservations-page .reservations-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.my-reservations-page .reservations-explore-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.my-reservations-page .reservations-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.my-reservations-page .reservation-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 18px;
    background: #141a30;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    transition: 0.3s ease;
}

.my-reservations-page .reservation-card:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.55);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.my-reservations-page .reservation-event-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
    background: #1e1b4b;
}

.my-reservations-page .reservation-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.my-reservations-page .reservation-card:hover .reservation-event-image img {
    transform: scale(1.04);
}

.my-reservations-page .reservation-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, #312e81, #6d28d9);
    color: #ddd6fe;
    font-size: 60px;
}

.my-reservations-page .reservation-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 28px;
}

.my-reservations-page .reservation-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.my-reservations-page .reservation-reference {
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 700;
}

.my-reservations-page .reservation-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
}

.my-reservations-page .reservation-status.confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.my-reservations-page .reservation-status.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.my-reservations-page .reservation-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.my-reservations-page .reservation-details h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.my-reservations-page .reservation-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.my-reservations-page .reservation-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13px;
}

.my-reservations-page .reservation-meta i {
    color: #a78bfa;
}

.my-reservations-page .reservation-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: auto;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.my-reservations-page .reservation-ticket-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.my-reservations-page .reservation-ticket-info span {
    color: #cbd5e1;
    font-size: 13px;
}

.my-reservations-page .reservation-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.my-reservations-page .reservation-price small {
    color: #94a3b8;
    font-size: 11px;
}

.my-reservations-page .reservation-price strong {
    color: #c4b5fd;
    font-size: 21px;
    font-weight: 800;
}

.my-reservations-page .reservation-view-event {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: 18px;
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.my-reservations-page .reservation-view-event:hover {
    color: #fff;
    gap: 14px;
}

.my-reservations-page .reservations-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 70px 25px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;
    background: #141a30;
    text-align: center;
}

.my-reservations-page .reservations-empty>i {
    color: #a78bfa;
    font-size: 55px;
}

.my-reservations-page .reservations-empty h3 {
    color: #fff;
    font-size: 24px;
}

.my-reservations-page .reservations-empty p {
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 900px) {
    .my-reservations-page .reservation-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .my-reservations-page .reservation-details {
        padding: 20px;
    }

    .my-reservations-page .reservation-event-image,
    .my-reservations-page .reservation-event-image img {
        min-height: 230px;
    }
}

@media (max-width: 650px) {
    .my-reservations-page .reservations-header {
        padding: 120px 0 45px;
    }

    .my-reservations-page .reservations-content {
        padding: 35px 0 65px;
    }

    .my-reservations-page .reservations-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .my-reservations-page .reservations-toolbar h2 {
        font-size: 21px;
    }

    .my-reservations-page .reservations-explore-btn {
        width: 100%;
    }

    .my-reservations-page .reservation-card {
        grid-template-columns: 1fr;
    }

    .my-reservations-page .reservation-event-image,
    .my-reservations-page .reservation-event-image img,
    .my-reservations-page .reservation-image-placeholder {
        height: 200px;
        min-height: 0;
    }

    .my-reservations-page .reservation-details {
        padding: 18px;
    }

    .my-reservations-page .reservation-details h3 {
        font-size: 18px;
    }

    .my-reservations-page .reservation-bottom {
        align-items: flex-start;
    }

    .my-reservations-page .reservation-price strong {
        font-size: 18px;
    }
}

.electronic-ticket-page {
    min-height: 100vh;
    padding: 135px 20px 70px;
    background: #080d20;
}

.electronic-ticket {
    max-width: 520px;
    margin: auto;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
}

.electronic-ticket-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #312e81, #7c3aed);
    color: #fff;
}

.electronic-ticket-header h1 {
    font-size: 30px;
}

.electronic-ticket-header p {
    color: #ddd6fe;
}

.electronic-ticket-body {
    padding: 30px;
}

.electronic-ticket-body h2 {
    margin: 18px 0;
    font-size: 24px;
}

.electronic-ticket-body>p {
    margin: 10px 0;
    color: #475569;
}

.ticket-confirmed {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 30px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
}

.electronic-ticket-qr {
    display: flex;
    justify-content: center;
    margin: 28px 0 12px;
}

.electronic-ticket-qr img {
    width: 220px;
    height: 220px;
    object-fit: contain;
}

.electronic-ticket-body .ticket-code {
    font-size: 11px;
    text-align: center;
    overflow-wrap: anywhere;
}

.electronic-ticket-body .ticket-instructions {
    margin: 20px 0;
    text-align: center;
    font-size: 13px;
}

.ticket-print-btn {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media print {

    .navbar,
    .footer,
    .ticket-print-btn {
        display: none !important;
    }

    .electronic-ticket-page {
        min-height: auto;
        padding: 0;
        background: white;
    }

    .electronic-ticket {
        box-shadow: none;
    }
}

.ticket-validation-page {
    min-height: 100vh;
    padding: 145px 20px 80px;
    background: #080d20;
    color: #fff;
}

.ticket-validation-container {
    max-width: 650px;
    margin: 0 auto;
}

.validation-heading {
    text-align: center;
    margin-bottom: 35px;
}

.validation-label {
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.validation-heading h1 {
    margin: 14px 0;
    font-size: clamp(28px, 4vw, 40px);
}

.validation-heading p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.validation-card {
    padding: 35px;
    background: #141a30;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;
}

.validation-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
    font-size: 38px;
}

.validation-card h2 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 23px;
}

.validation-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.validation-card label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.validation-card input {
    width: 100%;
    padding: 15px;
    border: 1px solid #334155;
    border-radius: 10px;
    outline: none;
    background: #0b1026;
    color: #fff;
    font-size: 14px;
}

.validation-card input:focus {
    border-color: #a78bfa;
}

.validation-card button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.validation-card button:hover {
    background: #7c3aed;
}

.validation-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.validation-message.success {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.validation-message.error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.validated-ticket-info {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    background: #0b1026;
}

.validated-ticket-info h3 {
    margin-bottom: 15px;
    color: #c4b5fd;
}

.validated-ticket-info p {
    margin: 9px 0;
    color: #cbd5e1;
    font-size: 13px;
}

@media (max-width: 600px) {
    .ticket-validation-page {
        padding: 120px 15px 60px;
    }

    .validation-card {
        padding: 24px 18px;
    }
}

.scanner-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scanner-section h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 20px;
}

.scanner-section>p {
    margin-bottom: 20px;
    color: #94a3b8;
    text-align: center;
    font-size: 13px;
}

#qr-reader {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
    background: #0b1026;
}

#qr-reader video {
    width: 100% !important;
    border-radius: 14px;
}

#scanner-status {
    margin: 15px 0;
    color: #c4b5fd;
    text-align: center;
    font-size: 13px;
}

.scanner-actions {
    display: flex;
    gap: 12px;
}

.scanner-actions button {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff;
    cursor: pointer;
}

.scanner-actions #stop-scanner {
    background: #334155;
}

.scanner-actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .scanner-actions {
        flex-direction: column;
    }
}

.dashboard-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.dashboard-action-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.organizer-ticket-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-scan-ticket {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.dashboard-scan-ticket:hover {
    background: #7c3aed;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .organizer-ticket-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .organizer-ticket-actions a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.nav-auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login-btn {
    position: relative;
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}

.nav-login-btn i {
    color: #c4b5fd;
    font-size: 14px;
}

.nav-login-btn:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.12);
}

.nav-register-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 11px 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: linear-gradient(135deg,
            #6d28d9 0%,
            #8b5cf6 55%,
            #a855f7 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.25);
    transition: transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.nav-register-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.nav-register-btn .register-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-register-btn:hover .register-arrow {
    transform: translateX(4px);
}

.nav-login-btn:focus-visible,
.nav-register-btn:focus-visible {
    outline: 2px solid #ddd6fe;
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .nav-auth-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    .nav-login-btn,
    .nav-register-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        padding: 14px 18px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nav-login-btn,
    .nav-register-btn,
    .nav-register-btn .register-arrow {
        transition: none;
    }
}

.dashboard-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.dashboard-user-name {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-user-role {
    color: #94a3b8;
    font-size: 11px;
}

.dashboard-profile-dropdown {
    position: relative;
    flex-shrink: 0;
}

.dashboard-profile-dropdown>.dashboard-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.dashboard-profile-dropdown>.dashboard-user:hover,
.dashboard-profile-dropdown.is-open>.dashboard-user {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(167, 139, 250, 0.2);
}

.dashboard-profile-dropdown .dashboard-user-arrow {
    transition: transform 0.25s;
}

.dashboard-profile-dropdown.is-open .dashboard-user-arrow {
    transform: rotate(180deg);
}

.dashboard-profile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1100;
    width: 260px;
    max-width: calc(100vw - 24px);
    padding: 9px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 16px;
    background: #151a30;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.dashboard-profile-menu[hidden] {
    display: none !important;
}

.dashboard-profile-menu-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 12px;
    min-width: 0;
}

.dashboard-profile-menu-header strong {
    color: #fff;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dashboard-profile-menu-header small {
    color: #94a3b8;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.dashboard-profile-menu-divider {
    height: 1px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #cbd5e1;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.dashboard-profile-item i {
    width: 18px;
    color: #a78bfa;
    text-align: center;
}

.dashboard-profile-item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
}

.dashboard-profile-logout {
    color: #fca5a5;
}

.dashboard-profile-logout i {
    color: #f87171;
}

.dashboard-profile-logout:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.dashboard-profile-dropdown>.dashboard-user:focus-visible,
.dashboard-profile-item:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 2px;
}

body:has(.events-page) {
    background: #080d1d;
}

.events-page {
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 80px;
    background: linear-gradient(145deg,
            #080d1d 0%,
            #10162c 60%,
            #17112e 100%);
    color: #f8fafc;
}

.events-page .filter-box {
    background: #151b30;
    border: 1px solid #303952;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

.events-page .search-input {
    background: #0b1123;
    border: 1px solid #303952;
}

.events-page .search-input input {
    background: transparent;
    color: #fff;
}

.events-page .search-input input::placeholder {
    color: #94a3b8;
}

.events-page .categories .category {
    background: #171d33;
    border: 1px solid #303952;
    color: #cbd5e1;
    transition: .25s ease;
}

.events-page .categories .category:hover {
    background: #292044;
    border-color: #8b5cf6;
    color: #fff;
}

.events-page .categories .category.active {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: transparent;
    color: #fff;
}

.events-page .results-header h2 {
    color: #fff;
}

.events-page .results-header span {
    color: #94a3b8;
}

.events-page .event-card {
    background: #151b30;
    border: 1px solid rgba(167, 139, 250, .18);
    color: #f8fafc;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}

.events-page .event-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
}

.events-page .event-content {
    background: #151b30;
    color: #f8fafc;
}

.events-page .event-title-row h3 {
    color: #fff;
}

.events-page .event-info,
.events-page .event-location,
.events-page .participants {
    color: #aab6cf;
}

.events-page .event-info i,
.events-page .event-location i,
.events-page .participants i {
    color: #a78bfa;
}

.events-page .event-footer {
    border-color: rgba(255, 255, 255, .1);
}

.events-page .price small {
    color: #94a3b8;
}

.events-page .price strong {
    color: #c4b5fd;
}

.events-page .details-button {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #fff;
    border-radius: 10px;
    transition: .25s ease;
}

.events-page .details-button:hover {
    background: #7c3aed;
    color: #fff;
    transform: translateY(-2px);
}

.events-page .empty-events {
    background: #151b30;
    border: 1px solid #303952;
    color: #cbd5e1;
}

.events-page .empty-events h3 {
    color: #fff;
}

.events-page .pagination .page-number,
.events-page .pagination .page-arrow {
    background: #171d33;
    border: 1px solid #303952;
    color: #cbd5e1;
}

.events-page .pagination .page-number.active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

.events-page .pagination a:hover {
    border-color: #a78bfa;
    color: #fff;
}

html[data-theme="light"] .dashboard-body {
    color: #172033;
}

html[data-theme="light"] .dashboard-sidebar,
html[data-theme="light"] .dashboard-header {
    color: #172033;
}

html[data-theme="light"] .dashboard-content h1,
html[data-theme="light"] .dashboard-content h2,
html[data-theme="light"] .dashboard-content h3,
html[data-theme="light"] .dashboard-content h4 {
    color: #172033;
}

html[data-theme="light"] .dashboard-content p,
html[data-theme="light"] .dashboard-content small {
    color: #64748b;
}

html[data-theme="light"] .dashboard-sidebar a {
    color: #475569;
}

html[data-theme="light"] .dashboard-sidebar a:hover {
    color: #6d28d9;
}

html[data-theme="light"] .dashboard-header-action {
    color: #172033;
}

html[data-theme="light"] .dashboard-stat-card,
html[data-theme="light"] .dashboard-panel {
    background: #ffffff;
    border-color: #e2e8f0;
}

:root {
    --text: #f8fafc;
    --muted: #a8b3cf;
    --light: #0b1026;
    --border: #303952;
}

body:not(.dashboard-body) {
    background: #080d1f;
    color: #f8fafc;
}

body:not(.dashboard-body) :is(.section, .how-section, .home-info-section, .organizer-section, .popular-events, .popular-categories, .my-reservations-page, .events-page) {
    background: #0b1026;
    color: #f8fafc;
}

body:not(.dashboard-body) :is(.event-card, .featured-event, .category-card, .home-info-card, .popular-event-card, .user-card, .value-card, .reservation-card, .filter-box, .categories-empty, .popular-events-empty) {
    background: #151b31;
    color: #f8fafc;
    border-color: #303952;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

body:not(.dashboard-body) :is(.section-header h2, .center-header h2, .home-info-heading h2, .home-info-card h3, .popular-header h2, .popular-event-content h3 a, .card-content h3, .featured-content h3, .category-card h3, .step h3, .event-card h3) {
    color: #f8fafc;
}

body:not(.dashboard-body) :is(.section-header p, .center-header p, .home-info-heading p, .home-info-card p, .popular-header p, .popular-event-location, .featured-content p, .card-content p, .step p, .category-card span, .popular-event-content p) {
    color: #a8b3cf;
}

body:not(.dashboard-body) :is(.step-icon, .category-icon, .purple-bg, .pink-bg, .blue-bg, .orange-bg, .violet-bg, .green-bg) {
    background: #292044;
    color: #c4b5fd;
    box-shadow: none;
}

body:not(.dashboard-body) :is(.date-badge, .carousel-btn, .favorite, .category-filter) {
    background: #202747;
    color: #e2e8f0;
    border-color: #303952;
}

body:not(.dashboard-body) :is(.category-filter:hover, .carousel-btn:hover) {
    background: #352454;
    color: #ffffff;
}

body:not(.dashboard-body) :is(.event-category, .event-category.pink, .event-category.blue, .event-category.green, .event-category.purple) {
    background: #30214d;
    color: #ddd6fe;
}

body:not(.dashboard-body) :is(.card-footer, .event-footer) {
    border-color: #303952;
}

body:not(.dashboard-body) :is(input, textarea, select) {
    color-scheme: dark;
}

body:not(.dashboard-body) :is(.newsletter input, .search-input input) {
    color: #f8fafc;
}

body:not(.dashboard-body) :is(.home-info-btn, .btn-primary, .category-filter.active) {
    color: #ffffff;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    background: #ffffff;
    color: #5b21b6 !important;
    border: 1px solid #a78bfa;
    font-weight: 600;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    transition: all 0.25s ease;
}

.nav-login-btn i,
.nav-login-btn span {
    color: inherit !important;
    opacity: 1;
}

.nav-login-btn:hover {
    background: #7c3aed;
    color: #ffffff !important;
    border-color: #7c3aed;
    transform: translateY(-2px);
}

[data-theme="dark"] .nav-login-btn,
body.dark-mode .nav-login-btn {
    background: rgba(124, 58, 237, 0.15);
    color: #e9d5ff !important;
    border-color: #7c3aed;
}

[data-theme="dark"] .nav-login-btn:hover,
body.dark-mode .nav-login-btn:hover {
    background: #7c3aed;
    color: #ffffff !important;
}

.notification-nav-link {
    text-decoration: none;
}

.notification-badge:not([hidden]) {
    position: absolute;
    top: -5px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 20px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.notification-wrapper {
    position: relative;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: min(370px, calc(100vw - 30px));
    max-height: 480px;
    display: flex;
    flex-direction: column;
    background: #151b30;
    color: #f8fafc;
    border: 1px solid rgba(139, 92, 246, .25);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    overflow: hidden;
    z-index: 9999;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.notification-dropdown-header h3 {
    margin: 0;
    font-size: 16px;
}

.notification-dropdown-header span {
    font-size: 11px;
    color: #a78bfa;
}

.notification-dropdown-list {
    overflow-y: auto;
}

.notification-dropdown-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.notification-dropdown-item.unread {
    background: rgba(139, 92, 246, .1);
}

.notification-dropdown-icon {
    color: #a78bfa;
}

.notification-dropdown-body {
    flex: 1;
    min-width: 0;
}

.notification-dropdown-body strong {
    font-size: 13px;
}

.notification-dropdown-body p {
    margin: 6px 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.notification-dropdown-body small {
    color: #64748b;
    font-size: 10px;
}

.notification-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #8b5cf6;
}

.notification-dropdown-empty {
    text-align: center;
    padding: 35px;
    color: #94a3b8;
}

.notification-dropdown-footer {
    display: block;
    padding: 15px;
    text-align: center;
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.notification-dropdown-footer:hover {
    background: rgba(139, 92, 246, .12);
}

html[data-theme="light"] .notification-dropdown {
    background: #ffffff;
    color: #172033;
    border-color: #e2e8f0;
}

html[data-theme="light"] .notification-dropdown-header,
html[data-theme="light"] .notification-dropdown-item,
html[data-theme="light"] .notification-dropdown-footer {
    border-color: #e2e8f0;
}

html[data-theme="light"] .notification-dropdown-item.unread {
    background: #f3f0ff;
}

html[data-theme="light"] .notification-dropdown-body p {
    color: #64748b;
}

@media (max-width: 600px) {
    .notification-dropdown {
        position: fixed;
        top: 75px;
        right: 15px;
    }
}

.notification-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #151b30;
    border: 1px solid #475569;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-nav-link:hover {
    background: #252044;
    border-color: #8b5cf6;
    color: #a78bfa;
    transform: translateY(-2px);
}

.notification-nav-link:focus-visible {
    outline: 2px solid #a78bfa;
    outline-offset: 3px;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8b5cf6;
    color: white;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
}

.notification-badge[hidden] {
    display: none !important;
}

html[data-theme="light"] .notification-nav-link {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

html[data-theme="light"] .notification-nav-link:hover {
    background: #f3f0ff;
    border-color: #8b5cf6;
    color: #7c3aed;
}

.ticket-hidden-field {
    display: none;
}

.ticket-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 22px 0;
}

.ticket-option {
    position: relative;
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    cursor: pointer;
    transition: 0.25s ease;
}

.ticket-option:hover {
    transform: translateY(-2px);
    border-color: #7563df;
    box-shadow: 0 8px 24px rgba(25, 20, 70, 0.08);
}

.ticket-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.ticket-option:has(input:checked) {
    border-color: #7563df;
    background: #f7f5ff;
    box-shadow: 0 0 0 3px rgba(117, 99, 223, 0.12);
}

.ticket-option:has(input:focus-visible) {
    outline: 3px solid #7563df;
    outline-offset: 3px;
}

.ticket-option:has(input:disabled) {
    opacity: 0.55;
    cursor: not-allowed;
}

.ticket-option-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ticket-category-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.ticket-standard .ticket-category-name {
    color: #475569;
}

.ticket-vip .ticket-category-name {
    color: #6d28d9;
}

.ticket-premium .ticket-category-name {
    color: #b7791f;
}

.ticket-check {
    color: #7563df;
    opacity: 0;
}

.ticket-option:has(input:checked) .ticket-check {
    opacity: 1;
}

.ticket-price {
    margin-top: 14px;
    font-size: 26px;
    font-weight: 800;
    color: #111936;
}

.ticket-price small {
    font-size: 14px;
}

.ticket-number,
.ticket-description {
    font-size: 13px;
    color: #64748b;
    margin-top: 7px;
}

.ticket-availability {
    margin-top: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.ticket-order-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px;
    margin: 20px 0;
    border-radius: 12px;
    background: #f1f3fa;
}

.ticket-order-summary strong {
    font-size: 21px;
    color: #4c1d95;
}

#ticket-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

[data-theme="dark"] .ticket-option,
body.dark-mode .ticket-option,
html.dark .ticket-option {
    background: #151b2e;
    border-color: #303a55;
    color: #e8ecf7;
}

[data-theme="dark"] .ticket-option:has(input:checked),
body.dark-mode .ticket-option:has(input:checked),
html.dark .ticket-option:has(input:checked) {
    background: #242044;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

[data-theme="dark"] .ticket-price,
body.dark-mode .ticket-price,
html.dark .ticket-price {
    color: #f8f9ff;
}

[data-theme="dark"] .ticket-number,
[data-theme="dark"] .ticket-description,
[data-theme="dark"] .ticket-availability,
body.dark-mode .ticket-number,
body.dark-mode .ticket-description,
body.dark-mode .ticket-availability,
html.dark .ticket-number,
html.dark .ticket-description,
html.dark .ticket-availability {
    color: #aab6d0;
}

[data-theme="dark"] .ticket-standard .ticket-category-name,
body.dark-mode .ticket-standard .ticket-category-name,
html.dark .ticket-standard .ticket-category-name {
    color: #cbd5e1;
}

[data-theme="dark"] .ticket-order-summary,
body.dark-mode .ticket-order-summary,
html.dark .ticket-order-summary {
    background: #1c2338;
    border: 1px solid #343d59;
    color: #e8ecf7;
}

[data-theme="dark"] .ticket-order-summary strong,
body.dark-mode .ticket-order-summary strong,
html.dark .ticket-order-summary strong {
    color: #b69aff;
}

.reservation-ticket-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reservation-ticket-number {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.reservation-ticket-category {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin: 0;
}

.reservation-ticket-category i {
    color: #8b5cf6;
}

.reservation-ticket-category strong {
    color: #6d28d9;
    font-weight: 800;
}

[data-theme="dark"] .reservation-ticket-number,
[data-theme="dark"] .reservation-ticket-category,
body.dark-mode .reservation-ticket-number,
body.dark-mode .reservation-ticket-category,
html.dark .reservation-ticket-number,
html.dark .reservation-ticket-category {
    color: #cbd5e1;
}

[data-theme="dark"] .reservation-ticket-category strong,
body.dark-mode .reservation-ticket-category strong,
html.dark .reservation-ticket-category strong {
    color: #c4b5fd;
}

.navbar .logo {
    flex-shrink: 0;
}

@media (min-width: 1351px) {
    .navbar .nav-mobile-panel {
        display: contents;
    }

    .navbar .mobile-menu {
        display: none;
    }
}

@media (max-width: 1350px) {
    .navbar .nav-container {
        position: relative;
    }

    .navbar .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .navbar .nav-mobile-panel {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        z-index: 1100;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        padding: 18px;
        border: 1px solid rgba(167, 139, 250, .25);
        border-radius: 16px;
        background: #070b1c;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    }

    .navbar .nav-mobile-panel.mobile-open {
        display: flex;
        flex-direction: column;
        gap: 16px;
        animation: mobileMenuOpen .25s ease both;
    }

    .navbar .nav-mobile-panel .nav-menu,
    .navbar .nav-mobile-panel .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .navbar .nav-mobile-panel .nav-menu a {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        padding: 12px 14px;
        white-space: normal;
        border-radius: 9px;
    }

    .navbar .nav-mobile-panel .nav-menu a:hover,
    .navbar .nav-mobile-panel .nav-menu a.active {
        color: #fff;
        background: rgba(124, 58, 237, .2);
    }

    .navbar .nav-mobile-panel .nav-actions {
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .12);
        white-space: normal;
    }

    .navbar .nav-mobile-panel .nav-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .navbar .nav-mobile-panel .nav-login-btn,
    .navbar .nav-mobile-panel .nav-register-btn,
    .navbar .nav-mobile-panel .dashboard-link,
    .navbar .nav-mobile-panel .user-welcome,
    .navbar .nav-mobile-panel .logout-form,
    .navbar .nav-mobile-panel .logout {
        width: 100%;
    }

    .navbar .nav-mobile-panel .notification-wrapper {
        position: relative;
    }

    .navbar .nav-mobile-panel .notification-dropdown {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar .nav-container {
        width: 94%;
    }

    .navbar .logo-text {
        font-size: 18px;
    }

    .navbar .logo-icon,
    .navbar .logo-icon img {
        width: 38px;
        height: 38px;
    }

    .navbar .nav-mobile-panel {
        padding: 14px;
    }
}

@keyframes mobileMenuOpen {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ticket-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    margin-top: 15px;
    padding: 12px 20px;
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
    transition: transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.ticket-login-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #6d28d9, #7e22ce);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
    color: #ffffff;
}

.ticket-login-btn:focus-visible {
    outline: 3px solid #c4b5fd;
    outline-offset: 3px;
}

.ticket-login-btn i:last-child {
    margin-left: auto;
}

@media (max-width: 700px) {
    .ticket-login-btn {
        min-height: 48px;
        font-size: 13px;
    }
}

.event-image {
    position: relative;
}

.event-image .favorite-form {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    margin: 0;
}

.event-image .favorite {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: 0.25s ease;
}

.event-image .favorite:hover {
    color: #fb7185;
    background: rgba(236, 72, 153, 0.2);
    transform: scale(1.08);
}

.event-image .favorite.is-favorite {
    color: #f43f5e;
    background: rgba(255, 255, 255, 0.95);
}

.favorites-header {
    margin-bottom: 45px;
}

.favorites-header h1 {
    margin-bottom: 12px;
}

.favorites-grid .event-card {
    color: #fff;
}

.favorites-grid .event-info,
.favorites-grid .event-location,
.favorite-description {
    color: #94a3b8;
    font-size: 13px;
}

.favorite-description {
    margin: 15px 0;
    line-height: 1.7;
}

.favorites-empty {
    grid-column: 1 / -1;
    padding: 70px 25px;
    text-align: center;
    border: 1px dashed rgba(167, 139, 250, 0.35);
    border-radius: 18px;
    background: #11182d;
}

@media (max-width: 1050px) {
    .favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .favorites-page {
        padding: 120px 0 60px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .favorites-header {
        margin-bottom: 30px;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 9, 25, 0.96);
    border-bottom: 1px solid rgba(167, 139, 250, 0.12);
    backdrop-filter: blur(18px);
}

.navbar .nav-container {
    width: 96%;
    max-width: 1600px;
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.navbar .logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    text-decoration: none;
}

.navbar .logo-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.navbar .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar .logo-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.navbar .nav-mobile-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.navbar .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 0;
}

.navbar .nav-menu>a {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.navbar .nav-menu>a:hover,
.navbar .nav-menu>a.active {
    color: #fff;
}

.navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar .user-welcome {
    max-width: 180px;
    min-width: 0;
}

.navbar .user-welcome span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1450px) {
    .navbar .nav-container {
        width: 94%;
    }

    .navbar .nav-mobile-panel {
        display: none;
    }

    .navbar .mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid rgba(167, 139, 250, 0.25);
        background: #151b35;
        color: #fff;
        cursor: pointer;
    }

    .navbar .nav-mobile-panel.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 22px 5%;
        background: #080d20;
        border-bottom: 1px solid rgba(167, 139, 250, 0.2);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu>a {
        padding: 13px 15px;
        border-radius: 10px;
        font-size: 14px;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu>a.active {
        background: rgba(124, 58, 237, 0.15);
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu>a.active::after {
        display: none;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .navbar .nav-container {
        min-height: 68px;
    }

    .navbar .logo-text {
        font-size: 19px;
    }

    .navbar .logo-icon {
        width: 36px;
        height: 36px;
    }
}

.favorites-page {
    min-height: 100vh;
    padding: 145px 0 100px;
    background: radial-gradient(ellipse at 50% 0%,
            rgba(124, 58, 237, 0.09),
            transparent 55%),
        #080d20;
    color: #f8fafc;
}

.favorites-page>.container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
}

.favorites-header {
    text-align: center;
    margin: 0 auto 50px;
    max-width: 700px;
}

.favorites-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 17px;
    margin-bottom: 20px;
    border-radius: 30px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.2);
    color: #c084fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.favorites-label i {
    color: #ec4899;
}

.favorites-header h1 {
    margin: 0 0 15px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
    color: #ffffff;
}

.favorites-header p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.8;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
}

.favorites-grid .event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #121a31;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.favorites-grid .event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.favorites-grid .event-image {
    position: relative;
    width: 100%;
    height: 215px;
    flex-shrink: 0;
    overflow: hidden;
    background: #0f172a;
}

.favorites-grid .event-image>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.favorites-grid .event-card:hover .event-image>img {
    transform: scale(1.05);
}

.favorites-grid .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #a78bfa;
}

.favorites-grid .date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 54px;
    min-height: 57px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: white;
}

.favorites-grid .date-badge strong {
    font-size: 21px;
    line-height: 1.1;
}

.favorites-grid .date-badge span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.favorites-grid .favorite-form {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    margin: 0;
}

.favorites-grid .favorite {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #f43f5e;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease;
}

.favorites-grid .favorite:hover {
    transform: scale(1.12);
}

.favorites-grid .event-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
    padding: 22px;
}

.favorites-grid .event-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
    color: #f8fafc;
}

.favorites-grid .event-info,
.favorites-grid .event-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #a5b4cc;
    font-size: 13px;
    line-height: 1.6;
}

.favorites-grid .event-info i,
.favorites-grid .event-location i {
    color: #a78bfa;
    margin-top: 3px;
    flex-shrink: 0;
}

.favorites-grid .event-location span {
    overflow-wrap: anywhere;
}

.favorites-grid .favorite-description {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.favorites-grid .details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 45px;
    margin-top: auto;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.25s ease,
        transform 0.25s ease;
}

.favorites-grid .details-button:hover {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    transform: translateY(-2px);
}

.favorites-grid .details-button i {
    transition: transform 0.25s ease;
}

.favorites-grid .details-button:hover i {
    transform: translateX(4px);
}

.favorites-grid .favorites-empty {
    grid-column: 1 / -1;
    padding: 75px 25px;
    text-align: center;
    background: #121a31;
    border: 1px dashed rgba(167, 139, 250, 0.35);
    border-radius: 20px;
}

.favorites-empty>i {
    display: block;
    margin-bottom: 22px;
    font-size: 48px;
    color: #c084fc;
}

.favorites-empty h2 {
    margin-bottom: 12px;
    font-size: 23px;
}

.favorites-empty p {
    margin-bottom: 25px;
    color: #94a3b8;
}

@media (max-width: 1050px) {
    .favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .favorites-page {
        padding: 115px 0 65px;
    }

    .favorites-header {
        margin-bottom: 32px;
    }

    .favorites-header h1 {
        font-size: 30px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .favorites-grid .event-image {
        height: 210px;
    }
}

html[data-theme="light"] .favorites-page {
    background: #f5f7ff;
    color: #0f172a;
}

html[data-theme="light"] .favorites-header h1 {
    color: #0f172a;
}

html[data-theme="light"] .favorites-header p {
    color: #64748b;
}

html[data-theme="light"] .favorites-grid .event-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .favorites-grid .event-content h3 {
    color: #0f172a;
}

html[data-theme="light"] .favorites-grid .event-info,
html[data-theme="light"] .favorites-grid .event-location,
html[data-theme="light"] .favorites-grid .favorite-description {
    color: #64748b;
}

html[data-theme="light"] .favorites-grid .favorites-empty {
    background: #ffffff;
    border-color: #ddd6fe;
}

html[data-theme="light"] .favorites-empty h2 {
    color: #0f172a;
}

html[data-theme="light"] .favorites-empty p {
    color: #64748b;
}

html[data-theme="light"] .navbar {
    border-bottom-color: #e2e8f0;
}

html[data-theme="light"] .navbar .nav-menu>a {
    color: #475569;
}

html[data-theme="light"] .navbar .nav-menu>a:hover,
html[data-theme="light"] .navbar .nav-menu>a.active {
    color: #6d28d9;
}

@media (max-width: 1450px) {
    html[data-theme="light"] .navbar .nav-mobile-panel.mobile-open {
        background: #ffffff;
    }

    html[data-theme="light"] .navbar .mobile-menu {
        background: #f1f5f9;
        color: #334155;
    }
}

.navbar .nav-menu>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
}

.navbar .nav-menu>a::before {
    content: none;
}

.navbar .nav-menu>a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg,
            #7c3aed,
            #ec4899);
    transform: none;
    margin: 0;
}

.navbar .nav-menu>a.active {
    color: #ffffff;
    font-weight: 600;
}

.navbar .nav-menu>a .fa-heart {
    color: #ec4899;
    font-size: 13px;
}

@media (max-width: 1450px) {
    .navbar .nav-mobile-panel.mobile-open .nav-menu>a {
        justify-content: flex-start;
        padding: 13px 15px;
        border-radius: 10px;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu>a.active::after {
        content: none;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu>a.active {
        background: rgba(124, 58, 237, 0.15);
    }
}

html[data-theme="light"] .navbar .nav-menu>a.active {
    color: #6d28d9;
}

.navbar .nav-quick-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar .nav-quick-actions .theme-toggle,
.navbar .nav-quick-actions .notification-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 12px;
    background: #151b35;
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    transition: 0.25s ease;
}

.navbar .nav-quick-actions .theme-toggle:hover,
.navbar .nav-quick-actions .notification-nav-link:hover {
    background: rgba(124, 58, 237, 0.25);
    border-color: #a78bfa;
}

.navbar .nav-quick-actions .notification-wrapper {
    position: relative;
}

.navbar,
.navbar .nav-container {
    overflow: visible;
}

@media (max-width: 1450px) {
    .navbar .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .navbar .nav-quick-actions {
        margin-left: auto;
        gap: 8px;
    }

    .navbar .mobile-menu {
        flex-shrink: 0;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-actions {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .navbar .nav-quick-actions .notification-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: auto;
        z-index: 1100;
        width: min(350px, calc(100vw - 24px));
        max-width: none;
    }
}

@media (max-width: 480px) {
    .navbar .nav-container {
        gap: 8px;
    }

    .navbar .nav-quick-actions {
        gap: 6px;
    }

    .navbar .nav-quick-actions .theme-toggle,
    .navbar .nav-quick-actions .notification-nav-link {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
    }

    .navbar .mobile-menu {
        width: 38px;
        height: 38px;
    }

    .navbar .logo-text {
        font-size: 17px;
    }
}

html[data-theme="light"] .navbar .nav-quick-actions .theme-toggle,
html[data-theme="light"] .navbar .nav-quick-actions .notification-nav-link {
    background: #f1f5f9;
    color: #334155;
    border-color: #e2e8f0;
}

.notification-dropdown[hidden] {
    display: none !important;
}

@media (max-width: 1450px) {
    .navbar .nav-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 94%;
        margin: 0 auto;
    }

    .navbar .logo {
        flex: 0 0 auto;
        margin-right: auto;
    }

    .navbar .nav-quick-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 0;
    }

    .navbar .mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        margin: 0;
    }

    .navbar .nav-mobile-panel:not(.mobile-open) {
        display: none;
    }

    .navbar .nav-mobile-panel.mobile-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .navbar .nav-container {
        gap: 6px;
    }

    .navbar .logo {
        margin-right: auto;
    }

    .navbar .nav-quick-actions {
        gap: 6px;
        margin-left: auto;
    }

    .navbar .nav-quick-actions .theme-toggle,
    .navbar .nav-quick-actions .notification-nav-link {
        width: 36px;
        height: 36px;
    }

    .navbar .mobile-menu {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 430px) {
    .navbar {
        width: 100%;
        min-width: 0;
    }

    .navbar .nav-container {
        width: 100%;
        min-height: 66px;
        padding: 0 12px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 7px;
    }

    .navbar .logo {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex: 0 1 auto;
        min-width: 0;
        margin-right: auto;
    }

    .navbar .logo-icon {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .navbar .logo-text {
        font-size: 17px;
        white-space: nowrap;
        letter-spacing: -0.6px;
    }

    .navbar .nav-quick-actions {
        display: flex;
        align-items: center;
        gap: 5px;
        flex: 0 0 auto;
        margin: 0;
    }

    .navbar .nav-quick-actions .theme-toggle,
    .navbar .nav-quick-actions .notification-nav-link {
        width: 34px;
        height: 34px;
        min-width: 34px;
        padding: 0;
        font-size: 14px;
        border-radius: 9px;
    }

    .navbar .mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        min-width: 35px;
        padding: 0;
        margin: 0;
        font-size: 15px;
        border-radius: 9px;
    }

    .navbar .nav-mobile-panel.mobile-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100dvh - 66px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 12px;
        gap: 12px;
        background: #080d20;
        box-sizing: border-box;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu {
        width: 100%;
        gap: 3px;
        align-items: stretch;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-menu>a {
        width: 100%;
        min-height: 43px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 11px 13px;
        margin: 0;
        font-size: 13px;
        text-align: left;
        box-sizing: border-box;
    }

    .navbar .nav-mobile-panel.mobile-open .nav-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .navbar .nav-mobile-panel.mobile-open .user-welcome {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar .nav-mobile-panel.mobile-open .dashboard-link,
    .navbar .nav-mobile-panel.mobile-open .logout-form,
    .navbar .nav-mobile-panel.mobile-open .logout-form .logout {
        width: 100%;
        box-sizing: border-box;
    }

    .navbar .nav-quick-actions .notification-dropdown {
        position: fixed;
        top: 72px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        max-height: 70dvh;
        overflow-y: auto;
    }
}

@media (max-width: 359px) {
    .navbar .nav-container {
        padding: 0 8px;
        gap: 5px;
    }

    .navbar .logo-text {
        font-size: 15px;
    }

    .navbar .logo-icon {
        width: 30px;
        height: 30px;
    }

    .navbar .nav-quick-actions {
        gap: 4px;
    }

    .navbar .nav-quick-actions .theme-toggle,
    .navbar .nav-quick-actions .notification-nav-link,
    .navbar .mobile-menu {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.navbar *,
.navbar *::before,
.navbar *::after {
    box-sizing: border-box;
}

.navbar .nav-mobile-panel {
    min-width: 0;
}

.navbar .nav-menu>a {
    max-width: 100%;
}

.events-grid .event-image .date-badge {
    background: rgba(15, 23, 42, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 10px;
    color: #ffffff;
}

.events-grid .event-image .date-badge strong {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 800;
    opacity: 1;
}

.events-grid .event-image .date-badge span {
    color: #e9d5ff !important;
    font-size: 11px;
    font-weight: 700;
    opacity: 1;
}

html[data-theme="light"] .events-grid .event-image .date-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

html[data-theme="light"] .events-grid .event-image .date-badge strong {
    color: #0f172a !important;
}

html[data-theme="light"] .events-grid .event-image .date-badge span {
    color: #6d28d9 !important;
}

.events-grid,
.popular-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.events-grid>.event-card,
.popular-events-grid>.event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.events-grid>.event-card .event-image {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
}

.events-grid>.event-card .event-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-grid>.event-card .event-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 17px;
}

.events-grid>.event-card .details-button {
    margin-top: auto;
}

.events-grid .date-badge strong {
    color: #ffffff;
}

.events-grid .date-badge span {
    color: #e9d5ff;
}

html[data-theme="light"] .events-grid .date-badge strong {
    color: #0f172a;
}

html[data-theme="light"] .events-grid .date-badge span {
    color: #6d28d9;
}

@media (max-width: 1050px) {

    .events-grid,
    .popular-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .events-grid,
    .popular-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.popular-events {
    padding: 75px 0;
}

.popular-events .container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
}

.popular-events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.popular-events-header h2 {
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 800;
}

.popular-events-header p {
    color: #94a3b8;
    font-size: 14px;
}

.view-all-events {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a855f7;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
    font-size: 13px;
}

.view-all-events:hover {
    color: #ec4899;
}

.popular-events .events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1050px) {
    .popular-events .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .popular-events .events-grid {
        grid-template-columns: 1fr;
    }

    .popular-events-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.popular-events .event-card,
.events-page .event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.popular-events .event-content,
.events-page .event-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 20px;
}

.popular-events .event-footer,
.events-page .event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.popular-events .event-card .details-button,
.events-page .event-card .details-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 13px 18px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg,
            #7c3aed 0%,
            #9333ea 55%,
            #db2777 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.22);
    transition: transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.popular-events .event-card .details-button:hover,
.events-page .event-card .details-button:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}

.popular-events .event-card .details-button i,
.events-page .event-card .details-button i {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.popular-events .event-card .details-button:hover i,
.events-page .event-card .details-button:hover i {
    transform: translateX(5px);
}

html[data-theme="light"] .popular-events .event-footer,
html[data-theme="light"] .events-page .event-footer {
    border-top-color: #e2e8f0;
}

@media (max-width: 700px) {

    .popular-events .event-content,
    .events-page .event-content {
        padding: 17px;
    }

    .popular-events .event-card .details-button,
    .events-page .event-card .details-button {
        min-height: 48px;
        font-size: 14px;
    }
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: min(720px, 85vh);
    min-height: 550px;
    overflow: hidden;
    isolation: isolate;
    background: #080d20;
    color: #fff;
}

.hero-carousel .hero-slides {
    position: absolute;
    inset: 0;
}

.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-carousel .hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-carousel .hero-slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 6s ease;
}

.hero-carousel .hero-slide.is-active .hero-slide-image {
    transform: scale(1);
}

.hero-carousel .hero-no-image {
    background: linear-gradient(135deg,
            #080d20,
            #312e81,
            #581c87);
}

.hero-carousel .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
            rgba(5, 8, 24, 0.98) 0%,
            rgba(5, 8, 24, 0.86) 30%,
            rgba(5, 8, 24, 0.40) 70%,
            rgba(5, 8, 24, 0.20) 100%);
}

.hero-carousel .hero-container {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 1250px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hero-carousel .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 750px;
    padding: 40px 0;
    text-align: left;
}

.hero-carousel .hero-featured-title {
    margin: 20px 0;
    color: #ffffff;
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

.hero-carousel .hero-event-category {
    display: block;
    margin-top: 20px;
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-carousel .hero-event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 22px 0;
}

.hero-carousel .hero-event-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 13px;
}

.hero-carousel .hero-event-info i {
    color: #a78bfa;
}

.hero-carousel .hero-description {
    max-width: 650px;
    margin-bottom: 26px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.8;
}

.hero-carousel .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-carousel .hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(15, 23, 42, .65);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .25s ease;
}

.hero-carousel .hero-arrow:hover {
    background: #7c3aed;
}

.hero-carousel .hero-prev {
    left: 15px;
}

.hero-carousel .hero-next {
    right: 15px;
}

.hero-carousel .hero-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-carousel .hero-indicator {
    width: 22px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.hero-carousel .hero-indicator.is-active {
    width: 48px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
}

html[data-theme="light"] .hero-carousel,
html[data-theme="light"] .hero-carousel .hero-featured-title {
    color: #fff;
}

html[data-theme="light"] .hero-carousel .hero-description,
html[data-theme="light"] .hero-carousel .hero-event-info span {
    color: #e2e8f0;
}

@media (max-width: 900px) {
    .hero-carousel {
        height: 650px;
        min-height: 0;
    }

    .hero-carousel .hero-content {
        max-width: 90%;
    }

    .hero-carousel .hero-overlay {
        background: linear-gradient(90deg,
                rgba(5, 8, 24, .95),
                rgba(5, 8, 24, .55));
    }
}

@media (max-width: 600px) {
    .hero-carousel {
        height: auto;
        min-height: 620px;
    }

    .hero-carousel .hero-slides {
        position: relative;
        min-height: 620px;
    }

    .hero-carousel .hero-container {
        align-items: center;
        padding: 55px 0 80px;
    }

    .hero-carousel .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .hero-carousel .hero-featured-title {
        font-size: clamp(30px, 9vw, 44px);
        letter-spacing: -0.5px;
    }

    .hero-carousel .hero-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-carousel .hero-event-info {
        gap: 10px;
    }

    .hero-carousel .hero-event-info span {
        font-size: 12px;
    }

    .hero-carousel .hero-overlay {
        background: linear-gradient(0deg,
                rgba(5, 8, 24, .98) 0%,
                rgba(5, 8, 24, .78) 55%,
                rgba(5, 8, 24, .45) 100%);
    }

    .hero-carousel .hero-arrow {
        top: auto;
        bottom: 18px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .hero-carousel .hero-indicators {
        bottom: 35px;
    }

    .hero-carousel .hero-buttons .btn {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-carousel .hero-slide,
    .hero-carousel .hero-slide-image {
        transition: none;
    }
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.75) 35%,
            rgba(255, 255, 255, 0.20) 70%,
            rgba(255, 255, 255, 0.05) 100%);
}

[data-theme="light"] .hero-title {
    color: #0f172a;
    text-shadow: none;
}

[data-theme="light"] .hero-description {
    color: #334155;
}

[data-theme="light"] .hero-content .btn-outline {
    color: #0f172a;
    border-color: #64748b;
    background: rgba(255, 255, 255, 0.65);
}

#heroCarousel .hero-featured-title,
#heroCarousel .hero-title {
    font-family: inherit;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-transform: none;
    max-width: 680px;
    margin: 20px 0 24px;
}

#heroCarousel .hero-description {
    font-weight: 400;
    margin-bottom: 28px;
}

#heroCarousel .hero-event-category {
    display: block;
    margin-top: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#heroCarousel .hero-event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 22px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
}

#heroCarousel .hero-event-info>span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] #heroCarousel .hero-overlay {
    background: linear-gradient(90deg,
            rgba(248, 250, 252, 0.97) 0%,
            rgba(248, 250, 252, 0.88) 35%,
            rgba(248, 250, 252, 0.35) 65%,
            rgba(248, 250, 252, 0.05) 100%);
}

[data-theme="light"] #heroCarousel .hero-featured-title,
[data-theme="light"] #heroCarousel .hero-title {
    color: #0f172a;
    text-shadow: none;
}

[data-theme="light"] #heroCarousel .hero-description,
[data-theme="light"] #heroCarousel .hero-event-info,
[data-theme="light"] #heroCarousel .hero-event-info>span {
    color: #334155;
    text-shadow: none;
}

[data-theme="light"] #heroCarousel .hero-event-category,
[data-theme="light"] #heroCarousel .hero-event-info i {
    color: #6d28d9;
}

[data-theme="light"] #heroCarousel .hero-badge {
    color: #5b21b6;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
}

[data-theme="light"] #heroCarousel .btn-outline {
    color: #0f172a;
    border-color: #94a3b8;
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] #heroCarousel .btn-outline:hover {
    color: #5b21b6;
    background: #ede9fe;
    border-color: #8b5cf6;
}

#heroCarousel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: calc(100% - 48px);
    max-width: 1440px;
    margin: 24px auto 48px;
    border-radius: 24px;
    background: #10121c;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

#heroCarousel .hero-slides {
    height: 720px;
}

#heroCarousel .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

#heroCarousel .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#heroCarousel .hero-slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

#heroCarousel .hero-overlay,
[data-theme="light"] #heroCarousel .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            #10121c 0%,
            rgba(16, 18, 28, 0.85) 16%,
            transparent 55%),
        linear-gradient(90deg,
            rgba(10, 13, 23, 0.92) 0%,
            rgba(10, 13, 23, 0.6) 40%,
            rgba(10, 13, 23, 0.08) 100%);
}

#heroCarousel .hero-container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 240px;
}

#heroCarousel .hero-content {
    max-width: 620px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

#heroCarousel .hero-featured-title,
[data-theme="light"] #heroCarousel .hero-featured-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-transform: none;
    margin: 18px 0;
    text-shadow: none;
}

#heroCarousel .hero-description,
#heroCarousel .hero-event-info,
#heroCarousel .hero-event-info>span,
[data-theme="light"] #heroCarousel .hero-description,
[data-theme="light"] #heroCarousel .hero-event-info,
[data-theme="light"] #heroCarousel .hero-event-info>span {
    color: #e2e8f0;
}

#heroCarousel .hero-description {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.7;
}

#heroCarousel .hero-event-category,
#heroCarousel .hero-event-info i,
[data-theme="light"] #heroCarousel .hero-event-category,
[data-theme="light"] #heroCarousel .hero-event-info i {
    color: #c4b5fd;
}

#heroCarousel .hero-badge,
[data-theme="light"] #heroCarousel .hero-badge {
    color: #ede9fe;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(196, 181, 253, 0.4);
}

#heroCarousel .btn-outline,
[data-theme="light"] #heroCarousel .btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

#heroCarousel .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
}

#heroCarousel .hero-thumbnails {
    position: absolute;
    z-index: 3;
    bottom: 28px;
    left: 6%;
    right: 6%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px 14px;
    scrollbar-width: thin;
    scrollbar-color: #7c3aed transparent;
}

#heroCarousel .hero-thumbnail {
    position: relative;
    flex: 0 0 130px;
    height: 165px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #252839;
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: transform 0.25s, border-color 0.25s;
}

#heroCarousel .hero-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroCarousel .hero-thumbnail span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 12px 10px;
    background: linear-gradient(transparent 30%,
            rgba(0, 0, 0, 0.9));
    font: 600 0.8rem/1.3 "Segoe UI", sans-serif;
}

#heroCarousel .hero-thumbnail:hover {
    transform: translateY(-4px);
}

#heroCarousel .hero-thumbnail.is-active {
    border-color: #a78bfa;
}

#heroCarousel .hero-thumbnail:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

#heroCarousel .hero-indicators {
    display: none;
}

@media (max-width: 768px) {
    #heroCarousel {
        width: calc(100% - 24px);
        margin-top: 12px;
        border-radius: 18px;
    }

    #heroCarousel .hero-slides {
        height: 760px;
    }

    #heroCarousel .hero-container {
        align-items: flex-start;
        padding-top: 48px;
        padding-bottom: 200px;
    }

    #heroCarousel .hero-content {
        padding-inline: 20px;
    }

    #heroCarousel .hero-event-info {
        gap: 8px 14px;
    }

    #heroCarousel .hero-thumbnails {
        left: 24px;
        right: 24px;
        bottom: 20px;
        gap: 12px;
    }

    #heroCarousel .hero-thumbnail {
        flex-basis: 105px;
        height: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #heroCarousel .hero-slide,
    #heroCarousel .hero-thumbnail {
        transition: none;
    }
}

#heroCarousel .hero-thumbnails .hero-thumbnail {
    width: 130px;
    min-width: 130px;
    height: 165px;
    opacity: 1;
    margin: 0;
}

#heroCarousel .hero-thumbnails .hero-thumbnail.is-active {
    background: #252839;
    border-color: #a78bfa;
}

@media (max-width: 768px) {
    #heroCarousel .hero-thumbnails .hero-thumbnail {
        width: 105px;
        min-width: 105px;
        height: 140px;
    }
}

:root {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] body {
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .section,

html[data-theme="light"] .how-section,

html[data-theme="light"] .home-info-section,

html[data-theme="light"] .organizer-section,

html[data-theme="light"] .popular-events {
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .event-card,

html[data-theme="light"] .featured-event,

html[data-theme="light"] .category-card,

html[data-theme="light"] .home-info-card,

html[data-theme="light"] .popular-event-card {
    background: #fff;
    color: #172033;
    border-color: #e2e8f0;
}

html[data-theme="light"] .section-header h2,

html[data-theme="light"] .center-header h2,

html[data-theme="light"] .home-info-heading h2,

html[data-theme="light"] .home-info-card h3,

html[data-theme="light"] .popular-header h2,

html[data-theme="light"] .popular-event-content h3 a,

html[data-theme="light"] .card-content h3 {
    color: #172033;
}

html[data-theme="light"] .section-header p,

html[data-theme="light"] .center-header p,

html[data-theme="light"] .home-info-heading p,

html[data-theme="light"] .home-info-card p,

html[data-theme="light"] .popular-header p,

html[data-theme="light"] .popular-event-location,

html[data-theme="light"] .card-content p {
    color: #64748b;
}

html[data-theme="light"] .category-filter {
    background: #fff;
    color: #475569;
    border-color: #e2e8f0;
}

html[data-theme="light"] .category-filter.active {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
}

html[data-theme="light"] .step-icon {
    background: #ede9fe;
    box-shadow: 0 0 0 10px #f5f3ff;
}

html[data-theme="light"] .features-page {
    --features-bg: #f7f8fc;
    --features-dark: #172033;
    --features-text: #172033;
    --features-muted: #667085;
    --features-border: #e5e7eb;
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .features-page .main-features,

html[data-theme="light"] .features-page .security-section {
    background: #f7f8fc;
}

html[data-theme="light"] .features-page .organizer-feature,

html[data-theme="light"] .features-page .features-cta {
    background: #fff;
}

html[data-theme="light"] .features-page .feature-card,

html[data-theme="light"] .features-page .security-content {
    background: #fff;
    border-color: #e5e7eb;
    color: #172033;
}

html[data-theme="light"] .features-page .feature-card h3,

html[data-theme="light"] .features-page .section-heading h2,

html[data-theme="light"] .features-page .organizer-content h2,

html[data-theme="light"] .features-page .security-content h2 {
    color: #172033;
}

html[data-theme="light"] .features-page .feature-card p,

html[data-theme="light"] .features-page .feature-card li,

html[data-theme="light"] .features-page .section-heading p,

html[data-theme="light"] .features-page .organizer-content>p,

html[data-theme="light"] .features-page .security-content p {
    color: #667085;
}

html[data-theme="light"] .features-page .feature-card.featured {
    background: linear-gradient(145deg, #080d24, #171047);
    color: #fff;
}

html[data-theme="light"] .features-page .feature-card.featured h3 {
    color: #fff;
}

html[data-theme="light"] .features-page .feature-card.featured p,

html[data-theme="light"] .features-page .feature-card.featured li {
    color: #cbd5e1;
}

html[data-theme="light"] .about-page {
    --about-bg: #f7f8fc;
    --about-dark: #172033;
    --about-muted: #667085;
    --about-border: #e5e7eb;
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .about-page .about-mission,

html[data-theme="light"] .about-page .about-values {
    background: #f7f8fc;
}

html[data-theme="light"] .about-page .about-users,

html[data-theme="light"] .about-page .about-cta {
    background: #fff;
}

html[data-theme="light"] .about-page .user-card,

html[data-theme="light"] .about-page .value-card {
    background: #fff;
    border-color: #e5e7eb;
    color: #172033;
}

html[data-theme="light"] .about-page .mission-content h2,

html[data-theme="light"] .about-page .mission-point h3,

html[data-theme="light"] .about-page .section-heading h2,

html[data-theme="light"] .about-page .user-card h3,

html[data-theme="light"] .about-page .value-card h3 {
    color: #172033;
}

html[data-theme="light"] .about-page .mission-content>p,

html[data-theme="light"] .about-page .mission-point p,

html[data-theme="light"] .about-page .section-heading p,

html[data-theme="light"] .about-page .user-card p,

html[data-theme="light"] .about-page .value-card p {
    color: #667085;
}

html[data-theme="light"] .about-page .user-card.featured {
    background: linear-gradient(145deg, #0b1026, #171047);
    color: #fff;
}

html[data-theme="light"] .about-page .user-card.featured h3 {
    color: #fff;
}

html[data-theme="light"] .about-page .user-card.featured p {
    color: #cbd5e1;
}

html[data-theme="light"] .my-reservations-page {
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .my-reservations-page .reservations-header {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-color: #ddd6fe;
}

html[data-theme="light"] .my-reservations-page .reservations-header h1,

html[data-theme="light"] .my-reservations-page .reservations-toolbar h2,

html[data-theme="light"] .my-reservations-page .reservation-details h3,

html[data-theme="light"] .my-reservations-page .reservations-empty h3 {
    color: #172033;
}

html[data-theme="light"] .my-reservations-page .reservations-header p,

html[data-theme="light"] .my-reservations-page .reservations-toolbar p,

html[data-theme="light"] .my-reservations-page .reservation-meta,

html[data-theme="light"] .my-reservations-page .reservation-meta span,

html[data-theme="light"] .my-reservations-page .reservation-ticket-info,

html[data-theme="light"] .my-reservations-page .reservation-ticket-info span,

html[data-theme="light"] .my-reservations-page .reservations-empty p {
    color: #64748b;
}

html[data-theme="light"] .my-reservations-page .reservation-card,

html[data-theme="light"] .my-reservations-page .reservations-empty {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
}

html[data-theme="light"] .my-reservations-page .reservation-details {
    color: #334155;
}

html[data-theme="light"] .my-reservations-page .reservation-bottom {
    border-color: #e2e8f0;
}

html[data-theme="light"] .my-reservations-page .reservation-image-placeholder {
    background: #ede9fe;
}

html[data-theme="light"] .my-reservations-page .reservation-price strong {
    color: #6d28d9;
}

html[data-theme="light"] .my-reservations-page .reservation-view-event {
    color: #6d28d9;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, .35);
    background: rgba(124, 58, 237, .12);
    color: #c4b5fd;
    cursor: pointer;
}

html[data-theme="light"] .theme-toggle {
    background: #ede9fe;
    color: #6d28d9;
    border-color: #ddd6fe;
}

html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]),

html[data-theme="light"] select,

html[data-theme="light"] textarea {
    color: #172033;
    background-color: #fff;
    border-color: #cbd5e1;
}

html[data-theme="light"] .popular-categories {
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .categories-header h2 {
    color: #172033;
}

html[data-theme="light"] .popular-categories .section-label,

html[data-theme="light"] .all-categories-link {
    color: #7c3aed;
}

html[data-theme="light"] .categories-grid .category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #172033;
}

html[data-theme="light"] .categories-grid .category-card h3 {
    color: #172033;
}

html[data-theme="light"] .categories-grid .category-card p {
    color: #64748b;
}

html[data-theme="light"] .categories-empty {
    color: #64748b;
}

html[data-theme="dark"] .popular-categories {
    background: #0b1026;
    color: #f8fafc;
}

html[data-theme="dark"] .categories-header h2 {
    color: #f8fafc;
}

html[data-theme="dark"] .popular-categories .section-label,

html[data-theme="dark"] .all-categories-link {
    color: #c4b5fd;
}

html[data-theme="dark"] .categories-grid .category-card {
    background: #151c35;
    border: 1px solid #303956;
    color: #f8fafc;
}

html[data-theme="dark"] .categories-grid .category-card h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .categories-grid .category-card p {
    color: #a8b3cf;
}

html[data-theme="dark"] .categories-empty {
    color: #a8b3cf;
}

.popular-categories .category-card {
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.popular-categories .category-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

html[data-theme="light"] .how-section {
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="light"] .how-section .center-header h2,

html[data-theme="light"] .how-section .step h3 {
    color: #172033;
}

html[data-theme="light"] .how-section .center-header p,

html[data-theme="light"] .how-section .step p {
    color: #64748b;
}

html[data-theme="light"] .how-section .section-label,

html[data-theme="light"] .how-section .step-number {
    color: #6d28d9;
}

html[data-theme="light"] .how-section .step-icon {
    background: #ede9fe;
    color: #6d28d9;
    box-shadow: 0 0 0 10px #f5f3ff;
}

html[data-theme="light"] .how-section .step-line {
    border-color: #a78bfa;
}

html[data-theme="dark"] .how-section {
    background: #0b1026;
    color: #f8fafc;
}

html[data-theme="dark"] .how-section .center-header h2,

html[data-theme="dark"] .how-section .step h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .how-section .center-header p,

html[data-theme="dark"] .how-section .step p {
    color: #a8b3cf;
}

html[data-theme="dark"] .how-section .section-label,

html[data-theme="dark"] .how-section .step-number {
    color: #c4b5fd;
}

html[data-theme="dark"] .how-section .step-icon {
    background: #30234f;
    color: #c4b5fd;
    box-shadow: 0 0 0 10px #1a1735;
}

html[data-theme="dark"] .how-section .step-line {
    border-color: #7c3aed;
}

.how-section .step-icon {
    transition:
        background 0.3s ease,

        color 0.3s ease,

        box-shadow 0.3s ease,

        transform 0.3s ease;
}

.how-section .step:hover .step-icon {
    transform: translateY(-5px);
}

html[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .navbar .logo,

html[data-theme="light"] .navbar .logo-text {
    color: #0b1026;
}

html[data-theme="light"] .nav-menu a {
    color: #334155;
}

html[data-theme="light"] .nav-menu a:hover,

html[data-theme="light"] .nav-menu a.active {
    color: #7c3aed;
}

html[data-theme="light"] .navbar .login {
    color: #172033;
}

html[data-theme="light"] .navbar .login:hover {
    color: #7c3aed;
}

html[data-theme="light"] .navbar .user-welcome {
    background: #f5f3ff;
    color: #334155;
    border-color: #ddd6fe;
}

html[data-theme="light"] .navbar .logout {
    background: #f8fafc;
    color: #334155;
    border-color: #e2e8f0;
}

html[data-theme="light"] .navbar .mobile-menu {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ddd6fe;
}

html[data-theme="light"] .navbar .btn-outline {
    background: transparent;
    color: #6d28d9;
    border-color: #a78bfa;
}

html[data-theme="light"] .footer {
    background: #ffffff;
    color: #172033;
    border-top: 1px solid #e2e8f0;
}

html[data-theme="light"] .footer .logo,

html[data-theme="light"] .footer .logo-text,

html[data-theme="light"] .footer-column h3,

html[data-theme="light"] .newsletter h3 {
    color: #172033;
}

html[data-theme="light"] .footer-brand p,

html[data-theme="light"] .footer-column a,

html[data-theme="light"] .newsletter p,

html[data-theme="light"] .footer-bottom {
    color: #64748b;
}

html[data-theme="light"] .footer-column a:hover {
    color: #7c3aed;
}

html[data-theme="light"] .footer-main {
    border-bottom-color: #e2e8f0;
}

html[data-theme="light"] .footer .socials a {
    background: #f1f5f9;
    color: #475569;
}

html[data-theme="light"] .footer .socials a:hover {
    background: #7c3aed;
    color: #ffffff;
}

html[data-theme="light"] .footer .newsletter {
    background: #f7f8fc;
    border: 1px solid #e2e8f0;
}

html[data-theme="light"] .footer .newsletter input {
    background: #ffffff;
    color: #172033;
    border-color: #cbd5e1;
}

html[data-theme="light"] .footer .newsletter input::placeholder {
    color: #64748b;
}

html[data-theme="dark"] .navbar {
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .navbar .logo,

html[data-theme="dark"] .navbar .logo-text {
    color: #ffffff;
}

html[data-theme="dark"] .nav-menu a {
    color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .nav-menu a:hover,

html[data-theme="dark"] .nav-menu a.active {
    color: #ffffff;
}

html[data-theme="dark"] .footer {
    background: #020617;
    color: #ffffff;
}

html[data-theme="dark"] .footer-column h3,

html[data-theme="dark"] .newsletter h3 {
    color: #ffffff;
}

html[data-theme="dark"] .footer-column a,

html[data-theme="dark"] .footer-brand p,

html[data-theme="dark"] .newsletter p {
    color: #94a3b8;
}

.navbar .theme-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #151c35;
    color: #fbbf24;
    font-size: 18px;
    cursor: pointer;
    transition:
        background 0.3s ease,

        color 0.3s ease,

        transform 0.3s ease;
}

html[data-theme="light"] .navbar .theme-toggle {
    background: #f5f3ff;
    color: #7c3aed;
    border-color: #ddd6fe;
}

.navbar .theme-toggle:hover {
    transform: rotate(15deg);
}

html[data-theme="light"] .hero-featured {
    background-color: #eef2ff;
}

html[data-theme="light"] .hero-featured .hero-overlay {
    background: linear-gradient(90deg,

            rgba(248, 250, 255, 0.96) 0%,

            rgba(248, 250, 255, 0.88) 40%,

            rgba(248, 250, 255, 0.55) 75%,

            rgba(248, 250, 255, 0.35) 100%);
}

html[data-theme="light"] .hero-featured-title {
    color: #0b1026;
    text-shadow: none;
}

html[data-theme="light"] .hero-featured .hero-description,

html[data-theme="light"] .hero-featured .hero-event-info span {
    color: #334155;
    text-shadow: none;
}

html[data-theme="light"] .hero-event-category {
    color: #6d28d9;
}

html[data-theme="light"] .hero-featured .btn-outline {
    background: #ffffff;
    color: #4c1d95;
    border-color: #c4b5fd;
}

html[data-theme="light"] .hero-featured .btn-outline:hover {
    background: #ede9fe;
}

html[data-theme="light"] .hero-featured .hero-badge {
    background: rgba(124, 58, 237, 0.10);
    border-color: rgba(124, 58, 237, 0.25);
    color: #5b21b6;
}

html[data-theme="dark"] .hero-featured {
    background-color: #080d24;
}

html[data-theme="dark"] .hero-featured .hero-overlay {
    background: linear-gradient(90deg,

            rgba(7, 11, 26, 0.96) 0%,

            rgba(7, 11, 26, 0.82) 40%,

            rgba(7, 11, 26, 0.35) 75%,

            rgba(7, 11, 26, 0.20) 100%);
}

html[data-theme="dark"] .hero-featured-title {
    color: #ffffff;
}

html[data-theme="dark"] .hero-featured .hero-description,

html[data-theme="dark"] .hero-featured .hero-event-info span {
    color: #cbd5e1;
}

.hero-featured,

.hero-featured .hero-overlay,

.hero-featured-title,

.hero-featured .hero-description {
    transition: background-color 0.35s ease,

        color 0.35s ease;
}

@media (max-width: 700px) {
    html[data-theme="light"] .hero-featured .hero-overlay {
        background: linear-gradient(0deg,

                rgba(248, 250, 255, 0.98),

                rgba(248, 250, 255, 0.70));
    }
}

html[data-theme="light"] .events-page .results-header h2 {
    color: #172033;
}

html[data-theme="dark"] .events-page .results-header h2 {
    color: #f8fafc;
}

html[data-theme="light"] .events-page .results-header span {
    color: #64748b;
}

html[data-theme="dark"] .events-page .results-header span {
    color: #a8b3cf;
}

html[data-theme="dark"] .events-page .filter-box,

html[data-theme="dark"] .events-page .event-card,

html[data-theme="dark"] .events-page .category,

html[data-theme="dark"] .events-page .filter-button,

html[data-theme="dark"] .events-page .sort-select,

html[data-theme="dark"] .events-page .view-buttons {
    background: #151d36;
    border-color: #303a56;
    color: #e2e8f0;
}

html[data-theme="dark"] .events-page .search-input input::placeholder {
    color: #a8b3cf;
}

html[data-theme="dark"] .events-page .category:hover,

html[data-theme="dark"] .events-page .category.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

html[data-theme="dark"] .events-page .event-info,

html[data-theme="dark"] .events-page .event-location,

html[data-theme="dark"] .events-page .participants,

html[data-theme="dark"] .events-page .price small {
    color: #b8c2d9;
}

html[data-theme="dark"] .events-page .event-footer {
    border-top-color: #303a56;
}

html[data-theme="dark"] .events-page .details-button {
    background: #30204f;
    color: #ddd6fe;
}

html[data-theme="dark"] .events-page .details-button:hover {
    background: #7c3aed;
    color: #fff;
}

html[data-theme="dark"] .events-page .page-number,

html[data-theme="dark"] .events-page .page-arrow {
    background: #151d36;
    color: #e2e8f0;
    border-color: #303a56;
}

html[data-theme="dark"] .events-page .page-number.active {
    background: #7c3aed;
    color: #fff;
}

html[data-theme="dark"] .events-page .empty-events {
    color: #e2e8f0;
}

html[data-theme="dark"] .events-page .empty-events h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .events-page .empty-events p {
    color: #b8c2d9;
}

.contact-page {
    background: var(--contact-bg);
    color: var(--contact-text);
}

html[data-theme="light"] .contact-hero {
    background-image: linear-gradient(90deg, rgba(248, 250, 255, .96), rgba(248, 250, 255, .82) 55%, rgba(248, 250, 255, .52)), url("../images/jpg/BG.jpg");
    color: #172033;
}

html[data-theme="light"] .contact-hero p {
    color: #475569;
}

html[data-theme="light"] .contact-hero h1 span {
    background: linear-gradient(90deg, #5b21b6, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

html[data-theme="light"] .contact-hero .hero-badge {
    color: #6d28d9;
}

html[data-theme="dark"] .contact-hero {
    background-image: linear-gradient(90deg, rgba(2, 6, 23, .88), rgba(2, 6, 23, .70) 45%, rgba(15, 23, 42, .58)), url("../images/jpg/BG.jpg");
    color: #fff;
}

html[data-theme="dark"] .contact-hero p {
    color: #cbd5e1;
}

html[data-theme="dark"] .contact-form-card,

html[data-theme="dark"] .contact-faq .faq-card,

html[data-theme="dark"] .contact-social .socials a {
    background: #151d36;
    border-color: #303a56;
    color: #e2e8f0;
}

html[data-theme="dark"] .contact-page .input-wrapper input:focus,

html[data-theme="dark"] .contact-page .textarea-wrapper textarea:focus {
    background: #111b34;
    border-color: #8b5cf6;
}

html[data-theme="dark"] .contact-page .faq-card h3,

html[data-theme="dark"] .contact-page .section-heading h2 {
    color: #f8fafc;
}

html[data-theme="dark"] .contact-page .faq-card p,

html[data-theme="dark"] .contact-page .section-heading p {
    color: #b8c2d9;
}

html[data-theme="dark"] .contact-page .contact-social .socials a:hover {
    background: #7c3aed;
    color: white;
}

.organizer-page {
    background: var(--org-bg);
    color: var(--org-text);
}

html[data-theme="light"] .organizer-hero {
    background-image: linear-gradient(90deg, rgba(248, 250, 255, .96), rgba(248, 250, 255, .83) 55%, rgba(248, 250, 255, .55)), url("../images/jpg/BG.jpg");
    color: #172033;
}

html[data-theme="light"] .organizer-hero p,

html[data-theme="light"] .organizer-hero .trust-item {
    color: #475569;
}

html[data-theme="light"] .organizer-hero h1 span {
    background: linear-gradient(90deg, #5b21b6, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="light"] .organizer-hero .organizer-badge {
    color: #6d28d9;
}

html[data-theme="light"] .organizer-hero .organizer-btn.secondary {
    background: #fff;
    border-color: #c4b5fd;
    color: #5b21b6;
}

html[data-theme="dark"] .organizer-hero {
    background-image: linear-gradient(90deg, rgba(2, 6, 23, .90), rgba(2, 6, 23, .72) 45%, rgba(15, 23, 42, .60)), url("../images/jpg/BG.jpg");
    color: #fff;
}

html[data-theme="dark"] .organizer-hero p {
    color: #cbd5e1;
}

html[data-theme="dark"] .organizer-hero .trust-item {
    color: #aebbd0;
}

html[data-theme="dark"] .organizer-intro,

html[data-theme="dark"] .organizer-dashboard {
    background: #0b1026;
}

html[data-theme="dark"] .organizer-process,

html[data-theme="dark"] .organizer-types {
    background: #10182e;
}

html[data-theme="dark"] .organizer-benefit-card:not(.featured),

html[data-theme="dark"] .organizer-types .type-card {
    background: #151d36;
    border-color: #303a56;
}

html[data-theme="dark"] .organizer-benefit-card:not(.featured) h3,

html[data-theme="dark"] .organizer-types .type-card h3,

html[data-theme="dark"] .organizer-process .process-item h3,

html[data-theme="dark"] .organizer-dashboard .dashboard-feature h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .organizer-benefit-card:not(.featured) p,

html[data-theme="dark"] .organizer-types .type-card p,

html[data-theme="dark"] .organizer-process .process-item p,

html[data-theme="dark"] .organizer-dashboard .dashboard-feature p {
    color: #b8c2d9;
}

html[data-theme="dark"] .organizer-process .process-number {
    border-color: #10182e;
}

html[data-theme="dark"] .organizer-page .dashboard-window,

html[data-theme="dark"] .organizer-page .mini-stat,

html[data-theme="dark"] .organizer-page .dashboard-event {
    background: #151d36;
    border-color: #303a56;
    color: #e2e8f0;
}

html[data-theme="dark"] .organizer-page .dashboard-welcome strong,

html[data-theme="dark"] .organizer-page .mini-stat strong {
    color: #f8fafc;
}

html[data-theme="dark"] .organizer-page .dashboard-welcome span,

html[data-theme="dark"] .organizer-page .mini-stat span,

html[data-theme="dark"] .organizer-page .mini-stat small {
    color: #b8c2d9;
}

.events-page,

.events-page .event-card,

.contact-page,

.contact-form-card,

.organizer-page,

.organizer-benefit-card {
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

html[data-theme="light"] .contact-page {
    --contact-bg: #f7f8fc;
    --contact-white: #fff;
    --contact-dark: #172033;
    --contact-text: #172033;
    --contact-text-light: #64748b;
    --contact-border: #e2e8f0;
}

html[data-theme="dark"] .contact-page {
    --contact-bg: #0b1026;
    --contact-white: #151d36;
    --contact-dark: #f8fafc;
    --contact-text: #e2e8f0;
    --contact-text-light: #b8c2d9;
    --contact-border: #303a56;
}

.contact-page .contact-section {
    background: var(--contact-bg);
    color: var(--contact-text);
}

.contact-page .contact-info h2,

.contact-page .contact-item-content h3,

.contact-page .contact-social h3,

.contact-page .form-header h2,

.contact-page .form-group label,

.contact-page .section-heading h2,

.contact-page .faq-card h3 {
    color: var(--contact-dark);
}

.contact-page .contact-description,

.contact-page .contact-item-content p,

.contact-page .contact-item-content a,

.contact-page .form-header p,

.contact-page .section-heading p,

.contact-page .faq-card p {
    color: var(--contact-text-light);
}

.contact-page .contact-form-card,

.contact-page .faq-card,

.contact-page .contact-social .socials a {
    background: var(--contact-white);
    border-color: var(--contact-border);
}

.contact-page .contact-social {
    border-top-color: var(--contact-border);
}

.contact-page .input-wrapper input,

.contact-page .textarea-wrapper textarea {
    background: var(--contact-white);
    border-color: var(--contact-border);
    color: var(--contact-text);
}

html[data-theme="light"] .contact-page .contact-faq {
    background: #eef2ff;
}

html[data-theme="dark"] .contact-page .contact-faq {
    background: #10182e;
}

html[data-theme="dark"] .contact-page .contact-info .section-badge,

html[data-theme="dark"] .contact-page .contact-faq .section-badge {
    background: #30204f;
    color: #c4b5fd;
    border-color: #514078;
}

html[data-theme="light"] .organizer-page {
    --org-bg: #f7f8fc;
    --org-white: #fff;
    --org-dark: #172033;
    --org-text: #172033;
    --org-muted: #64748b;
    --org-border: #e2e8f0;
}

html[data-theme="dark"] .organizer-page {
    --org-bg: #0b1026;
    --org-white: #151d36;
    --org-dark: #f8fafc;
    --org-text: #e2e8f0;
    --org-muted: #b8c2d9;
    --org-border: #303a56;
}

.organizer-page .organizer-intro,

.organizer-page .organizer-dashboard {
    background: var(--org-bg);
}

html[data-theme="light"] .organizer-page .organizer-process,

html[data-theme="light"] .organizer-page .organizer-types {
    background: #fff;
}

html[data-theme="dark"] .organizer-page .organizer-process,

html[data-theme="dark"] .organizer-page .organizer-types {
    background: #10182e;
}

.organizer-page .organizer-section-heading h2,

.organizer-page .dashboard-content h2,

.organizer-page .process-item h3,

.organizer-page .dashboard-feature h3,

.organizer-page .organizer-benefit-card:not(.featured) h3,

.organizer-page .type-card h3 {
    color: var(--org-dark);
}

.organizer-page .organizer-section-heading p,

.organizer-page .dashboard-content>p,

.organizer-page .process-item p,

.organizer-page .dashboard-feature p,

.organizer-page .organizer-benefit-card:not(.featured) p,

.organizer-page .type-card p {
    color: var(--org-muted);
}

.organizer-page .organizer-benefit-card:not(.featured),

.organizer-page .type-card {
    background: var(--org-white);
    border-color: var(--org-border);
}

html[data-theme="light"] .organizer-page .process-number {
    border-color: #fff;
}

html[data-theme="dark"] .organizer-page .process-number {
    border-color: #10182e;
}

.organizer-page .dashboard-window,

.organizer-page .mini-stat,

.organizer-page .dashboard-event {
    background: var(--org-white);
    border-color: var(--org-border);
    color: var(--org-text);
}

html[data-theme="light"] .organizer-page .window-body,

html[data-theme="light"] .organizer-page .window-top {
    background: #f8fafc;
    border-color: #e2e8f0;
}

html[data-theme="dark"] .organizer-page .window-body,

html[data-theme="dark"] .organizer-page .window-top {
    background: #10182e;
    border-color: #303a56;
}

.organizer-page .dashboard-welcome strong,

.organizer-page .mini-stat strong {
    color: var(--org-dark);
}

.organizer-page .dashboard-welcome span,

.organizer-page .mini-stat span,

.organizer-page .mini-stat small {
    color: var(--org-muted);
}

html[data-theme="light"] .events-page {
    background: #f7f8fc;
    color: #172033;
}

html[data-theme="dark"] .events-page {
    background: linear-gradient(135deg, #080d1d, #0d1429 55%, #17102c);
    color: #f8fafc;
}

html[data-theme="light"] .events-page .filter-box,

html[data-theme="light"] .events-page .event-card,

html[data-theme="light"] .events-page .category {
    background: #fff;
    border-color: #e2e8f0;
}

html[data-theme="dark"] .events-page .filter-box,

html[data-theme="dark"] .events-page .event-card,

html[data-theme="dark"] .events-page .category {
    background: #151d36;
    border-color: #303a56;
}

html[data-theme="light"] .events-page .results-header h2,

html[data-theme="light"] .events-page .event-title-row h3,

html[data-theme="light"] .events-page .price strong {
    color: #172033;
}

html[data-theme="dark"] .events-page .results-header h2,

html[data-theme="dark"] .events-page .event-title-row h3,

html[data-theme="dark"] .events-page .price strong {
    color: #f8fafc;
}

html[data-theme="light"] .events-page .event-info,

html[data-theme="light"] .events-page .event-location,

html[data-theme="light"] .events-page .participants {
    color: #64748b;
}

html[data-theme="dark"] .events-page .event-info,

html[data-theme="dark"] .events-page .event-location,

html[data-theme="dark"] .events-page .participants {
    color: #b8c2d9;
}

html[data-theme="dark"] .events-page .category.active,

html[data-theme="light"] .events-page .category.active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

html[data-theme="light"] .events-page .event-card {
    background: #fff;
    color: #172033;
    border-color: #e2e8f0;
}

html[data-theme="light"] .events-page .event-content {
    background: #fff;
    color: #172033;
}

html[data-theme="light"] .events-page .event-title-row h3,

html[data-theme="light"] .events-page .price strong {
    color: #172033;
}

html[data-theme="light"] .events-page .event-info,

html[data-theme="light"] .events-page .event-location,

html[data-theme="light"] .events-page .participants,

html[data-theme="light"] .events-page .price small {
    color: #475569;
}

html[data-theme="light"] .events-page .event-footer {
    border-top-color: #e2e8f0;
}

html[data-theme="light"] .events-page .filter-box {
    background: #fff;
    border-color: #e2e8f0;
}

html[data-theme="light"] .events-page .search-input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #172033;
}

html[data-theme="light"] .events-page .search-input input {
    background: transparent;
    color: #172033;
}

html[data-theme="light"] .events-page .search-input input::placeholder {
    color: #64748b;
}

html[data-theme="light"] .events-page .category:not(.active) {
    background: #fff;
    border-color: #e2e8f0;
    color: #475569;
}

html[data-theme="light"] .events-page .category.active,

html[data-theme="light"] .events-page .category:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

html[data-theme="light"] .events-page .date-badge {
    background: #fff;
}

html[data-theme="light"] .events-page .date-badge strong {
    color: #172033;
}

html[data-theme="light"] .events-page .favorite {
    background: #fff;
    color: #475569;
}

html[data-theme="light"] .events-page .page-number:not(.active),

html[data-theme="light"] .events-page .page-arrow {
    background: #fff;
    color: #334155;
    border-color: #e2e8f0;
}

html[data-theme="light"] .events-page .empty-events,

html[data-theme="light"] .events-page .empty-events h3 {
    color: #172033;
}

html[data-theme="light"] .events-page .details-button {
    background: #ede9fe;
    color: #5b21b6;
}

html[data-theme="light"] .events-page .details-button:hover {
    background: #7c3aed;
    color: #fff;
}

html[data-theme="dark"] .events-page .event-content {
    background: #151d36;
}

html[data-theme="dark"] .events-page .event-title-row h3,

html[data-theme="dark"] .events-page .price strong {
    color: #f8fafc;
}

html[data-theme="dark"] .events-page .search-input {
    background: #0c142b;
    border-color: #35405b;
}

html[data-theme="dark"] .events-page .search-input input {
    color: #f8fafc;
}

html[data-theme="dark"] .events-page .category:not(.active) {
    background: #151d36;
    color: #cbd5e1;
    border-color: #303a56;
}

html[data-theme="light"] .about-page .about-hero,

html[data-theme="light"] .about-hero {
    background-image: linear-gradient(90deg, rgba(248, 250, 255, .97) 0%, rgba(248, 250, 255, .90) 48%, rgba(248, 250, 255, .64) 100%), url("../images/jpg/BG.jpg");
    background-color: #eef2ff;
    color: #172033;
}

html[data-theme="light"] .features-page .features-hero,

html[data-theme="light"] .features-hero {
    background-image: linear-gradient(90deg, rgba(248, 250, 255, .97) 0%, rgba(248, 250, 255, .90) 48%, rgba(248, 250, 255, .64) 100%), url("../images/jpg/BG.jpg");
    background-color: #eef2ff;
    color: #172033;
}

html[data-theme="light"] .about-hero h1,

html[data-theme="light"] .features-hero h1 {
    color: #172033;
}

html[data-theme="light"] .about-hero p,

html[data-theme="light"] .features-hero p {
    color: #334155;
}

html[data-theme="light"] .about-hero h1 span,

html[data-theme="light"] .features-hero h1 span {
    background-image: linear-gradient(90deg, #5b21b6, #7c3aed, #a21caf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="light"] .about-hero .hero-badge,

html[data-theme="light"] .features-hero .hero-badge {
    background: rgba(124, 58, 237, .10);
    color: #5b21b6;
    border-color: #c4b5fd;
}

html[data-theme="dark"] .about-hero {
    background-image: linear-gradient(90deg, rgba(2, 6, 23, .88), rgba(2, 6, 23, .68) 45%, rgba(15, 23, 42, .58)), radial-gradient(circle at 80% 30%, rgba(124, 58, 237, .45), transparent 45%), url("../images/jpg/BG.jpg");
    color: #fff;
}

html[data-theme="dark"] .features-hero {
    background-image: linear-gradient(90deg, rgba(2, 6, 23, .90), rgba(2, 6, 23, .72) 45%, rgba(15, 23, 42, .60)), url("../images/jpg/BG.jpg");
    color: #fff;
}

html[data-theme="dark"] .about-hero h1,

html[data-theme="dark"] .features-hero h1 {
    color: #fff;
}

html[data-theme="dark"] .about-hero p,

html[data-theme="dark"] .features-hero p {
    color: #cbd5e1;
}

html[data-theme="light"] .organizer-page .organizer-badge,

html[data-theme="light"] .organizer-page .organizer-section-badge,

html[data-theme="light"] .organizer-page .trust-item {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #ddd6fe;
}

html[data-theme="light"] .organizer-page .organizer-section-heading p,

html[data-theme="light"] .organizer-page .organizer-benefit-card p,

html[data-theme="light"] .organizer-page .process-item p,

html[data-theme="light"] .organizer-page .dashboard-feature p {
    color: #475569;
}

html[data-theme="dark"] .organizer-page .organizer-badge,

html[data-theme="dark"] .organizer-page .organizer-section-badge,

html[data-theme="dark"] .organizer-page .trust-item {
    background: rgba(139, 92, 246, 0.15);
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, 0.3);
}

html[data-theme="dark"] .organizer-page .organizer-section-heading p,

html[data-theme="dark"] .organizer-page .organizer-benefit-card p,

html[data-theme="dark"] .organizer-page .process-item p,

html[data-theme="dark"] .organizer-page .dashboard-feature p {
    color: #a8b3cf;
}

html[data-theme="light"] .contact-page .contact-form-card {
    background: #ffffff;
    color: #172033;
}

html[data-theme="light"] .contact-page .form-group label {
    color: #334155;
}

html[data-theme="light"] .contact-page .input-wrapper,

html[data-theme="light"] .contact-page .textarea-wrapper {
    background: #ffffff;
    border-color: #cbd5e1;
}

html[data-theme="light"] .contact-page .input-wrapper input,

html[data-theme="light"] .contact-page .textarea-wrapper textarea {
    background: #ffffff;
    color: #172033;
    border-color: #cbd5e1;
    -webkit-text-fill-color: #172033;
}

html[data-theme="light"] .contact-page input::placeholder,

html[data-theme="light"] .contact-page textarea::placeholder {
    color: #64748b;
    opacity: 1;
}

html[data-theme="light"] .contact-page .input-wrapper>i,

html[data-theme="light"] .contact-page .textarea-wrapper>i {
    color: #7c3aed;
}

html[data-theme="light"] .contact-page .contact-social .socials a {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

html[data-theme="dark"] .contact-page .form-group label {
    color: #e2e8f0;
}

html[data-theme="dark"] .contact-page .input-wrapper,

html[data-theme="dark"] .contact-page .textarea-wrapper {
    background: #151c35;
    border-color: #374151;
}

html[data-theme="dark"] .contact-page .input-wrapper input,

html[data-theme="dark"] .contact-page .textarea-wrapper textarea {
    background: #151c35;
    color: #f8fafc;
    border-color: #374151;
    -webkit-text-fill-color: #f8fafc;
}

html[data-theme="dark"] .contact-page input::placeholder,

html[data-theme="dark"] .contact-page textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.contact-page .contact-form input:focus,

.contact-page .contact-form textarea:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 1px;
}

html[data-theme="light"] .contact-page .contact-form input,

html[data-theme="light"] .contact-page .contact-form textarea,

html[data-theme="light"] .contact-page .contact-form input:focus,

html[data-theme="light"] .contact-page .contact-form textarea:focus {
    background-color: #ffffff;
    color: #172033;
    -webkit-text-fill-color: #172033;
    border-color: #cbd5e1;
}

html[data-theme="light"] .contact-page .input-wrapper,

html[data-theme="light"] .contact-page .textarea-wrapper,

html[data-theme="light"] .contact-page .input-wrapper:focus-within,

html[data-theme="light"] .contact-page .textarea-wrapper:focus-within {
    background-color: #ffffff;
    border-color: #cbd5e1;
}

html[data-theme="light"] .contact-page .contact-form input:focus,

html[data-theme="light"] .contact-page .contact-form textarea:focus {
    border-color: #8b5cf6;
    outline: none;
}

html[data-theme="light"] .contact-page .input-wrapper:focus-within,

html[data-theme="light"] .contact-page .textarea-wrapper:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

html[data-theme="light"] .contact-page .contact-form input::placeholder,

html[data-theme="light"] .contact-page .contact-form textarea::placeholder {
    color: #64748b;
    opacity: 1;
}

html[data-theme="light"] .contact-page .contact-form input:-webkit-autofill,

html[data-theme="light"] .contact-page .contact-form input:-webkit-autofill:hover,

html[data-theme="light"] .contact-page .contact-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-text-fill-color: #172033;
    caret-color: #172033;
}

html[data-theme="dark"] .contact-page .contact-form input,

html[data-theme="dark"] .contact-page .contact-form textarea,

html[data-theme="dark"] .contact-page .contact-form input:focus,

html[data-theme="dark"] .contact-page .contact-form textarea:focus {
    background-color: #151c35;
    color: #f8fafc;
    -webkit-text-fill-color: #f8fafc;
}

html[data-theme="dark"] .contact-page .input-wrapper,

html[data-theme="dark"] .contact-page .textarea-wrapper,

html[data-theme="dark"] .contact-page .input-wrapper:focus-within,

html[data-theme="dark"] .contact-page .textarea-wrapper:focus-within {
    background-color: #151c35;
}

html[data-theme="dark"] .contact-page .contact-form input:-webkit-autofill,

html[data-theme="dark"] .contact-page .contact-form input:-webkit-autofill:hover,

html[data-theme="dark"] .contact-page .contact-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #151c35 inset;
    -webkit-text-fill-color: #f8fafc;
    caret-color: #f8fafc;
}

html[data-theme="light"] .about-page .audience-card,

html[data-theme="light"] .about-page .role-card {
    background: #ffffff;
    color: #172033;
}

html[data-theme="light"] .about-page .audience-card.featured,

html[data-theme="light"] .about-page .audience-card.highlight,

html[data-theme="light"] .about-page .role-card.featured,

html[data-theme="light"] .about-page .role-card.highlight {
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
    border: 1px solid #c4b5fd;
    color: #172033;
}

html[data-theme="light"] .about-page .about-visual,

html[data-theme="light"] .about-page .about-preview {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #172033;
}

html[data-theme="light"] .about-page .about-stats,

html[data-theme="light"] .about-page .stats-section {
    color: #172033;
}

html[data-theme="light"] .about-page .about-cta,

html[data-theme="light"] .about-page .cta-card {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #172033;
}

html[data-theme="light"] .about-page .about-cta h2,

html[data-theme="light"] .about-page .cta-card h2,

html[data-theme="light"] .about-page .about-stats h3,

html[data-theme="light"] .about-page .stats-section h3,

html[data-theme="light"] .about-page .audience-card h3,

html[data-theme="light"] .about-page .role-card h3 {
    color: #172033;
}

html[data-theme="light"] .about-page .about-cta p,

html[data-theme="light"] .about-page .cta-card p,

html[data-theme="light"] .about-page .audience-card p,

html[data-theme="light"] .about-page .role-card p {
    color: #475569;
}

html[data-theme="dark"] .about-page .about-cta,

html[data-theme="dark"] .about-page .cta-card,

html[data-theme="dark"] .about-page .about-stats,

html[data-theme="dark"] .about-page .stats-section {
    background: linear-gradient(135deg, #0b1026, #21164f);
    color: #f8fafc;
}

html[data-theme="light"] .about-page .about-stats,

html[data-theme="light"] .about-page .stats-section {
    background: #ede9fe;
}

html[data-theme="light"] .about-page .about-stats h2,

html[data-theme="light"] .about-page .about-stats h3,

html[data-theme="light"] .about-page .stats-section h2,

html[data-theme="light"] .about-page .stats-section h3 {
    color: #172033;
}

html[data-theme="light"] .about-page .about-stats p,

html[data-theme="light"] .about-page .stats-section p {
    color: #475569;
}

#heroCarousel {
    height: auto;
    min-height: 0;
    padding: 0;
}

#heroCarousel::before,
#heroCarousel::after {
    content: none;
}

#heroCarousel .hero-content {
    padding: 0;
}

#heroCarousel .hero-slides {
    position: relative;
    inset: auto;
}

#heroCarousel .hero-description {
    opacity: 1;
    animation: none;
    transform: none;
}

#heroCarousel>.hero-container {
    min-height: 460px;
    padding: 60px 0;
}

html[data-theme="light"] #heroCarousel .hero-featured-title,
html[data-theme="light"] #heroCarousel .hero-title {
    color: #fff;
    text-shadow: none;
}

html[data-theme="light"] #heroCarousel .hero-description,
html[data-theme="light"] #heroCarousel .hero-event-info,
html[data-theme="light"] #heroCarousel .hero-event-info>span {
    color: #e2e8f0;
}

html[data-theme="light"] #heroCarousel .hero-event-category,
html[data-theme="light"] #heroCarousel .hero-event-info i {
    color: #c4b5fd;
}

html[data-theme="light"] #heroCarousel .hero-badge {
    color: #ede9fe;
    background: rgba(124, 58, 237, .2);
    border: 1px solid rgba(196, 181, 253, .4);
}

html[data-theme="light"] #heroCarousel .btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .4);
}

html[data-theme="light"] #heroCarousel .btn-outline:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

#heroCarousel button:focus-visible,
#heroCarousel a:focus-visible {
    outline: 3px solid #c4b5fd;
    outline-offset: 3px;
}

@media (max-width:768px) {
    #heroCarousel .hero-slides {
        display: grid;
        height: auto;
    }

    #heroCarousel .hero-slide {
        position: relative;
        inset: auto;
        grid-area: 1 / 1;
        min-width: 0;
    }

    #heroCarousel .hero-container {
        width: 100%;
        padding: 44px 44px 205px;
        box-sizing: border-box;
    }

    #heroCarousel .hero-content {
        padding: 0;
    }

    #heroCarousel>.hero-container {
        padding: 44px;
    }
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
}

/* Mode clair : voile sombre limité à 10 % */
html[data-theme="light"] #heroCarousel .hero-overlay {
    background: rgba(0, 0, 0, 0.60);
}

/* Conserver la lisibilité du texte blanc */
html[data-theme="light"] #heroCarousel .hero-featured-title,
html[data-theme="light"] #heroCarousel .hero-description,
html[data-theme="light"] #heroCarousel .hero-event-info>span {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.90);
}

/* Bouton d'administration dans la navigation */
.navbar a.nav-admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid #c4b5fd;
    border-radius: 10px;
    background: #ede9fe;
    color: #5b21b6;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar a.nav-admin-btn:hover,
.navbar a.nav-admin-btn[aria-current="page"] {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #ffffff;
}

.navbar a.nav-admin-btn i {
    color: inherit;
}

.navbar a.nav-admin-btn:focus-visible {
    outline: 3px solid #a78bfa;
    outline-offset: 3px;
}

html[data-theme="dark"] .navbar a.nav-admin-btn {
    background: #292044;
    border-color: #6d4ba5;
    color: #ede9fe;
}

html[data-theme="dark"] .navbar a.nav-admin-btn:hover,
html[data-theme="dark"] .navbar a.nav-admin-btn[aria-current="page"] {
    background: #6d28d9;
    color: #ffffff;
}

#heroCarousel .hero-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    max-width: calc(100% - 40px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

#heroCarousel .hero-thumbnail {
    flex-shrink: 0;
}

/* ==========================================
   HERO — LISIBILITÉ DU CONTENU
========================================== */

#heroCarousel .hero-content {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    text-align: left;
}

/* Catégorie */

#heroCarousel .hero-event-category {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(196, 181, 253, 0.4);
    border-radius: 8px;
    background: #302052;
    color: #ede9fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

/* Titre */

#heroCarousel .hero-featured-title {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(30px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Bande des informations */

#heroCarousel .hero-event-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 16px 20px;
    margin: 0 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(10, 16, 35, 0.9);
    color: #f8fafc;
}

#heroCarousel .hero-event-info>span {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#heroCarousel .hero-event-info i {
    flex-shrink: 0;
    color: #c4b5fd;
}

/* Bande de description */

#heroCarousel .hero-description {
    max-width: 100%;
    padding: 18px 22px;
    margin: 0 0 24px;
    border-left: 4px solid #a78bfa;
    border-radius: 0 12px 12px 0;
    background: rgba(10, 16, 35, 0.9);
    color: #f1f5f9;
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
    overflow-wrap: anywhere;
}

/* Boutons */

#heroCarousel .hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
}

#heroCarousel .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: 48px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 700;
}

#heroCarousel .hero-buttons .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(10, 16, 35, 0.9);
    color: #fff;
}

#heroCarousel .hero-buttons .btn-outline:hover {
    background: #302052;
}

#heroCarousel .hero-buttons .btn:focus-visible {
    outline: 3px solid #c4b5fd;
    outline-offset: 4px;
}

/* Mode clair */

html[data-theme="light"] #heroCarousel .hero-event-category {
    border-color: #c4b5fd;
    background: #ede9fe;
    color: #5b21b6;
}

html[data-theme="light"] #heroCarousel .hero-event-info,
html[data-theme="light"] #heroCarousel .hero-description {
    background: rgba(255, 255, 255, 0.95);
    color: #172033;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] #heroCarousel .hero-event-info {
    border-color: #ddd6fe;
}

html[data-theme="light"] #heroCarousel .hero-description {
    border-left-color: #7c3aed;
}

html[data-theme="light"] #heroCarousel .hero-event-info i {
    color: #6d28d9;
}

html[data-theme="light"] #heroCarousel .hero-buttons .btn-outline {
    border-color: #c4b5fd;
    background: #fff;
    color: #5b21b6;
}

html[data-theme="light"] #heroCarousel .hero-buttons .btn-outline:hover {
    background: #ede9fe;
}

/* Mobile */

@media (max-width: 700px) {
    #heroCarousel .hero-event-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
    }

    #heroCarousel .hero-description {
        padding: 15px 17px;
        line-height: 1.7;
    }

    #heroCarousel .hero-buttons {
        align-items: stretch;
    }

    #heroCarousel .hero-buttons .btn {
        flex: 1 1 180px;
    }
}

/* ==========================================
   ÉTAPES — CONTOUR PROGRESSIF AU SURVOL
========================================== */

@property --es-step-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.how-section .step-icon {
    position: relative;
    overflow: visible;
    isolation: isolate;
}

/* Anneau autour de l’icône */

.how-section .step-icon .step-progress {
    --es-step-angle: 0deg;

    position: absolute;
    inset: -6px;
    display: block;
    box-sizing: border-box;
    padding: 3px;
    border-radius: 50%;
    pointer-events: none;

    background: conic-gradient(
        from -90deg,
        #7c3aed 0deg,
        #a78bfa var(--es-step-angle),
        transparent var(--es-step-angle),
        transparent 360deg
    );

    /* Masque le centre pour ne garder que le contour. */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;

    opacity: 0;

    transition:
        --es-step-angle 0.9s ease,
        opacity 0.2s ease;
}

/* Le contour se remplit une fois et reste visible au survol. */

.how-section .step-icon:hover .step-progress {
    --es-step-angle: 360deg;
    opacity: 1;
}

/* Couleurs plus lumineuses en mode sombre */

html[data-theme="dark"] .how-section .step-progress {
    background: conic-gradient(
        from -90deg,
        #a78bfa 0deg,
        #ddd6fe var(--es-step-angle),
        transparent var(--es-step-angle),
        transparent 360deg
    );
}

/* Respect des préférences d’animation */

@media (prefers-reduced-motion: reduce) {
    .how-section .step-icon .step-progress {
        transition: none;
    }
}

