/* ===== Kho Kho Uganda — brand tokens (pulled from the official crest) ===== */
:root {
    --kku-blue: #1957a6;
    --kku-blue-dark: #0f3d7a;
    --kku-gold: #f5c518;
    --kku-red: #d62828;
    --kku-black: #14181f;
    --kku-ink: #1c2430;
    --kku-muted: #6b7280;
    --kku-bg-alt: #f5f7fb;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* ===== Premium design tokens ===== */
    --shadow-soft: 0 4px 16px rgba(20,24,31,.06);
    --shadow-med: 0 12px 32px rgba(20,24,31,.10);
    --shadow-strong: 0 22px 48px rgba(20,24,31,.16);
    --shadow-blue: 0 14px 32px rgba(25,87,166,.22);
    --shadow-gold: 0 10px 26px rgba(245,197,24,.28);
    --radius-lg: 22px;
    --radius-md: 16px;
    --gradient-brand: linear-gradient(135deg, var(--kku-blue-dark) 0%, var(--kku-blue) 55%, #2568be 100%);
    --gradient-gold: linear-gradient(135deg, #ffde6e 0%, var(--kku-gold) 100%);
}

/* ===== Premium typography flourishes ===== */
.text-gradient-brand {
    background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title { position: relative; }
.eyebrow { position: relative; padding-left: 1.6rem; }
.eyebrow::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1.2rem; height: 3px; border-radius: 2px; background: var(--gradient-gold);
}

/* ===== Premium buttons — glow + shine sweep on hover ===== */
.btn { position: relative; overflow: hidden; }
.btn-primary, .btn-warning { border: none; box-shadow: var(--shadow-soft); transition: transform .18s ease, box-shadow .18s ease; }
.btn-primary { background: var(--gradient-brand); }
.btn-warning { background: var(--gradient-gold); color: var(--kku-black) !important; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-warning:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 130%; }

/* ===== Section wave dividers (adds shape variety between stacked sections) ===== */
.wave-divider { display: block; width: 100%; height: 60px; margin-bottom: -1px; }
.wave-divider path { fill: var(--kku-bg-alt); }
.wave-divider.wave-flip path { fill: #fff; }

/* ===== Premium card frame — subtle gradient border + corner accent ===== */
.frame-card {
    position: relative; border-radius: var(--radius-lg); background: #fff;
    box-shadow: var(--shadow-med); transition: transform .25s ease, box-shadow .25s ease;
}
.frame-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.frame-card::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1.5px;
    background: linear-gradient(135deg, rgba(25,87,166,.35), rgba(245,197,24,.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ===== Gradient icon badges (used by achievement/step/feature icons) ===== */
.icon-badge-grad {
    width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-blue);
}

/* ===== Glass panel utility (frosted-glass premium surface) ===== */
.glass-panel {
    background: rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg);
}

body {
    font-family: var(--font-body);
    color: var(--kku-ink);
    /* A faint dot-grid texture instead of flat white — low enough opacity
       that text contrast is completely unaffected, but it stops large
       sections from reading as empty blank space. */
    background-color: #fdfdfe;
    background-image: radial-gradient(rgba(25,87,166,.06) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* ===== Soft decorative background washes ===== */
/* Drop <div class="section-blob section-blob-*"></div> inside any
   position:relative section to add a large, softly blurred color wash
   behind the content. Kept at very low opacity and blurred heavily so it
   never reduces text contrast — purely a background accent. Always add
   overflow:hidden to the parent section and pointer-events:none is baked
   in so it never blocks clicks. */
.section-blob {
    position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0;
}
.section-blob-blue { background: rgba(25,87,166,.07); }
.section-blob-gold { background: rgba(245,197,24,.10); }
.section-blob-red { background: rgba(214,40,40,.05); }
.section-blob-lg { width: 420px; height: 420px; }
.section-blob-md { width: 280px; height: 280px; }
/* Ensures section content sits above the blob layer without needing
   z-index on every single element inside. */
.section-pad > .container, .stats-strip > .container { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .brand-text {
    font-family: var(--font-display);
}

a { text-decoration: none; }

/* ===== Topbar ===== */
.topbar {
    background: var(--kku-black);
    color: #fff;
    font-size: .85rem;
    padding: .4rem 0;
}
.topbar-contact span { margin-right: 1.25rem; }
.topbar-contact i { color: var(--kku-gold); margin-right: .3rem; }
.topbar-social a { color: #fff; margin-left: .6rem; opacity: .85; }
.topbar-social a:hover { opacity: 1; color: var(--kku-gold); }

/* ===== Nav ===== */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: .5rem 0;
    z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.navbar-brand img { height: 46px; width: 46px; object-fit: contain; }
.brand-text { font-size: .95rem; line-height: 1.1; color: var(--kku-blue-dark); }
.brand-text strong { color: var(--kku-red); }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--kku-muted); font-size: .65rem; letter-spacing: .04em; }
.main-nav .nav-link { font-weight: 600; color: var(--kku-ink); padding: .6rem 1rem; }
.main-nav .nav-link:hover { color: var(--kku-blue); }
.main-nav .btn.nav-link { background: var(--kku-blue); border-radius: 30px; }
.main-nav .btn.nav-link:hover { background: var(--kku-blue-dark); }

.live-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--kku-red); margin-left: 4px; position: relative; top: -1px;
    animation: pulse 1.4s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(214,40,40,.6); }
    70% { box-shadow: 0 0 0 8px rgba(214,40,40,0); }
    100% { box-shadow: 0 0 0 0 rgba(214,40,40,0); }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(120deg, var(--kku-blue-dark) 0%, var(--kku-blue) 55%, var(--kku-red) 130%);
    color: #fff;
    padding: 6rem 0 5rem;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(245,197,24,.25), transparent 45%);
}
.hero-content { position: relative; z-index: 2; }
.badge-pill {
    display: inline-flex; align-items: center; gap: .4rem; background: rgba(245,197,24,.18); color: var(--kku-gold);
    border: 1px solid rgba(245,197,24,.4); border-radius: 30px; padding: .4rem 1.1rem;
    font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.06; margin-bottom: 1.3rem;
    letter-spacing: -.01em;
}
.hero-title span { color: var(--kku-gold); position: relative; }
.hero-lead { font-size: 1.18rem; line-height: 1.6; opacity: .93; max-width: 560px; margin-bottom: 2.1rem; }
.hero-actions .btn { border-radius: 30px; padding: .85rem 1.8rem; font-weight: 700; }

.hero-live-card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px); border-radius: 18px; padding: 1.5rem;
}
.hero-live-header { font-weight: 700; letter-spacing: .05em; font-size: .8rem; margin-bottom: 1rem; color: var(--kku-gold); }
.match-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: .9rem; }
.match-row:last-child { border-bottom: none; }
.match-row .team { flex: 1; }
.match-row .score { font-weight: 700; color: var(--kku-gold); }
.tag { font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 20px; background: rgba(255,255,255,.15); }
.tag-live { background: var(--kku-red); color: #fff; }
.see-all-link { display: inline-block; margin-top: 1rem; color: #fff; font-size: .85rem; font-weight: 600; }
.see-all-link:hover { color: var(--kku-gold); }

/* ===== Discover spotlight (hero glass card) ===== */
.discover-links { display: flex; flex-direction: column; gap: .15rem; }
.discover-link-row {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .85rem .2rem; border-bottom: 1px dashed rgba(255,255,255,.15);
    color: #fff; text-decoration: none; transition: padding-left .15s ease;
}
.discover-link-row:last-child { border-bottom: none; }
.discover-link-row:hover { color: var(--kku-gold); padding-left: .4rem; }
.discover-link-row .dl-icon { font-size: 1.15rem; margin-right: .7rem; }
.discover-link-row .dl-text { flex: 1; font-weight: 600; font-size: .92rem; }

/* ===== Discover teaser section (profile mini-cards) ===== */
.profile-strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.profile-mini-card {
    position: relative; flex: 0 0 170px; height: 220px; border-radius: 16px; overflow: hidden;
    scroll-snap-align: start; box-shadow: 0 10px 24px rgba(20,24,31,.12);
}
.profile-mini-card img { width: 100%; height: 100%; object-fit: cover; }
.profile-mini-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,22,34,.92) 10%, transparent 60%);
}
.profile-mini-card .pm-role {
    position: absolute; top: .7rem; left: .7rem; z-index: 2;
    background: var(--kku-gold); color: var(--kku-black); font-size: .62rem; font-weight: 800;
    padding: .2rem .5rem; border-radius: 6px; letter-spacing: .02em;
}
.profile-mini-card .pm-name {
    position: absolute; bottom: .8rem; left: .8rem; right: .8rem; z-index: 2;
    color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2;
}
.step-strip { display: flex; flex-wrap: wrap; gap: 1rem; }
.step-chip {
    flex: 1 1 220px; background: #fff; border-radius: 14px; padding: 1.1rem;
    box-shadow: 0 4px 16px rgba(20,24,31,.06); display: flex; gap: .8rem; align-items: flex-start;
}
.step-chip .sc-icon {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: var(--kku-bg-alt);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.step-chip .sc-title { font-weight: 700; font-size: .92rem; margin-bottom: .2rem; color: var(--kku-ink); }
.step-chip .sc-text { font-size: .82rem; color: var(--kku-muted); line-height: 1.4; }

/* ===== Sub-page header (Discover, etc.) ===== */
.page-header {
    position: relative; background: linear-gradient(120deg, var(--kku-blue-dark) 0%, var(--kku-blue) 100%);
    color: #fff; padding: 3.5rem 0 3rem; overflow: hidden;
}
.page-header::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(245,197,24,.2), transparent 45%);
}
.page-header .container { position: relative; z-index: 2; }

