
/*
=========================================================
FC STEHBUFFET – COLOR SCHEME

Main:      #61232B
Secondary: #F7B52D
Light:     #E9D7A9
=========================================================
*/


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #24191a;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================
   GLOBAL
========================= */

.container {
    width: min(1150px, 92%);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section-light {
    background: #E9D7A9;
}

.section-dark {
    background: #61232B;
    color: white;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #61232B;
    margin-top: 5px;
}

.section-dark .section-heading h2 {
    color: white;
}

.eyebrow {
    color: #F7B52D;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: #61232B;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.2rem;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

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

.nav-links a {
    padding: 13px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: #F7B52D;
    color: #61232B;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    background: #61232B;
    color: white;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(97, 35, 43, 0.55),
            rgba(97, 35, 43, 0.55)
        ),
        url("images/gruam1.jpg");

    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;

    padding: 120px 50px;
    border-radius: 12px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    margin: 18px 0 25px;
}

.hero h1 span {
    color: #F7B52D;
}

.hero-text > p {
    max-width: 540px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-primary {
    background: #F7B52D;
    color: #61232B;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(247, 181, 45, 0.25);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline:hover {
    border-color: #F7B52D;
    color: #F7B52D;
}

.btn-secondary {
    background: #F7B52D;
    color: #61232B;
}

.hero-logo {
    display: flex;
    justify-content: center;
}

.logo-circle {
    background: none;
    border: none;
    border-radius: 0;
    width: 180px;
    height: auto;
}

.logo-circle img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================
   PAGE HERO
========================= */

.page-hero {
    padding: 100px 0;
    background: #61232B;
    color: white;
}

.page-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    margin: 15px 0;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
}


/* =========================
   MATCH CARD
========================= */

.next-match-card,
.match-result-card,
.upcoming-match {
    background: white;
    border-radius: 15px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 50px rgba(97, 35, 43, 0.12);
}

.team,
.match-team {
    text-align: center;
}

.team img,
.match-team img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.team h3,
.match-team h3 {
    color: #61232B;
    font-size: 1.15rem;
}

.match-info,
.upcoming-center {
    text-align: center;
}

.match-label,
.result-label {
    display: block;
    color: #61232B;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#next-match-date,
.upcoming-date {
    font-weight: 700;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown > div {
    background: #61232B;
    color: white;
    border-radius: 8px;
    min-width: 65px;
    padding: 10px 8px;
}

.countdown strong {
    display: block;
    color: #F7B52D;
    font-size: 1.6rem;
    line-height: 1.2;
}

.countdown span {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.center-button {
    text-align: center;
    margin-top: 25px;
}

.text-link {
    color: #61232B;
    font-weight: 800;
}


/* =========================
   FEATURE CARDS
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(97, 35, 43, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
}

.feature-card h3 {
    color: #61232B;
    font-size: 1.5rem;
    margin: 15px 0 10px;
}

.feature-card p {
    color: #5d5050;
    margin-bottom: 20px;
}

.card-link {
    color: #61232B;
    font-weight: 800;
}


/* =========================
   SQUAD
========================= */

.squad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.squad-category {
    margin-bottom: 70px;
}

.player-card {
    position: relative;
    background: white;
    border: 1px solid #eadede;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s ease;
}

.player-card:hover,
.player-card.touch-hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.player-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #F7B52D;
    color: #61232B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    z-index: 2;
}

.player-image {
    height: 270px;
    background: #E9D7A9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #61232B;
    color: #F7B52D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
}

.player-info {
    padding: 22px;
}

.position {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #9b7070;
}

.player-info h3 {
    color: #61232B;
    margin-top: 5px;
}


/* =========================
   SQUAD CTA
========================= */

.squad-match-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.squad-match-cta h2 {
    font-size: 2.3rem;
    margin: 8px 0;
}

.squad-match-cta p {
    opacity: 0.8;
}


/* =========================
   RESULT
========================= */

.result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.result strong {
    display: block;
    color: #61232B;
    font-size: 4rem;
    line-height: 1;
    margin: 10px 0;
}

.result .result-label,
.result strong {
    font-size: 1.7rem;
    font-weight: 800;
    color: #61232B;
}
.result small {
    font-size: 1rem;
    font-weight: 400;
    color: #61232B;
}
.result .match-date {
    display: block;
    width: 100%;
    text-align: center;
}

.match-date {
    color: #777;
    font-size: 0.9rem;
}

.upcoming-match {
    background: #61232B;
    color: white;
}

.upcoming-match .match-team h3 {
    color: white;
}

.upcoming-match .match-label {
    color: #F7B52D;
}

.upcoming-date {
    font-size: 1.1rem;
}

.upcoming-time {
    font-size: 1.8rem;
    font-weight: 900;
    color: #F7B52D;
    margin-bottom: 25px;
}

.upcoming-match .countdown > div {
    background: white;
    color: #61232B;
}

.upcoming-match .countdown strong {
    color: #61232B;
}

.upcoming-match .countdown span {
    color: #61232B;
}


/* =========================
   MATCH LIST
========================= */

.match-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-row {
    display: grid;
    grid-template-columns: 140px 1fr 100px 1fr 90px;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border-radius: 8px;
    background: #f7f3f3;
}

.match-row.upcoming {
    border: 2px solid #F7B52D;
    background: #fffaf0;
}

.match-row-date {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.match-row-date span {
    color: #888;
}

.match-row-team {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.match-row-team img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.match-score {
    text-align: center;
    color: #61232B;
    font-size: 1.4rem;
    font-weight: 900;
}

.match-status {
    text-align: center;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 900;
}

.match-status.won {
    background: #dcebdc;
    color: #2d672d;
}

.match-status.next {
    background: #F7B52D;
    color: #61232B;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #24191a;
    color: white;
    padding: 40px 0;
}

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

.footer strong {
    color: #F7B52D;
    font-size: 1.1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text > p {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo img {
    width: 180px;
    height: auto;
    display: block;
}

    .logo-circle {
        width: 230px;
        height: 230px;
        padding: 30px;
    }

    .squad-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .match-row {
        grid-template-columns: 1fr 1fr;
    }

    .match-score {
        order: 2;
    }

    .match-status {
        order: 3;
    }
}


@media (max-width: 650px) {

    .navbar {
        flex-direction: column;
        padding: 15px 0;
        gap: 10px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav-links a {
        padding: 8px 11px;
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .section {
        padding: 65px 0;
    }

    .next-match-card,
    .match-result-card,
    .upcoming-match {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .match-info,
    .upcoming-center {
        order: 2;
    }

    .squad-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .squad-match-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .match-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .match-row-date,
    .match-row-team {
        justify-content: center;
        align-items: center;
    }

    .match-score,
    .match-status {
        order: initial;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .countdown {
        flex-wrap: wrap;
    }
}

/* =========================
   GOALS
========================= */

.goals-card {
    max-width: 850px;
    margin: 25px auto 0;
    background: #f7f3f3;
    border-radius: 12px;
    padding: 25px 30px;
}

.goals-card h3 {
    color: #61232B;
    margin-bottom: 18px;
}

.goals {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.goal {
    background: white;
    border-left: 4px solid #F7B52D;
    border-radius: 6px;
    padding: 12px 18px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.goal strong {
    color: #61232B;
}

.goal span {
    color: #777;
    font-weight: 700;
}


/* =========================
   MATCH LOCATION
========================= */

.match-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 25px;
}


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

@media (max-width: 650px) {

    .goals {
        flex-direction: column;
    }

    .goal {
        justify-content: space-between;
    }

}

/* =========================
   HOME MATCH LOCATION
========================= */

.home-match-location {
    color: #777;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
}

/* =========================
   PLAYER HOVER EFFECT
========================= */

.player-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #61232B;
}

/* Beide Bilder liegen übereinander */

.player-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        filter 0.5s ease;
}

/* Seriöses Bild im Normalzustand */

.player-serious {
    filter:
        grayscale(1)
        brightness(0.3)
        sepia(1)
        saturate(5)
        hue-rotate(355deg)
        drop-shadow(0 0 3px #F7B52D);

    opacity: 1;
    z-index: 2;
}

/* Jubelbild zunächst unsichtbar */

.player-celebration {
    opacity: 0;
    z-index: 1;

    transform: scale(1.05);
}

/* Hover-Effekt */

.player-card:hover .player-serious {
    opacity: 0;
    transform: scale(1.05);
}

.player-card:hover .player-celebration {
    opacity: 1;
    transform: scale(1);
}

/* Spielerkarte bleibt interaktiv */

.player-card {
    cursor: pointer;
}

/* Auch für Tastaturbedienung */

.player-card:focus-within .player-serious {
    opacity: 0;
}

.player-card:focus-within .player-celebration {
    opacity: 1;
}

/* =========================
   DREI SPIELER PRO REIHE
========================= */

.players-grid,
.squad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

/* Tablet: zwei Spieler pro Reihe */

@media (max-width: 900px) {
    .players-grid,
    .squad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone: ein Spieler pro Reihe */

@media (max-width: 600px) {
    .players-grid,
    .squad-grid {
        grid-template-columns: 1fr;
    }
}



.team-photo {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 12px;
}

/* =========================
   STATISTICS
========================= */

.stats-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-highlight {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(97, 35, 43, 0.08);
    border-top: 4px solid #F7B52D;
}

.stat-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
}

.stat-label {
    display: block;
    color: #9b7070;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.stat-highlight strong {
    display: block;
    color: #61232B;
    font-size: 1.15rem;
}

.stat-value {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.9rem;
}


/* =========================
   TABLES
========================= */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(97, 35, 43, 0.08);
}

.player-stats-table,
.league-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 700px;
}

.player-stats-table th,
.league-table th {
    background: #61232B;
    color: white;
    padding: 16px 14px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-stats-table td,
.league-table td {
    padding: 15px 14px;
    border-bottom: 1px solid #eee5e5;
    text-align: left;
}

.player-stats-table tbody tr:hover,
.league-table tbody tr:hover {
    background: #fffaf0;
}

.player-name {
    text-align: left !important;
    font-weight: 800;
    color: #61232B;
}

.league-team {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-weight: 800;
}

.league-team img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


/* FC STEHBUFFET HERVORHEBEN */

.league-table .stehbuffet-row {
    background: #fff3cf;
    border-top: 3px solid #F7B52D;
    border-bottom: 3px solid #F7B52D;
}

.league-table .stehbuffet-row td {
    color: #61232B;
    font-weight: 800;
}

.league-table .stehbuffet-row .league-team {
    font-size: 1.05rem;
}

.league-table .stehbuffet-row .league-team img {
    width: 50px;
    height: 50px;
}

.league-table .stehbuffet-row td:last-child {
    color: #61232B;
    font-size: 1.1rem;
}


/* MOBILE */

@media (max-width: 900px) {

    .stats-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .stats-highlights {
        grid-template-columns: 1fr;
    }

    .stat-highlight {
        padding: 25px 20px;
    }

}

.stat-highlight {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-highlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(97, 35, 43, 0.16);
}


/* Spielerbild */
.stat-player-image {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #61232B;
}

.stat-player-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Standardbild */
.stat-player-serious {
    opacity: 1;
    transform: scale(1);
}

/* Jubelbild */
.stat-player-celebration {
    opacity: 0;
    transform: scale(1.05);
}


/* Hover */
.stat-highlight:hover .stat-player-serious {
    opacity: 0;
    transform: scale(1.08);
}

.stat-highlight:hover .stat-player-celebration {
    opacity: 1;
    transform: scale(1);
}


/* Text etwas sauberer */
.stat-highlight .stat-icon {
    display: block;
    margin-bottom: 8px;
}

.stat-highlight .stat-label {
    display: block;
}

.stat-highlight strong {
    display: block;
}

.stat-highlight .stat-value {
    display: block;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;
    padding: 4px;

    border-radius: 3px;
    color: #F7B52D;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.instagram-link svg {
    width: 44px;
    height: 44px;
    fill: currentColor;
    display: block;
}

.instagram-link:hover {
    background: #F7B52D;
    color: #61232B;
    transform: translateY(-2px);
}

/* =========================
   GOALS
========================= */

.goals-list {
    width: 100%;
    margin-top: 18px;
}

.goal-row {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 8px 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(97, 35, 43, 0.12);
}

.goal-minute {
    display: block !important;
    flex: 0 0 55px;
    font-weight: 800;
    color: #61232B;
}

.goal-number {
    display: block !important;
    flex: 0 0 65px;
    font-weight: 800;
    color: #61232B;
    font-size: 1rem;
}

.goal-player {
    display: block !important;
    flex: 0 0 140px;
    font-weight: 800;
    color: #F7B52D;
    font-size: 1rem;
}

.goal-assist {
    display: block !important;
    flex: 1;
    padding-left: 35px !important;
    margin: 0 !important;
    font-size: 0.95rem;
    font-weight: 700;
    color: #24191a;
}

@media (max-width: 600px) {

    .goal-row {
        overflow-x: auto;
    }

    .goal-minute {
        flex-basis: 45px;
    }

    .goal-number {
        flex-basis: 55px;
    }

    .goal-player {
        flex-basis: 100px;
    }

    .goal-assist {
        padding-left: 25px !important;
        white-space: nowrap;
    }

}

.stat-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.stat-carousel-button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(97, 35, 43, 0.18);
    border-radius: 50%;
    background: white;
    color: #61232B;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-carousel-button:hover {
    background: #F7B52D;
    color: #61232B;
}

.stat-carousel-position {
    min-width: 35px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(36, 25, 26, 0.55);
}

.stat-player-name {
    color: #F7B52D;
}

/* =========================================
   SPIELER POPUP
   ========================================= */

.player-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.player-modal.is-open {
    display: flex;
}

.player-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(36, 25, 26, 0.72);
    backdrop-filter: blur(4px);
}

.player-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #E9D7A9;
    border: 5px solid #F7B52D;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 28px;
    box-sizing: border-box;
}

.player-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #61232B;
    color: white;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.player-modal-close:hover {
    background: #F7B52D;
    color: #61232B;
}

.player-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 35px;
}

.player-modal-image {
    position: relative;
    width: 125px;
    height: 125px;
    flex: 0 0 125px;
    overflow: hidden;
    border-radius: 12px;
    background: #61232B;
}

.player-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player-modal-info {
    min-width: 0;
}

.player-modal-number {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #61232B;
}

.player-modal-name {
    margin: 0;
    color: #61232B;
    font-size: 2rem;
    line-height: 1;
}

.player-modal-age {
    margin-top: 8px;
    font-weight: 700;
    color: #24191a;
}

.player-modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.player-modal-stat {
    padding: 15px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    text-align: center;
}

.player-modal-stat-value {
    display: block;
    color: #61232B;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.player-modal-stat-label {
    display: block;
    margin-top: 4px;
    color: #24191a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 600px) {

    .player-modal {
        padding: 12px;
    }

    .player-modal-dialog {
        padding: 22px;
        border-radius: 14px;
    }

    .player-modal-header {
        gap: 14px;
    }

    .player-modal-image {
        width: 95px;
        height: 95px;
        flex-basis: 95px;
    }

    .player-modal-name {
        font-size: 1.6rem;
    }

    .player-modal-stats {
        gap: 8px;
    }

    .player-modal-stat {
        padding: 12px 8px;
    }
}

.player-card[data-player-id] {
    cursor: pointer;
}

.player-modal-loading {
    padding: 40px 10px;
    text-align: center;
    color: #61232B;
    font-weight: 800;
}