/* =========================================================
   Nabipura Kabaddi Tournament — Theme
   Banner palette only: cream / orange / red / gold
   ========================================================= */

:root {
    /* Banner gradient colors */
    --cream: #ffdca0;
    --cream-light: #fff8ec;
    --cream-soft: #ffe6c2;
    --cream-card: #fff2d8;
    --orange: #ff9d4d;
    --orange-deep: #ff7a1a;
    --gold: #ffcc33;
    --red: #c0392b;
    --red-deep: #7a2a10;
    --brown: #5a1a10;
    --brown-dark: #2a0e05;
    --brown-mid: #4a1a0d;

    /* Surfaces — light only, no black */
    --bg-page: var(--cream-light);
    --bg-card: #ffffff;
    --bg-card-alt: var(--cream-card);
    --bg-warm: linear-gradient(120deg, var(--cream) 0%, var(--orange) 45%, var(--red) 100%);

    --text: var(--brown-dark);
    --text-soft: var(--brown);
    --text-muted: #8a5a40;

    --ink: var(--brown-dark);
    --ink-soft: var(--brown);
    --paper: #ffffff;
    --paper-soft: var(--cream-light);
    --line: #f0dcc0;
    --border: rgba(192, 57, 43, 0.22);
    --border-gold: rgba(192, 57, 43, 0.45);

    /* Legacy aliases */
    --bg-card-solid: var(--bg-card);
    --text-light: var(--text);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--cream-light);
    color: var(--text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { padding-left: 20px; }

/* ---------- Promo marquee (top of page) ---------- */
.promo-marquee {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--red), var(--orange-deep), var(--red));
    color: #fff;
    padding: 6px 0;
}
.promo-marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: promo-marquee-scroll 20s linear infinite;
}
.promo-marquee-track span {
    padding-right: 24px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}
@keyframes promo-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .promo-marquee-track { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 18px rgba(23,19,15,0.06);
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.1;
    flex-shrink: 0;
}
.brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    box-shadow: 0 4px 14px rgba(255,122,26,0.35);
}
.brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-text {
    color: var(--ink);
    font-size: 0.85rem;
}
.brand-text em {
    display: block;
    font-style: normal;
    font-size: 1.1rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--orange), var(--red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Desktop nav links (center) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.nav-links > a {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-links > a:hover { color: var(--orange); }
.nav-actions-mobile { display: none; }

.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.admin-name { color: var(--ink-soft); margin-right: 8px; }

/* Header buttons override (light header) */
.site-header .btn-outline {
    border-color: var(--orange);
    color: var(--orange);
}
.site-header .btn-solid { color: var(--brown-dark); }

/* Hamburger toggle (mobile only) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px rgba(23,19,15,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.open { max-height: 400px; }
    .nav-links > a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
    .nav-actions-mobile { display: flex; gap: 10px; padding: 16px 24px; }
    /* Only the public site header has a hamburger (.nav-toggle) to replace
       .header-actions with. The admin header has no hamburger, so hiding
       .header-actions there would strand Logout/Settings unreachable —
       let it wrap onto its own row instead. */
    .site-header:not(.admin-header) .header-actions { display: none; }
    .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
    .admin-header .header-inner { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
    .admin-header .header-actions { flex-wrap: wrap; justify-content: center; }
    .admin-name { margin-right: 0; }
}

/* ---------- Buttons ---------- */
.btn-solid, .btn-outline, .btn-remove, .btn-remove-solid {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}
.btn-solid {
    background: linear-gradient(90deg, var(--orange-deep), var(--gold));
    color: var(--brown-dark);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--red);
    color: var(--red-deep);
}
.btn-remove {
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
}
.btn-remove-solid {
    background: var(--red);
    color: #fff;
}
.full-width { width: 100%; margin-top: 10px; }
.small { padding: 6px 12px; font-size: 0.85rem; }
.no-print { }

/* ---------- Flash messages ---------- */
.flash {
    max-width: 1000px;
    margin: 12px auto;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
}
.flash-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.flash-error { background: #fdecea; color: var(--red); border: 1px solid #f5c6c0; }

/* ---------- Hero banner (MRstudio-style split card + floating bar) ---------- */
.hero {
    width: 100%;
    background: var(--paper-soft);
    padding: 28px 20px 90px;
}
.hero-wrap {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}
.hero-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 420px;
    border-radius: 28px;
    padding: 0 5%;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.35), transparent 45%),
        var(--bg-warm);
    box-shadow: 0 20px 50px rgba(192,57,43,0.18);
}
.hero-left { flex: 1 1 50%; min-width: 0; padding: 30px 0; }
.hero-samiti { color: var(--brown); font-weight: 700; font-size: 0.85rem; margin: 0; }
.hero-tagline-top { color: var(--red-deep); font-weight: 700; margin: 8px 0 0; letter-spacing: 2px; font-size: 0.8rem; }
.hero-title {
    font-size: clamp(1.5rem, 3.6vw, 2.5rem);
    margin: 6px 0;
    font-weight: 900;
    line-height: 1.15;
    color: var(--brown-dark);
}
.hero-title .glitch {
    position: relative;
    display: inline-block;
    color: #ffffff;
    -webkit-text-stroke: 1px var(--red-deep);
    font-size: clamp(1.9rem, 4.6vw, 3.1rem);
    letter-spacing: 2px;
}
.hero-slogan { color: var(--brown-mid); font-size: clamp(0.8rem, 1.4vw, 1.05rem); margin: 10px 0 0; font-weight: 700; }
.btn-hero {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    padding: clamp(12px, 1.6vw, 16px) clamp(20px, 3vw, 34px);
    margin-top: 22px;
    background: linear-gradient(90deg, var(--red-deep), var(--red));
    color: var(--gold);
}
.pulse { animation: pulse-btn 2s infinite; }
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
    70% { box-shadow: 0 0 0 16px rgba(192,57,43,0); }
    100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}