/* ===== Full profile cards (Discover page) ===== */
.profile-card-full {
    position: relative; border-radius: 18px; overflow: hidden; height: 340px;
    box-shadow: 0 12px 30px rgba(20,24,31,.12);
}
.profile-card-full img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-full::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,22,34,.95) 15%, rgba(15,22,34,.15) 55%, transparent 75%);
}
.profile-card-full .pcf-role {
    position: absolute; top: .9rem; left: .9rem; z-index: 2;
    background: var(--kku-gold); color: var(--kku-black); font-size: .68rem; font-weight: 800;
    padding: .25rem .6rem; border-radius: 6px;
}
.profile-card-full .pcf-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 1rem 1.1rem; }
.profile-card-full .pcf-name { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: .3rem; }
.profile-card-full .pcf-bio { color: rgba(255,255,255,.85); font-size: .82rem; line-height: 1.45; }

/* ===== Milestone timeline ===== */
.milestone-timeline { position: relative; padding-left: 2.2rem; }
.milestone-timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--kku-blue-dark, #dfe4ee);
    opacity: .25;
}
.milestone-item { position: relative; padding-bottom: 2.2rem; }
.milestone-item:last-child { padding-bottom: 0; }
.milestone-item::before {
    content: ""; position: absolute; left: -2.2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--kku-blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--kku-blue);
}
.milestone-year { color: var(--kku-red); font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.milestone-title { font-weight: 700; color: var(--kku-blue-dark); margin: .2rem 0 .35rem; }
.milestone-text { color: var(--kku-muted); font-size: .92rem; line-height: 1.6; max-width: 640px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ===== Decorative hero glow shapes (matches the mobile app's hero motif) ===== */
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.hero-glow-1 { width: 320px; height: 320px; background: rgba(255,255,255,.06); top: -140px; right: -60px; }
.hero-glow-2 { width: 220px; height: 220px; background: rgba(245,197,24,.08); bottom: -100px; left: -60px; }
.page-header .hero-glow-1 { width: 220px; height: 220px; top: -100px; right: -40px; }

/* ===== Richer card interactions for Discover ===== */
.profile-mini-card, .profile-card-full { transition: transform .25s ease, box-shadow .25s ease; }
.profile-mini-card:hover, .profile-card-full:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20,24,31,.2); }
.step-chip { transition: transform .2s ease, box-shadow .2s ease; }
.step-chip:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20,24,31,.1); }
.milestone-item:hover .milestone-title { color: var(--kku-blue); }
.milestone-item::before { transition: transform .2s ease; }
.milestone-item:hover::before { transform: scale(1.25); }

