:root {
    --primary-color: #e63946;
    --secondary-color: #a8dadc;
    --dark-color: #1d3557;
    --light-color: #f1faee;
    --bg-color: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.logo {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.tabs-wrapper {
    margin: 40px auto;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 14px 28px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.game {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.game-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
}

.game h2 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--dark-color);
}

.game a:hover h2 {
    color: var(--primary-color);
}

.slider-container {
    max-width: 320px;
    height: 640px;
    border: 12px solid #111;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    margin: 40px auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #111;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    background: var(--light-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.social-links a:hover svg {
    fill: white;
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: var(--dark-color);
}

footer p {
    font-size: 0.9rem;
    color: #777;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .tabs {
        gap: 8px;
    }
    .tab-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .slider-container {
        max-width: 280px;
        height: 560px;
        border-width: 10px;
    }
    .game-header {
        flex-direction: column;
        gap: 10px;
    }
    .game h2 {
        font-size: 1.5rem;
    }
    .logo {
        width: 100px;
    }
}