.hero-right {
    position: relative;
    flex: 1 1 46%;
    height: 100%;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
}
.hero-players {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 20px 24px rgba(0,0,0,0.25));
}

/* Floating stats bar — overlaps the bottom of the hero card, MRstudio "Facilities" style */
.hero-float-bar {
    position: relative;
    z-index: 3;
    margin: -60px auto 0;
    max-width: 1080px;
    background: var(--paper);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(23,19,15,0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 28px;
}
.hfb-item { display: flex; align-items: center; gap: 10px; }
.hfb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--paper-soft);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hfb-item .hfb-label { display: block; color: var(--ink-soft); font-size: 0.72rem; }
.hfb-item strong { color: var(--ink); font-size: 0.92rem; font-weight: 800; white-space: nowrap; }
.hfb-cta {
    background: linear-gradient(90deg, var(--orange), var(--red));
    color: #fff;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 12px;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hfb-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(192,57,43,0.3); }

@media (max-width: 860px) {
    .hero-card { flex-direction: column; text-align: center; padding: 30px 6%; min-height: 0; }
    .hero-left { padding: 10px 0 0; }
    .hero-right { width: 100%; height: 220px; }
    .hero-players { max-height: 220px; }
    .hero-float-bar {
        margin-top: -40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
        align-items: stretch;
    }
    .hfb-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
        background: var(--cream-light);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 14px 10px;
        min-width: 0;
        min-height: 110px;
        height: 110px;
        box-sizing: border-box;
    }
    .hfb-item > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        min-width: 0;
        width: 100%;
    }
    .hfb-item .hfb-label {
        font-size: 0.7rem;
    }
    .hfb-item strong {
        white-space: normal;
        font-size: 0.82rem;
        line-height: 1.3;
        display: block;
        word-break: break-word;
    }
    .hfb-icon {
        width: 36px;
        height: 36px;
        margin: 0 auto;
    }
    .hfb-cta {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 14px 20px;
        border-radius: 14px;
        text-align: center;
        font-size: 1rem;
        box-sizing: border-box;
    }
}

/* ---------- Sections (base) ---------- */
.page-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
}
.section-head {
    text-align: center;
    margin-bottom: 36px;
}
.section-head-dark .section-title { color: transparent; }
.section-sub {
    color: var(--ink-soft);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 8px auto 0;
    line-height: 1.6;
}
.section-sub-light { color: var(--text-muted); }
.section-badge {
    display: inline-block;
    margin: 0 auto 8px;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--red-deep);
    border: 1px solid var(--border-gold);
    background: rgba(255, 204, 51, 0.15);
}
.page-section > .section-badge { display: table; margin-left: auto; margin-right: auto; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    border-radius: 3px;
}