/* ===== Global recognition strip ===== */
.global-strip { background: linear-gradient(180deg, #fff 0%, var(--kku-bg-alt) 100%); }
.flag-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1rem; }
.flag-chip {
    background: #fff; border: 1px solid #E4E8F0; border-radius: 30px; padding: .55rem 1.1rem;
    font-size: .88rem; font-weight: 600; color: var(--kku-ink); box-shadow: 0 3px 10px rgba(20,24,31,.05);
    transition: transform .15s ease, box-shadow .15s ease;
}
.flag-chip:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(20,24,31,.1); }
.flag-chip-highlight { background: var(--kku-blue); color: #fff; border-color: var(--kku-blue); }

/* ===== Voices / quote carousel ===== */
.quote-card { max-width: 680px; text-align: center; padding: 1rem 2.5rem; }
.quote-card i.bi-quote { font-size: 2.2rem; color: var(--kku-gold); display: block; margin-bottom: .6rem; }
.quote-card p { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--kku-blue-dark); line-height: 1.5; margin-bottom: 1rem; }
.quote-author { color: var(--kku-muted); font-size: .88rem; font-weight: 600; }
#voicesCarousel .carousel-control-prev, #voicesCarousel .carousel-control-next { width: 5%; opacity: .35; }
#voicesCarousel .carousel-control-prev:hover, #voicesCarousel .carousel-control-next:hover { opacity: .7; }
#voicesCarousel .carousel-control-prev-icon, #voicesCarousel .carousel-control-next-icon { filter: invert(1) grayscale(1) brightness(.3); width: 1.6rem; height: 1.6rem; }

/* ===== Stats strip ===== */
.stats-strip { background: var(--kku-black); color: #fff; padding: 2.5rem 0; }
.stat-icon {
    width: 46px; height: 46px; border-radius: 50%; margin: 0 auto .7rem; display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem; color: var(--kku-gold); background: rgba(245,197,24,.12);
    border: 1.5px solid rgba(245,197,24,.35);
}
.stat-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--kku-gold); }
.stat-label { font-size: .85rem; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }

