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

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(145deg, #1b1b1b, #0f0f0f);
    border-right: 1px solid #333333;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: #008cdb;
    border-radius: 4px;
}

.logo {
    padding: 24px 20px;
    border-bottom: 1px solid #333333;
    text-align: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Search Bar */
.search-bar {
    padding: 20px;
    position: relative;
}

.search-bar i {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.search-bar input:focus {
    outline: none;
    border-color: #008cdb;
    box-shadow: 0 0 0 3px rgba(0, 140, 219, 0.1);
}

.search-bar input::placeholder {
    color: #6b7280;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    padding: 0 10px;
}

.nav-item {
    margin: 4px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.nav-link:hover {
    background: rgba(0, 140, 219, 0.1);
    color: #008cdb;
}

.nav-item.active .nav-link {
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    color: #ffffff;
}

/* Sidebar Footer */
.sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #333333;
    background: rgba(27, 27, 27, 0.8);
    backdrop-filter: blur(10px);
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-btn, .register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.login-btn {
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    color: white;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 140, 219, 0.4);
}

.register-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f3f4f6;
}

.register-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: linear-gradient(135deg, #0a0a0a, #1b1b1b);
    min-height: 100vh;
    width: 100%;
    max-width: calc(100vw - 280px);
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(27, 27, 27, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
}

.header-logo {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-login-btn, .header-register-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    border: none;
    text-decoration: none;
}

.header-login-btn {
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    color: white;
}

.header-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 140, 219, 0.3);
}

.header-register-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #f3f4f6;
}

.header-register-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Promo Section */
.promo-section {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

.promo-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.banner {
    background: linear-gradient(135deg, #6a0dad, #1e90ff);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-banner {
    background-image: url('/img/Bonus_Market.webp');
    background-position: center center;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.2), rgba(30, 144, 255, 0.2));
    z-index: 1;
}

.secondary-banner {
    background-image: url('/img/Cashback-1.webp');
    background-position: center center;
}

.secondary-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 140, 219, 0.2), rgba(0, 102, 170, 0.2));
    z-index: 1;
}

.banner-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.banner .banner-title,
.banner .banner-subtitle,
.banner p,
.banner .bonus-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.banner p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bonus-text {
    font-size: 12px;
    opacity: 0.9;
    display: block;
    margin-bottom: 16px;
}

.cta-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cta-button-small {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.banner-image {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.character-placeholder,
.crypto-placeholder {
    display: none;
}

.character-placeholder::before {
    content: '🎮';
}

.crypto-placeholder::before {
    content: '💳';
}

/* Games Section */
.games-section {
    padding: 0 24px 24px;
    width: 100%;
    box-sizing: border-box;
}

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

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

.game-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.filter-btn.active {
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    border-color: #008cdb;
    color: #ffffff;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #008cdb;
    box-shadow: 0 8px 25px rgba(0, 140, 219, 0.15);
}

.game-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #c70039, #ff5733);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 70%);
}

/* Game Cover Images */
.game-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Game Cover Placeholder */
.game-cover[src=""], .game-cover:not([src]) {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c70039, #ff5733);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.game-cover[src=""]:before, .game-cover:not([src]):before {
    content: attr(data-placeholder);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(199, 0, 57, 0.9), 
        rgba(255, 87, 51, 0.9)
    );
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    margin: 8px;
    z-index: 2;
}

