:root {
    --sf: #E8621C;
    --sf2: #FF7A2F;
    --sf3: #C84E10;
    --nv: #0A0E1A;
    --nv2: #141829;
    --nv3: #1E2340;
    --wh: #FFF;
    --gd: #FFB830;
    --g4: #8B8FA8;
    --g6: #5A5E78;
    --gn: #00C853;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--wh);
    background: var(--nv);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

[data-lang="cs"] { display: none; }
body.cs [data-lang="en"] { display: none !important; }
body.cs [data-lang="cs"] { display: inline !important; }
body.cs div[data-lang="cs"], body.cs p[data-lang="cs"], body.cs h1[data-lang="cs"], body.cs h2[data-lang="cs"], body.cs h3[data-lang="cs"], body.cs span[data-lang="cs"] { display: inline !important; }
body.cs div[data-lang="en"], body.cs p[data-lang="en"], body.cs h1[data-lang="en"], body.cs h2[data-lang="en"], body.cs h3[data-lang="en"], body.cs span[data-lang="en"] { display: none !important; }

.label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: clamp(11px, 2.5vw, 13px);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sf);
    margin-bottom: 10px;
}

.heading-lg {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -.5px;
}

.heading-lg span { color: var(--sf); }

.accent-bar {
    width: 50px;
    height: 3px;
    background: var(--sf);
    margin-bottom: 16px;
}

.sub {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--g4);
    max-width: 500px;
    margin-top: 12px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2.5vw, 15px);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .4s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.btn-sf {
    height: 50px;
    background: var(--sf);
    color: var(--wh);
}

.btn-sf:hover {
    background: var(--sf2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 98, 28, .4);
}

.btn-ol {
    background: transparent;
    color: var(--wh);
    border: 2px solid rgba(255, 255, 255, .4);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}

.btn-ol:hover {
    border-color: var(--sf);
    color: var(--sf);
}

.btn-dk {
    background: var(--nv);
    color: var(--wh);
}

.btn-nav { 
    padding: 8px 18px; 
    font-size: 11px; 
}

.btn-full { 
    width: 100%; 
    justify-content: center; 
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideR {
    from { opacity: 0; transform: translateX(-80px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(232, 98, 28, .2); }
    50% { box-shadow: 0 0 40px rgba(232, 98, 28, .4); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.anim { opacity: 0; }
.anim.show { animation: fadeUp .6s ease forwards; }

.d1 { animation-delay: .1s !important; }
.d2 { animation-delay: .2s !important; }
.d3 { animation-delay: .3s !important; }
.d4 { animation-delay: .4s !important; }
.d5 { animation-delay: .5s !important; }

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, .92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 98, 28, .2);
    transition: all .3s;
}

.nav.scrolled {
    background: rgba(10, 14, 26, .98);
    border-bottom-color: var(--sf);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.nav-brand img { height: 48px; }

.nav-brand-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 3vw, 18px);
    color: var(--wh);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

.nav-brand-text small {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--sf);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-menu a {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    padding: 8px 14px;
    transition: color .3s;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--sf); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-sw {
    display: flex;
    align-items: center;
    overflow: hidden; 
    border-radius: 6px; 
    flex-shrink: 0; 
}

.lang-sw button {
    padding: 6px 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    white-space: nowrap;
}

.lang-sw button.on {
    background: var(--sf);
    color: var(--wh);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--wh);
    transition: all .3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--nv);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--nv) 0%, var(--nv2) 40%, rgba(232, 98, 28, .08) 100%), radial-gradient(ellipse at 80% 50%, rgba(232, 98, 28, .12) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(232, 98, 28, .06) 0%, transparent 50%);
}

.hero-diag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--nv);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 140px;
}

.hero-content { animation: slideR .8s ease; }

.hero-label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: clamp(11px, 2.5vw, 14px);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--sf);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--sf);
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    text-transform: uppercase;
    line-height: .9;
    letter-spacing: -2px;
    margin-bottom: 6px;
}

.hero h1 .ac {
    color: var(--sf);
    display: block;
}