/* ===== Section utilities ===== */
.section-pad { padding: 4.5rem 0; position: relative; overflow: hidden; }
.bg-light-alt { background: var(--kku-bg-alt); }
.eyebrow { color: var(--kku-red); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.section-title {
    font-weight: 800; margin: .35rem 0 1.1rem; color: var(--kku-blue-dark);
    font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.18; letter-spacing: -.01em;
}
.section-text { font-size: 1.02rem; line-height: 1.7; color: var(--kku-muted); }

/* ===== Animated gradient-glow border — the signature "premium showcase" touch ===== */
@property --glow-angle {
    syntax: '<angle>'; inherits: false; initial-value: 0deg;
}
@keyframes rotate-glow { to { --glow-angle: 360deg; } }
.glow-border {
    position: relative; border-radius: var(--radius-lg); isolation: isolate;
}
.glow-border::before {
    content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
    background: conic-gradient(from var(--glow-angle), var(--kku-gold), var(--kku-blue), var(--kku-red), var(--kku-gold));
    opacity: 0; transition: opacity .35s ease;
}
.glow-border:hover::before { opacity: 1; animation: rotate-glow 3.5s linear infinite; }

/* ===== Achievements showcase (homepage) ===== */
.achievement-showcase-card {
    background: #fff; border-radius: var(--radius-lg); padding: 2.1rem 1.6rem; text-align: center;
    box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; height: 100%;
}
.achievement-showcase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.achievement-showcase-card .medal-badge {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .9rem; display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem; background: var(--gradient-gold); box-shadow: var(--shadow-gold);
}
.achievement-showcase-card h5 { font-family: var(--font-display); font-weight: 800; color: var(--kku-blue-dark); font-size: 1.08rem; margin-bottom: .55rem; }
.achievement-showcase-card p { color: var(--kku-muted); font-size: .88rem; line-height: 1.65; margin: 0; }
.section-text { color: var(--kku-muted); line-height: 1.7; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.check-list li { margin-bottom: .6rem; }
.check-list i { color: var(--kku-blue); margin-right: .5rem; }

.achievement-card {
    position: relative;
    background: var(--gradient-brand);
    color: #fff; border-radius: var(--radius-lg); padding: 2.4rem;
    border: 2px solid var(--kku-gold);
    box-shadow: var(--shadow-blue);
    overflow: hidden;
}
.achievement-card::before {
    content: ""; position: absolute; top: -50px; right: -50px; width: 160px; height: 160px;
    border-radius: 50%; background: rgba(245,197,24,.14); pointer-events: none;
}
.achievement-card i { font-size: 2.4rem; color: var(--kku-gold); margin-bottom: .9rem; display: block; position: relative; }
.achievement-card h4, .achievement-card p { position: relative; }
.achievement-card a { color: var(--kku-gold); font-weight: 700; position: relative; display: inline-flex; align-items: center; gap: .3rem; }

/* ===== News cards ===== */
.news-card {
    display: block; background: #fff; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-soft); color: inherit;
    border: 1px solid #eef1f6; transition: transform .3s ease, box-shadow .3s ease; height: 100%;
}
.news-card:hover { transform: translateY(-8px); color: inherit; box-shadow: var(--shadow-strong); }
.news-card-img { height: 190px; background-size: cover; background-position: center; background-color: #dbe4f0; position: relative; overflow: hidden; }
.news-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 55%); transition: background .3s ease; }
.news-card:hover .news-card-img { transform: scale(1.06); }
.news-card-img { transition: transform .4s ease; }
.cat-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--kku-red); color: #fff; font-size: .7rem; font-weight: 700; padding: .25rem .7rem; border-radius: 20px; box-shadow: 0 3px 8px rgba(214,40,40,.35); }
.news-card-body { padding: 1.25rem; border-top: 3px solid var(--kku-gold); }
.news-date { color: var(--kku-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.news-card-body h5 { margin: .4rem 0 .5rem; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.news-card-body p { color: var(--kku-muted); font-size: .9rem; margin: 0; }

/* Featured (larger) news card for section headers */
.news-card-featured { display: grid; grid-template-columns: 1fr; box-shadow: var(--shadow-med); }
.news-card-featured .news-card-img { height: 320px; }
@media (min-width: 768px) {
    .news-card-featured { grid-template-columns: 1.1fr .9fr; align-items: stretch; }
    .news-card-featured .news-card-img { height: 100%; min-height: 280px; }
    .news-card-featured .news-card-body { display: flex; flex-direction: column; justify-content: center; }
    .news-card-featured .news-card-body h5 { font-size: 1.5rem; }
}

/* ===== Events ===== */
.event-card, .event-card-lg {
    position: relative; background: #fff; border: 1px solid #e9edf3; border-radius: var(--radius-md);
    padding: 1.5rem; height: 100%; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
    border-left: 4px solid var(--kku-blue); box-shadow: var(--shadow-soft);
}
.event-card:hover, .event-card-lg:hover { transform: translateY(-6px); box-shadow: var(--shadow-med); border-left-color: var(--kku-gold); }
.event-card-lg { padding-top: 0; }
.event-poster { height: 150px; margin: 0 -1.5rem 1rem; background-size: cover; background-position: center; background-color: #dbe4f0; position: relative; }
.event-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 60%); }
.event-date-badge { display: inline-flex; flex-direction: column; align-items: center; background: var(--kku-blue); color: #fff; border-radius: 10px; padding: .4rem .7rem; margin-bottom: .8rem; line-height: 1; box-shadow: 0 4px 10px rgba(25,87,166,.3); }
.event-date-badge .d { font-size: 1.2rem; font-weight: 800; }
.event-date-badge .m { font-size: .65rem; text-transform: uppercase; }
.badge-type { display: inline-block; background: var(--kku-bg-alt); color: var(--kku-blue-dark); font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 20px; margin-bottom: .6rem; }
.badge-type i { margin-right: .3rem; }

/* ===== Join CTA ===== */
.join-cta { background: linear-gradient(120deg, var(--kku-red), var(--kku-blue-dark)); color: #fff; padding: 4rem 0; text-align: center; }
.join-cta h2 { font-weight: 800; margin-bottom: .8rem; }
.join-cta p { opacity: .92; max-width: 600px; margin: 0 auto 1.8rem; }
.join-cta .btn { border-radius: 30px; padding: .75rem 1.8rem; }

/* ===== Footer ===== */
.site-footer { background: var(--kku-black); color: #fff; }
.footer-brand { color: var(--kku-gold); font-weight: 800; letter-spacing: .04em; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); }
.footer-links a:hover { color: var(--kku-gold); }
.social-row a { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; align-items: center; justify-content: center; margin-right: .5rem; }
.social-row a:hover { background: var(--kku-gold); color: var(--kku-black); }
.newsletter-form .form-control { border-radius: 30px 0 0 30px; }
.newsletter-form .btn { border-radius: 0 30px 30px 0; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--kku-blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: .25s; z-index: 1040; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* ===== Floating video widget ===== */
.floating-video {
    position: fixed; left: 22px; bottom: 22px; width: 340px;
    background: #0d1117; border-radius: 14px; overflow: hidden;
    box-shadow: 0 12px 34px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.08);
    transform: translateY(140%); opacity: 0; transition: transform .4s ease, opacity .4s ease;
    z-index: 1045;
}
.floating-video.show { transform: translateY(0); opacity: 1; }
.floating-video.dismissed { display: none; }
.floating-video-header {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .55rem .8rem; background: linear-gradient(90deg, var(--kku-blue-dark), var(--kku-blue));
    color: #fff; font-size: .78rem; font-weight: 600;
}
.floating-video-header i.bi-play-circle-fill { color: var(--kku-gold); margin-right: .3rem; }
.floating-video-controls button { background: none; border: none; color: #fff; opacity: .85; padding: .1rem .35rem; }
.floating-video-controls button:hover { opacity: 1; color: var(--kku-gold); }
.floating-video-body { transition: max-height .3s ease; max-height: 220px; overflow: hidden; }
.floating-video.minimized .floating-video-body { max-height: 0; }
.floating-video iframe { width: 100%; height: 100%; border: 0; }
.floating-video-reopen {
    position: fixed; left: 22px; bottom: 22px; z-index: 1045;
    background: var(--kku-red); color: #fff; border: none; border-radius: 30px;
    padding: .65rem 1.2rem; font-weight: 600; font-size: .85rem; box-shadow: 0 8px 20px rgba(214,40,40,.35);
}
.floating-video-reopen:hover { background: #b81f1f; }
@media (max-width: 576px) {
    .floating-video, .floating-video-reopen { left: 12px; right: 12px; width: auto; }
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--kku-blue-dark), var(--kku-blue));
    color: #fff; padding: 4rem 0 3.5rem;
    border-bottom: 4px solid var(--kku-gold);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: .5;
}
.page-hero::after {
    content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
    border-radius: 50%; background: radial-gradient(circle, rgba(245,197,24,.35), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-weight: 800; margin-bottom: .4rem; font-size: 2.3rem; }
.page-hero p { opacity: .92; margin: 0; max-width: 640px; }
.page-hero-stats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.page-hero-stats .chip {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px; padding: .4rem 1rem; font-size: .82rem; font-weight: 600;
    backdrop-filter: blur(4px);
}
.page-hero-stats .chip strong { color: var(--kku-gold); margin-right: .3rem; }

/* ===== Filters ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-chip { padding: .45rem 1.1rem; border-radius: 30px; background: #fff; border: 1px solid #e0e5ec; color: var(--kku-ink); font-weight: 600; font-size: .85rem; box-shadow: 0 2px 6px rgba(20,24,31,.04); transition: .2s; }
.filter-chip.active, .filter-chip:hover { background: var(--kku-blue); border-color: var(--kku-blue); color: #fff; transform: translateY(-1px); }

/* ===== Decorative frame utility ===== */
.framed {
    position: relative; border: 1px solid #e9edf3; border-radius: 18px; padding: 2px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--kku-gold), var(--kku-red), var(--kku-blue)) border-box;
    border: 2px solid transparent;
}

/* ===== Newsroom masthead ===== */
.news-masthead {
    position: relative; overflow: hidden;
    background: linear-gradient(125deg, var(--kku-black) 0%, var(--kku-blue-dark) 65%, var(--kku-blue) 130%);
    color: #fff; padding: 4.5rem 0 4rem; border-bottom: 4px solid var(--kku-gold);
}
.news-masthead-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.1) 1.4px, transparent 1.4px);
    background-size: 24px 24px; opacity: .5;
}
.news-masthead .container { position: relative; z-index: 2; }
.masthead-title { font-weight: 800; font-size: 2.4rem; line-height: 1.15; margin: 1rem 0 .8rem; }
.masthead-lead { opacity: .88; max-width: 480px; margin-bottom: 1.6rem; }

.news-search-form {
    display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25); border-radius: 40px; padding: .4rem .5rem .4rem 1.2rem;
    max-width: 480px; backdrop-filter: blur(4px);
}
.news-search-form i { color: rgba(255,255,255,.6); }
.news-search-form input {
    flex: 1; background: none; border: none; color: #fff; padding: .5rem 0; font-size: .92rem;
}
.news-search-form input::placeholder { color: rgba(255,255,255,.55); }
.news-search-form input:focus { outline: none; }
.news-search-form button {
    background: var(--kku-gold); color: var(--kku-black); border: none; border-radius: 30px;
    padding: .55rem 1.3rem; font-weight: 700; font-size: .85rem;
}
.news-search-form button:hover { background: #e0b40f; }

.masthead-ticker {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 16px;
    padding: 1.3rem; backdrop-filter: blur(6px);
}
.ticker-label { font-weight: 700; letter-spacing: .05em; font-size: .78rem; color: var(--kku-gold); margin-bottom: .8rem; display: flex; align-items: center; gap: .4rem; }
.ticker-item { display: flex; flex-direction: column; gap: .15rem; padding: .6rem 0; border-bottom: 1px dashed rgba(255,255,255,.15); color: #fff; }
.ticker-item:last-child { border-bottom: none; padding-bottom: 0; }
.ticker-cat { font-size: .68rem; font-weight: 700; color: var(--kku-gold); text-transform: uppercase; letter-spacing: .03em; }
.ticker-title { font-size: .88rem; font-weight: 600; line-height: 1.35; }
.ticker-item:hover .ticker-title { color: var(--kku-gold); }

/* ===== Filter bar (with chip counts) ===== */
.chip-count { background: rgba(0,0,0,.12); border-radius: 20px; padding: .05rem .45rem; font-size: .7rem; margin-left: .3rem; }
.filter-chip.active .chip-count { background: rgba(255,255,255,.25); }

/* ===== Lead story card ===== */
.news-lead-card {
    display: block; background: #fff; border-radius: 20px; overflow: hidden; margin-bottom: 2.2rem;
    box-shadow: 0 14px 34px rgba(20,24,31,.12); color: inherit; border: 1px solid #eef1f6;
    transition: transform .25s, box-shadow .25s;
}
.news-lead-card:hover { transform: translateY(-4px); color: inherit; box-shadow: 0 20px 42px rgba(20,24,31,.16); }
.news-lead-img { height: 340px; background-size: cover; background-position: center; background-color: #dbe4f0; position: relative; }
.news-lead-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 55%); }
.news-lead-body { padding: 1.8rem 2rem; border-top: 4px solid var(--kku-gold); }
.news-lead-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--kku-muted); margin-bottom: .7rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.news-lead-meta i { margin-right: .3rem; color: var(--kku-blue); }
.news-lead-body h2 { font-weight: 800; font-size: 1.7rem; margin-bottom: .7rem; color: var(--kku-ink); line-height: 1.25; }
.news-lead-body p { color: var(--kku-muted); font-size: 1rem; margin-bottom: 1rem; }
.read-more, .read-more-sm { color: var(--kku-red); font-weight: 700; font-size: .88rem; }
.read-more-sm { font-size: .82rem; }

/* ===== Magazine grid (list-style rows) ===== */
.news-magazine-grid { display: flex; flex-direction: column; gap: 1.3rem; }
.news-mag-item {
    display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem; background: #fff; border-radius: 16px;
    overflow: hidden; border: 1px solid #eef1f6; box-shadow: 0 4px 16px rgba(20,24,31,.06); color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.news-mag-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,24,31,.12); color: inherit; }
.news-mag-img { position: relative; background-size: cover; background-position: center; background-color: #dbe4f0; min-height: 150px; }
.news-mag-body { padding: 1.1rem 1.4rem 1.1rem 0; display: flex; flex-direction: column; justify-content: center; }
.news-mag-body .news-date { display: block; margin-bottom: .3rem; }
.news-mag-body h5 { font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; line-height: 1.35; }
.news-mag-body p { color: var(--kku-muted); font-size: .88rem; margin-bottom: .5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 576px) {
    .news-mag-item { grid-template-columns: 1fr; }
    .news-mag-img { height: 160px; }
    .news-mag-body { padding: 1rem 1.2rem; }
}

.news-empty { text-align: center; padding: 3rem 1rem; color: var(--kku-muted); }
.news-empty i { font-size: 2.5rem; display: block; margin-bottom: .8rem; color: #cdd5e0; }

.news-pagination .page-link { border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin: 0 .2rem; border: 1px solid #e0e5ec; color: var(--kku-ink); font-weight: 600; }
.news-pagination .page-item.active .page-link { background: var(--kku-blue); border-color: var(--kku-blue); color: #fff; }

/* ===== News sidebar ===== */
.news-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.3rem; }
.sb-card { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 1.4rem; box-shadow: 0 4px 16px rgba(20,24,31,.05); margin-bottom: 1.5rem; }
.news-sidebar .sb-card { margin-bottom: 0; }
.sb-card h6 { font-weight: 800; color: var(--kku-blue-dark); margin-bottom: 1.1rem; }
.sb-card h6 i { color: var(--kku-gold); margin-right: .4rem; }
.sb-trending-item { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid #f0f2f6; color: inherit; }
.sb-trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.sb-rank { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--kku-bg-alt); color: var(--kku-blue-dark); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.sb-trending-item:nth-child(1) .sb-rank { background: linear-gradient(135deg, #f5c518, #d9a400); color: #3a2c00; }
.sb-trending-title { display: block; font-weight: 600; font-size: .88rem; line-height: 1.35; color: var(--kku-ink); }
.sb-trending-meta { display: block; font-size: .72rem; color: var(--kku-muted); margin-top: .2rem; }
.sb-trending-item:hover .sb-trending-title { color: var(--kku-blue); }

.sb-tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.sb-tag { background: var(--kku-bg-alt); color: var(--kku-ink); font-size: .8rem; font-weight: 600; border-radius: 20px; padding: .4rem .9rem; }
.sb-tag span { opacity: .6; margin-left: .3rem; }
.sb-tag.active, .sb-tag:hover { background: var(--kku-blue); color: #fff; }

.sb-newsletter { background: linear-gradient(135deg, var(--kku-blue), var(--kku-blue-dark)); color: #fff; text-align: center; }
.sb-newsletter i { font-size: 1.8rem; color: var(--kku-gold); margin-bottom: .5rem; display: block; }
.sb-newsletter h6 { color: #fff; }
.sb-newsletter p { font-size: .85rem; opacity: .88; margin-bottom: 1rem; }
.sb-newsletter .form-control { border-radius: 30px 0 0 30px; border: none; }
.sb-newsletter .btn { border-radius: 0 30px 30px 0; }

.sb-cta { text-align: center; border: 2px solid var(--kku-gold); }
.sb-cta h6 { color: var(--kku-ink); }
.sb-cta p { font-size: .85rem; color: var(--kku-muted); margin-bottom: 1rem; }

@media (max-width: 992px) { .news-sidebar { position: static; } }

/* ===== Article ===== */
.article-hero { position: relative; height: 340px; background-size: cover; background-position: center; display: flex; align-items: flex-end; background-color: #223; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.15)); }
.article-hero .container { position: relative; z-index: 2; color: #fff; padding-bottom: 2rem; }
.article-hero h1 { font-weight: 800; margin: .5rem 0; }
.article-meta { opacity: .85; font-size: .9rem; }
.article-body { line-height: 1.85; font-size: 1.05rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-inline-img { width: 100%; border-radius: 14px; margin: 1.5rem 0; box-shadow: 0 8px 24px rgba(20,24,31,.12); }
.article-body blockquote {
    border-left: 4px solid var(--kku-gold); background: var(--kku-bg-alt); border-radius: 0 12px 12px 0;
    padding: 1rem 1.5rem; margin: 1.5rem 0; font-style: italic; color: var(--kku-blue-dark); font-size: 1.05rem;
}
.share-row { margin-top: 2rem; display: flex; align-items: center; gap: .8rem; }
.share-row a { width: 36px; height: 36px; border-radius: 50%; background: var(--kku-bg-alt); display: inline-flex; align-items: center; justify-content: center; color: var(--kku-blue); }
.sidebar-card { background: var(--kku-bg-alt); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.5rem; }
.related-item { display: block; padding: .6rem 0; border-bottom: 1px solid #e2e7ef; font-size: .9rem; font-weight: 600; color: var(--kku-ink); }
.related-item .news-date { display: block; font-weight: 400; }
.cta-card { background: linear-gradient(135deg, var(--kku-blue), var(--kku-blue-dark)); color: #fff; }

/* ===== Home gallery preview grid ===== */
.home-gallery-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem;
}
.home-gallery-item {
    position: relative; display: block; border-radius: 12px; overflow: hidden;
    aspect-ratio: 1 / 1; box-shadow: 0 4px 14px rgba(20,24,31,.08);
}
.home-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-gallery-item:hover img { transform: scale(1.08); }
.home-gallery-item .caption {
    position: absolute; inset: auto 0 0 0; padding: .5rem .6rem .4rem;
    background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
    color: #fff; font-size: .68rem; font-weight: 600;
    opacity: 0; transition: opacity .25s;
}
.home-gallery-item:hover .caption { opacity: 1; }
@media (max-width: 992px) { .home-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .home-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Gallery ===== */
.album-card { display: block; color: inherit; }
.album-cover {
    height: 220px; border-radius: var(--radius-md); background-size: cover; background-position: center;
    background-color: #dbe4f0; position: relative; margin-bottom: .8rem; overflow: hidden;
    box-shadow: var(--shadow-soft); transition: transform .35s ease, box-shadow .35s ease;
}
.album-card:hover .album-cover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-strong); }
.album-cover::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 55%);
}
.album-count {
    position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(0,0,0,.55); color: #fff;
    font-size: .76rem; font-weight: 600; padding: .3rem .75rem; border-radius: 20px; backdrop-filter: blur(3px);
}
.album-card h6 { font-weight: 800; color: var(--kku-blue-dark); font-size: 1.02rem; transition: color .2s ease; }
.album-card:hover h6 { color: var(--kku-blue); }

.masonry-grid { column-count: 3; column-gap: 1rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; position: relative; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.masonry-item img { width: 100%; display: block; cursor: pointer; transition: transform .4s ease; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item::after {
    content: "\f52a"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: flex;
    align-items: center; justify-content: center; font-size: 1.6rem; color: #fff;
    background: rgba(15,22,34,0); opacity: 0; transition: opacity .25s ease, background .25s ease; pointer-events: none;
}
.masonry-item:hover::after { opacity: 1; background: rgba(15,22,34,.28); }
@media (max-width: 768px) { .masonry-grid { column-count: 1; } }

/* ===== Membership registration page ===== */
.reg-hero .page-hero-stats .chip strong { color: var(--kku-gold); }

.reg-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.reg-type-card {
    background: #fff; border: 2px solid #e9edf3; border-radius: 16px; padding: 1.4rem 1rem;
    text-align: center; cursor: pointer; transition: .2s; display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.reg-type-card i { font-size: 1.8rem; color: var(--kku-blue); }
.reg-type-card .t { font-weight: 800; font-family: var(--font-display); color: var(--kku-ink); }
.reg-type-card .d { font-size: .76rem; color: var(--kku-muted); }
.reg-type-card:hover { border-color: var(--kku-blue); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20,24,31,.08); }
.reg-type-card.active { border-color: var(--kku-gold); background: linear-gradient(160deg, #fff, var(--kku-bg-alt)); box-shadow: 0 10px 26px rgba(245,197,24,.25); }
.reg-type-card.active i { color: var(--kku-red); }
@media (max-width: 576px) { .reg-type-cards { grid-template-columns: 1fr; } }

.reg-form.framed { padding: 3px; border-radius: 20px; }
.reg-form-inner { background: #fff; border-radius: 18px; padding: 2rem; }
.reg-form-title { color: var(--kku-blue-dark); font-weight: 800; margin-bottom: 1.4rem; }
.reg-form-title i { color: var(--kku-gold); margin-right: .4rem; }

.status-check-card { background: var(--kku-bg-alt); border-radius: 14px; padding: 1.5rem; border: 1px dashed #d7dee8; }

.reg-steps-card, .reg-benefits-card {
    background: #fff; border: 1px solid #e9edf3; border-radius: 16px; padding: 1.5rem; margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(20,24,31,.05);
}
.reg-steps-card h6, .reg-benefits-card h6 { color: var(--kku-blue-dark); font-weight: 800; margin-bottom: 1.1rem; }
.reg-steps-card h6 i, .reg-benefits-card h6 i { color: var(--kku-gold); margin-right: .4rem; }
.reg-step { display: flex; gap: .9rem; margin-bottom: 1.1rem; }
.reg-step:last-child { margin-bottom: 0; }
.reg-step .num {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--kku-blue); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.reg-step strong { display: block; font-size: .92rem; color: var(--kku-ink); }
.reg-step p { margin: .15rem 0 0; font-size: .82rem; color: var(--kku-muted); }
.reg-benefits-card ul { list-style: none; padding: 0; margin: 0; }
.reg-benefits-card li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .7rem; font-size: .88rem; color: var(--kku-ink); }
.reg-benefits-card li i { color: #1a9e5c; margin-top: .2rem; }
.reg-help-card {
    background: linear-gradient(135deg, var(--kku-blue), var(--kku-blue-dark)); color: #fff; border-radius: 16px;
    padding: 1.4rem; display: flex; align-items: center; gap: 1rem;
}
.reg-help-card i { font-size: 1.8rem; color: var(--kku-gold); }
.reg-help-card p { font-size: .85rem; opacity: .9; }

.confirmation-icon { font-size: 4rem; color: #1a9e5c; margin-bottom: 1rem; }

/* ===== Results / live scores ===== */
.score-card {
    position: relative; background: #fff; border: 1px solid #e9edf3; border-radius: 16px;
    padding: 1.2rem; transition: box-shadow .25s, transform .25s; overflow: hidden;
}
.score-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--kku-blue), var(--kku-gold)); }
.score-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(20,24,31,.1); }
.score-card.is-live { border-color: var(--kku-red); box-shadow: 0 0 0 3px rgba(214,40,40,.1); }
.score-card.is-live::before { background: linear-gradient(90deg, var(--kku-red), var(--kku-gold)); }
.score-card-header { display: flex; justify-content: space-between; font-size: .78rem; color: var(--kku-muted); margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.team-row { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; font-weight: 600; border-bottom: 1px dashed #eef1f6; }
.team-row:last-child { border-bottom: none; }
.team-score { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--kku-blue-dark); background: var(--kku-bg-alt); border-radius: 8px; padding: .1rem .7rem; min-width: 44px; text-align: center; }
.is-live .team-score { color: var(--kku-red); background: rgba(214,40,40,.08); }
.score-card-footer { margin-top: .8rem; font-size: .8rem; color: var(--kku-muted); border-top: 1px solid #f0f2f6; padding-top: .6rem; }
.results-table { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(20,24,31,.06); }
.results-table thead { background: linear-gradient(90deg, var(--kku-blue-dark), var(--kku-blue)); color: #fff; }
.results-table thead th { border: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; padding: .8rem 1rem; }
.results-table tbody td { padding: .8rem 1rem; }
.results-table tbody tr:hover { background: var(--kku-bg-alt); }
.results-stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.results-stat-card {
    flex: 1 1 160px; display: flex; align-items: center; gap: .9rem;
    background: #fff; border: 1px solid #e9edf3; border-left: 4px solid var(--kku-blue);
    border-radius: 12px; padding: 1rem 1.2rem; box-shadow: 0 3px 12px rgba(20,24,31,.05);
}
.results-stat-card i { font-size: 1.6rem; color: var(--kku-blue); }
.results-stat-card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--kku-blue-dark); line-height: 1; }
.results-stat-card .lbl { font-size: .78rem; color: var(--kku-muted); text-transform: uppercase; letter-spacing: .03em; }
.results-stat-card.is-live-stat { border-left-color: var(--kku-red); }
.results-stat-card.is-live-stat i, .results-stat-card.is-live-stat .num { color: var(--kku-red); }

/* ===== Results page — tabs, standings, fixtures ===== */
.team-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; margin-right: .5rem; border: 2px solid #fff; box-shadow: 0 0 0 1px #e0e5ec; vertical-align: middle; }

.pulse-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 4px; animation: pulse 1.2s infinite; }
.tag-upcoming { background: var(--kku-blue); color: #fff; }

.results-tabs { display: flex; gap: .6rem; list-style: none; padding: 0; border-bottom: 2px solid #eef1f6; }
.results-tabs button {
    background: none; border: none; padding: .8rem 1.3rem; font-weight: 700; color: var(--kku-muted);
    border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: .95rem; transition: .2s;
}
.results-tabs button i { margin-right: .4rem; }
.results-tabs button.active, .results-tabs button:hover { color: var(--kku-blue-dark); border-bottom-color: var(--kku-gold); }

/* Standings */
.standings-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 26px rgba(20,24,31,.08); border: 1px solid #eef1f6; }
.standings-table thead { background: linear-gradient(90deg, var(--kku-blue-dark), var(--kku-blue)); color: #fff; }
.standings-table thead th { border: none; padding: .9rem 1rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.standings-table tbody td { padding: .85rem 1rem; border-color: #f0f2f6; }
.standings-table tbody tr.is-top3 { background: linear-gradient(90deg, rgba(245,197,24,.08), transparent); }
.standings-table tbody tr:hover { background: var(--kku-bg-alt); }
.team-cell { display: flex; align-items: center; }
.pos-badge {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
    border-radius: 50%; font-weight: 800; font-size: .8rem; background: var(--kku-bg-alt); color: var(--kku-ink);
}
.pos-badge.pos-1 { background: linear-gradient(135deg, #f5c518, #d9a400); color: #3a2c00; box-shadow: 0 3px 8px rgba(245,197,24,.5); }
.pos-badge.pos-2 { background: linear-gradient(135deg, #d7dde5, #a9b2c0); color: #2b3340; }
.pos-badge.pos-3 { background: linear-gradient(135deg, #d9a066, #b6702f); color: #3a2200; }
.trend-up { color: #1a9e5c; margin-left: .3rem; }
.trend-down { color: var(--kku-red); margin-left: .3rem; }
.trend-flat { color: var(--kku-muted); margin-left: .3rem; }
.pts-pill { display: inline-block; background: var(--kku-blue); color: #fff; font-weight: 800; border-radius: 20px; padding: .2rem .7rem; min-width: 36px; }
.form-chips { display: flex; gap: .3rem; }
.form-chip {
    width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
    font-size: .68rem; font-weight: 800; color: #fff;
}
.form-w { background: #1a9e5c; }
.form-l { background: var(--kku-red); }
.form-d { background: var(--kku-muted); }

/* Fixtures list */
.fixtures-list { display: flex; flex-direction: column; gap: 1rem; }
.fixture-row {
    background: #fff; border: 1px solid #eef1f6; border-radius: 14px; padding: 1rem 1.4rem;
    box-shadow: 0 3px 12px rgba(20,24,31,.05); transition: box-shadow .2s, transform .2s;
}
.fixture-row:hover { box-shadow: 0 10px 24px rgba(20,24,31,.1); transform: translateY(-2px); }
.fixture-round { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--kku-muted); margin-bottom: .6rem; }
.fixture-main { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.fixture-team { display: flex; align-items: center; gap: .5rem; font-weight: 700; flex: 1; min-width: 140px; }
.fixture-team-right { justify-content: flex-end; flex-direction: row-reverse; text-align: right; }
.fixture-team-right .team-logo { margin-right: 0; margin-left: .5rem; }
.fixture-score { flex: 0 0 auto; }
.score-pill {
    display: inline-block; background: var(--kku-bg-alt); color: var(--kku-blue-dark); font-family: var(--font-display);
    font-weight: 800; font-size: 1.1rem; border-radius: 10px; padding: .3rem 1rem;
}
.score-pill.is-live { background: rgba(214,40,40,.1); color: var(--kku-red); }
.vs-pill { display: inline-block; background: var(--kku-bg-alt); color: var(--kku-muted); font-weight: 700; border-radius: 10px; padding: .3rem 1rem; }
.fixture-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px dashed #eef1f6; font-size: .8rem; color: var(--kku-muted); align-items: center; }
.fixture-meta i { margin-right: .3rem; color: var(--kku-blue); }
.fixture-highlight { margin-top: .6rem; font-size: .85rem; color: var(--kku-blue-dark); font-style: italic; background: var(--kku-bg-alt); border-radius: 8px; padding: .5rem .8rem; }
.fixture-highlight i { margin-right: .4rem; color: var(--kku-gold); }

/* Score flash animation on live update */
@keyframes scoreFlash {
    0% { transform: scale(1.35); color: var(--kku-gold); }
    100% { transform: scale(1); }
}
.score-flash { animation: scoreFlash .8s ease; }

/* ===== Benefits / achievements / governance ===== */
.benefit-card {
    background: #fff; border: 1px solid #eef1f6; border-radius: var(--radius-md); padding: 2.1rem;
    height: 100%; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease;
}
.benefit-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-med); }
.benefit-card i {
    width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.1rem; background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-blue);
}
.benefit-card h5 { font-weight: 800; color: var(--kku-blue-dark); margin-bottom: .5rem; }

.timeline { border-left: 3px solid transparent; padding-left: 1.6rem; position: relative; }
.timeline::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--kku-gold), var(--kku-blue) 60%, var(--kku-blue-dark));
    border-radius: 3px;
}
.timeline-item { margin-bottom: 1.7rem; position: relative; }
.timeline-item::before {
    content: ""; position: absolute; left: -2.02rem; top: .28rem; width: 13px; height: 13px; border-radius: 50%;
    background: var(--kku-gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--kku-blue);
    transition: transform .2s ease;
}
.timeline-item:hover::before { transform: scale(1.3); }
.timeline-item .year { font-weight: 800; color: var(--kku-blue-dark); display: block; font-family: var(--font-display); }

.leader-card {
    text-align: center; background: #fff; border: 1px solid #eef1f6; border-radius: var(--radius-md);
    padding: 2rem 1.1rem; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease;
}
.leader-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-med); }
.leader-avatar {
    width: 76px; height: 76px; border-radius: 50%; background: var(--gradient-brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem; margin: 0 auto .9rem;
    box-shadow: var(--shadow-blue); border: 3px solid #fff; outline: 2px solid rgba(245,197,24,.5);
}
.leader-card h6 { font-weight: 800; color: var(--kku-blue-dark); margin-bottom: .2rem; }
.leader-card span { color: var(--kku-muted); font-size: .85rem; }

.publication-list .list-group-item {
    border-radius: var(--radius-md) !important; margin-bottom: .8rem; border: 1px solid #eef1f6 !important;
    padding: 1.3rem 1.5rem; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.publication-list .list-group-item:hover {
    transform: translateX(4px); box-shadow: var(--shadow-med); border-color: var(--kku-gold) !important;
}
.publication-list .bi-download {
    color: var(--kku-blue); background: var(--kku-bg-alt); width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem !important;
}