/* ---------- About (design2: comic pop-art burst) ---------- */
.section-about {
    max-width: 100%;
    width: 100%;
    padding: 60px 20px;
}
.about-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 480px;
    padding: 60px 40px;
    border-radius: 0;
    overflow: hidden;
    background: none;
   
}
.about-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    background: #fffdf5;
    border: 4px solid var(--red-deep);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 8px 8px 0 rgba(122,42,16,0.75);
}
.about-badge {
    color: var(--red);
    border-color: var(--red-deep);
    background: var(--cream-soft);
}
.about-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--brown-dark);
    font-weight: 900;
    letter-spacing: 0.5px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 4px;
}
.about-title::after { background: var(--red); width: 50px; height: 4px; }
.about-text {
    color: var(--brown);
    max-width: none;
    margin: 16px 0 0;
    font-size: 1.02rem;
    line-height: 1.75;
}
.about-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}
.about-point {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brown-dark);
    background: var(--cream-soft);
    border: 2px solid var(--red-deep);
    transition: transform 0.2s ease;
}
.about-point:hover { transform: translateY(-2px); }
.about-point-icon { font-size: 1rem; }
.about-free-badge {
    display: inline-block;
    margin-top: 24px;
    padding: 11px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--brown-dark);
    background: linear-gradient(90deg, var(--gold), var(--orange));
    border: 2px solid var(--red-deep);
    box-shadow: 4px 4px 0 rgba(122,42,16,0.6);
}
@media (max-width: 720px) {
    .about-card { padding: 36px 16px; min-height: auto; }
    .about-content { padding: 28px 22px; }
    .about-points { flex-direction: column; align-items: center; }
}

/* ---------- Business-card credits (wave split design) ---------- */
.biz-cards-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    max-width: 1100px;
    margin: 36px auto 0;
    padding: 0 20px;
}

.biz-card {
    position: relative;
    display: flex;
    flex: 1 1 420px;
    width: 100%;
    max-width: 520px;
    min-height: 200px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(192,57,43,0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.biz-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(192,57,43,0.24);
}

/* Light panel (logo side) */
.biz-card__panel--light {
    flex: 0 0 44%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    padding: 24px 16px;
    z-index: 2;
}

/* Warm panel (info side) — banner red, not black */
.biz-card__panel--warm {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, var(--red-deep) 0%, var(--red) 100%);
    padding: 28px 24px 28px 36px;
    z-index: 1;
}

/* S-curve wave between panels */
.biz-card--front .biz-card__panel--warm::before {
    content: "";
    position: absolute;
    left: -42px;
    top: 0;
    bottom: 0;
    width: 52px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 200' preserveAspectRatio='none'%3E%3Cpath fill='%237a2a10' d='M52,0 C18,35 18,85 52,100 C18,115 18,165 52,200 L0,200 L0,0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    z-index: 0;
}
.biz-card--back .biz-card__panel--warm::after {
    content: "";
    position: absolute;
    right: -42px;
    top: 0;
    bottom: 0;
    width: 52px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 200' preserveAspectRatio='none'%3E%3Cpath fill='%237a2a10' d='M0,0 C34,35 34,85 0,100 C34,115 34,165 0,200 L52,200 L52,0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    z-index: 0;
}
.biz-card--back .biz-card__panel--warm {
    padding: 28px 36px 28px 24px;
}