.hero-tag {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    color: var(--gd);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp .6s ease .3s forwards;
}

.hero-desc {
    font-size: clamp(13px, 2vw, 15px);
    color: rgba(255, 255, 255, .6);
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp .6s ease .5s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp .6s ease .6s forwards;
}

.hero-vis {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeUp .8s ease .4s forwards;
}

.logo-wrap {
    width: 360px;
    height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(232, 98, 28, .15);
    animation: float 5s ease-in-out infinite;
}

.logo-ring:nth-child(2) {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-color: rgba(232, 98, 28, .1);
    animation-delay: -1.5s;
}

.logo-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    top: 20%;
    left: 20%;
    background: radial-gradient(circle, rgba(232, 98, 28, .15) 0%, transparent 70%);
    filter: blur(30px);
    animation: glow 3s ease-in-out infinite;
}

.logo-wrap img {
    width: 240px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 50px rgba(232, 98, 28, .3));
}

.ticker {
    background: var(--sf);
    padding: 14px 0;
    position: relative;
    z-index: 4;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-inner {
    display: inline-flex;
    animation: tickerScroll 30s linear infinite;
}

.ticker-item {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(11px, 2.5vw, 14px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wh);
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-item .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, .5);
    border-radius: 50%;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section {
    padding: 80px 0;
    position: relative;
}

.sh { 
    margin-bottom: 40px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sh h2 {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.sh p {
    display: block;
    width: 100%;
}

.sh.c { 
    text-align: center; 
}

.sh.c .accent-bar { 
    margin: 0 auto 16px; 
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    background: linear-gradient(135deg, var(--nv2), var(--nv3));
    border: 1px solid rgba(232, 98, 28, .15);
    padding: 40px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--sf);
}

.about-card h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    text-transform: uppercase;
    color: var(--sf);
    margin-bottom: 16px;
}

.about-card p {
    font-size: clamp(12px, 2vw, 14px);
    color: rgba(255, 255, 255, .65);
    line-height: 1.8;
}

.about-card .bg-ico {
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 4rem;
    opacity: .06;
}

.af-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px;
}

.af {
    background: rgba(232, 98, 28, .06);
    border: 1px solid rgba(232, 98, 28, .1);
    padding: 20px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.af .ico {
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: block;
}

.af h4 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 14px);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wh);
    margin-bottom: 4px;
}

.af p {
    font-size: clamp(10px, 1.8vw, 12px);
    color: var(--g4);
}

.fc {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 20px 24px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 90px 1fr 140px;
    align-items: center;
    gap: 20px;
    transition: all .3s;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.fc:hover {
    background: rgba(232, 98, 28, .06);
    border-color: rgba(232, 98, 28, .2);
    transform: translateX(4px);
}

.fd { text-align: center; }
.fd .dy {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 4vw, 2rem);
    color: var(--sf);
    line-height: 1;
}

.fd .mo {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: clamp(10px, 2vw, 12px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--g4);
}

.fm {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.team-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.score {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(12px, 2.5vw, 14px);
    color: var(--wh);
    background: rgba(255, 255, 255, .08);
    padding: 2px 8px;
    border-radius: 4px;
}

.score small {
    font-size: 10px;
    color: var(--g4);
    font-family: 'Poppins', sans-serif;
}

.match-result-text {
    width: 100%;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(11px, 2.2vw, 13px);
    font-weight: 700;
    color: var(--gd);
    text-transform: uppercase;
    margin-top: 4px;
}

.badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.fb.playoff { background: rgba(255, 184, 48, .15); color: var(--gd); }
.fb.win { background: var(--gn); color: #000; font-weight: 700; }

.ft {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: clamp(13px, 2.8vw, 16px);
    text-transform: uppercase;
    color: var(--wh);
}

.ft.hm { color: var(--sf); }

.fv {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(10px, 2vw, 13px);
    color: var(--g4);
    background: rgba(255, 255, 255, .05);
    padding: 4px 12px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

.fmeta {
    text-align: right;
    font-size: clamp(10px, 2vw, 12px);
    color: var(--g4);
}

.fmeta .time {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2.5vw, 15px);
    color: var(--wh);
}

.fb {
    display: inline-block;
    padding: 3px 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(8px, 1.8vw, 10px);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 100%, 5px 100%);
    margin-top: 4px;
}

.fb.home {
    background: rgba(0, 200, 83, .15);
    color: var(--gn);
}

.fb.away {
    background: rgba(232, 98, 28, .15);
    color: var(--sf2);
}

.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tb {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(11px, 2vw, 13px);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .3s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.tb.on {
    background: var(--sf);
    border-color: var(--sf);
    color: var(--wh);
}

.tp { display: none; }
.tp.on { display: block; }

.tg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.tc {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .3s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.tc:hover {
    background: rgba(232, 98, 28, .06);
    border-color: rgba(232, 98, 28, .15);
}

.td {
    text-align: center;
    flex-shrink: 0;
    width: 50px;
}

.td .d {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--sf);
    line-height: 1;
}

.td .m {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--g4);
}

.ti h4 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(11px, 2vw, 13px);
    text-transform: uppercase;
    color: var(--wh);
}

