:root {
    --red: #ff3333;
    --neon: 0 0 15px rgba(255, 51, 51, 0.7);
    --font-h: 'Orbitron', sans-serif;
    --ua-blue: #0057b7;
    --ua-yellow: #ffd700;
}

body {
    margin: 0; background: #000; color: #fff;
    font-family: 'Roboto', sans-serif; overflow-x: hidden;
}

.wave-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top, #150000 0%, #000 100%);
    z-index: -1;
}

/* Перемикач мов */
.lang-bar { display: flex; justify-content: center; padding: 20px 0; }
.lang-switcher {
    position: relative; width: 98px; height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.4);
    border-radius: 50px; display: flex; align-items: center; cursor: pointer;
}
.toggle-bg {
    position: absolute; top: 3px; left: 50px;
    width: 44px; height: 32px; background: var(--red);
    border-radius: 50px; box-shadow: var(--neon);
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.flag { flex: 1; text-align: center; z-index: 1; font-size: 1.3rem; }

header { background: rgba(0,0,0,0.9); border-bottom: 1px solid #1a1a1a; }
nav { text-align: center; padding-bottom: 15px; }
.site-logo { height: 45px; margin-bottom: 10px; border-radius: 5px; }

.nav-links { list-style: none; padding: 0; display: flex; justify-content: center; gap: 25px; margin: 0; }
.nav-links a { text-decoration: none; color: #fff !important; font-family: var(--font-h); font-size: 0.75rem; text-transform: uppercase; }

.hero { padding: 60px 20px; text-align: center; }
.hero h1 { font-family: var(--font-h); text-shadow: var(--neon); font-size: 2.2rem; margin: 0; }
.hero p { color: #888; margin: 20px 0; font-size: 0.9rem; }

.btn-neon {
    display: inline-block; padding: 12px 35px; border: 1px solid var(--red);
    color: #fff !important; text-decoration: none; font-family: var(--font-h);
    box-shadow: var(--neon); font-size: 0.8rem;
}

.red-title { color: var(--red); text-shadow: var(--neon); font-family: var(--font-h); text-align: center; margin-bottom: 30px; font-size: 1.4rem; }

.list-wrapper { max-width: 600px; margin: 0 auto; padding: 0 15px; }
.game-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 12px; border-radius: 12px; backdrop-filter: blur(5px); }
summary { padding: 15px; cursor: pointer; display: flex; align-items: center; list-style: none; outline: none; }
summary::-webkit-details-marker { display: none; }

.g-img { width: 55px; height: 55px; border-radius: 10px; margin-right: 15px; border: 1px solid #333; object-fit: cover; }
.g-info { text-align: left; }
.g-info h3 { margin: 0; font-family: var(--font-h); font-size: 0.9rem; color: #fff; }
.g-info p { margin: 3px 0 0; color: #666; font-size: 0.7rem; }
.arrow { margin-left: auto; color: var(--red); transition: 0.3s; font-size: 0.7rem; }
details[open] .arrow { transform: rotate(180deg); }

.g-desc { padding: 0 20px 20px 85px; color: #999; font-size: 0.8rem; text-align: left; }
.g-link { color: #ffd700; text-decoration: none; font-weight: bold; display: block; margin-top: 10px; }

/* Картка Про мене з синьо-жовтою рамкою */
.ua-card {
    border: 3px solid;
    border-image: linear-gradient(to bottom, var(--ua-blue) 50%, var(--ua-yellow) 50%) 1;
    background: rgba(5,5,5,0.9); padding: 30px; margin: 0 15px; text-align: left;
}
.divider { height: 1px; background: #222; margin: 20px 0; }
.about-content p { color: #ccc; line-height: 1.6; font-size: 0.85rem; margin-bottom: 10px; }

footer { padding: 40px; color: #333; font-size: 0.7rem; text-align: center; }