/* Orange accent curves (like reference image) */
.biz-card__accent {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.biz-card__accent--top {
    width: 110px;
    height: 110px;
    top: -40px;
    right: -20px;
    opacity: 0.95;
}
.biz-card__accent--bottom {
    width: 130px;
    height: 130px;
    bottom: -50px;
    left: -30px;
    opacity: 0.9;
}

/* Logo slot */
.biz-card__logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    width: 100%;
}
.biz-card__logo {
    max-width: 145px;
    max-height: 145px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.biz-card__logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px;
    border: 2px dashed rgba(192,57,43,0.35);
    border-radius: 14px;
    background: var(--cream-light);
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}
.biz-card__logo-fallback em {
    font-style: normal;
    color: var(--red-deep);
    font-weight: 700;
    font-size: 0.68rem;
}
.biz-card__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cream-soft), var(--orange));
    color: var(--brown-dark);
    font-size: 1rem;
    font-weight: 900;
}
.biz-card__logo-wrap.has-logo .biz-card__logo-fallback { display: none; }

/* Info content */
.biz-card__content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.biz-card__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 6px;
}
.biz-card__name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}
.biz-card__line {
    display: block;
    width: 36px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 10px 0 14px;
}
.biz-card__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.biz-card__contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
}
.biz-card__ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold);
    font-size: 0.75rem;
}
.biz-card__contacts a {
    color: #fff;
    transition: color 0.2s ease;
}
.biz-card__contacts a:hover { color: var(--gold); }

@media (max-width: 900px) {
    .biz-cards-wrap {
        flex-direction: column;
        align-items: center;
        max-width: 520px;
    }
    .biz-card {
        max-width: 480px;
        flex: none;
    }
}
@media (max-width: 480px) {
    .biz-card {
        flex-direction: column;
        min-height: auto;
    }
    .biz-card__panel--light {
        flex: none;
        padding: 28px 20px 20px;
    }
    .biz-card__panel--warm {
        padding: 24px 20px 28px;
    }
    .biz-card--front .biz-card__panel--warm::before,
    .biz-card--back .biz-card__panel--warm::after {
        display: none;
    }
    .biz-card--back {
        flex-direction: column-reverse;
    }
}

