:root {
    color-scheme: dark;
    --home-bg: #0c0c0d;
    --home-surface: #151516;
    --home-line: rgba(255, 255, 255, 0.09);
    --home-text: #f5f1e8;
    --home-muted: #aaa69d;
    --home-gold: #f1d58f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    padding-top: 68px;
    color: var(--home-text);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(181, 145, 71, 0.13), transparent 42rem),
        var(--home-bg);
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.home-main {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 48px 28px 30px;
}

.home-hero {
    display: grid;
    min-height: 440px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 30px;
    padding: clamp(26px, 6vw, 64px);
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 26px;
    background:
        linear-gradient(110deg, rgba(21, 21, 22, 0.98), rgba(21, 21, 22, 0.82)),
        url("image/karooue-logo.jpg") center / cover;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--home-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.hero-copy h1 span {
    color: var(--home-gold);
}

.hero-description {
    max-width: 490px;
    margin: 18px 0 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #1b1608;
    background: var(--home-gold);
}

.button-secondary {
    border-color: rgba(241, 213, 143, 0.3);
    color: var(--home-gold);
    background: rgba(0, 0, 0, 0.22);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    color: #c4c0b6;
    font-size: 12px;
}

.hero-points i {
    margin-right: 5px;
    color: var(--home-gold);
    font-style: normal;
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 290px;
    align-content: center;
    justify-items: center;
    overflow: hidden;
    border: 1px solid rgba(241, 213, 143, 0.15);
    border-radius: 22px;
    background: radial-gradient(circle, rgba(215, 183, 107, 0.12), rgba(0, 0, 0, 0.18) 68%);
    text-align: center;
}

.hero-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(215, 183, 107, 0.14);
    filter: blur(55px);
}

.hero-logo,
.hero-art p,
.hero-art small {
    position: relative;
}

.hero-logo {
    color: var(--home-gold);
    font-family: Georgia, serif;
    font-size: 124px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 50px rgba(241, 213, 143, 0.25);
}

.hero-logo span {
    color: #fff3cc;
    font-size: 34px;
    vertical-align: 38px;
}

.hero-art p {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero-art p span {
    color: var(--home-muted);
    font-size: 9px;
}

.hero-art small {
    margin-top: 8px;
    color: var(--home-muted);
    font-size: 9px;
    letter-spacing: 0.22em;
}

.home-events,
.home-how {
    padding-top: 60px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-title .eyebrow,
.home-how .eyebrow {
    margin-bottom: 7px;
}

.section-title h2,
.home-how h2 {
    margin: 0;
    font-size: clamp(22px, 4vw, 30px);
}

.section-title > a {
    color: var(--home-gold);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.featured-events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.featured-card {
    display: flex;
    min-height: 130px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    color: inherit;
    background: rgba(21, 21, 22, 0.88);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.featured-poster-wrap {
    position: relative;
    display: block;
    width: 74px;
    height: 98px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #222;
}

.featured-card:hover {
    transform: translateY(-2px);
    border-color: rgba(241, 213, 143, 0.4);
}

.featured-poster-wrap img,
.featured-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #222;
}

.featured-status-badge {
    position: absolute;
    top: 5px;
    z-index: 1;
    padding: 3px 5px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
    color: #d3d0c9;
    background: rgba(15, 15, 16, 0.88);
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.featured-live-badge {
    left: 4px;
}

.featured-replay-badge {
    right: 4px;
}

.featured-status-badge.is-active {
    border-color: #ff6b6b;
    color: #fff;
    background: #dc2626;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
    animation: featured-status-pulse 1s ease-in-out infinite;
}

@keyframes featured-status-pulse {
    50% {
        opacity: 0.38;
        box-shadow: 0 0 3px rgba(239, 68, 68, 0.2);
    }
}

.featured-status-message {
    margin: -5px 0 12px;
    color: #f0b3a5;
    font-size: 12px;
}

.featured-copy {
    display: grid;
    gap: 7px;
}

.featured-copy strong {
    font-size: 13px;
    line-height: 1.5;
}

.featured-copy span {
    color: var(--home-muted);
    font-size: 11px;
}

.featured-copy .featured-price {
    color: var(--home-gold);
    font-weight: 800;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.how-steps article {
    padding: 22px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: rgba(21, 21, 22, 0.78);
}

.how-steps article > span {
    color: var(--home-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.how-steps h3 {
    margin: 12px 0 7px;
    font-size: 16px;
}

.how-steps p {
    margin: 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.7;
}

.home-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 22px 28px 30px;
    border-top: 1px solid var(--home-line);
    color: var(--home-muted);
    font-size: 12px;
}

.home-footer a {
    color: var(--home-gold);
    text-decoration: none;
}

@media (max-width: 760px) {
    body {
        padding-top: 58px;
    }

    .home-main {
        padding: 24px 14px;
    }

    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 22px;
        border-radius: 18px;
    }

    .hero-art {
        min-height: 210px;
    }

    .hero-logo {
        font-size: 92px;
    }

    .featured-events,
    .how-steps {
        grid-template-columns: 1fr;
    }

    .home-events,
    .home-how {
        padding-top: 40px;
    }

    .home-footer {
        padding: 20px 14px;
    }
}

@media (max-width: 420px) {
    .hero-copy h1 {
        font-size: 36px;
    }

    @media (prefers-reduced-motion: reduce) {
        .featured-status-badge.is-active {
            animation: none;
        }
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-points {
        display: grid;
    }
}
