:root {
    --kc-bg: #05080d;
    --kc-bg-soft: #0b111c;
    --kc-card: rgba(13, 20, 32, .86);
    --kc-border: rgba(255, 255, 255, .12);
    --kc-text: #f4f7fb;
    --kc-muted: #aab4c3;
    --kc-blue: #1268ff;
    --kc-yellow: #ffd21f;
    --kc-red: #ff2f2f;
    --kc-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* {
    scroll-margin-top: 92px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(18, 104, 255, .22), transparent 34rem),
        radial-gradient(circle at 80% 10%, rgba(255, 210, 31, .12), transparent 28rem),
        linear-gradient(180deg, #05080d 0%, #07101c 45%, #05080d 100%);
    color: var(--kc-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.text-muted-kc {
    color: var(--kc-muted);
}

.kc-navbar {
    background: rgba(5, 8, 13, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--kc-border);
}

.logo-kart {
    width: 96px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    line-height: .9;
    letter-spacing: .03em;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

.logo-text span:first-child {
    color: #fff;
}

.logo-text span:last-child {
    color: var(--kc-yellow);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff;
}

.navbar-toggler {
    border-color: var(--kc-border);
}

.hero {
    position: relative;
    min-height: 760px;
    padding: 150px 0 70px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 8, 13, .98) 0%, rgba(5, 8, 13, .82) 42%, rgba(5, 8, 13, .28) 100%),
        radial-gradient(circle at 70% 42%, rgba(18, 104, 255, .38), transparent 24rem);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px),
        linear-gradient(90deg, rgba(255,47,47,.10), transparent 34%);
    opacity: .42;
    mask-image: linear-gradient(180deg, #000, transparent);
}

.hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -8rem;
    width: min(760px, 76vw);
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle, rgba(18, 104, 255, .22), transparent 62%);
    filter: blur(8px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-kart {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 38px 42px rgba(0, 0, 0, .58));
    transform: rotate(-1deg);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .8rem;
    border: 1px solid rgba(255, 210, 31, .34);
    border-radius: 999px;
    color: var(--kc-yellow);
    background: rgba(255, 210, 31, .08);
    font-weight: 800;
    font-size: .9rem;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.8rem);
    line-height: .82;
    font-weight: 1000;
    font-style: italic;
    letter-spacing: -.055em;
    text-transform: uppercase;
    margin: 1.2rem 0 1rem;
}

.hero-title .yellow {
    color: var(--kc-yellow);
    text-shadow: 0 0 34px rgba(255, 210, 31, .18);
}

.hero-subline {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-style: italic;
    font-weight: 850;
    letter-spacing: -.02em;
}

.btn-kc-primary {
    --bs-btn-color: #07101c;
    --bs-btn-bg: var(--kc-yellow);
    --bs-btn-border-color: var(--kc-yellow);
    --bs-btn-hover-color: #07101c;
    --bs-btn-hover-bg: #ffe15b;
    --bs-btn-hover-border-color: #ffe15b;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-radius: .9rem;
    padding: .9rem 1.25rem;
    box-shadow: 0 12px 28px rgba(255, 210, 31, .18);
}

.btn-kc-outline {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .28);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, .08);
    --bs-btn-hover-border-color: rgba(255, 255, 255, .48);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-radius: .9rem;
    padding: .9rem 1.25rem;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(18, 104, 255, .12);
    border: 1px solid rgba(18, 104, 255, .48);
    color: #fff;
    font-weight: 800;
}

.kc-section {
    padding: 76px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 1000;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -.04em;
    margin-bottom: .9rem;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 46px;
    height: 38px;
    margin-bottom: -4px;
    margin-right: .75rem;
    background: linear-gradient(90deg, var(--kc-blue) 0 33%, var(--kc-yellow) 33% 66%, var(--kc-red) 66%);
    transform: skewX(-18deg) translateY(-3px);
    border-radius: 2px;
}

.kc-card {
    background: var(--kc-card);
    border: 1px solid var(--kc-border);
    border-radius: 1.25rem;
    box-shadow: var(--kc-shadow);
}

.kc-card-hover {
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.kc-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 210, 31, .42);
    background: rgba(17, 27, 43, .92);
}

.icon-box {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(18, 104, 255, .14);
    color: var(--kc-blue);
    font-size: 1.65rem;
}

.icon-yellow {
    background: rgba(255, 210, 31, .13);
    color: var(--kc-yellow);
}

.icon-red {
    background: rgba(255, 47, 47, .13);
    color: var(--kc-red);
}

.stat-box {
    min-height: 142px;
    border-right: 1px solid var(--kc-border);
}

.stat-box:last-child {
    border-right: 0;
}

.stat-number {
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 1000;
}

.rule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    height: 100%;
}

.weight-card {
    border: 1px solid rgba(255, 47, 47, .55);
    background: rgba(255, 47, 47, .07);
    border-radius: 1rem;
    padding: 1.2rem;
    text-align: center;
}

.weight-card .place {
    color: var(--kc-red);
    font-weight: 950;
    font-style: italic;
    text-transform: uppercase;
}

.weight-card .kg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 1000;
    color: #fff;
    line-height: 1;
}

.event-card {
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kc-blue), var(--kc-yellow), var(--kc-red));
}

.event-number {
    width: 42px;
    height: 42px;
    border-radius: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kc-blue);
    color: #fff;
    font-weight: 950;
}

.table-kc {
    --bs-table-bg: transparent;
    --bs-table-color: #fff;
    --bs-table-border-color: rgba(255, 255, 255, .1);
    margin: 0;
}

.table-kc thead th {
    color: var(--kc-blue);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .06em;
    border-bottom-color: rgba(255, 255, 255, .18);
}

.table-kc tbody td {
    vertical-align: middle;
    color: rgba(255, 255, 255, .88);
}

.rank-gold {
    color: var(--kc-yellow);
}

.cta {
    background:
        linear-gradient(120deg, rgba(18, 104, 255, .95), rgba(18, 104, 255, .55)),
        radial-gradient(circle at right, rgba(255, 210, 31, .4), transparent 18rem);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.25rem;
    overflow: hidden;
}

.footer {
    border-top: 1px solid var(--kc-border);
    background: rgba(3, 6, 10, .72);
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
    }

    .hero-kart {
        margin-top: 2rem;
    }

    .stat-box {
        border-right: 0;
        border-bottom: 1px solid var(--kc-border);
    }

    .stat-box:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .logo-kart {
        width: 72px;
    }

    .logo-text {
        font-size: .9rem;
    }

    .hero-title {
        font-size: 3.4rem;
    }

    .kc-section {
        padding: 54px 0;
    }
}