/* Reset & Base Styles (Mobile First) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a0b2e 0%, #16213e 50%, #0f1419 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main Content - Mobile First */
.main {
    padding: 16px;
    margin-top: 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header - Mobile First */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    margin-top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.burger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.burger span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

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

.search-bar {
    display: none;
    flex: 1;
    margin: 0 16px;
}

.search-bar input {
    width: 100%;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

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

.auth-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-join {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
}

/* Sidebar - Mobile First */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
}

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

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 300;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar.sidebar-open {
    transform: translateX(280px);
}

.sidebar-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-title {
    padding: 0 20px 12px;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-item {
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ffd700;
}

.sidebar-item.active a {
    color: #ffd700;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.language-switcher {
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jackpot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.jackpot-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 0;
}

.jackpot-card > * {
    position: relative;
    z-index: 1;
}

.jackpot-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.jackpot-badge.small {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.jackpot-badge.mega {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
}

.jackpot-badge.grand {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.jackpot-badge.iwl {
    background: linear-gradient(45deg, #ffd700, #f39c12);
    color: black;
}

.jackpot-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.jackpot-max {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.jackpot-bet {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 16px;
    display: inline-block;
}

/* Bonus Cards - Mobile */
.bonus-section {
    margin-bottom: 20px;
}

.bonus-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
}

.bonus-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    height: 200px;
}

.bonus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.bonus-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bonus-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 1;
}

.bonus-card > *:not(img):not(.bonus-bg) {
    position: relative;
    z-index: 2;
}

.card-icon {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 3;
}

.bonus-card h3 {
    color: #ffd700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.bonus-card p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Enhanced Bonus Card Styles */
.bonus-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 200px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bonus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.bonus-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bonus-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 1;
}

.bonus-card > *:not(img):not(.bonus-bg) {
    position: relative;
    z-index: 2;
}

.card-icon {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 3;
}

.bonus-card h3 {
    color: #ffd700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.bonus-card p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Big Wins Section - Mobile */
.big-wins-section {
    margin: 25px 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.big-wins-table {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 12px;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

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

.table-cell {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.game-cell {
    gap: 8px;
}

.game-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

.win-amount {
    color: #27ae60 !important;
    font-weight: bold;
}

/* CTA Banner - Mobile */
.cta-banner {
    margin: 25px 0;
    background: linear-gradient(135deg, #6a0dad, #9932cc, #8a2be2);
    border-radius: 16px;
    padding: 20px 20px;
    position: relative;
    overflow: hidden;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-text {
    flex: 1;
}

.cta-label {
    color: #ffd700;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 24px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.cta-image {
    margin-top: 20px;
}

.character-placeholder {
    font-size: 3rem;
    opacity: 0.8;
}

/* Footer - Mobile */
.footer {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 16px 15px;
    margin-top: 25px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #6a0dad, #9932cc);
    padding: 12px 20px;
    border-radius: 20px;
    gap: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
}

.logo-crown {
    font-size: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-column {
    text-align: center;
}

.footer-title {
    color: #ffd700;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

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

.footer-list li {
    margin-bottom: 6px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #ffd700;
}

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

.currency-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.currency-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.currency-icon:hover {
    color: #ffd700;
    transform: scale(1.1);
}

.partner-logos {
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.partner-logo img {
    max-width: 70px;
    max-height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

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

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-info a {
    color: #ffd700;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Hero Section - Mobile First */
.hero {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #6a0dad, #9932cc, #8a2be2);
    padding: 20px 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background-image: url('/images/ui_elements/banner_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Payment Methods - Mobile */
.payment-section {
    margin: 24px 0;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background-color: white;
}

.payment-icon {
    width: 48px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

/* Enhanced Game Card Styles */
.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.game-content {
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
}

.game-provider-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



/* Enhanced Partner Logo Styles */
.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 90%;
    max-height: 80%;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #6a0dad, #9932cc, #8a2be2);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

/* Enhanced Why Section */
.why-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

.why-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.more-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.1);
}

.more-link:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    justify-items: center;
    justify-content: center;
    max-width: 1600px;
    margin: 0 auto;
}

.game-card {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 180px;
    height: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.game-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    position: relative;
}

.game-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
}

.game-provider-logo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    z-index: 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.game-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
}

.game-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    z-index: 2;
    position: relative;
}

.game-provider {
    position: absolute;
    bottom: 32px;
    left: 8px;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    padding: 2px 4px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.game-status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    color: #ffd700;
    background: rgba(0,0,0,0.5);
    padding: 2px 4px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* Game Card Buttons */
.game-buttons {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.game-button {
    flex: 1;
    padding: 8px 0;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-button.play {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
}

.game-button.demo {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
}

.game-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.game-button.play:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.game-button.demo:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
}

/* Why Section - Mobile */
.why-section {
    margin: 25px 0;
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.why-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: block;
    opacity: 0.8;
}

.why-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.why-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Jackpots Section - Mobile */
.jackpots-section {
    margin: 25px 0;
}

.jackpots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
}

.jackpot-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Add these new styles to enhance the design with graphical elements */

/* Enhanced Game Card Styles */
.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.game-content {
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
}

.game-provider-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Enhanced Bonus Card Styles */
.bonus-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 200px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bonus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.bonus-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 0;
}

.bonus-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
}

.bonus-card h3 {
    color: #ffd700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bonus-card p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

/* Enhanced Partner Logo Styles */
.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 90%;
    max-height: 80%;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #6a0dad, #9932cc, #8a2be2);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.payment-method-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Enhanced Why Section */
.why-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

.why-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Content Section */
.content-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.content-container {
    max-width: 100%;
    line-height: 1.6;
}

.content-container h1,
.content-container h2,
.content-container h3,
.content-container h4,
.content-container h5,
.content-container h6 {
    color: #ffd700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.content-container h1 {
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
}

.content-container h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.3em;
}

.content-container p {
    margin-bottom: 1em;
    color: rgba(255, 255, 255, 0.9);
}

.content-container ul,
.content-container ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.content-container li {
    margin-bottom: 0.5em;
    color: rgba(255, 255, 255, 0.9);
}

.content-container a {
    color: #ffd700;
    text-decoration: none;
}

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

.content-container strong {
    color: white;
}

/* Tablet Styles */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .header-container {
        padding: 16px 32px;
    }

    .search-bar {
        display: flex;
        max-width: 400px;
    }

    .main {
        padding: 15px;
        margin-top: 0;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero {
        padding: 30px 40px;
        margin-bottom: 20px;
        background-image: url('/images/ui_elements/banner_bg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-title {
        font-size: 3rem;
    }

    .bonus-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        justify-items: center;
        justify-content: center;
        max-width: 1600px;
        margin: 0 auto;
    }

    .game-card {
        width: 100%;
        max-width: 200px;
        height: 200px;
    }

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

    .game-subtitle {
        font-size: 14px;
    }

    .game-button {
        padding: 10px 0;
        font-size: 14px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    }

    .why-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .jackpots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .table-header {
        padding: 15px 16px;
        font-size: 14px;
    }

    .table-row {
        padding: 12px;
        font-size: 14px;
    }

    .game-icon {
        width: 28px;
        height: 28px;
    }

    .cta-content {
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cta-image {
        margin-top: 0;
        margin-left: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .partner-logo {
        width: 100px;
        height: 50px;
    }

    .content-section {
        padding: 30px;
        margin: 35px 0;
    }
    
    .content-container h1 {
        font-size: 2.5rem;
    }
    
    .content-container h2 {
        font-size: 1.8rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .burger {
        display: none;
    }

    .sidebar {
        position: fixed;
        transform: none;
        width: 250px;
        height: auto;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 0;
        margin-top: 0;
    }

    .sidebar.sidebar-open {
        transform: none;
    }

    .sidebar-overlay {
        display: none !important;
    }

    .main {
        margin-left: 250px;
        padding: 20px;
        margin-top: 0;
        max-width: 1600px;
        margin-right: auto;
    }

    .hero {
        padding: 40px 60px;
        margin-bottom: 25px;
        background-image: url('/images/ui_elements/banner_bg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-title {
        font-size: 4rem;
    }

    .bonus-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        justify-items: center;
        justify-content: center;
        max-width: 1600px;
        margin: 0 auto;
    }

    .game-card {
        width: 100%;
        max-width: 220px;
        height: 220px;
    }

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

    .game-subtitle {
        font-size: 16px;
    }

    .game-button {
        padding: 12px 0;
        font-size: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .why-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .jackpots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .table-header {
        grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
        padding: 20px 32px;
    }

    .table-row {
        grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
        padding: 15px 32px;
    }

    .game-icon {
        width: 32px;
        height: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .partner-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
    }

    .content-section {
        padding: 35px;
        margin: 40px 0;
    }
    
    .content-container h1 {
        font-size: 3rem;
    }
    
    .content-container h2 {
        font-size: 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .main {
        padding: 25px;
        max-width: 1600px;
        margin-left: 250px;
        margin-right: auto;
        margin-top: 0;
    }

    .hero {
        padding: 50px 80px;
        margin-bottom: 30px;
        background-image: url('/images/ui_elements/banner_bg.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .bonus-cards {
        gap: 25px;
        max-width: 1600px;
        margin: 0 auto;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
        justify-items: center;
        justify-content: center;
        max-width: 1600px;
        margin: 0 auto;
    }

    .game-card {
        width: 100%;
        max-width: 240px;
        height: 240px;
    }

    .why-cards {
        max-width: 1600px;
        margin: 0 auto;
    }

    .jackpots-grid {
        max-width: 1600px;
        margin: 0 auto;
    }

    .partner-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
}

.flag-icon {
    width: 20px;
    height: 15px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 4px;
}

.language-switcher.active .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.support-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
    /* Base Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgb(0, 0, 0);
  margin: 0;
  border: 1px solid #e0e0e0;
}

thead {
  background: #000000;
  border-bottom: 2px solid #0da059;
}

th {
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  color: #ffffff;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Вертикальные разделители для колонок */
th:not(:last-child),
td:not(:last-child) {
  border-right: 1px solid #0da059;
 /* Полупрозрачный красный */
}

/* Hover эффект для строк */
tbody tr:hover {
  background-color: #fff8f8; /* Легкий красноватый оттенок при наведении */
}

/* Mobile Table Styles */
@media screen and (max-width: 768px) {
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    border-spacing: 0;
    border-collapse: collapse;
  }
  
  /* Ensure horizontal scroll works on iOS */
  table::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px;
  }
  
  table::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .3);
  }
}