:root {
    --orange: #E8572A;
    --orange-light: #FF7043;
    --dark: #111110;
    --dark-2: #1A1917;
    --cream: #F5F0E8;
    --cream-2: #FAF7F2;
    --text-muted-custom: #8A8070;
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 400px;
    background: #0b0a08;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 52px;
}

.hero-split {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
    background: linear-gradient(160deg, #1a1510 0%, #0e0c09 100%);
    z-index: 0;
}

.hero-split::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(232, 87, 42, 0.12) 100%);
}

.hero-right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #1c1208 0%, #0d0b07 100%);
    z-index: 0;
    overflow: hidden;
}

.hero-right-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(232, 87, 42, 0.03) 30px, rgba(232, 87, 42, 0.03) 31px);
}

.hero-right-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 80% 40%, rgba(232, 87, 42, 0.18) 0%, transparent 65%);
}

.hero-vline {
    position: absolute;
    left: 56%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
    z-index: 2;
}

.hero-bg-word {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(100px, 20vw, 220px);
    color: rgba(232, 87, 42, 0.05);
    line-height: 1;
    letter-spacing: -8px;
    user-select: none;
    z-index: 1;
    white-space: nowrap;
}

.hero-ticker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 5;
    opacity: 0.35;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
}

.hero-ticker-inner {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: ticker 22s linear infinite;
}

.hero-ticker span {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-ticker span::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 56px;
    max-width: 700px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.4)
    }
}

.hero-eyebrow span {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 600;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(52px, 9vw, 108px);
    color: #fff;
    line-height: 0.88;
    letter-spacing: 2px;
}

.hero h1 .outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    color: transparent;
}

.hero h1 .accent {
    color: var(--orange);
}

.hero-sub {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
}

.hero-bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange-light) 60%, transparent);
    z-index: 10;
}

/* ── SECTION EYEBROW ── */
.section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--orange);
}

/* ── UPCOMING EVENTS ── */
.upcoming-section {
    padding: 80px 0 60px;
    background: var(--cream-2);
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 1.5px;
    line-height: 1;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-sub {
    font-size: 13.5px;
    color: var(--text-muted-custom);
    line-height: 1.7;
    margin-bottom: 40px;
}

.event-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.10);
    border-color: rgba(232, 87, 42, 0.3);
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.event-card:hover::after {
    transform: scaleX(1);
}

.event-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.event-card-sport {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-card-status {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(10, 8, 5, 0.75);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-card-status .live-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease infinite;
}

.event-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}

.event-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 8px;
}

.event-card-desc {
    font-size: 12.5px;
    color: var(--text-muted-custom);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted-custom);
}

.event-meta-item i {
    color: var(--orange);
    font-size: 12px;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.event-card-slots {
    font-size: 11px;
    color: var(--text-muted-custom);
}

.event-card-slots strong {
    color: var(--dark);
}

.event-card-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.event-card:hover .event-card-cta {
    gap: 8px;
}

/* ── PAST EVENTS ── */
.past-section {
    padding: 60px 0 80px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.past-section .section-heading {
    color: var(--dark);
}

.past-section .section-sub {
    color: var(--text-muted-custom);
}

.past-card {
    background: var(--cream-2);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.past-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.past-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 87, 42, 0.2);
}

.past-card:hover::before {
    transform: scaleX(1);
}

.past-card-img {
    height: 130px;
    overflow: hidden;
    position: relative;
}

.past-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    filter: grayscale(30%);
}

.past-card:hover .past-card-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.past-card-sport {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--dark);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.past-card-date-chip {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 8, 5, 0.7);
    color: rgba(255, 255, 255, 0.85);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.past-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.past-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.8px;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 8px;
}

.past-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.past-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted-custom);
}

.past-card-meta-item i {
    color: var(--orange);
    font-size: 11px;
    flex-shrink: 0;
}

.past-card-winner {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.past-card-winner i {
    color: var(--orange);
}

/* ── MODAL ── */
.event-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 5, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

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

.event-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.event-modal-overlay.open .event-modal {
    transform: translateY(0) scale(1);
}

.event-modal-hero {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.event-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-modal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 8, 5, 0.75) 100%);
}

.event-modal-hero-content {
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.event-modal-sport {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.event-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
}

.event-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
}

.event-modal-close:hover {
    background: var(--orange);
}

.event-modal-body {
    padding: 28px 28px 32px;
}

.event-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.event-modal-meta-item {
    background: var(--cream-2);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.event-modal-meta-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted-custom);
    margin-bottom: 4px;
}

.event-modal-meta-value {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}

.event-modal-meta-value i {
    color: var(--orange);
    margin-right: 4px;
}

.event-modal-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 10px;
}

.event-modal-desc {
    font-size: 13.5px;
    color: #4a4540;
    line-height: 1.8;
    margin-bottom: 24px;
}

.event-modal-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.event-modal-highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #4a4540;
}

.event-modal-highlight i {
    color: var(--orange);
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.event-modal-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.event-modal-register-btn:hover {
    background: var(--orange-light);
    box-shadow: 0 10px 30px rgba(232, 87, 42, 0.35);
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.delay-4 {
    transition-delay: 0.32s;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 28px;
    }

    .hero-vline {
        display: none;
    }

    .hero-split {
        clip-path: none;
    }

    .hero-right-panel {
        width: 100%;
        opacity: 0.3;
    }

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