/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #00d084;
    --color-primary-dark: #00b875;
    --color-bg-dark: #0a1a0f;
    --color-bg-darker: #050f08;
    --color-text: #ffffff;
    --color-text-secondary: #b8b8b8;
    --color-border: #1a2e1f;
    --transition: 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 208, 132, 0.2);
    --shadow-hover: 0 8px 30px rgba(0, 208, 132, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--color-bg-darker);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 700;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    color: var(--color-primary);
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.nav-main {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-primary);
}

.nav-sub {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-sub-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.nav-sub-link:hover {
    color: var(--color-primary);
}

/* Mobile Register Button */
.mobile-register {
    display: block;
    margin-top: 15px;
    text-align: center;
}

.btn-mobile-register {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* Mobile Navigation */
.nav-mobile {
    display: block;
    margin-top: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile-list {
    display: flex;
    list-style: none;
    gap: 15px;
    padding-bottom: 5px;
}

.nav-mobile-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-mobile-link:hover {
    color: var(--color-primary);
    background-color: rgba(0, 208, 132, 0.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    margin-top: 20px;
}

.btn-play {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-dark);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-play:hover::before {
    left: 100%;
}

.btn-play:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.6);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-step {
    margin-top: 15px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-dark);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-step:hover::before {
    left: 100%;
}

.btn-step:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.6);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* Burger Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    justify-content: center;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 15, 8, 0.98);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

.burger-content {
    padding: 40px 20px;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.burger-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.burger-nav {
    margin-top: 60px;
}

.burger-list {
    list-style: none;
}

.burger-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text);
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.burger-link:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

.burger-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.burger-langs {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.lang-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Hero Section */
/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--color-bg-darker);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
}

.breadcrumbs-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.breadcrumbs-link:hover {
    color: var(--color-primary);
}

.breadcrumbs-separator {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin: 0 4px;
    opacity: 0.6;
}

.breadcrumbs-current span {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    width: 100%;
    position: relative;
    display: block;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
}

/* Tap Game Section */
.tap-game-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.tap-game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 208, 132, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tap-game {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tap-game-header {
    margin-bottom: 40px;
}

.tap-game-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.tap-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tap-stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tap-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 208, 132, 0.5);
    transition: color 0.3s ease;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    transform-origin: center;
}

.tap-game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tap-coin-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.tap-coin {
    position: relative;
    width: 180px;
    height: 180px;
    transition: transform 0.1s ease;
    z-index: 2;
}

.tap-coin-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 208, 132, 0.6));
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tap-coin-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes timer-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.tap-stat-value.timer-warning {
    animation: timer-pulse 0.5s ease-in-out infinite;
}

.tap-coin.active .tap-coin-image {
    transform: scale(0.85) rotate(5deg);
}

.tap-coin.active .tap-coin-glow {
    animation: tap-glow 0.3s ease-out;
}

@keyframes tap-glow {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
}

.tap-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.tap-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 0.8s ease-out forwards;
    box-shadow: 0 0 10px var(--color-primary);
}

@keyframes particle-float {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

.tap-score-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 208, 132, 0.8), 0 0 40px rgba(0, 208, 132, 0.6), 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    animation: score-popup 1s ease-out forwards;
    user-select: none;
    will-change: transform, opacity;
}

@keyframes score-popup {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translateY(0);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) translateY(-10px);
    }
    40% {
        transform: translate(-50%, -50%) scale(1) translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) translateY(-80px);
    }
}

.tap-score-popup.combo {
    font-size: 56px;
    color: #ffd700;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.9), 0 0 50px rgba(255, 215, 0, 0.7), 0 2px 15px rgba(0, 0, 0, 0.5);
    animation: score-popup-combo 1.2s ease-out forwards;
    font-weight: 800;
}

@keyframes score-popup-combo {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(-10deg);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3) rotate(5deg) translateY(-15px);
    }
    40% {
        transform: translate(-50%, -50%) scale(1.1) rotate(-2deg) translateY(-25px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) rotate(10deg) translateY(-90px);
    }
}

.tap-instruction {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 16px;
}

.tap-instruction p {
    margin: 0;
}

/* Tap Game Popup */
.tap-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tap-popup.active {
    display: flex;
    animation: popup-fade-in 0.3s ease-out;
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tap-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.tap-popup-content {
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 208, 132, 0.3);
    border: 2px solid var(--color-primary);
    animation: popup-scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

@keyframes popup-scale-in {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.tap-popup-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.tap-popup-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 208, 132, 0.5);
}