/* ---------- Features (modern card grid) ---------- */
.section-features {
    width: 100%;
    background: var(--paper);
    padding: 70px 20px 80px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-features-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.feat-badge {
    color: var(--orange);
    border-color: rgba(255,122,26,0.35);
    background: rgba(255,122,26,0.08);
}
.feat-kicker {
    text-align: center;
    color: var(--orange);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.feat-title {
    text-align: center;
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 900;
    margin: 0;
}
.section-features .section-sub { margin-top: 10px; }
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 10px;
}
.feat-card {
    position: relative;
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 28px 24px 24px;
    box-shadow: 0 6px 20px rgba(23,19,15,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}
.feat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255,122,26,0.12);
    border-color: rgba(255,122,26,0.35);
}
.feat-card:hover::before { opacity: 1; }
.feat-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--cream-soft), var(--orange));
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255,122,26,0.2);
}
.feat-num {
    position: absolute;
    top: 20px;
    right: 22px;
    color: var(--line);
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
}
.feat-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 800;
}
.feat-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Prize (spotlight layout) ---------- */
.prize-section {
    padding: 70px 20px;
}
.prize-section .section-sub-light { color: var(--text-muted); }
.prize-spotlight { margin-top: 30px; }
.prize-spot-winner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 44px 20px 38px;
    border-radius: 24px;
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(255,204,51,0.18), 0 20px 46px rgba(192,57,43,0.15);
}
.prize-spot-rays {
    position: absolute;
    inset: -40%;
    animation: prize-spin 16s linear infinite;
    pointer-events: none;
}
@keyframes prize-spin { to { transform: rotate(360deg); } }
.prize-spot-beam {
    position: absolute;
    top: -10%;
    left: 50%;
    width: 90px;
    height: 55%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,204,51,0.35) 55%, transparent 100%);
    clip-path: polygon(46% 0%, 54% 0%, 100% 100%, 0% 100%);
    filter: blur(2px);
    animation: prize-beam-flicker 0.9s infinite;
    pointer-events: none;
}
@keyframes prize-beam-flicker {
    0%, 100% { opacity: 0.85; }
    10% { opacity: 0.3; }
    20% { opacity: 0.9; }
    35% { opacity: 0.4; }
    50% { opacity: 1; }
    65% { opacity: 0.35; }
    80% { opacity: 0.8; }
    90% { opacity: 0.45; }
}
.prize-spot-crown {
    position: relative;
    display: block;
    font-size: 1.6rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.prize-spot-medal {
    position: relative;
    display: block;
    font-size: 3.4rem;
    line-height: 1;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.prize-spot-sparkle {
    position: absolute;
    top: -4px;
    right: -6px;
    font-size: 1.1rem;
    animation: prize-sparkle-blink 0.6s infinite;
}
@keyframes prize-sparkle-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(0.6); }
}
.prize-spot-rank {
    position: relative;
    display: block;
    color: var(--brown);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.prize-spot-amount {
    position: relative;
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 2px 12px rgba(255,204,51,0.5);
    animation: prize-amount-glow 1.8s ease-in-out infinite;
}
@keyframes prize-amount-glow {
    0%, 100% { text-shadow: 0 2px 12px rgba(255,204,51,0.5); }
    50% { text-shadow: 0 2px 26px rgba(255,204,51,1), 0 0 40px rgba(255,204,51,0.6); }
}
.prize-spot-row {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.prize-spot-mini {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px 12px;
    border-radius: 16px;
    background: var(--paper);
    border: 2px solid var(--border-gold);
    box-shadow: 0 8px 20px rgba(192,57,43,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prize-spot-mini:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(192,57,43,0.15); }
.prize-spot-mini-medal { display: block; font-size: 1.9rem; margin-bottom: 6px; }
.prize-spot-mini-rank { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.prize-spot-mini-amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--red);
    text-shadow: 0 2px 10px rgba(192,57,43,0.4);
    animation: prize-mini-glow 1.8s ease-in-out infinite;
}
@keyframes prize-mini-glow {
    0%, 100% { filter: brightness(1); text-shadow: 0 2px 10px rgba(192,57,43,0.4); }
    50% { filter: brightness(1.35); text-shadow: 0 2px 18px currentColor, 0 0 26px currentColor; }
}
.prize-spot-silver { border-color: #c0a880; }
.prize-spot-bronze { border-color: #cd7f32; }
.prize-spot-bronze .prize-spot-mini-amount { color: #b85c20; }
.prize-spot-fourth { border-color: var(--border); }
.prize-spot-fourth .prize-spot-mini-amount { color: var(--brown); }
.entry-fee-note {
    text-align: center;
    margin-top: 28px;
    font-size: 1.05rem;
    color: var(--text-muted);
}
.entry-fee-note strong {
    color: var(--brown-dark);
    background: linear-gradient(90deg, var(--gold), var(--orange));
    padding: 6px 18px;
    border-radius: 20px;
}
@media (max-width: 640px) {
    .prize-spot-row { flex-direction: column; }
    .prize-spot-medal { font-size: 2.6rem; }
    .prize-spot-amount { font-size: 1.9rem; }
}

/* ---------- Rules ---------- */
.section-rules {
    width: 100%;
    position: relative;
    background: #ffffff;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(192,57,43,0.07) 1.5px, transparent 0);
    background-size: 26px 26px;
    border-top: 2px solid var(--border-gold);
    border-bottom: 2px solid var(--border-gold);
    padding: 70px 20px;
    overflow: hidden;
}
.section-rules::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 240px;
    background: radial-gradient(ellipse at center, rgba(255,204,51,0.22), transparent 70%);
    pointer-events: none;
}
.section-rules .section-sub-light { color: var(--text-muted); }
.section-rules-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}
.rules-list {
    margin: 0 auto;
    color: var(--text);
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.rules-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--cream-light) 0%, #ffffff 60%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 4px 14px rgba(192,57,43,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rules-list li:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(192,57,43,0.16);
}
.rule-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-deep), var(--gold));
    box-shadow: 0 4px 10px rgba(255,157,77,0.4);
    color: var(--brown-dark);
    font-size: 0.78rem;
    font-weight: 900;
}
.rule-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 10px;
    background: var(--cream-card);
}
.rule-text { font-size: 0.95rem; line-height: 1.5; color: var(--brown); font-weight: 500; }
@media (max-width: 700px) {
    .rules-list { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.section-contact {
    width: 100%;
    background: var(--paper-soft);
    padding: 70px 20px 80px;
    border-top: 1px solid var(--line);
}
.section-contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}
.contact-badge {
    color: var(--orange);
    border-color: rgba(255,122,26,0.35);
    background: rgba(255,122,26,0.08);
}
.contact-title {
    background: linear-gradient(90deg, var(--orange), var(--red));
    -webkit-background-clip: text;
    background-clip: text;
}
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0 28px;
}
.contact-card {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 28px 24px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 8px 24px rgba(23,19,15,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255,122,26,0.18);
    border-color: var(--orange);
    color: var(--ink);
}
.contact-icon { font-size: 2rem; margin-bottom: 4px; }
.contact-label { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contact-number { font-size: 1.35rem; font-weight: 900; color: var(--ink); letter-spacing: 0.5px; }
.contact-cta {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--orange);
}
.contact-register-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

