* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: radial-gradient(circle at top, #0b1624, #05070c);
    color: #eaf2ff;
    overflow-x: hidden;
}

/* ===== SNÍH ===== */
.snowflake {
    position: fixed;
    top: -10px;
    pointer-events: none;
    animation: fall linear infinite;
}
@keyframes fall {
    to { transform: translateY(110vh); }
}

/* ===== NAVBAR ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 50px;
    background: rgba(10,20,40,0.8);
    backdrop-filter: blur(14px);
}

nav h1 {
    font-size: 22px;
    letter-spacing: 1px;
}

nav a {
    color: #cfe3ff;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 6px;
}

nav a.active {
    color: #7ab6ff;
}

nav a.active::after {
    width: 100%;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #7ab6ff;
    transition: 0.35s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 58px;
    animation: glow 3s infinite;
}

@keyframes glow {
    0%,100% { text-shadow: 0 0 15px #7ab6ff; }
    50% { text-shadow: 0 0 35px #b9d8ff; }
}

.hero p {
    margin-top: 20px;
    color: #b5c9e8;
    max-width: 600px;
}

/* ===== SECTIONS ===== */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 90px 20px;
}

/* ===== GAME CARDS ===== */
.games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.game-card {
    background: rgba(18,32,60,0.8);
    border-radius: 16px;
    padding: 30px;
    cursor: pointer;
    transition: 0.35s;
    border: 1px solid #1c2f55;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(122,182,255,0.35);
}

.game-card.active {
    border-color: #7ab6ff;
}

.game-title {
    font-size: 20px;
    font-weight: 700;
}

.game-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    color: #b7c9e6;
    margin-top: 15px;
}

.game-card.active .game-content {
    max-height: 120px;
}

/* ===== PROGRESS CARDS ===== */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.progress-card {
    background: rgba(18,32,60,0.8);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #1c2f55;
}

.progress-bar {
    margin-top: 15px;
    height: 18px;
    background: #0d1425;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #7ab6ff, #b9d8ff);
    animation: load 2s forwards;
}

@keyframes load {
    from { width: 0; }
    to { width: var(--value); }
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 50px;
    color: #7f9ccc;
    background: rgba(10,20,40,0.6);
}
