:root {
    --bg-color: #1a1a2e;
    --header-bg: #161625;
    --accent-color: #ff0055;
    --text-color: #ffffff;
    --menu-bg: #252545;
    --footer-bg: #0f0f1e;
    
    /* Category Colors */
    --color-slots: #17eada;
    --color-tournaments: #6ef770;
    --color-bonuses: #e8ce3a;
    --color-registration: #6ef770;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--header-bg);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
}

.auth-buttons a {
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login {
    background-color: #333355;
    color: white;
}

.btn-signup {
    background-color: #ff0055;
    color: white;
}

.lang-dropdown {
    position: relative;
    margin-left: 15px;
    cursor: pointer;
}

.lang-current img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    display: block;
}

.lang-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #252545;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 5px 0;
    min-width: 80px;
    z-index: 1001;
}

.lang-dropdown:hover .lang-list {
    display: block;
}

.lang-list a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.lang-list a:hover {
    background: #333355;
}

.lang-list img {
    width: 18px;
    margin-right: 8px;
}

.banner {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.game-menu {
    background-color: var(--menu-bg);
    display: flex;
    justify-content: center;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 40px;
}

.menu-item {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
}

/* Icon Container for perfect alignment */
.menu-item svg {
    display: block;
    width: auto;
    height: 60px; /* Base height for all icons */
    margin-bottom: 15px;
    transition: 0.3s;
}

/* Specific Category Colors */
.menu-slots { color: var(--color-slots); }
.menu-tournaments { color: var(--color-tournaments); }
.menu-bonuses { color: var(--color-bonuses); }
.menu-registration { color: var(--color-registration); }

/* Fine-tuning individual icons for visual balance */
.menu-slots svg {
    height: 52px; /* Slots are wide, so we reduce height slightly */
    margin-top: 4px; /* Push down to center vertically with others */
}

.menu-registration svg {
    height: 75px; /* Rocket is narrow, so we increase height significantly */
    margin-top: -10px; /* Pull up to balance the extra height */
    margin-bottom: 10px;
}

.menu-item:hover {
    filter: brightness(1.2);
    transform: translateY(-3px);
}

.menu-item.active {
    text-decoration: none;
}

.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-block h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.text-content {
    color: #ccc;
    font-size: 16px;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background: #1e1e35;
    margin-top: 40px;
}

.faq-title {
    color: #fff;
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #252545;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
    color: #eee;
}

.faq-question:hover {
    background: #2d2d55;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    background: #1a1a2e;
    color: #bbb;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 20px;
    border-top: 1px solid #333;
}

footer {
    background-color: var(--footer-bg);
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer-links a {
    color: #888;
    margin: 0 10px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .game-menu {
        gap: 10px;
        padding: 15px 0;
    }
    .menu-item {
        width: 80px;
        font-size: 12px;
    }
    .menu-item svg {
        height: 35px;
    }
    .menu-slots svg {
        height: 30px;
        margin-top: 2px;
    }
    .menu-registration svg {
        height: 45px;
        margin-top: -5px;
    }
}
