/* === GLOBAL STYLES === */
* {
    font-family: 'Outfit', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

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

@media (max-width: 1250px) {
    .container {
        padding: 0 20px;
    }
}

html {
    scroll-behavior: smooth;
}

.main-ico {
    color: #00F0FF;
    text-shadow: 0 0 15px #00F0FF;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: #0a0a0a;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00F0FF, #008cff);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* === HEADER SECTION === */
.header {
    background: rgb(17, 17, 17);
}

.header .navbar {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    width: 100%;
    background: black;
    border-bottom: 1px solid #00F0FF;
    padding: 20px 0;
}

.header .navbar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .navbar__content .logo {
    color: #00F0FF;
    font-weight: 900;
    font-size: 30px;
}

@media (max-width: 425px) {
    .header .navbar__content .logo {
        font-size: 25px;
    }
}

.header .navbar__content .burger {
    color: white;
    font-size: 25px;
    display: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header .navbar__content .burger:hover {
    color: #00F0FF;
    transform: scale(1.1);
    text-shadow: #00F0FF 0 0 10px;
}

@media (max-width: 1025px) {
    .header .navbar__content .burger {
        display: block;
        position: fixed;
        right: 20px;
    }
}

.header .navbar__content .show-list {
    pointer-events: auto;
    opacity: 1;
    right: 30px;
}

.header .navbar__content-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 1025px) {
    .header .navbar__content-list {
        background-color: rgba(0, 0, 0, 0.454);
        -webkit-backdrop-filter: blur(30px);
        backdrop-filter: blur(30px);
        border: 1px solid #00F0FF;
        padding: 20px;
        border-radius: 10px;
        position: fixed;
        flex-direction: column;
        align-items: end;
        width: auto;
        height: auto;
        top: 70px;
        right: -100px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
}

.header .navbar__content-list > li > a {
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header .navbar__content-list > li > a:hover {
    color: #00F0FF;
}

.header .navbar__content-list > li > a.active {
    background: #00F0FF;
    color: black;
}

/* ---- HEADER MAIN ---- */
.header .header-main {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

/* Animated grid */
.header .header-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

/* Radial glow */
.header .header-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 240, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---- DECORATIVE IMAGES ---- */
.header .header-main .header-img1 {
    position: absolute;
    width: 280px;
    filter: blur(8px) hue-rotate(10deg);
    right: 50px;
    top: 30px;
    opacity: 0.6;
    animation: floatBall 6s ease-in-out infinite;
}

@keyframes floatBall {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(8deg);
    }
}

@media (max-width: 1440px) {
    .header .header-main .header-img1 {
        width: 200px;
    }
}

@media (max-width: 1025px) {
    .header .header-main .header-img1 {
        display: none;
    }
}

.header .header-main .header-img2 {
    position: absolute;
    width: 280px;
    filter: blur(8px);
    bottom: 50px;
    opacity: 0.5;
    animation: floatBall 8s ease-in-out infinite reverse;
}

@media (max-width: 1440px) {
    .header .header-main .header-img2 {
        width: 200px;
        bottom: 0;
    }
}

@media (max-width: 1025px) {
    .header .header-main .header-img2 {
        display: none;
    }
}

/* ---- CONTENT WRAPPER ---- */
.header .header-main .header__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 200px;
    animation: fadeUp 0.8s ease both;
}

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

@media (max-width: 1250px) {
    .header .header-main .header__content {
        justify-content: space-between;
        gap: 50px;
    }
}

@media (max-width: 950px) {
    .header .header-main .header__content {
        flex-direction: column;
        align-items: start;
    }
}

/* ---- MAIN TITLE ---- */
.header__content-parent {
    width: 550px;
}

.header .header-main .header__content-parent > h1 {
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    font-weight: 900;
    font-size: 60px;
    line-height: 78px;
    letter-spacing: 4px;
    text-shadow: 0 0 60px rgba(0, 240, 255, 0.15);
}

@media (max-width: 1025px) {
    .header .header-main .header__content-parent > h1 {
        font-size: 55px;
        line-height: normal;
    }
}

@media (max-width: 550px) {
    .header .header-main .header__content-parent > h1 {
        font-size: 35px;
        text-align: center;
        line-height: normal;
    }
}

@media (max-width: 425px) {
    .header .header-main .header__content-parent > h1 {
        font-size: 30px;
        text-align: center;
    }
}

.header .header-main .header__content-parent > h1 > span {
    background: linear-gradient(90deg, #00f0ff, #3b82f6, #00f0ff);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* ---- CTA BUTTON ---- */
.header .header-main .header__content-parent > a {
    color: black;
    background: #00F0FF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 220px;
    height: 52px;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header .header-main .header__content-parent > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}

.header .header-main .header__content-parent > a:hover::before {
    left: 100%;
}

@media (max-width: 425px) {
    .header .header-main .header__content-parent > a {
        font-size: 16px;
        border-radius: 10px;
        width: 100%;
    }
}

.header .header-main .header__content-parent > a:hover {
    background: #009ea9;
    box-shadow: 0 0 40px rgba(0, 238, 255, 0.6), 0 0 80px rgba(0, 238, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 950px) {
    .header .header-main .header__content-parent {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .header .header-main .header__content-parent {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ---- INFO CARD ---- */
.header .header-main .header__content-child {
    background: linear-gradient(135deg, #000 0%, #080808 50%, #0f0f0f 100%);
    border: 1px solid rgba(0, 238, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35), inset 0 1px 0 rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    margin: 30px 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.header .header-main .header__content-child::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.header .header-main .header__content-child:hover {
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.4), inset 0 1px 0 rgba(0, 240, 255, 0.15);
}

.header .header-main .header__content-child > h3 {
    color: white;
    font-weight: 300;
    opacity: 70%;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.12);
    padding-bottom: 15px;
}

@media (max-width: 425px) {
    .header .header-main .header__content-child > h3 {
        font-size: 13px;
    }
}

/* ---- INFO ROW ---- */
.header .header-main .header__content-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.08);
    transition: all 0.25s ease;
}

.header .header-main .header__content-info:hover {
    background: rgba(0, 240, 255, 0.07);
    border-color: rgba(0, 240, 255, 0.22);
    transform: translateX(4px);
}

.header .header-main .header__content-info > i {
    color: #00F0FF;
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
}

@media (max-width: 425px) {
    .header .header-main .header__content-info > i {
        font-size: 16px;
    }
}

.header .header-main .header__content-text > h1 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

@media (max-width: 425px) {
    .header .header-main .header__content-text > h1 {
        font-size: 16px;
    }
}

.header .header-main .header__content-text > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 0.5px;
}

@media (max-width: 425px) {
    .header .header-main .header__content-text > p {
        font-size: 12px;
    }
}

/* ---- REGISTRATION FORM ---- */
.header .header-main .header__content-form {
    border: 1px solid rgba(0, 158, 169, 0.4);
    background: linear-gradient(160deg, #020202 0%, #080e0e 40%, #040c0c 100%);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 158, 169, 0.15), 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: fadeUp 0.9s 0.2s ease both;
    min-width: 500px;
    width: 450px;
}

/* Top cyan accent line */
.header .header-main .header__content-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00F0FF, transparent);
    border-radius: 2px;
}

/* Corner glow */
.header .header-main .header__content-form::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at bottom right, rgba(0, 240, 255, 0.08), transparent 70%);
    pointer-events: none;
}

@media (max-width: 950px) {
    .header .header-main .header__content-form {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 425px) {
    .header .header-main .header__content-form {
        padding: 20px;
    }
}

.header .header-main .header__content-form > h1 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 425px) {
    .header .header-main .header__content-form > h1 {
        font-size: 20px;
    }
}

.header .header-main .header__content-form > p {
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 425px) {
    .header .header-main .header__content-form > p {
        font-size: 13px;
    }
}

.header .header-main .header__content-form > span {
    color: #00F0FF;
    font-weight: 700;
    font-size: 18px;
}

/* ---- FORM INPUTS ---- */
.header .header-main .header__content-form .input-list {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
    gap: 8px;
}

.header .header-main .header__content-form .input-list > label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.header .header-main .header__content-form .input-list > input,
.header .header-main .header__content-form .input-list > select {
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 158, 169, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    outline: none;
    transition: all 0.3s ease;
}

.header .header-main .header__content-form .input-list > input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

.header .header-main .header__content-form .input-list > input:focus,
.header .header-main .header__content-form .input-list > select:focus {
    border-color: #00F0FF;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1), 0 0 20px rgba(0, 240, 255, 0.08);
    background: rgba(0, 240, 255, 0.04);
}

/* ---- SUBMIT BUTTON ---- */
.header .header-main .header__content-form > button {
    color: black;
    background: linear-gradient(90deg, #00F0FF 0%, #00ccd4 100%);
    border-radius: 12px;
    border: 0;
    width: 100%;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 28px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header .header-main .header__content-form > button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.45s ease;
}

.header .header-main .header__content-form > button:hover::before {
    left: 100%;
}

@media (max-width: 425px) {
    .header .header-main .header__content-form > button {
        font-size: 15px;
    }
}

.header .header-main .header__content-form > button:hover {
    background: linear-gradient(90deg, #009ea9 0%, #007a82 100%);
    box-shadow: 0 0 40px rgba(0, 238, 255, 0.55), 0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.header .header-main .header__content-form > button:active {
    transform: translateY(0px);
}

/* ---- MODAL ---- */
/* ===== MODAL WRAPPER ===== */

.config-wrapper{
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    width: 100vw;
    height: 100vh;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

/* ===== SHOW MODAL ===== */

.config-wrapper.show-modal{
    opacity: 1;
    pointer-events: auto;
}


/* ===== MODAL WINDOW ===== */

.config-modal{
    position: relative;

    background: linear-gradient(160deg,#060606,#0a0f0f);
    border: 1px solid rgba(0,158,169,0.45);

    border-radius: 20px;

    width: 600px;
    max-width: 90%;

    padding: 40px 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 12px;

    transform: scale(.85) translateY(20px);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);

    box-shadow:
        0 0 60px rgba(0,158,169,.2),
        0 30px 80px rgba(0,0,0,.7);

    overflow: hidden;
}

/* ===== MODAL OPEN ANIMATION ===== */

.config-wrapper.show-modal .config-modal{
    transform: scale(1) translateY(0);
}


/* ===== TOP NEON LINE ===== */

.config-modal::before{
    content:'';
    position:absolute;
    top:0;
    left:15%;
    right:15%;
    height:2px;
    background:linear-gradient(90deg,transparent,#00F0FF,transparent);
}


/* ===== ICON ===== */

.config-modal i#modalIcon{
    color:rgb(0,220,80);
    font-size:55px;
    text-shadow:0 0 20px rgba(0,200,80,.6);

    animation:popIn .5s .2s ease both;
}


/* ===== ICON ANIMATION ===== */

@keyframes popIn{
    from{
        transform:scale(0);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}


/* ===== TITLE ===== */

.config-modal h1{
    color:white;
    font-size:24px;
    font-weight:700;
    margin-top:10px;
}


/* ===== TEXT ===== */

.config-modal p{
    color:rgba(255,255,255,.65);
    line-height:1.6;
}


/* ===== CLOSE BUTTON ===== */

.close-modal{
    position:absolute;

    color:#009ea9;

    top:18px;
    right:18px;

    font-size:22px;

    cursor:pointer;

    width:34px;
    height:34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:8px;

    background:rgba(0,158,169,.1);

    transition:.25s;
}

.close-modal:hover{
    color:white;
    background:rgba(195,0,0,.35);
}


/* ===== MOBILE ===== */

@media (max-width:770px){

    .config-wrapper{
        padding:0 30px;
    }

}

@media (max-width:425px){

    .config-modal h1{
        font-size:18px;
    }

    .config-modal p{
        font-size:14px;
    }

}
/* === ABOUT SECTION === */
.main .about {
    position: relative;
    padding: 80px 0;
    background: #0f0f0f;
    overflow: hidden;
}

.main .about::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    z-index: 0;
}

.main .about::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.07) 0%, transparent 70%);
    bottom: -120px;
    right: -120px;
    z-index: 0;
}

.main .about__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

@media (max-width: 425px) {
    .main .about__content {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

.main .about__content-child {
    position: relative;
    background: linear-gradient(145deg, #111, #000);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 18px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.main .about__content-child::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent 70%);
    top: -80px;
    right: -80px;
    opacity: 0;
    transition: 0.4s ease;
}

.main .about__content-child:hover {
    transform: translateY(-12px);
    border: 1px solid rgba(0, 240, 255, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.2);
}

.main .about__content-child:hover::before {
    opacity: 1;
}

.main .about__content-child > i {
    font-size: 32px;
    color: #00F0FF;
}

.main .about__content-child > h3 {
    color: white;
    font-size: 20px;
}

.main .about__content-child > p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 26px;
}

@media (max-width: 425px) {
    .main .about__content-child > p {
        line-height: normal;
        font-size: 14px;
    }
}

.main .about__content-child > a {
    margin-top: auto;
    color: black;
    background: linear-gradient(135deg, #00F0FF, #009ea9);
    border-radius: 12px;
    width: 100%;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 425px) {
    .main .about__content-child > a {
        font-size: 14px;
        gap: 5px;
        width: 100%;
    }
}

.main .about__content-child > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

/* === COMAND SECTION === */
.comand {
    padding: 40px 0 60px;
    background: #050505;
    color: #fff;
}

@media (max-width: 400px) {

    .comand .container {
        padding: 0;
    }
}

.comand .container {
    width: min(1150px, calc(100% - 32px));
    margin: 0 auto;
}

.comand__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.comand__title h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comand__title h1 i {
    color: #22d3ee;
}

.comand__title p {
    margin: 0;
    opacity: .8;
    font-size: 18px;
}

@media (max-width: 535px) {

    .comand__title p {
        font-size: 16px;
        line-height: 30px;
    }
}

.comand__title-block {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(34, 211, 238, .25);
    border-radius: 14px;
    padding: 10px 20px;
}

.comand__title-block p {
    margin: 0 0 6px 0;
    opacity: .75;
    font-size: 12px;
}

.comand__title-block h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.comand__title-block span {
    color: #22d3ee;
}

.comand__parent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.comand__parent-child {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, .28);
    background: radial-gradient(120% 140% at 0% 0%, rgba(34, 211, 238, .18) 0%, rgba(0, 0, 0, .92) 55%, rgba(0, 0, 0, 1) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.comand__parent-child:nth-child(2) {
    border-color: rgba(168, 85, 247, .35);
    background: radial-gradient(120% 140% at 100% 0%, rgba(168, 85, 247, .22) 0%, rgba(0, 0, 0, .92) 55%, rgba(0, 0, 0, 1) 100%);
}

.comand__child-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: relative;
}

.comand__header-block h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.comand__header-block h4 {
    margin: 5px 0 0 0;
    font-size: 13px;
    font-weight: 600;
    opacity: .85;
}

.comand__header-block h4 span {
    color: #ffae00;
}

.comand__child-header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
    position: absolute;
    right: 10px;
}

.comand__child-players {
    padding: 10px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comand__child-players > i {
    font-size: 22px;
    opacity: .7;
    margin-right: 8px;
}

.comand__child-players > p {
    margin: 0;
    opacity: .8;
    font-size: 14px;
}

.comand__list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comand__list::-webkit-scrollbar {
    width: 8px;
}

.comand__list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .14);
    border-radius: 999px;
}

.comand__list::-webkit-scrollbar-track {
    background: transparent;
}

.comand__player {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all 0.3s ease;
}

.comand__player:hover {
    background: rgba(0, 0, 0, 0.71);
}

.comand__player i {
    opacity: .8;
    font-size: 14px;
    color: #ffaa00;
}

.comand__player .name {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: .95;
}

@media (max-width: 900px) {
    .comand__parent {
        grid-template-columns: 1fr;
    }

    .comand__title {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .comand__title-block {
        margin-left: 0;
    }

    .comand__list {
        max-height: 140px;
    }
}

@media (max-width: 420px) {
    .comand__child-header img {
        width: 48px;
        height: 48px;
    }

    .comand__header-block h1 {
        font-size: 16px;
    }
}

/* === PLAYERS SECTION === */
.main .players {
    background: radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 120, 255, 0.08), transparent 40%), #000;
    padding: 70px 0;
}

.main .players__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

@media (max-width: 475px) {
    .main .players__title {
        gap: 10px;
    }
}

.main .players__title > h1 {
    color: white;
    font-size: 45px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

@media (max-width: 770px) {
    .main .players__title > h1 {
        font-size: 35px;
    }
}

@media (max-width: 475px) {
    .main .players__title > h1 {
        font-size: 25px;
    }
}

@media (max-width: 375px) {
    .main .players__title > h1 {
        font-size: 20px;
        letter-spacing: normal;
    }
}

.main .players__title > p {
    color: white;
    opacity: 80%;
    font-size: 18px;
}

@media (max-width: 475px) {
    .main .players__title > p {
        font-size: 14px;
    }
}

.main .players__table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: linear-gradient(145deg, #111, #0a0a0a);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.05), 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.main .players__table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: transparent;
    overflow: hidden;
}

.main .players__table thead {
    background: linear-gradient(90deg, #00F0FF, #0088ff);
}

.main .players__table thead th {
    padding: 18px;
    text-align: left;
    color: black;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main .players__table tbody tr {
    transition: 0.3s ease;
}

.main .players__table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.main .players__table tbody tr:hover {
    background: rgba(0, 240, 255, 0.08);
    transform: scale(1.01);
}

.main .players__table tbody td {
    padding: 16px 18px;
    color: white;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
}

.main .players__table tbody td:first-child {
    color: #00F0FF;
    font-weight: 600;
}

/* === GALLERY SECTION === */
.main .gallery {
    background: black;
    padding: 70px 0;
}

.main .gallery__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
    gap: 15px;
}

.main .gallery__title > h1 {
    color: white;
    font-size: 35px;
}

@media (max-width: 425px) {
    .main .gallery__title > h1 {
        font-size: 25px;
    }
}

.main .gallery__title > h1 > i {
    color: #00F0FF;
}

.main .gallery__title > p {
    color: white;
    opacity: 80%;
    font-size: 18px;
}

@media (max-width: 425px) {
    .main .gallery__title > p {
        font-size: 16px;
    }
}

.main .gallery__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.main .gallery__content-item {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    height: 250px;
}

@media (max-width: 450px) {
    .main .gallery__content-item {
        height: 200px;
    }
}

.main .gallery__content-item .overflow {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.534);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    z-index: 5;
    border-radius: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.main .gallery__content-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main .gallery__content-item:hover img {
    transform: scale(1.15);
}

.main .gallery__content-item:hover .overflow {
    background: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
}

/* === HISTORY SECTION === */
.main .history {
    background: #111;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.main .history::before {
    content: "";
    position: absolute;
    top: -150px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.main .history::after {
    content: "";
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(174, 0, 255, 0.08) 0%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
}

.main .history__title {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main .history__title > h1 {
    color: white;
    font-size: 35px;
}

@media (max-width: 770px) {
    .main .history__title > h1 {
        font-size: 30px;
    }
}

@media (max-width: 425px) {
    .main .history__title > h1 {
        font-size: 25px;
    }
}

@media (max-width: 375px) {
    .main .history__title > h1 {
        font-size: 20px;
    }
}

.main .history__title > h1 > i {
    color: #00F0FF;
}

.main .history__title > p {
    color: white;
    opacity: 80%;
    font-size: 18px;
}

@media (max-width: 770px) {
    .main .history__title > p {
        font-size: 16px;
    }
}

@media (max-width: 425px) {
    .main .history__title > p {
        font-size: 14px;
    }
}

.main .history__parent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(470px, 1fr));
    align-items: start;
    gap: 20px;
}

@media (max-width: 600px) {
    .main .history__parent {
        display: flex;
        flex-direction: column;
    }
}

.main .history__parent-child {
    background: linear-gradient(135deg, #000 0%, #111 50%, #1a1a1a 100%);
    border: 1px solid rgba(0, 158, 169, 0.46);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
}

.main .history__parent-child:hover {
    border: 1px solid #00F0FF;
    box-shadow: #009ea9 0 0 10px;
}

.main .history__parent-child.active .history__parent-details {
    max-height: 270px;
    overflow-y: auto;
}

.main .history__parent-child.active .history__parent-details::-webkit-scrollbar { width: 6px; }
.main .history__parent-child.active .history__parent-details::-webkit-scrollbar-track { background: transparent; }
.main .history__parent-child.active .history__parent-details::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.25);
    border-radius: 10px;
}
.main .history__parent-child.active .history__parent-details::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.5);
}

.main .history__parent-child.active .history__parent-toggle i { transform: rotate(180deg); }

.main .history__parent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main .history__parent-header > h3 {
    color: white;
    opacity: 80%;
    font-size: 16px;
}

.main .history__parent-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.main .history__parent-score > h1 {
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.main .history__parent-score > h1 .comand__1 { color: #00F0FF; }
.main .history__parent-score > h1 .comand__2 { color: #ae00ff; }

.main .history__parent-ball {
    background: rgb(17,17,17);
    border: 1px solid rgba(0,158,169,0.41);
    border-radius: 10px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main .history__parent-ball > h1 {
    color: white;
    font-weight: 500;
    font-size: 25px;
}

.main .history__parent-ball > h3 {
    color: white;
    opacity: 80%;
}

.main .history__parent-toggle {
    background: transparent;
    border: none;
    color: #00F0FF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0,158,169,0.24);
    width: 100%;
    padding-bottom: 20px;
}

.main .history__parent-toggle > i { transition: transform 0.3s ease; }

.main .history__parent-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.main .history__parent-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: black;
    border: 1px solid rgba(0,158,169,0.36);
    border-radius: 10px;
    padding: 15px 20px;
}

.main .history__parent-player > h3 {
    color: white;
    font-weight: 500;
    font-size: 16px;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main .history__parent-player > h5 {
    color: white;
    opacity: 80%;
    font-size: 18px;
    font-weight: 400;
}

.main .history__parent-player > span {
    color: #00F0FF;
    font-size: 20px;
    font-weight: 700;
}

/* ── 600px ── */
@media (max-width: 600px) {
    .main .history__parent-child {
        width: 100%;
    }

    .main .history__parent-score > h1 {
        font-size: 15px;
    }
}

/* ── 500px ── */
@media (max-width: 500px) {
    .main .history__parent-header > h3 {
        font-size: 14px;
    }

    .main .history__parent-score {
        gap: 0;
        justify-content: space-between;
    }

    .main .history__parent-score > h1 {
        font-size: 13px;
        white-space: nowrap;
    }

    .main .history__parent-ball {
        gap: 6px;
        flex-shrink: 0;
    }

    .main .history__parent-ball > h1 {
        font-size: 20px;
    }

    .main .history__parent-player {
        padding: 10px 15px;
        gap: 6px;
    }

    .main .history__parent-player > h3 {
        font-size: 14px;
    }

    .main .history__parent-player > h5 {
        font-size: 16px;
    }

    .main .history__parent-player > span {
        font-size: 18px;
        flex-shrink: 0;
    }
}

/* ── 425px ── */
@media (max-width: 425px) {
    .main .history__parent-child {
        padding: 16px;
    }

    .main .history__parent-score {
        gap: 10px;
        justify-content: center;
    }

    .main .history__parent-score > h1 {
        font-size: 15px;
    }

    .main .history__parent-ball {
        gap: 5px;
    }

    .main .history__parent-ball > h1 {
        font-size: 18px;
    }

    .main .history__parent-ball > h3 {
        font-size: 18px;
    }

    .main .history__parent-player {
        padding: 10px 12px;
        gap: 6px;
    }

    .main .history__parent-player > h3 {
        font-size: 13px;
    }

    .main .history__parent-player > h5 {
        font-size: 16px;
    }

    .main .history__parent-player > span {
        font-size: 18px;
    }
}

/* ── 375px ── */
@media (max-width: 375px) {

    .main .history__parent-score {
        justify-content: space-between;
    }

    .main .history__parent-score > h1 {
        font-size: 14px;
    }

    .main .history__parent-player {
        padding: 9px 10px;
        gap: 5px;
    }

    .main .history__parent-player > h3 {
        font-size: 12px;
    }

    .main .history__parent-player > span {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    

    .main .history__parent-toggle {
        font-size: 12px;
        padding-bottom: 14px;
    }

    .main .history__parent-player {
        padding: 8px 9px;
        gap: 4px;
        border-radius: 8px;
        flex-wrap: wrap;
    }

    .main .history__parent-player > h3 {
        font-size: 15px;
        white-space: normal;
        flex: 1 1 100%;
        order: -1;
        text-align: center;
        margin: 10px 0;
    }

    .main .history__parent-player > span {
        font-size: 13px;
        flex-shrink: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5px 0;
    }
}

/* history player dropdown */
.player-wrap {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    border-radius: 14px;
    overflow: visible;
    margin-top: 10px;
    transition: .25s ease;
}

.player-wrap:hover {
    background: rgba(255, 255, 255, .045);
    border-color: rgba(34, 211, 238, .22);
}

.ball-total {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(34, 211, 238, .14);
    border: 1px solid rgba(34, 211, 238, .32);
    color: #7ee7ff;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
    transition: .2s ease;
    flex: 0 0 auto;
    white-space: nowrap;
}

.player-wrap:hover .ball-total {
    background: rgba(34, 211, 238, .18);
}

.ball-total .player-chevron {
    font-size: 12px;
    opacity: .9;
    transition: transform .2s ease;
}

.player-wrap.open .ball-total .player-chevron {
    transform: rotate(180deg);
}

.player-dropdown {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 0 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .25s ease, opacity .2s ease;
}

.player-wrap.open .player-dropdown {
    max-height: 240px;
    opacity: 1;
    padding: 10px 14px 12px;
}

.player-dropdown,
.player-dropdown * {
    list-style: none !important;
}

.player-dropdown .dropdown-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .06);
    margin-top: 8px;
}

.player-dropdown .dropdown-row:first-child {
    margin-top: 0;
}

.player-dropdown .dropdown-row:hover {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .48);
}

.player-dropdown .d-side {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-dropdown .d-side i {
    color: #ffae00;
    opacity: .95;
}

.player-dropdown .d-pts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(37, 99, 235, .18);
    border: 1px solid rgba(37, 99, 235, .35);
    color: #9bbcff;
    font-weight: 800;
    flex-shrink: 0;
    margin-left: auto;
}

.history__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.history__empty i {
    font-size: 64px;
    margin-bottom: 18px;
    opacity: .9;
    color: #ffffff;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, .15));
}

.history__empty p {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 0;
    opacity: .95;
}

@media (max-width: 600px) {
    .history__empty {
        padding: 40px 15px;
    }

    .history__empty i {
        font-size: 48px;
    }

    .history__empty p {
        font-size: 20px;
    }
}

@media (max-width: 520px) {
    .history__parent-player {
        gap: 10px;
    }

    .ball-total .ball-label {
        display: none;
    }

    .ball-total {
        padding: 7px 10px;
        border-radius: 10px;
        gap: 8px;
    }

    .ball-total .ball-num {
        font-size: 14px;
        font-weight: 900;
    }
}

.team-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .6px;
    flex: 0 0 auto;
    user-select: none;
}

.team-chip.t1 {
    background: rgba(34, 211, 238, .14);
    border: 1px solid rgba(34, 211, 238, .35);
    color: #7ee7ff;
}

.team-chip.t2 {
    background: rgba(168, 85, 247, .16);
    border: 1px solid rgba(168, 85, 247, .35);
    color: #d7b7ff;
}

@media (max-width: 520px) {
    .team-chip {
        height: 26px;
        min-width: 34px;
        padding: 0 8px;
        border-radius: 9px;
        font-size: 11px;
    }
}

/* === STATS SECTION === */
.main .stats {
    background: #0c0c0c;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.main .stats::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.12) 0%, transparent 70%);
    top: -120px;
    right: -120px;
}

.main .stats__title {
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.main .stats__title > h1 {
    color: white;
    font-size: 32px;
}

@media (max-width: 770px) {
    .main .stats__title > h1 {
        font-size: 25px;
    }
}

@media (max-width: 375px) {
    .main .stats__title > h1 {
        font-size: 20px;
    }
}

.main .stats__title > h1 i {
    color: #00F0FF;
}

.main .stats__title > p {
    color: white;
    opacity: 0.7;
    font-size: 16px;
}

.main .stats__content {
    position: relative;
    z-index: 2;
}

.main .stats__pro {
    position: relative;
    border-radius: 22px;
    padding: 40px 50px;
    min-height: 190px;
    width: 100%;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border: 1px solid rgba(0, 110, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s ease;
}

@media (max-width: 770px) {
    .main .stats__pro {
        padding: 30px 20px;
    }
}

@media (max-width: 425px) {
    .main .stats__pro {
        padding: 25px 15px;
    }
}

.main .stats__pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.main .stats__bg-number {
    position: absolute;
    font-size: 140px;
    font-weight: 900;
    color: rgba(0, 110, 255, 0.06);
    right: 30px;
    bottom: -10px;
    user-select: none;
}

.main .stats__info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.main .stats__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    background: rgba(0, 110, 255, 0.15);
    color: #006EFF;
    font-size: 12px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.main .stats__info h2 {
    color: white;
    opacity: 0.7;
    margin-bottom: 8px;
    font-size: 16px;
}

.main .stats__player {
    font-size: 30px;
    color: #006EFF;
    margin-bottom: 15px;
}

.main .stats__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main .stats__goals {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.main .stats__text {
    font-size: 16px;
    color: white;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .main .stats__pro {
        padding: 35px 20px;
    }

    .main .stats__bg-number {
        display: none;
    }

    .main .stats__player {
        font-size: 20px;
    }

    .main .stats__goals {
        font-size: 20px;
    }
}

.main .stats__side-decor {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.main .stats__vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.main .stats__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 110, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 110, 255, 0.3);
}

.main .stats__circle i {
    color: #006EFF;
    font-size: 16px;
}

@media (max-width: 768px) {
    .main .stats__side-decor {
        display: none;
    }
}

.stats__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media (max-width: 770px) {
    .stats__wrapper {
        width: 100%;
    }
}

.stats__game-date {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 110, 255, 0.08);
    border: 1px solid rgba(0, 110, 255, 0.25);
    border-radius: 30px;
    padding: 7px 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    align-self: flex-start;
}

.stats__game-date i {
    color: #006EFF;
    font-size: 12px;
}

.stats__game-date span {
    color: white;
    font-weight: 600;
}

.stats__leaderboard {
    width: 100%;
    background: linear-gradient(135deg, #0d0d0d, #000);
    border: 1px solid rgba(0, 110, 255, 0.25);
    border-radius: 18px;
    overflow: hidden;
}

.stats__lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats__lb-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.stats__lb-title i {
    color: #006EFF;
    font-size: 15px;
}

.stats__lb-month {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.stats__lb-cols {
    display: grid;
    grid-template-columns: 40px 1fr 80px 60px;
    padding: 8px 24px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats__lb-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px 60px;
    align-items: center;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.stats__lb-row:last-child {
    border-bottom: none;
}

.stats__lb-row:hover {
    background: rgba(0, 110, 255, 0.04);
}

.stats__lb-row.first {
    background: rgba(0, 110, 255, 0.07);
}

.stats__lb-row.first:hover {
    background: rgba(0, 110, 255, 0.11);
}

.lb-rank {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
}

.lb-rank.gold   { color: #FFD700; }
.lb-rank.silver { color: #C0C0C0; }
.lb-rank.bronze { color: #CD7F32; }

.lb-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; /* важно для обрезки текста */
}

.lb-name span:not(.lb-avatar) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-name .lb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 110, 255, 0.15);
    border: 1px solid rgba(0, 110, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #006EFF;
    font-weight: 700;
    flex-shrink: 0;
}

.lb-bar-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lb-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
}

.lb-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #006EFF, #00AAFF);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.stats__lb-row.first .lb-bar-fill {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.lb-goals {
    font-size: 15px;
    font-weight: 700;
    color: #006EFF;
    text-align: right;
    white-space: nowrap;
}

.stats__lb-row.first .lb-goals {
    color: #FFD700;
}

/* ── 500px ── */
@media (max-width: 500px) {
    .stats__lb-cols,
    .stats__lb-row {
        grid-template-columns: 32px 1fr 0 52px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .stats__lb-cols > *:nth-child(3),
    .stats__lb-row > *:nth-child(3) {
        display: none;
    }

    .stats__lb-header {
        padding: 14px 16px 12px;
    }

    .stats__lb-row {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .stats__lb-cols {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* ── 380px ── */
@media (max-width: 380px) {
    .stats__lb-cols,
    .stats__lb-row {
        grid-template-columns: 28px 1fr 48px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .stats__lb-title {
        font-size: 13px;
        gap: 7px;
    }

    .stats__lb-month {
        font-size: 11px;
        padding: 3px 9px;
    }

    .lb-name {
        font-size: 13px;
        gap: 6px;
    }

    .lb-name .lb-avatar {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .lb-goals {
        font-size: 13px;
    }
}

/* ── 320px ── */
@media (max-width: 320px) {
    .stats__leaderboard {
        border-radius: 12px;
    }

    .stats__lb-cols,
    .stats__lb-row {
        grid-template-columns: 24px 1fr 44px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .stats__lb-header {
        padding: 11px 10px 10px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .stats__lb-title {
        font-size: 12px;
        gap: 6px;
    }

    .stats__lb-month {
        font-size: 10px;
        padding: 3px 8px;
    }

    .lb-rank {
        font-size: 12px;
    }

    .lb-name {
        font-size: 12px;
        gap: 5px;
    }

    .lb-name .lb-avatar {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .lb-goals {
        font-size: 12px;
    }

    .stats__lb-row {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

/* === FOOTER SECTION === */
.footer {
    background: black;
    border-top: 1px solid rgba(255, 255, 255, 0.126);
}

.footer__content {
    padding: 50px 0;
    display: flex;
    gap: 50px;
}

@media (max-width: 1250px) {
    .footer__content {
        justify-content: space-between;
        gap: 0;
    }
}

@media (max-width: 850px) {
    .footer__content {
        flex-direction: column;
        gap: 30px;
    }
}

.footer__content-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 400px;
}

@media (max-width: 450px) {
    .footer__content-block {
        width: auto;
    }
}

.footer__content-block .logo {
    color: white;
    font-weight: 900;
    font-size: 25px;
}

.footer__content-block > p {
    color: white;
    opacity: 80%;
}

.footer__content-list {
    width: 400px;
}

@media (max-width: 1250px) {
    .footer__content-list {
        width: auto;
    }
}

.footer__content-list > h3 {
    color: white;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer__content-list > li {
    margin-bottom: 10px;
}

.footer__content-list > li > a {
    color: white;
    opacity: 80%;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer__content-list > li > a:hover {
    background: linear-gradient(90deg, #00f0ff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer__content-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__content-social > h3 {
    color: white;
    font-weight: 500;
}

.footer__content-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__content-social-icons > a {
    color: white;
    opacity: 80%;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.126);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer__content-social-icons > a:hover {
    border-color: #00F0FF;
    background: rgba(0, 158, 169, 0.41);
    color: #00F0FF;
}

.footer__hr {
    width: 100%;
    height: 1px;
    border: 1px solid rgba(255, 255, 255, 0.126);
}

.footer__text {
    color: white;
    opacity: 80%;
    text-align: center;
    padding: 30px 0;
}

@media (max-width: 450px) {
    .footer__text {
        font-size: 14px;
        line-height: 23px;
    }
}