/* ---------- Forms ---------- */
.auth-page {
    min-height: 60vh;
    padding: 20px;
    background: var(--cream-light);
}
.auth-page, .page-section { }
.auth-card, .form-card, .dashboard-card {
    max-width: 560px;
    margin: 40px auto;
    background: var(--paper);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(192,57,43,0.08);
}
.form-card { max-width: 700px; }
h1 { margin-top: 0; color: var(--brown-dark); }
.sub { color: var(--text-muted); margin-top: -10px; }
.form-subhead { color: var(--red-deep); border-bottom: 1px solid var(--border-gold); padding-bottom: 6px; margin-top: 26px; }
.hint { color: var(--text-muted); font-size: 0.85rem; }

label { display: block; margin: 14px 0 6px; font-weight: 600; color: var(--brown); }
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    background: var(--cream-light);
    color: var(--text);
    font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--orange-deep);
    box-shadow: 0 0 0 3px rgba(255,157,77,0.2);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-switch { text-align: center; margin-top: 16px; color: var(--text-muted); }
.auth-switch a { color: var(--red-deep); font-weight: 700; }

/* ---------- Player rows (dynamic, unlimited) ---------- */
.player-row {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1.4fr auto;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
}

/* ---------- Team Registration (compact, single-page, 2-column) ---------- */
.team-reg-page { padding: 24px 20px; }
.team-reg-card {
    max-width: 1080px;
    margin: 16px auto;
    padding: 20px 26px;
}
.team-reg-card h1 { font-size: 1.3rem; margin-bottom: 2px; }
.team-reg-card .sub { font-size: 0.82rem; margin-bottom: 6px; }
.team-reg-card .form-subhead { font-size: 0.95rem; margin-top: 4px; padding-bottom: 4px; }
.team-reg-card .hint { font-size: 0.75rem; margin: 2px 0 8px; }
.team-reg-card label { font-size: 0.78rem; margin: 8px 0 4px; }
.team-reg-card input,
.team-reg-card select,
.team-reg-card textarea {
    padding: 7px 10px;
    font-size: 0.85rem;
}
.team-reg-card .grid-2 { gap: 10px; }
.team-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.team-reg-col { min-width: 0; }
.team-reg-players {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}
.team-reg-players .player-row { grid-template-columns: 1.6fr 0.7fr 1.2fr auto; gap: 6px; margin-bottom: 8px; }
.team-reg-submit { margin-top: 14px; padding: 10px; font-size: 0.9rem; }
@media (max-width: 780px) {
    .team-reg-grid { grid-template-columns: 1fr; }
    .team-reg-players { max-height: none; overflow-y: visible; }
}

