body {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
    color: #000;
}
.container-fluid {
    max-width: 2000px;
    margin: 0 auto;
}
h1 {
    font-size: 3em;
    color: #000;
    font-weight: bold;
}
h2 {
    color: #000;
    font-weight: bold;
}
.link-green a {
    color: #008000;
    text-decoration: none;
}
.link-green a:hover {
    color: #005600;
}
.link-red a {
    color: #ff0000;
    text-decoration: none;
}
.link-red a:hover {
    color: #b30000;
}
.link-yellow a {
    color: #f1c40f;
    text-decoration: none;
}
.link-yellow a:hover {
    color: #b38f00;
}
.footer-text {
    font-size: 0.8em;
}
.list-unstyled img {
    border: 1px solid #000;
}
#hidden-album {
    transition: background 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}
#hidden-album.unlocked {
    animation: goldWave 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}
#hidden-album.unlocked::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.8) 75%,
        transparent 100%);
    background-size: 200% 200%;
    border-radius: 10px;
    z-index: -1;
    animation: sparkle 2s linear infinite;
}
@keyframes goldWave {
    0%, 100% {
        background: linear-gradient(135deg, #e6a800 0%, #fff9e6 50%, #e6a800 100%);
        background-size: 200% 200%;
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}
@keyframes sparkle {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}
:root {
    --kb-letters-width: 20%;
    --player-card-base-width: 22%;
    --player-card-scale: 1.2;
    --player-card-container-scale: 1.35;
}
.game-container {
    position: relative;
    border: 5px solid black;
    width: 100%;
    max-width: calc(100vh - 8rem);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.game-container .kb-letters-container {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--kb-letters-width);
    height: 100%;
    padding: 10px;
}
.game-container .kb-letters-in-game {
    width: 100%;
    height: auto;
}
#reset-button {
    margin-top: 1rem;
    background-color: white;
    border: 3px solid black;
    color: black;
    font-weight: bold;
    font-size: clamp(0.6rem, 1.2vw, 1.2rem);
    padding: clamp(0.25rem, 0.6vw, 0.6rem) clamp(0.5rem, 1.2vw, 1.2rem);
    text-transform: uppercase;
}
#reset-button:hover {
    background-color: lightgray;
}
.game-area {
    position: absolute;
    top: 0;
    left: var(--kb-letters-width);
    width: calc(100% - var(--kb-letters-width));
    height: 100%;
}
.player-cards-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 5px;
    height: 33%;
    max-height: 33%;
    align-items: flex-start;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}
.player-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    flex: 1;
    max-width: 18%;
}
.player-name {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: fill;
}
.player-container {
    width: 100%;
    border: 2px solid black;
    background-color: white;
    min-height: 0;
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-card {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 5;
}
.football-pitch {
    position: absolute;
    top: 36%;
    left: 0;
    width: 100%;
    height: 64%;
    object-fit: contain;
    z-index: 1;
}
.field-slot {
    position: absolute;
    width: 11%;
    aspect-ratio: 1 / 1.3;
    border: 2px dashed rgba(0, 0, 0, 0.4);
    background-color: rgba(211, 211, 211, 0.6);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4vw;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.3);
}
.field-slot::before {
    content: "?";
    position: absolute;
}
/* Goalkeeper - Mihaylov (1) */
#field-slot-1 {
    top: 86%;
    left: 44.5%;
}
/* Defense (4 players) - Tsvetanov (4), Hubchev (5), Ivanov (3), Kiryakov (16) */
#field-slot-2 {
    top: 71%;
    left: 12%;
}
#field-slot-3 {
    top: 71%;
    left: 33%;
}
#field-slot-4 {
    top: 71%;
    left: 56%;
}
#field-slot-5 {
    top: 71%;
    left: 77%;
}
/* Midfield diamond (3 players) - Lechkov (9), Yankov (6), Balakov (20) */
#field-slot-6 {
    top: 54%;
    left: 28%;
}
#field-slot-7 {
    top: 58%;
    left: 44.5%;
}
#field-slot-8 {
    top: 54%;
    left: 61%;
}
/* Attack (3 players) - Stoichkov (8), Sirakov (10), Kostadinov (7) */
#field-slot-9 {
    top: 39%;
    left: 22%;
}
#field-slot-10 {
    top: 39%;
    left: 44.5%;
}
#field-slot-11 {
    top: 39%;
    left: 67%;
}
