* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background:
        linear-gradient(rgba(5, 12, 26, 0.78), rgba(5, 12, 26, 0.82)),
        url('/assets/images/players_back.webp') no-repeat center center fixed;
    background-size: cover;
    color: white;
    line-height: 1.6;
}

/* 🔥 БОЛЬШЕ ВОЗДУХА СВЕРХУ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 70px;
}

/* 🔥 КРАСИВЫЙ ЗАГОЛОВОК */
h1 {
    max-width: 900px;
    font-size: 42px;
    font-weight: 800;
    text-align: center;

    margin: 40px auto 25px;

    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;

    background: linear-gradient(to right, #fff, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* небольшой glow */
    text-shadow: 0 0 25px rgba(34, 197, 94, 0.25);
}

/* SEO текст */
.seo-text {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
    color: #cbd5e1;
    font-size: 17px;
}

/* GRID */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    justify-content: center;
}

/* CARD */
.player-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.07);
    border-color: #22c55e;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(34, 197, 94, 0.2);
}

/* PHOTO */
.player-photo,
.no-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.player-photo {
    object-fit: cover;
    border: 3px solid #22c55e;
    display: block;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    transition: 0.3s;
}

.player-card:hover .player-photo {
    transform: scale(1.05);
    border-color: #fff;
}

/* NO PHOTO */
.no-photo {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* NAME */
.player-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

/* INFO */
.player-info {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 16px;
    font-size: 14px;
    color: #cbd5e1;
}

.player-info div {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
}

.player-info div:last-child {
    border-bottom: none;
}

.player-info strong {
    color: #22c55e;
    font-weight: 600;
}

.player-info a {
    color: #38bdf8;
    text-decoration: none;
}

.player-info a:hover {
    text-decoration: underline;
    color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        background-position: center top;
        background-attachment: scroll;
    }

    .container {
        padding: 60px 18px 50px;
    }

    h1 {
        max-width: 310px;
        font-size: 26px;
        line-height: 1.3;
        letter-spacing: 1px;
        margin: 20px auto 14px;
    }

    .seo-text {
        max-width: 310px;
        margin: 0 auto 28px;
        font-size: 14px;
        line-height: 1.65;
    }

    .players-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .player-card {
        border-radius: 22px;
        padding: 26px 18px;
    }

    .player-name {
        font-size: 22px;
    }

    .player-info {
        font-size: 13px;
    }
}

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    h1 {
        font-size: 36px;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}