/* ---------- Fee / UPI boxes ---------- */
.fee-box, .upi-box {
    background: var(--cream-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 14px;
    margin: 16px 0;
}
.fee-amount { color: var(--red); font-size: 1.4rem; font-weight: 800; }

/* ---------- Dashboard ---------- */
.team-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.team-summary > div { min-width: 0; }
.team-summary .label { display: block; color: var(--text-muted); font-size: 0.8rem; }
.team-summary .value { font-weight: 700; overflow-wrap: anywhere; word-break: break-word; }
.team-uid { color: var(--red-deep); }

.status-badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    margin: 10px 0 20px;
}
.status-pending { background: var(--cream-card); color: var(--brown); border: 1px solid var(--gold); }
.status-verified { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-rejected { background: #fdecea; color: var(--red); border: 1px solid #f5c6c0; }

/* ---------- Tables (dashboard + admin) ---------- */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}
.data-table th, .data-table td {
    border: 1px solid var(--border-gold);
    padding: 8px 10px;
    text-align: left;
    font-size: 0.9rem;
    white-space: nowrap;
}
.data-table th { background: var(--cream-soft); color: var(--red-deep); }
.data-table td { background: var(--paper); color: var(--text); }
@media (max-width: 768px) {
    .data-table { min-width: 560px; }
}

/* ---------- Admin ---------- */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.stat-card {
    background: var(--paper);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(192,57,43,0.06);
}
.stat-card strong { font-size: 1.4rem; color: var(--red); }
.stat-card.verified strong { color: #2e7d32; }
.stat-card.rejected strong { color: var(--red); }

.filter-bar { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.filter-bar input { flex: 1; min-width: 200px; }

.tag {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: capitalize;
}
.tag-registered { background: var(--cream-card); color: var(--brown); border: 1px solid var(--gold); }
.tag-payment_submitted { background: #fff3e0; color: var(--orange-deep); border: 1px solid var(--orange); }
.tag-verified { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.tag-rejected { background: #fdecea; color: var(--red); border: 1px solid #f5c6c0; }
.tag-pending { background: var(--cream-card); color: var(--brown); border: 1px solid var(--gold); }

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 10px;
    margin: 16px 0;
}
.details-grid p { margin: 0; min-width: 0; background: var(--cream-light); border: 1px solid var(--border-gold); border-radius: 6px; padding: 10px; color: var(--text); overflow-wrap: anywhere; word-break: break-word; }
.details-grid span { display: block; color: var(--text-muted); font-size: 0.78rem; }

.details-grid-with-photo {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 16px 0;
}
.details-grid-with-photo .details-grid { flex: 1; margin: 0; min-width: 0; }
.details-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-gold);
    flex-shrink: 0;
    background: var(--cream-light);
}

.payment-block {
    background: var(--cream-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.payment-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: 10px;
    margin-bottom: 12px;
}
.payment-meta p {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 0;
}
.payment-meta span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.payment-meta strong {
    color: var(--brown-dark);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.payment-proof-link { margin: 0 0 8px; }

.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}
.admin-actions input[type="text"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    display: block;
}
.inline-form { display: inline-flex; }
.reject-form {
    display: flex;
    flex: 1;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    align-items: center;
}
.reject-form input[type="text"] { flex: 1; min-width: 140px; }

/* ---------- WhatsApp notify (admin team details) ---------- */
.whatsapp-notify-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #e7f9ee;
    border: 1px solid #a5d6a7;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 14px 0;
}
.whatsapp-notify-box > p {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}
.whatsapp-notify-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: #fff;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,211,102,0.35); color: #fff; }

/* ---------- Team details mobile ---------- */
.team-details-page h1 {
    font-size: clamp(1.15rem, 4.5vw, 1.8rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.team-details-page h1 small {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--text-muted);
}
.team-details-page .tag { display: inline-block; margin: 8px 0 4px; }

@media (max-width: 700px) {
    .team-details-page {
        padding: 24px 14px 40px;
        max-width: 100%;
    }
    .details-grid-with-photo {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .details-photo {
        width: 96px;
        height: 96px;
        align-self: center;
    }
    .details-grid {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .whatsapp-notify-box {
        padding: 12px;
        gap: 8px;
    }
    .whatsapp-notify-actions {
        width: 100%;
        gap: 8px;
    }
    .whatsapp-notify-actions > a,
    .whatsapp-notify-actions .inline-form,
    .whatsapp-notify-actions .btn-outline,
    .whatsapp-notify-actions .btn-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .whatsapp-notify-actions .inline-form { display: block; }
    .whatsapp-notify-actions .inline-form .btn-outline { width: 100%; }
    .btn-whatsapp { white-space: normal; }

    .admin-actions {
        flex-direction: column;
    }
    .admin-actions .inline-form,
    .admin-actions .reject-form {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .admin-actions .btn-solid,
    .admin-actions .btn-remove-solid {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    .reject-form input[type="text"] {
        min-width: 0;
        width: 100%;
    }
    .payment-proof-link .btn-outline {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .payment-meta {
        grid-template-columns: 1fr 1fr;
    }
    .table-scroll {
        margin-left: -2px;
        margin-right: -2px;
        border-radius: 8px;
        border: 1px solid var(--line);
    }
    .data-table th, .data-table td {
        font-size: 0.8rem;
        padding: 8px;
    }
}

@media (max-width: 420px) {
    .details-grid,
    .payment-meta {
        grid-template-columns: 1fr;
    }
}

/* ---------- Payment wizard (team/payment.php) ---------- */
.payment-wizard { max-width: 640px; }
.wizard-steps {
    display: flex;
    gap: 8px;
    margin: 18px 0 22px;
}
.wizard-step {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 10px;
    background: var(--cream-light);
    border: 1px solid var(--border-gold);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.82rem;
}
.wizard-step.active {
    background: linear-gradient(90deg, var(--orange), var(--red));
    color: #fff;
    border-color: transparent;
}
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.wizard-actions .btn-solid { flex: 1; }
.upi-scan-box { text-align: center; }
.upi-qr-img {
    display: block;
    margin: 4px auto 12px;
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    background: #fff;
    padding: 8px;
}
.upi-id-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.upi-id-row code {
    background: var(--cream-light);
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.9rem;
    color: var(--brown-dark);
}

/* ---------- Admin Settings ---------- */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 16px;
}
.settings-card { max-width: none; margin: 0; }
.settings-qr-preview {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border-gold);
    background: #fff;
    padding: 8px;
}

/* ---------- Ticket ---------- */
.ticket-card {
    max-width: 550px;
    margin: 30px auto;
    background: var(--bg-warm);
    border: 2px solid var(--red);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(192,57,43,0.2);
}
.ticket-top { text-align: center; padding: 20px; border-bottom: 2px dashed rgba(255,255,255,0.5); background: rgba(255,255,255,0.15); }
.ticket-samiti { color: var(--brown-dark); font-size: 0.85rem; font-weight: 600; }
.ticket-title { margin: 6px 0; font-size: 1.8rem; color: var(--brown-dark); }
.ticket-title span {
    background: linear-gradient(90deg, var(--gold), var(--orange-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ticket-event { color: var(--brown); font-size: 0.85rem; }
.ticket-body { display: flex; justify-content: space-between; align-items: center; padding: 20px; gap: 16px; flex-wrap: wrap; background: rgba(255,255,255,0.85); }
.ticket-info p { margin: 4px 0; color: var(--brown-dark); }
.ticket-info span { display: block; color: var(--text-muted); font-size: 0.75rem; }
.ticket-qr { text-align: center; }
.ticket-qr img { border: 4px solid var(--paper); border-radius: 6px; }
.ticket-captain-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}
.ticket-code { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }
.ticket-footer {
    text-align: center;
    background: var(--gold);
    color: var(--brown-dark);
    font-weight: 800;
    padding: 10px;
}

/* ---------- Footer (multi-column, light) ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--paper-soft);
    padding: 50px 24px 0;
    margin-top: 40px;
    color: var(--ink-soft);
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 36px;
}
.footer-col h4 { color: var(--ink); font-size: 0.95rem; margin: 0 0 14px; }
.footer-col a, .footer-col span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.88rem;
    margin-bottom: 10px;
}
.footer-col a:hover { color: var(--orange); }
.footer-logo { margin-bottom: 12px; }
.footer-brand-text { color: var(--ink); }
.footer-about { font-size: 0.85rem; max-width: 320px; line-height: 1.6; }

.footer-credit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    text-align: center;
}
.footer-credit p { margin: 4px 0; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

@media (max-width: 760px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 460px) {
    .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .grid-2 { grid-template-columns: 1fr; }
    .player-row { grid-template-columns: 1fr 1fr; }
    .player-row input:nth-child(3) { grid-column: span 2; }
    .hero-title { font-size: 2rem; }
    .hero-title span { font-size: 2.4rem; }
    .ticket-body { flex-direction: column; }
}

@media print {
    .site-header, .site-footer, .no-print { display: none !important; }
    body { background: #fff; color: #000; }
}