/* Different background gradients for game cards */
.static-game:nth-child(1) .game-cover[src=""], 
.static-game:nth-child(1) .game-cover:not([src]) {
    background: linear-gradient(135deg, #c70039, #ff5733);
}

.static-game:nth-child(2) .game-cover[src=""], 
.static-game:nth-child(2) .game-cover:not([src]) {
    background: linear-gradient(135deg, #8e44ad, #3498db);
}

.static-game:nth-child(3) .game-cover[src=""], 
.static-game:nth-child(3) .game-cover:not([src]) {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.static-game:nth-child(4) .game-cover[src=""], 
.static-game:nth-child(4) .game-cover:not([src]) {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.static-game:nth-child(5) .game-cover[src=""], 
.static-game:nth-child(5) .game-cover:not([src]) {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.static-game:nth-child(6) .game-cover[src=""], 
.static-game:nth-child(6) .game-cover:not([src]) {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.static-game:nth-child(7) .game-cover[src=""], 
.static-game:nth-child(7) .game-cover:not([src]) {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.static-game:nth-child(8) .game-cover[src=""], 
.static-game:nth-child(8) .game-cover:not([src]) {
    background: linear-gradient(135deg, #16a085, #1abc9c);
}

.game-info {
    padding: 16px;
}

.game-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #f3f4f6;
}

.game-provider {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #fbbf24;
}

.game-popularity {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    font-size: 16px;
    color: #1f2937;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover .play-button {
    opacity: 1;
}

/* Additional Promos */
.additional-promos {
    padding: 0 24px 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Game Providers Section */
.providers-section {
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin-bottom: 32px;
}

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

.providers-navigation {
    display: flex;
    gap: 8px;
}

.provider-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.provider-nav-btn:hover {
    background: rgba(0, 140, 219, 0.2);
    border-color: #008cdb;
}

.providers-container {
    overflow: hidden;
    width: 100%;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    width: 100%;
}

.provider-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    height: 80px;
    cursor: pointer;
}

.provider-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #008cdb;
    box-shadow: 0 4px 15px rgba(0, 140, 219, 0.2);
}

.provider-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.provider-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
}

.provider-image:hover {
    filter: brightness(1) contrast(1.2);
}

/* Placeholder styling for empty provider images */
.provider-image[src=""], .provider-image:not([src]) {
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, rgba(0, 140, 219, 0.2), rgba(30, 144, 255, 0.2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    position: relative;
}

.provider-image[src=""]:before, .provider-image:not([src]):before {
    content: attr(data-placeholder);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(0, 140, 219, 0.3), rgba(30, 144, 255, 0.3));
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

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

.promo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.banner-bg-image,
.promo-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
}

.promo-card.tournaments-card,
.promo-card.cashback-card,
.promo-card.vip-card {
    background-image: url('/img/Daily-Bonuses-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-card.tournaments-card::before,
.promo-card.cashback-card::before,
.promo-card.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.3), rgba(30, 144, 255, 0.3));
    z-index: 1;
}

.promo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #008cdb;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.promo-content p {
    color: #e5e7eb;
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.promo-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    cursor: pointer;
}

.promo-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 140, 219, 0.4);
}

/* Footer */
.footer-info {
    padding: 40px 24px;
    background: rgba(27, 27, 27, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f3f4f6;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #f3f4f6;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.legal-info {
    color: #9ca3af;
    font-size: 12px;
    margin: 0;
}

/* Casino Description Section */
.casino-description {
    padding: 48px 24px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 32px;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.description-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #f3f4f6;
    margin: 32px 0 16px 0;
    text-align: center;
    position: relative;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    margin: 8px auto;
    border-radius: 2px;
}

.casino-description p {
    color: #e5e7eb;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.casino-description strong {
    color: #ffffff;
    font-weight: 600;
}

.closing-text {
    text-align: center !important;
    margin-top: 40px !important;
    padding: 24px;
    background: rgba(0, 140, 219, 0.1);
    border: 1px solid rgba(0, 140, 219, 0.2);
    border-radius: 12px;
    font-size: 18px;
    color: #ffffff !important;
}

/* Tables Styling */
.info-tables {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.table-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-title {
    font-size: 20px;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 16px;
    text-align: center;
    background: linear-gradient(45deg, #008cdb, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-table {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.table-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.table-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.01);
}

.table-cell {
    padding: 12px 16px;
    color: #e5e7eb;
    font-size: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.table-cell:last-child {
    border-right: none;
}

.table-cell.header {
    background: rgba(0, 140, 219, 0.2);
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 140, 219, 0.3);
}

/* Special table layouts */
.info-table:has(.table-row .table-cell:nth-child(4)) .table-row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.info-table:has(.table-row .table-cell:nth-child(4)) .table-cell {
    font-size: 13px;
    padding: 10px 12px;
}

/* Desktop specific positioning */
@media (min-width: 1025px) {
    .secondary-banner {
        background-position: center center;
    }
    
    .main-banner {
        background-position: center center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100vw;
        width: 100%;
    }
    
    .main-banner,
    .secondary-banner {
        background-position: center center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .promo-banners {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    /* Providers responsive - 1024px */
    .providers-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    
    .provider-card {
        height: 70px;
        padding: 16px;
    }
    
    /* Casino description responsive - 1024px */
    .casino-description {
        padding: 40px 20px;
    }
    
    .description-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }
    
    .header-logo {
        height: 32px;
        max-width: 160px;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .header-right .user-actions {
        gap: 8px;
    }
    
    .promo-section {
        padding: 16px;
    }
    
    /* Remove heavy text shadows on mobile banners */
    .banner .banner-title,
    .banner .banner-subtitle,
    .banner p,
    .banner .bonus-text {
        text-shadow: none;
        font-weight: 700;
        color: #ffffff;
        -webkit-font-smoothing: antialiased;
    }
    
    .promo-title {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .promo-content p {
        text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.6);
    }
    
    .banner {
        padding: 20px;
        min-height: 180px;
        flex-direction: column;
        text-align: center;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner p {
        font-size: 18px;
    }
    
    .games-section {
        padding: 0 20px 20px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .game-filters {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
    
    .additional-promos {
        padding: 0 20px 20px;
    }
    
    /* Providers responsive - 768px */
    .providers-section {
        padding: 24px 16px;
        margin-bottom: 24px;
    }
    
    .providers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .provider-card {
        height: 60px;
        padding: 12px;
    }
    
    .provider-image[src=""]:before, .provider-image:not([src]):before {
        font-size: 10px;
    }
    
    /* Casino description responsive - 768px */
    .casino-description {
        padding: 32px 16px;
    }
    
    .description-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .section-subtitle {
        font-size: 20px;
        margin: 24px 0 12px 0;
    }
    
    .casino-description p {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .table-section {
        padding: 16px;
    }
    
    .table-cell {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .info-table:has(.table-row .table-cell:nth-child(4)) .table-cell {
        font-size: 11px;
        padding: 8px 6px;
    }
    
    .promo-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        position: relative;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .container {
        overflow-x: hidden;
        position: relative;
    }
    
    .sidebar {
        width: 100vw;
        max-width: 100%;
        position: fixed;
        left: 0;
        top: 0;
    }
    
    .main-content {
        width: 100vw;
        max-width: 100vw;
        margin-left: 0;
        overflow-x: hidden;
        position: relative;
    }
    
    .header {
        padding: 8px 12px;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .header-logo {
        height: 24px;
        max-width: 120px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    /* Remove all text shadows and stabilize banner text */
    .banner .banner-title,
    .banner .banner-subtitle,
    .banner p,
    .banner .bonus-text {
        text-shadow: none;
        font-weight: 700;
        color: #ffffff;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .promo-content h3,
    .promo-content p {
        text-shadow: none;
        font-weight: 600;
    }
    
    /* Better contrast for readability */
    .promo-content p {
        color: #f3f4f6;
    }
    
    /* Disable hover transforms on mobile to prevent shaking */
    .login-btn:hover,
    .register-btn:hover,
    .header-login-btn:hover,
    .header-register-btn:hover,
    .cta-button:hover,
    .promo-btn:hover,
    .game-card:hover,
    .promo-card:hover {
        transform: none;
    }
    
    /* Ensure smooth animations */
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .header-left {
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .header-right {
        flex-shrink: 0;
    }
    
    .header-auth {
        gap: 8px;
    }
    
    .header-login-btn, .header-register-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-login-btn span,
    .header-register-btn span {
        display: none;
    }
    
    .promo-section,
    .games-section,
    .additional-promos {
        padding: 12px 8px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .banner {
        padding: 16px;
        min-height: 160px;
        width: 100%;
        max-width: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .banner-title {
        font-size: 16px;
    }
    
    .banner p {
        font-size: 14px;
    }
    
    .banner-image {
        display: none;
    }
    

    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
        width: 100%;
    }
    
    .game-card {
        min-width: 0;
        overflow: hidden;
    }
    
    .game-title {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .game-provider {
        font-size: 10px;
    }
    
    .section-header {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .section-title {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .game-filters {
        width: 100%;
        overflow-x: auto;
        gap: 4px;
        padding-bottom: 2px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .promo-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    
    .promo-card {
        padding: 16px;
        width: 100%;
    }
    
    /* Providers responsive - 480px */
    .providers-section {
        padding: 16px 8px;
        margin-bottom: 16px;
    }
    
    .providers-section .section-header {
        margin-bottom: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .providers-navigation {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .provider-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .provider-card {
        height: 50px;
        padding: 8px;
    }
    
    .provider-image[src=""]:before, .provider-image:not([src]):before {
        font-size: 9px;
        padding: 2px;
    }
    
    /* Casino description responsive - 480px */
    .casino-description {
        padding: 24px 12px;
    }
    
    .description-title {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin: 20px 0 12px 0;
    }
    
    .casino-description p {
        font-size: 14px;
        margin-bottom: 14px;
        text-align: left;
    }
    
    .info-tables {
        gap: 20px;
        margin: 24px 0;
    }
    
    .table-section {
        padding: 12px;
    }
    
    .table-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .table-cell {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .table-cell.header {
        font-size: 11px;
        padding: 6px 4px;
    }
    
    /* 4-column table on mobile becomes 2x2 grid */
    .info-table:has(.table-row .table-cell:nth-child(4)) .table-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .info-table:has(.table-row .table-cell:nth-child(4)) .table-cell {
        font-size: 10px;
        padding: 6px 4px;
    }
    
    .closing-text {
        padding: 16px;
        font-size: 16px;
        margin-top: 24px !important;
    }
    
    /* Footer responsive - 480px */
    .footer-bottom {
        padding: 16px 0;
        margin-top: 16px;
    }
    
    .copyright {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .legal-info {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Prevent horizontal scroll on all elements */
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}

.promo-banners,
.games-grid,
.promo-cards,
.footer-content,
.banner-content,
.game-info,
.modal-content {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Ensure no element causes horizontal overflow */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Game cards with different colors */
.game-card:nth-child(4n+1) .game-image {
    background: linear-gradient(135deg, #c70039, #ff5733);
}

.game-card:nth-child(4n+2) .game-image {
    background: linear-gradient(135deg, #ffc300, #ff9500);
}

.game-card:nth-child(4n+3) .game-image {
    background: linear-gradient(135deg, #900c3f, #c70039);
}

.game-card:nth-child(4n+4) .game-image {
    background: linear-gradient(135deg, #6a0dad, #1e90ff);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hover Effects */
.sidebar .nav-link,
.filter-btn,
.game-card,
.promo-card,
.cta-button,
.promo-btn {
    position: relative;
    overflow: hidden;
}

.sidebar .nav-link::before,
.filter-btn::before,
.cta-button::before,
.promo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.sidebar .nav-link:hover::before,
.filter-btn:hover::before,
.cta-button:hover::before,
.promo-btn:hover::before {
    left: 100%;
}