.ti p {
    font-size: 11px;
    color: var(--g4);
}

/* TEAM */
.team-sub { margin-bottom: 20px; }
.team-sub h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    text-transform: uppercase;
    color: var(--sf);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-sub h3::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--sf);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.pl {
    background: linear-gradient(180deg, var(--nv3) 0%, var(--nv2) 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 6px;
    overflow: hidden;
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pl:hover {
    border-color: var(--sf);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(232, 98, 28, .15);
}

.pl-top {
    width: 100%;
    height: 250px;
    background: #0a0e1a; 
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-top .player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    margin: 0;
    padding: 0;
    aspect-ratio: 3/4;
    transition: transform .4s ease;
}

.pl-top .num {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: rgba(232, 98, 28, .12);
}

.pl-top .photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(232, 98, 28, .1);
    border: 2px dashed rgba(232, 98, 28, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, .2);
}

.pl-bot {
    padding: 12px;
    text-align: center;
    border-top: 2px solid rgba(232, 98, 28, .2);
}

.pl-bot h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: clamp(11px, 2.2vw, 13px);
    text-transform: uppercase;
    color: var(--wh);
    margin-bottom: 2px;
    line-height: 1.2;
}

.pl-bot .pos {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: clamp(9px, 1.8vw, 10px);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sf);
    display: block;
    margin-top: 2px;
}

.pl.rec .pl-top { background: linear-gradient(135deg, var(--sf3), var(--sf)); }
.pl.rec .pl-top .num { color: rgba(255, 255, 255, .15); }
.pl.committee .pl-top { background: linear-gradient(135deg, var(--nv3), rgba(232, 98, 28, .15)); }

/* GALLERY */
.gg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}

.gi {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: transform .3s;
}

.gi:hover { transform: scale(1.02); }
.gi:first-child { grid-column: span 2; grid-row: span 2; }

.gph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--nv2), var(--nv3), rgba(232, 98, 28, .1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gph .em { font-size: 2rem; opacity: .4; }
.gph span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

.join-s {
    background: linear-gradient(135deg, var(--sf) 0%, var(--sf3) 100%);
    position: relative;
    overflow: hidden;
}

.join-s::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(255, 255, 255, .03) 25px, rgba(255, 255, 255, .03) 26px);
}

.join-s .container {
    position: relative;
    z-index: 1;
}

.jg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.jf { display: grid; gap: 14px; }

.jf input, .jf select, .jf textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--wh);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 2vw, 14px);
    transition: all .3s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.jf input::placeholder, .jf textarea::placeholder { color: rgba(255, 255, 255, .5); }
.jf input:focus, .jf select:focus, .jf textarea:focus {
    outline: none;
    border-color: var(--wh);
    background: rgba(255, 255, 255, .18);
}

.jf select { appearance: none; cursor: pointer; }
.jf select option { background: var(--nv); color: var(--wh); }
.jf textarea { resize: vertical; min-height: 80px; }

.cg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.cl {
    list-style: none;
    display: grid;
    gap: 28px;
    margin-top: 24px;
}

