:root{
  --color-accent: #2ecc71; /* можно поменять на твой фирменный */
  --color-text: #000;
  --color-bg: #f5f5f5;
  --color-border: #e0e0e0;
  --color-link: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;    
    background: #f5f5f5;
    color: #000;
}

/* Header */
.header {
    background: #000;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #2ecc71;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: "Inter", sans-serif;
}

.btn-login {
    background: transparent;
    color: white;
    border: 1px solid #444;
}
.btn-login a {
    color: white;
    text-decoration: none;
}
.btn-register a {
    color: white;
    text-decoration: none;
}

.btn-register {
    background: #2ecc71;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-close {
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.sidebar-close:hover {
    color: #2ecc71;
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    color: #000;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
}

.sidebar-link:hover {
    color: #2ecc71;
}

.sidebar-icon {
    font-size: 20px;
    margin-right: 18px;
    width: 30px;
    text-align: center;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

/* Navigation Tabs */
.nav-tabs {
    background: white;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
}

.nav-tab {
    padding: 7px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
    color: #666;
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-tab.active {
    color: #1a1a1a;
    border-bottom-color: #f8333c;
    background: #ffe6e2cc;
}

.nav-tab:hover {
    color: #1a1a1a;
}

.nav-tab a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Loyalty Program Banner */
.loyalty-banner {
    background: radial-gradient(104.27% 245.79% at -23.28% -82.35%, #6300a0, #4600a000), 
                radial-gradient(253.76% 173.64% at 126.09% 147.48%, #0136bf, #0136bf00 99%), #000;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.loyalty-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-icon img {
    width: 80px;
    height: auto;
}

.loyalty-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.loyalty-btn {
    background: #2ecc71;
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.loyalty-btn:hover {
    background: #00dd77;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
}

/* Slider Container */
.slider-container {
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.slide-text {
    max-width: 60%;
    z-index: 2;
}

.slide-text h2 {
    color: white;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    background: #2ecc71;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.slide-btn a {
    color: white;
    text-decoration: none;
}

.slide-btn:hover {
    background: #00dd77;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #2ecc71;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 5px;
    padding: 20px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.category-btn {
    padding: 6px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-btn span img {
    width: 24px;
}

.category-btn.active,
.category-btn:hover {
    background: #2ecc71;
    color: #1a1a1a;
    border-color: #2ecc71;
}

/* Section */
.section {
    margin: 40px 0;
}

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

.section-title {
    font-size: 20px;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2ecc71;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.arrow-btn:hover {
    background: #00dd77;
    transform: scale(1.1);
}

.view-all-btn {
    background: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* Games Grid */
.games-section .container {
    padding: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease-out forwards;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-play-btn {
    background: #4DD486;
    color: #1a1a1a;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.game-play-btn a {
    color: white;
    text-decoration: none;
}

.game-play-btn:hover {
    background: #00dd77;
    transform: scale(1.05);
}

.game-demo-btn {
    background: transparent;
    color: #4DD486;
    padding: 10px 30px;
    border: 2px solid #4DD486;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.game-demo-btn a {
    color: #fff;
    text-decoration: none;
}

.game-demo-btn:hover {
    background: #4DD486;
    color: #1a1a1a;
}

.game-info {
    padding: 15px;
}

.game-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.provider-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.game-provider span {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }
.game-card:nth-child(9) { animation-delay: 0.45s; }
.game-card:nth-child(10) { animation-delay: 0.5s; }

/* Promotional Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.promo-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-btn {
    background: #2ECC71;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.promo-btn a {
    color: white;
    text-decoration: none;
}

/* Section Text */
.section-text {
    background: white;
    padding: 24px;
    border-radius: 12px;
}

.section-text h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #000;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    padding: 10px 0 20px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: #2ecc71;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 1px;
    transition: all 0.3s;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

.nav-item-center {
    position: relative;
    margin-top: -60px;
}

.nav-item-center img {
    width: 80px;
    height: 80px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #2ecc71;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2ecc71;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo img {
        width: 80%;
    }

    .btn-register {
        font-size: 14px;
        font-weight: 400;
        padding: 6px 12px;
    }

    .header-buttons .btn-login {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    .nav-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .nav-tab {
        padding: 15px 20px;
        font-size: 14px;
    }

    .loyalty-banner {
        padding: 12px 20px;
        border-radius: 40px;
        margin: 15px;
    }

    .loyalty-text {
        font-size: 14px;
    }

    .loyalty-btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .slider-container {
        margin: 15px;
    }

    .slider-wrapper {
        height: 280px;
    }

    .slide-content {
        padding: 25px 30px;
        justify-content: center;
    }

    .slide-text {
        max-width: 100%;
        text-align: center;
    }

    .slide-text h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .slide-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .game-image {
        height: 160px;
    }

    .game-info {
        padding: 12px;
    }

    .game-title {
        font-size: 13px;
    }

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

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

    .category-filter {
        padding: 15px 0;
    }

    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .loyalty-banner {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        border-radius: 25px;
    }

    .loyalty-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .loyalty-text {
        font-size: 13px;
    }

    .loyalty-btn {
        width: 100%;
    }

    .slider-wrapper {
        height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-text h2 {
        font-size: 22px;
    }

    .slide-btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 25px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-image {
        height: 140px;
    }

    .game-info {
        padding: 10px;
    }

    .game-provider {
        gap: 6px;
    }

    .provider-icon {
        width: 16px;
        height: 16px;
    }

    .game-provider span {
        font-size: 11px;
    }

    .game-title {
        font-size: 12px;
    }

    .game-play-btn {
        padding: 8px 25px;
        font-size: 12px;
    }

    .game-demo-btn {
        padding: 6px 20px;
        font-size: 11px;
    }

    .sidebar {
        width: 280px;
        right: -280px;
    }
}

.sidebar-link.active {
  background: var(--color-accent);
  color: #fff;
}
.sidebar-link.active .sidebar-icon img {
  filter: brightness(0) invert(1);

}
