body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    background-image:
        url('../img/bg-top.webp'),
        url('../img/bg-bottom.webp');
    background-position:
        top center,
        bottom center;
    background-repeat: no-repeat;
    background-size:
        100% auto,
        100% auto;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Header Styles */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-sub {
    font-size: 10px;
    font-weight: normal;
    color: #00FFFF;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

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

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 200px;
}

.search-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

.search-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    width: 100%;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-bar:focus-within {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

/* Top Navigation Menu */
.top-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.top-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background-color: transparent;
    color: #FFD700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-decoration: none;
}

.top-nav .nav-item:hover {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    transform: translateY(-1px);
}

.top-nav .nav-item.active {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.top-nav .nav-item.active::after {
    content: '▼';
    position: absolute;
    bottom: -8px;
    right: 0;
    font-size: 12px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.top-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.top-nav .nav-icon svg {
    width: 16px;
    height: 16px;
}

.header-right {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    grid-column: 3;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    grid-column: 3;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1),
.mobile-menu-btn.active span:nth-child(2),
.mobile-menu-btn.active span:nth-child(3) {
    background-color: #ffffff;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 20px;
    width: 280px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-nav-item {
    color: #FFD700;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
}

.mobile-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 20px;
}

.mobile-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
}

.btn-login {
    background-color: #4c440f;
    border: 1px solid #f9dd0e;
    color: #f9dd0e;
    text-shadow: 1px 1px 0 #000;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.btn-login:hover {
    background-color: #5a5012;
    border-color: #5a5012;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 68, 15, 0.3);
}

.btn-register {
    background-color: #1d4643;
    border: 1px solid #3ee6e0;
    border-radius: 4px;
    color: #3ee6e0;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(62, 230, 224, 0.3);
    position: relative;
    overflow: hidden;
}


.btn-register:hover {
    background-color: #2dd1cb;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(62, 230, 224, 0.4);
}

/* Main Container */
.main-container {
    width: 100%;
}


/* Main Content */
.main-content {
    padding: 0;
    background-color: transparent;
    width: 100%;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Promo Banner */
.promo-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.promo-banner-link:hover {
    text-decoration: none;
    color: inherit;
}

.promo-banner {
    background: linear-gradient(135deg, #065f46, #047857);
    padding: 0;
    margin: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner-link:hover .promo-banner {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Banner SVG Decorations */
.banner-border {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.banner-border--left {
    left: 0;
}

.banner-border--right {
    right: 0;
    transform: scaleX(-1);
}

.banner-border svg {
    height: 100%;
    width: auto;
    display: block;
}

.promo-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.promo-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e5e7eb;
}

.btn-bonus {
    background: linear-gradient(90deg, #FEA744, #FFD29E);
    color: #1a1a1a;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(254, 167, 68, 0.3);
}

.btn-bonus:hover {
    background: linear-gradient(90deg, #FFD29E, #FEA744);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 167, 68, 0.4);
}

.promo-image {
    position: relative;
    width: 200px;
    height: 200px;
}

.character {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.character::before {
    content: "👨‍💼";
    font-size: 80px;
}

.money-notes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="40">💵</text></svg>') no-repeat center;
    background-size: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Game Filters */
.game-filters {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-main {
    display: flex;
    align-items: center;
}

.filter-btn-main {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #FFD700;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn-main:hover {
    background-color: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.filter-btn-main.active {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.filter-icon {
    flex-shrink: 0;
}

.sector-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sector-info {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sector-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #FFD700;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.sector-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.sector-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.sector-nav {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn-left {
    background-color: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn-left:hover {
    background-color: rgba(80, 80, 80, 0.8);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.nav-btn-right {
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
}

.nav-btn-right:hover {
    background-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Neon Effects */
.neon-glow {
    box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
}

.neon-glow-yellow {
    box-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
}

.neon-glow-cyan {
    box-shadow: 0 0 5px #00FFFF, 0 0 10px #00FFFF, 0 0 15px #00FFFF;
}

/* Text Effects */
.neon-text {
    text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
}

.neon-text-yellow {
    text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
}

.neon-text-cyan {
    text-shadow: 0 0 5px #00FFFF, 0 0 10px #00FFFF, 0 0 15px #00FFFF;
}

/* Animation for neon effects */
@keyframes neon-pulse {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

.neon-pulse {
    animation: neon-pulse 2s ease-in-out infinite;
}

/* Enhanced button effects */
.btn-login,
.btn-register,
.filter-btn-main,
.sector-btn {
    position: relative;
    overflow: hidden;
}

.btn-login::after,
.btn-register::after,
.filter-btn-main::after,
.sector-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::after,
.btn-register:hover::after,
.filter-btn-main:hover::after,
.sector-btn:hover::after {
    left: 100%;
}

/* Games Section */
.games-section {
    margin-bottom: 30px;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: white;
    margin: 0;
}

.view-all-btn {
    background-color: #333;
    color: white;
    border: 1px solid #555;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: #444;
}

.games-grid {
    display: grid;
    grid-template-columns: 402px repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 485px;
    overflow-x: auto;
}

.game-card {
    background-color: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.game-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    font-size: 14px;
    color: white;
    text-align: center;
    font-weight: normal;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: 0;
}

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

/* Game overlay on hover */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 16px;
    z-index: 10;
    backdrop-filter: blur(2px);
}

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

.game-play-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.game-play-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.game-play-btn i {
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.game-demo-btn {
    background: rgba(45, 45, 45, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.game-demo-btn:hover {
    background: rgba(60, 60, 60, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.game-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
}

.game-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.game-provider {
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* First game card - large size */
.game-card:first-child {
    grid-column: 1;
    grid-row: span 2;
}

.game-card:first-child h3 {
    font-size: 18px;
    padding: 20px;
}

/* Enhanced hover effects for game cards */
.relative:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.relative:hover img {
    transform: scale(1.05);
    filter: blur(1px);
}

/* Mobile responsive styles for game overlay */
@media (max-width: 768px) {
    .game-overlay {
        border-radius: 12px;
    }

    .game-play-btn {
        padding: 10px 20px;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .game-demo-btn {
        display: none;
        /* Hide demo button on mobile */
    }

    .game-title {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .game-provider {
        font-size: 10px;
    }

    .game-info {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

}

@media (max-width: 480px) {
    .game-play-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin-bottom: 6px;
    }

    .game-demo-btn {
        display: none;
        /* Hide demo button on small mobile */
    }

    .game-title {
        font-size: 9px;
        margin-bottom: 2px;
    }

    .game-provider {
        font-size: 9px;
    }

    .game-info {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

/* Additional styles for very small game cards */
@media (max-width: 400px) {
    .game-play-btn {
        padding: 6px 12px;
        font-size: 11px;
        margin-bottom: 5px;
    }

    .game-demo-btn {
        display: none;
        /* Hide demo button on very small screens */
    }

    .game-title {
        font-size: 9px;
        margin-bottom: 1px;
    }

    .game-provider {
        font-size: 8px;
    }

    .game-info {
        bottom: 8px;
        left: 8px;
        right: 8px;
    }
}

/* Styles for small game cards in slider */
.hot-game-slide .game-overlay,
.regular-game-slide .game-overlay {
    padding: 8px;
}

.hot-game-slide .game-play-btn,
.regular-game-slide .game-play-btn {
    padding: 8px 16px;
    font-size: 12px;
    margin-bottom: 6px;
}

.hot-game-slide .game-demo-btn,
.regular-game-slide .game-demo-btn {
    padding: 5px 10px;
    font-size: 10px;
    margin-bottom: 10px;
}

.hot-game-slide .game-title,
.regular-game-slide .game-title {
    font-size: 9px;
    margin-bottom: 2px;
}

.hot-game-slide .game-provider,
.regular-game-slide .game-provider {
    font-size: 9px;
}

.hot-game-slide .game-info,
.regular-game-slide .game-info {
    bottom: 10px;
    left: 10px;
    right: 10px;
}


/* Text Content Container */
.text-content-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.text-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    color: #ffffff;
    line-height: 1.6;
}

.text-content h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0;
}

.text-content h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
    margin-top: 25px;
}

.text-content h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 20px;
}

.text-content h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 15px;
}

.text-content h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 12px;
}

.text-content h6 {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 10px;
}

.text-content p {
    margin-bottom: 15px;
    color: #e5e7eb;
}

.text-content a {
    color: #3b82f6;
    text-decoration: none;
}

.text-content a:hover {
    text-decoration: underline;
}

.text-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
}

.text-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: decimal;
}

.text-content li {
    margin-bottom: 8px;
    color: #e5e7eb;
    line-height: 1.5;
}

.text-content ul li {
    list-style-type: disc;
    margin-left: 5px;
}

.text-content ol li {
    list-style-type: decimal;
    margin-left: 5px;
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.bonus-table th,
.bonus-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.bonus-table th {
    background-color: #1a1a1a;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.bonus-table td {
    color: #e5e7eb;
    font-size: 14px;
}

.bonus-table tbody tr {
    background-color: #2a2a2a;
}

.bonus-table tbody tr:nth-child(even) {
    background-color: #2d2d2d;
}

.bonus-table tbody tr:hover {
    background-color: #3a3a3a;
}

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

/* FAQ Container */
.faq-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.faq-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    color: #ffffff;
}

.faq-content h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 0;
}

.faq-item {
    border-bottom: 1px solid #444;
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #3b82f6;
}

.faq-question h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: #e5e7eb;
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    line-height: 1.6;
}

/* Reviews Container */
.reviews-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.reviews-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    color: #ffffff;
}

.reviews-content h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 0;
}

/* Review Item */
.review-item {
    background-color: #3a3a3a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.reviewer-details h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #666;
    font-size: 16px;
}

.star.filled {
    color: #fbbf24;
}

.review-date {
    color: #9ca3af;
    font-size: 14px;
}

.review-text p {
    color: #e5e7eb;
    line-height: 1.6;
    margin: 0;
}

/* Add Review Form */
.add-review-form {
    background-color: #3a3a3a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #444;
}

.add-review-form h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #2d2d2d;
    border: 1px solid #555;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group textarea::placeholder {
    color: #9ca3af;
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.star-input {
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-input:hover,
.star-input.active {
    color: #fbbf24;
}

.submit-review-btn {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    background: linear-gradient(90deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Footer */
.footer {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 12px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-logo svg {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.footer-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-company .company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-info,
.footer-help {
    justify-self: end;
}

.footer-info {
    margin-left: auto;
}

.footer-help {
    margin-left: auto;
}

.age-restriction {
    width: 30px;
    height: 30px;
    background-color: #FFD700;
    color: #000000;
    border: 2px solid #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.company-description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00FFFF;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.footer-links a[href^="mailto:"] {
    color: #00FFFF;
}

/* Chat Button */
.chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
    transition: all 0.3s;
    z-index: 1000;
}

.chat-btn:hover {
    background: linear-gradient(135deg, #0080FF, #00FFFF);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #ff6b35;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

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

/* Desktop optimizations */
@media (min-width: 1200px) and (max-width: 1400px) {

    /* Header adjustments for 1366px screens */
    .header {
        padding: 12px 20px;
    }

    .logo-img {
        height: 30px;
    }

    .btn-login,
    .btn-register {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Main content adjustments */
    .main-content {
        padding: 15px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Top navigation adjustments */
    .top-nav {
        padding: 6px 10px;
    }

    .top-nav .nav-item {
        padding: 6px 10px;
        font-size: 13px;
    }

    /* Promo banner adjustments */
    .promo-banner {
        height: 400px;
        padding: 0;
        margin: 80px 0 25px 0;
    }

    .promo-text h1 {
        font-size: 42px;
    }

    .promo-text p {
        font-size: 16px;
    }

    /* Game cards adjustments */
    .hot-game-slide .game-play-btn,
    .regular-game-slide .game-play-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hot-game-slide .game-title,
    .regular-game-slide .game-title {
        font-size: 12px;
    }

    .hot-game-slide .game-provider,
    .regular-game-slide .game-provider {
        font-size: 10px;
    }
}

@media (min-width: 1401px) and (max-width: 1600px) {

    /* Header adjustments for larger screens */
    .header {
        padding: 15px 25px;
    }

    .logo-img {
        height: 34px;
    }

    .btn-login,
    .btn-register {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Main content adjustments */
    .main-content {
        padding: 20px;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Top navigation adjustments */
    .top-nav {
        padding: 8px 12px;
    }

    .top-nav .nav-item {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Game cards adjustments for larger screens */
    .hot-game-slide .game-play-btn,
    .regular-game-slide .game-play-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hot-game-slide .game-title,
    .regular-game-slide .game-title {
        font-size: 14px;
    }

    .hot-game-slide .game-provider,
    .regular-game-slide .game-provider {
        font-size: 11px;
    }
}

/* Medium desktop screens - fix sidebar spacing */
@media (min-width: 1401px) and (max-width: 1919px) {

    /* Ensure proper spacing */
    .main-container {
        margin-left: 0;
    }

    /* Add padding to main content to prevent merging */
    .main-content {
        padding: 20px;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Ensure all content blocks have proper spacing */
    .promo-banner,
    .hot-games,
    .regular-games,
    .text-content-container,
    .faq-container {
        margin-left: 0;
        margin-right: 0;
    }
}


/* Extra large screens */
@media (min-width: 1920px) {
    .main-content {
        max-width: 1600px;
        padding: 25px;
        margin: 0 auto;
    }

    .main-container {
        margin-left: 0;
    }

    .promo-banner {
        height: 450px;
        padding: 0;
        margin: 80px 0 30px 0;
    }

    .promo-text h1 {
        font-size: 52px;
    }

    .promo-text p {
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Header adjustments */
    .header {
        padding: 10px 15px;
        position: relative;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        grid-template-columns: none;
    }

    .header-left {
        grid-column: auto;
    }

    .header-right {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu positioning */
    .mobile-menu {
        width: 250px;
        right: 15px;
        top: 60px;
    }

    .btn-login,
    .btn-register {
        padding: 10px 18px;
        font-size: 12px;
    }

    /* Main container */
    .main-container {
        margin-left: 0;
    }

    /* Top navigation mobile styles */
    .top-nav {
        display: none;
    }

    /* Main content */
    .main-content {
        width: 100%;
        max-width: none;
        padding: 15px;
        margin: 0 auto;
    }

    /* Promo banner mobile */
    .promo-banner {
        padding: 0;
        margin: 0px 0 20px 0;
        height: 300px;
    }

    .promo-content {
        flex-direction: column;
        text-align: left;
        justify-content: center;
        align-items: flex-start;
        height: 100%;
    }

    .promo-text h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .promo-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .promo-image {
        width: 150px;
        height: 150px;
        margin-top: 15px;
    }

    .character {
        width: 120px;
        height: 120px;
        top: 15px;
        right: 15px;
    }

    .character::before {
        font-size: 60px;
    }

    /* Filters mobile */
    .filters {
        margin-bottom: 20px;
    }

    .primary-filters {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
    }

    .filter-btn {
        padding: 10px 15px;
        font-size: 12px;
    }

    .secondary-filters {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
    }

    .filter-btn-small {
        padding: 6px 12px;
        font-size: 11px;
    }

    .view-all {
        justify-content: center;
        margin-top: 10px;
    }

    /* Games section mobile */
    .games-section {
        margin-bottom: 20px;
    }

    .section-header {
        margin-bottom: 15px;
    }

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

    .view-all-btn {
        padding: 6px 12px;
        font-size: 12px;
    }



    /* Text content mobile */
    .text-content-container {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .text-content {
        padding: 20px;
    }

    .text-content h1 {
        font-size: 22px;
        margin-top: 0;
    }

    .text-content h2 {
        font-size: 20px;
        margin-top: 20px;
    }

    .text-content h3 {
        font-size: 18px;
        margin-top: 15px;
    }

    .text-content h4,
    .text-content h5,
    .text-content h6 {
        font-size: 16px;
        margin-top: 12px;
    }

    .text-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .text-content ul,
    .text-content ol {
        padding-left: 15px;
    }

    .text-content li {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .bonus-table {
        font-size: 12px;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }

    .bonus-table th,
    .bonus-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }

    /* FAQ mobile */
    .faq-container {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .faq-content {
        padding: 20px;
    }

    .faq-content h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .faq-question {
        padding: 15px 0;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-icon {
        font-size: 20px;
        margin-left: 10px;
    }

    .faq-item.active .faq-answer {
        max-height: 300px;
    }

    .faq-answer p {
        font-size: 14px;
        padding-bottom: 15px;
    }

    /* Reviews mobile */
    .reviews-container {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .reviews-content {
        padding: 20px;
    }

    .reviews-content h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .review-item {
        padding: 15px;
    }

    .review-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .reviewer-info {
        gap: 10px;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .reviewer-details h4 {
        font-size: 14px;
    }

    .star {
        font-size: 14px;
    }

    .review-date {
        font-size: 12px;
    }

    .add-review-form {
        padding: 20px;
    }

    .add-review-form h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input[type="text"],
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }

    .star-input {
        font-size: 20px;
    }

    .submit-review-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* Footer mobile */
    .footer {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-info,
    .footer-help {
        justify-self: stretch;
        margin-left: 0;
    }

    .footer-company .company-info {
        gap: 12px;
        margin-bottom: 15px;
    }

    .age-restriction {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .footer-logo svg {
        width: 35px;
        height: 35px;
    }

    .company-description {
        font-size: 13px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

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

    .footer-links a {
        font-size: 13px;
    }

    /* Chat button mobile */
    .chat-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 20px;
    }

    /* Hide scrollbar but keep functionality */
    .games-section::-webkit-scrollbar {
        height: 4px;
    }

    .games-section::-webkit-scrollbar-track {
        background: #333;
        border-radius: 2px;
    }

    .games-section::-webkit-scrollbar-thumb {
        background: #ff6b35;
        border-radius: 2px;
    }

    .games-section::-webkit-scrollbar-thumb:hover {
        background: #e55a2b;
    }

    .sector-btn,
    .filter-btn-main {
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {

    /* Header for very small screens */
    .header {
        padding: 8px 10px;
        display: flex;
        justify-content: space-between;
        grid-template-columns: none;
    }

    .logo {
        font-size: 18px;
    }

    .logo-img {
        height: 28px;
    }

    .mobile-menu-btn {
        font-size: 16px;
        padding: 5px;
        margin-right: 5px;
    }

    /* Mobile menu for very small screens */
    .mobile-menu {
        width: 220px;
        right: 10px;
        top: 55px;
    }

    .mobile-nav-item {
        font-size: 14px;
        padding: 10px 12px;
    }

    .mobile-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .btn-login,
    .btn-register {
        padding: 8px 16px;
        font-size: 11px;
    }

    /* Top navigation for very small screens */
    .top-nav {
        display: none;
    }

    /* Main content for very small screens */
    .main-content {
        padding: 10px;
        margin: 0 auto;
    }

    /* Promo banner for very small screens */
    .promo-banner {
        padding: 0;
        margin: 0px 0 15px 0;
        height: 250px;
    }

    .promo-text h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .promo-text p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .promo-image {
        width: 120px;
        height: 120px;
        margin-top: 10px;
    }

    .character {
        width: 100px;
        height: 100px;
        top: 10px;
        right: 10px;
    }

    .character::before {
        font-size: 50px;
    }

    /* Filters for very small screens */
    .filter-btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .filter-btn-small {
        padding: 5px 10px;
        font-size: 10px;
    }

    /* Games for very small screens */
    .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .view-all-btn {
        padding: 5px 10px;
        font-size: 11px;
    }


    /* Chat button for very small screens */
    .chat-btn {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
        font-size: 18px;
    }
}