.ci {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cico {
    width: 50px;
    height: 50px;
    background: rgba(232, 98, 28, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.ci h4 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sf);
    margin-bottom: 2px;
}

.ci p, .ci a {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .3s;
}

.ci a:hover { color: var(--sf); }

.sr {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.sl {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all .3s;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.sl:hover {
    background: var(--sf);
    border-color: var(--sf);
    transform: translateY(-3px);
}

.sl img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

.cf { display: grid; gap: 14px; }

.cf input, .cf textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--wh);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all .3s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.cf input::placeholder, .cf textarea::placeholder { color: rgba(255, 255, 255, .3); }
.cf input:focus, .cf textarea:focus {
    outline: none;
    border-color: var(--sf);
    background: rgba(255, 255, 255, .06);
}

.cf textarea { resize: vertical; min-height: 120px; }

.spb {
    padding: 50px 0;
    background: var(--nv2);
    border-top: 1px solid rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.spf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.sp {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--g4);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .5;
    transition: all .3s;
}

.sp:hover {
    opacity: 1;
    color: var(--sf);
}

.footer {
    background: #060812;
    padding: 30px 0 20px;
    border-top: 2px solid var(--sf);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.fb2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb2 img { height: 36px; }
.fb2 span {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--wh);
    text-transform: uppercase;
}

.fc2 { font-size: 12px; color: var(--g6); }

.fn {
    display: flex;
    gap: 20px;
    list-style: none;
}

.fn a {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--g4);
    text-decoration: none;
    transition: color .3s;
}

.fn a:hover { color: var(--sf); }

/* GALLERY CONTAINER & SLIDESHOW */
.gallery-container {
    max-width: 900px;
    margin: 0 auto;
    background: #080C16;
    border: 3px solid #E8621C;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(232, 98, 28, 0.25);
}

.slideshow-frame {
    position: relative;
    height: 480px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    animation: fadeSlide 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active { display: block; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 20%;
    filter: brightness(1.18) contrast(1.12) saturate(1.15);
    image-rendering: -webkit-optimize-contrast;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(transparent, rgba(8, 12, 22, 0.95));
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    font-size: clamp(11px, 2.5vw, 14px);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 12, 22, 0.75);
    color: #E8621C;
    border: 1px solid #E8621C;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: #E8621C;
    color: #FFF;
    box-shadow: 0 0 12px #E8621C;
}

.prev { left: 15px; }
.next { right: 15px; }

.thumbnail-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: #0B101D;
}

.thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.4;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    border-color: #E8621C;
    transform: translateY(-2px);
}

@keyframes fadeSlide {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* SCORECARD MODAL STYLES */
#scorecard-modal.sc-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(5, 7, 15, 0.88) !important;
    backdrop-filter: blur(8px);
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.sc-modal-body {
    flex: 1;
    overflow-y: auto;
    max-height: calc(85vh - 60px);
}

.sc-modal-box {
    position: relative !important;
    background: var(--nv);
    border: 2px solid var(--sf);
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    color: var(--wh);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(232, 98, 28, 0.3);
}

.sc-modal-box::-webkit-scrollbar { width: 6px; }
.sc-modal-box::-webkit-scrollbar-track { background: var(--nv2); border-radius: 4px; }
.sc-modal-box::-webkit-scrollbar-thumb { background: var(--sf); border-radius: 4px; }

.sc-modal-box h3, .sc-modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 700;
    color: var(--sf);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-close-btn, .close-modal {
    background: transparent;
    border: none;
    color: var(--wh);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.sc-close-btn:hover, .close-modal:hover { color: var(--sf); }

.sc-accordion { margin-bottom: 12px; }

.sc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 12px;
}

.sc-header {
    width: 100%;
    background: #0f1527;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sc-header:hover {
    background: #141b30;
    border-color: rgba(232, 98, 28, 0.4);
}

.sc-team-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.sc-score-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.sc-arrow {
    font-size: 0.75rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.sc-accordion.active .sc-arrow { transform: rotate(180deg); }

.sc-body {
    display: none;
    padding: 12px 4px 4px 4px;
}

.sc-accordion.active .sc-body { display: block; }

.sc-section-title {
    color: var(--sf);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    margin: 12px 0 8px 0;
}

/* Horizontal scroll wrapper for scorecard tables */
.sc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

.sc-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.sc-table th, .sc-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

.sc-table th {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--sf);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.02);
}