.tap-popup-text {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.tap-popup-text span {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 24px;
}

.tap-popup-bonus {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
    margin: 20px 0 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tap-popup-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.tap-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.tap-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Mobile Tap Game */
@media (max-width: 767px) {
    .breadcrumbs {
        padding: 10px 0;
    }
    
    .breadcrumbs-list {
        gap: 6px;
    }
    
    .breadcrumbs-link,
    .breadcrumbs-current span,
    .breadcrumbs-separator {
        font-size: 12px;
    }
    
    .tap-game-section {
        padding: 40px 0;
    }

    .tap-game-stats {
        gap: 30px;
    }

    .tap-stat-value {
        font-size: 28px;
    }

    .tap-coin-wrapper {
        width: 160px;
        height: 160px;
    }

    .tap-coin {
        width: 140px;
        height: 140px;
    }

    .tap-coin-glow {
        width: 160px;
        height: 160px;
    }

    .tap-popup-content {
        padding: 30px 20px;
    }

    .tap-popup-icon {
        font-size: 60px;
    }

    .tap-popup-title {
        font-size: 24px;
    }

    .tap-popup-text {
        font-size: 18px;
    }

    .tap-popup-text span {
        font-size: 20px;
    }

    .tap-score-popup {
        font-size: 36px;
    }

    .tap-score-popup.combo {
        font-size: 42px;
    }
}

/* Banners Section */
.banners-section {
    padding: 60px 0;
    background-color: var(--color-bg-darker);
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.banner-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.banner-item:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.banner-item:hover .banner-overlay,
.banner-item.active .banner-overlay {
    opacity: 1;
}

.banner-item {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-banner {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-dark);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-banner:hover::before {
    left: 100%;
}

.btn-banner:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.6);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.title-text {
    position: relative;
}

.title-decoration {
    width: 100px;
    height: 10px;
    color: var(--color-primary);
    opacity: 0.5;
}

.section-icon {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    color: var(--color-primary);
}

.section-description {
    color: var(--color-text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

/* Carousel Styles */
.games-carousel {
    position: relative;
    margin-top: 30px;
}

.games-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.games-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    will-change: transform;
}

.games-carousel .game-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    scroll-snap-align: start;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-arrow {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background-color: var(--color-primary);
    width: 30px;
    border-radius: 5px;
}

.game-card {
    background-color: var(--color-bg-darker);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}

.game-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.game-badge-top {
    background-color: #ff6b6b;
    color: white;
}

.game-badge-hit {
    background-color: #ffd93d;
    color: var(--color-bg-dark);
}

.game-badge-new {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.game-card:hover .game-overlay,
.game-card.active .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 15px;
}

.game-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text);
}

.game-provider {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Benefits Section */
.benefits {
    background-color: var(--color-bg-darker);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--color-bg-dark);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-text {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* How to Start Section */
.how-to-start {
    background-color: var(--color-bg-darker);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-text {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background-color: var(--color-bg-dark);
}

.seo-section .container {
    max-width: 800px;
}

.seo-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.seo-section h2:first-of-type {
    margin-top: 0;
}

.seo-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.seo-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-text);
    line-height: 1.3;
}

.seo-section ul,
.seo-section ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.seo-section li {
    margin-bottom: 10px;
    font-size: 16px;
}

.seo-section ul li {
    list-style-type: disc;
}

.seo-section ol li {
    list-style-type: decimal;
}

.seo-section strong {
    color: var(--color-text);
    font-weight: 600;
}

/* SEO Tables */
.seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: var(--color-bg-darker);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.seo-table thead {
    background-color: rgba(0, 208, 132, 0.1);
}

.seo-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 16px;
    border-bottom: 2px solid var(--color-primary);
}

.seo-table td {
    padding: 15px;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid var(--color-border);
}

.seo-table tbody tr:last-child td {
    border-bottom: none;
}

.seo-table tbody tr:hover {
    background-color: rgba(0, 208, 132, 0.05);
}

.seo-table td strong {
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 767px) {
    .seo-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .seo-table thead {
        display: none;
    }

    .seo-table tbody {
        display: block;
    }

    .seo-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        background-color: var(--color-bg-darker);
        padding: 0;
    }

    .seo-table td {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid var(--color-border);
        position: relative;
        text-align: left;
    }

    .seo-table td:last-child {
        border-bottom: none;
    }

    .seo-table td:first-child {
        background-color: rgba(0, 208, 132, 0.1);
        font-weight: 600;
        color: var(--color-primary);
        border-bottom: 1px solid var(--color-border);
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .seo-table td:not(:first-child)::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--color-primary);
        display: inline-block;
        margin-bottom: 5px;
    }
}

/* Footer */
.footer {
    background-color: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-logo-text {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
}


.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.footer-disclaimer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-age {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-text {
    color: var(--color-text-secondary);
    font-size: 14px;
    max-width: 600px;
}

.footer-langs {
    display: flex;
    gap: 10px;
}

.footer-lang-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.footer-lang-btn.active,
.footer-lang-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* На мобильных устройствах SEO секция всегда видима */
@media (max-width: 767px) {
    .seo-section.fade-in {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
    }
    
    .seo-section {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        padding: 40px 0 !important;
    }
    
    /* Убираем fade-in эффект, но сохраняем видимость и оригинальные цвета */
    .seo-section.fade-in * {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section h1 {
        font-size: 28px !important;
        color: var(--color-text) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section h2 {
        font-size: 24px !important;
        color: var(--color-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section h3 {
        color: var(--color-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section p {
        font-size: 16px !important;
        line-height: 1.8 !important;
        color: var(--color-text-secondary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section li {
        color: var(--color-text-secondary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section strong {
        color: var(--color-text) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section td,
    .seo-section th {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .seo-section td {
        color: var(--color-text-secondary) !important;
    }
    
    .seo-section th {
        color: var(--color-primary) !important;
    }
    
    .seo-section td strong {
        color: var(--color-text) !important;
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .logo-text {
        display: none;
    }

    .nav-sub {
        display: none;
    }

    .mobile-register {
        display: none;
    }

    .nav-mobile {
        display: none;
    }

    .header-actions .btn-secondary {
        display: inline-block;
    }

    .section-title {
        font-size: 36px;
    }

    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-carousel .game-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop Styles */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 767px) {
    .logo-text {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    .logo {
        order: 2;
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    .header-actions {
        order: 1;
        position: absolute;
        right: 0;
        top: 0;
    }

    .header-actions .btn-secondary {
        display: none;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 13px;
    }

    .section {
        padding: 40px 0;
    }

    .banners-section {
        padding: 40px 0;
    }

    .banners-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel for mobile */
    .games-carousel {
        display: block;
    }

    .games-carousel-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .games-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .games-carousel-track {
        display: flex;
        scroll-snap-type: x mandatory;
    }

    .games-carousel .game-card {
        scroll-snap-align: start;
        flex: 0 0 calc(100% - 20px);
        margin-right: 20px;
    }

    .carousel-controls {
        display: flex;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