.sc-player {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: var(--wh);
    line-height: 1.3;
}

.sc-out-desc {
    font-size: 10px;
    color: var(--g4);
    font-weight: 400;
    margin-top: 2px;
}

.sc-table td strong {
    color: var(--sf);
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
}

.sc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    color: var(--wh);
}

.sc-summary-row span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sf);
}

.sc-summary-row small {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: var(--g4);
    font-weight: 400;
}

.sc-total-row {
    background: rgba(232, 98, 28, 0.1);
    border-top: 1px solid var(--sf);
    border-bottom: 1px solid var(--sf);
    margin-bottom: 15px;
}

.sc-total-row strong {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    color: var(--wh);
}

/* RESPONSIVE MEDIA QUERIES */
@media(max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 110px;
    }
    .hero-label { justify-content: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-vis { order: -1; }
    .logo-wrap { width: 240px; height: 240px; }
    .logo-wrap img { width: 160px; }
    .about-grid, .jg, .cg { grid-template-columns: 1fr; }
    
    .nav-menu { display: none; }
    .burger { display: flex; }
    
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nv);
        padding: 20px;
        border-bottom: 2px solid var(--sf);
        gap: 8px;
        max-height: 80vh;
        overflow-y: auto;
    }    
    .fc { grid-template-columns: 80px 1fr; gap: 16px; }
    .fmeta { grid-column: 1/-1; text-align: left; margin-top: 6px; }
    .pl-top {
       height: 250px;
    }
}

@media(max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .af-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gg { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
    .gi:first-child { grid-column: span 2; }
    .tg { grid-template-columns: 1fr; }
    .footer .container { flex-direction: column; text-align: center; }
    
    .fc { 
        grid-template-columns: 1fr; 
        gap: 12px; 
        padding: 16px;
    }
    .fd { text-align: left; }
    .fm { flex-wrap: wrap; }
    
    .pl-top {
        height: 250px;
    }
    .pl-bot { padding: 10px; }
    
    .slideshow-frame { height: 280px; }
    .thumb { width: 50px; height: 38px; }
    .slide-btn { padding: 8px 12px; font-size: 1rem; }
    
    #scorecard-modal.sc-modal-overlay { padding: 8px; }
    .sc-modal-box { padding: 16px 12px; }
}

@media(max-width: 480px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .pl-top { height: 150px; }
    .pl-top .photo-placeholder { width: 50px; height: 50px; font-size: 1.2rem; }
    .slideshow-frame { height: 220px; }
    .thumbnail-bar { gap: 6px; padding: 10px 6px; }
    .thumb { width: 40px; height: 30px; }
    .pl-top {
        height: 250px;
    }
}

// Player Modal for Statistics
#player-modal .sc-modal-box {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh; /* Limits overall height */
    display: flex;
    flex-direction: column; /* Stacks header above body */
    overflow: hidden; /* Prevents whole box from scrolling */
    border-radius: 8px;
    background-color: #111;
    z-index: 1000000;
}

#player-modal-content {
    flex: 1;
    overflow-y: auto;
}

/* Modal Overlay Background */
.sc-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999 !important; /* Higher than all page elements */
    align-items: center;
    justify-content: center;
}

/* Modal Window Container */
.sc-modal-box {
    background-color: #1a1a1a;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000000 !important;
}

/* Force strict alignment for modal stats tables */
.sc-table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important; /* Forces columns to distribute evenly */
}

.sc-table th, 
.sc-table td {
    text-align: center !important; /* Ensures text in headers and body align vertically */
    padding: 8px 4px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* Optional: Ensure table wrapper spans full width */
.sc-table-wrapper {
    width: 100% !important;
    overflow-x: auto;
    margin-bottom: 16px;
}