/* SEO H1 - Hidden but accessible to search engines */
.seo-h1 {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0B0B0E;
    color: #EAEAEA;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Remove default link styles for content areas only - exclude navigation */
.hero a,
.features a,
.games a,
.promotions a,
.about a,
.footer a {
    text-decoration: none;
}

.hero a:visited,
.features a:visited,
.games a:visited,
.promotions a:visited,
.about a:visited,
.footer a:visited {
    color: inherit;
}

.hero a:hover,
.features a:hover,
.games a:hover,
.promotions a:hover,
.about a:hover,
.footer a:hover {
    text-decoration: none;
}

.hero a:focus,
.features a:focus,
.games a:focus,
.promotions a:focus,
.about a:focus,
.footer a:focus {
    outline: none;
    text-decoration: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #1B8B3A;
    color: white;
    border-color: #1B8B3A;
}

.btn-primary:hover {
    background-color: #0F5A2A;
    border-color: #0F5A2A;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1B8B3A;
    border-color: #1B8B3A;
}

.btn-outline:hover {
    background-color: #0F5A2A;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Desktop Sidebar Navigation */
.nav-desktop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 180px;
    background-color: #0B0B0E;
    border-right: 1px solid rgba(27, 139, 58, 0.2);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-content {
    padding: 15px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-logo {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Sidebar Promo Banner */
.sidebar-promo-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: linear-gradient(135deg, rgba(27, 139, 58, 0.2) 0%, rgba(15, 90, 42, 0.3) 100%);
    border: 1px solid rgba(27, 139, 58, 0.4);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-promo-banner:hover {
    background: linear-gradient(135deg, rgba(27, 139, 58, 0.3) 0%, rgba(15, 90, 42, 0.4) 100%);
    border-color: #22c55e;
    transform: translateY(-2px);
}

.sidebar-promo-banner .promo-label {
    font-size: 0.6rem;
    color: #22c55e;
    font-weight: 600;
    text-transform: uppercase;
}

.sidebar-promo-banner .promo-title {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
}

.sidebar-promo-banner .promo-value {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
}

/* Sidebar Buttons */
.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.sidebar-btn-hot {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.sidebar-btn-hot:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
}

.sidebar-btn-bonus {
    background: linear-gradient(135deg, #1B8B3A 0%, #0F5A2A 100%);
    color: #fff;
}

.sidebar-btn-bonus:hover {
    background: linear-gradient(135deg, #22c55e 0%, #1B8B3A 100%);
    transform: translateY(-2px);
}

.sidebar-btn i {
    font-size: 1rem;
}

/* Sidebar Menu Grid */
.sidebar-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 5px 0;
}

.sidebar-menu-grid .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 5px;
    background: #1a1a1e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: #888;
    font-size: 0.6rem;
    transition: all 0.3s ease;
}

.sidebar-menu-grid .grid-item:hover {
    background: rgba(27, 139, 58, 0.1);
    border-color: rgba(27, 139, 58, 0.3);
    color: #22c55e;
}

.sidebar-menu-grid .grid-item i {
    font-size: 1.2rem;
}

/* Sidebar Bottom */
.sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: #888;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.sidebar-action:hover {
    background: rgba(27, 139, 58, 0.1);
    border-color: rgba(27, 139, 58, 0.3);
    color: #22c55e;
}

.sidebar-action i {
    font-size: 1rem;
}

.sidebar-language {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #888;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-language:hover {
    background: rgba(27, 139, 58, 0.1);
    border-color: rgba(27, 139, 58, 0.3);
    color: #22c55e;
}

.sidebar-language .flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.sidebar-language i {
    margin-left: auto;
    font-size: 0.8rem;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: #0B0B0E;
    border-bottom: 1px solid rgba(27, 139, 58, 0.2);
    z-index: 1000;
}

.mobile-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 100%;
    gap: 8px;
}

.mobile-logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.mobile-menu-toggle {
    background: none;
    border: none;
    color: #EAEAEA;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background-color: rgba(27, 139, 58, 0.1);
    color: #1B8B3A;
}

.mobile-header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.mobile-login-btn {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #888;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-login-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.mobile-signup-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1B8B3A 0%, #0F5A2A 100%);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-signup-btn:hover {
    background: linear-gradient(135deg, #22c55e 0%, #1B8B3A 100%);
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0B0B0E;
    border-top: 1px solid rgba(27, 139, 58, 0.3);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 12px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #888;
    font-size: 0.65rem;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
}

.mobile-bottom-nav .nav-item.active {
    color: #22c55e;
}

.mobile-bottom-nav .nav-item:hover {
    color: #22c55e;
}

.mobile-bottom-nav .nav-signup {
    background: linear-gradient(135deg, #1B8B3A 0%, #0F5A2A 100%);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(27, 139, 58, 0.4);
}

.mobile-bottom-nav .nav-signup i {
    font-size: 1.5rem;
}

.mobile-bottom-nav .nav-signup span {
    display: none;
}

/* Show mobile bottom nav only on mobile devices */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to body to prevent content being hidden by bottom nav */
    body {
        padding-bottom: 70px;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #0B0B0E 0%, #1A1A1E 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 0;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background-color: rgba(27, 139, 58, 0.1);
    border-bottom: 1px solid rgba(27, 139, 58, 0.2);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-logo img {
    width: 50px;
    height: 50px;
}

.mobile-menu-header h3 {
    color: #1B8B3A;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #EAEAEA;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(234, 234, 234, 0.1);
}

.mobile-menu-list {
    list-style: none;
    padding: 20px 0;
}

.mobile-menu-list li {
    margin-bottom: 4px;
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: #EAEAEA;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-list a:hover {
    color: #1B8B3A;
    background-color: rgba(27, 139, 58, 0.05);
    border-left-color: #1B8B3A;
}

.mobile-menu-actions {
    padding: 20px 24px;
    border-top: 1px solid rgba(234, 234, 234, 0.1);
    margin-top: auto;
}

.mobile-menu-actions .btn {
    width: 100%;
    margin-bottom: 12px;
    justify-content: center;
}

.mobile-menu-actions .btn:last-child {
    margin-bottom: 0;
}

/* Main Content */
.main-content {
    margin-left: 180px;
    min-height: 100vh;
}

/* Desktop Header */
.header {
    display: none;
}

.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #0B0B0E;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-toggle-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    background: #1a1a1e;
    border-radius: 30px;
    padding: 4px;
}

.toggle-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.toggle-tab i {
    font-size: 1rem;
}

.toggle-tab:hover {
    color: #fff;
}

.toggle-tab.active {
    background: #22c55e;
    color: #0B0B0E;
}

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

.header-search-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.2rem;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.header-search-btn:hover {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.header-login-btn {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #555;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-login-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.header-signup-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #22c55e 0%, #1B8B3A 100%);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-signup-btn:hover {
    background: linear-gradient(135deg, #34d86f 0%, #22c55e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 560;
    /* Maintain banner aspect ratio */
    max-height: 60vh;
    /* Limit height on very wide screens */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1B8B3A;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-button {
    flex-shrink: 0;
}

.hero-button .btn {
    font-size: 1.4rem;
    padding: 16px 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(27, 139, 58, 0.4);
    transition: all 0.3s ease;
}

.hero-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 139, 58, 0.6);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.2rem;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(27, 139, 58, 0.8);
    transform: scale(1.1);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active,
.hero-indicator:hover {
    background: #1B8B3A;
    border-color: #1B8B3A;
}

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

.section-header h2 {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.section-header .show-all-link {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.section-header .show-all-link:hover {
    color: #22c55e;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
}

/* Quick Icons Bar */
.quick-icons-bar {
    padding: 12px 0;
    background: #0B0B0E;
}

.quick-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 20px;
}

.quick-icons::-webkit-scrollbar {
    display: none;
}

.quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #1B8B3A;
    background: linear-gradient(145deg, #1a1a1e 0%, #0d0d10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(27, 139, 58, 0.2);
}

.icon-circle img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.quick-icon:hover .icon-circle {
    border-color: #22c55e;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.5), inset 0 0 15px rgba(34, 197, 94, 0.2);
    transform: scale(1.05);
}

/* Category Navigation */
.category-nav {
    padding: 25px 0;
    background: #0B0B0E;
    border-bottom: 3px solid #1B8B3A;
}

.category-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 10px;
}

.category-buttons::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: #888;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    min-width: 80px;
    text-align: center;
    flex: 0 0 auto;
}

.category-btn .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #1a1a1e;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-btn img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.category-btn span {
    white-space: nowrap;
    font-size: 0.8rem;
    color: #888;
    transition: all 0.3s ease;
}

.category-btn:hover .icon-wrapper,
.category-btn.active .icon-wrapper {
    border-color: #1B8B3A;
    background: rgba(27, 139, 58, 0.1);
}

.category-btn:hover img,
.category-btn.active img {
    filter: brightness(1);
}

.category-btn:hover span,
.category-btn.active span {
    color: #22c55e;
}

.category-btn:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Casinos/Games Section */
.casinos {
    padding: 20px 0;
    /* Reduced from 40px to 20px */
}

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

/* Hide incomplete rows for desktop (6 per row) - Show 18 games (3 complete rows) */
.games-grid .game-card:nth-child(n+19) {
    display: none;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

.game-card:hover {
    transform: translateY(-8px);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 139, 58, 0.8), rgba(15, 90, 42, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-overlay i {
    font-size: 48px;
    color: white;
    margin-bottom: 12px;
}

.game-overlay span {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

.games-actions {
    text-align: center;
}

.section-cta {
    text-align: center;
}

/* Promotion Sections */
.promo-section {
    padding: 100px 0;
    background-color: rgba(27, 139, 58, 0.05);
}

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

.promo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    background: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-8px);
}

.promo-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 560;
    object-fit: cover;
}

.promo-content {
    position: static;
    background: none;
    padding: 30px;
    color: #1B8B3A;
    text-align: center;
}

.promo-content h3 {
    margin-bottom: 12px;
    color: #1B8B3A;
}

.promo-content p {
    margin-bottom: 20px;
    opacity: 0.8;
    color: #1B8B3A;
}

.promo-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-banner a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-banner img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 560;
    object-fit: cover;
}

.promo-overlay {
    position: static;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.promo-text {
    text-align: center;
    color: #1B8B3A;
    max-width: none;
    padding: 0;
}

.promo-text h3 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #1B8B3A;
}

.promo-text p {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: #1B8B3A;
}

.promo-text .btn {
    margin-top: 24px;
}

/* SEO Content Section */
.seo-content-section {
    padding: 100px 0;
    background-color: rgba(27, 139, 58, 0.02);
}

.seo-content {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #EAEAEA;
}

.seo-text p {
    margin-bottom: 24px;
    text-align: justify;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: rgba(27, 139, 58, 0.03);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 12px;
    background-color: rgba(234, 234, 234, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(27, 139, 58, 0.08);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    color: #EAEAEA;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #1B8B3A;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #1B8B3A;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    padding: 0 30px 24px 30px;
    margin: 0;
    color: #EAEAEA;
    opacity: 0.9;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about-text>p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: rgba(27, 139, 58, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-item img {
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 16px;
    color: #1B8B3A;
}

.feature-item p {
    opacity: 0.8;
    margin-bottom: 0;
}

.about-cta {
    text-align: center;
}

/* Providers Section */
.providers-section {
    padding: 100px 0;
    background-color: rgba(27, 139, 58, 0.05);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
}

.provider-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(234, 234, 234, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.provider-logo:hover {
    background-color: rgba(27, 139, 58, 0.1);
    transform: translateY(-4px);
}

.provider-logo img {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.provider-logo:hover img {
    filter: brightness(1);
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 0 15px;
    border-top: 1px solid rgba(234, 234, 234, 0.1);
    margin-left: 180px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    flex-shrink: 0;
}

.footer-logo p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.nav-row a {
    color: #EAEAEA;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-row a:hover {
    opacity: 1;
    color: #1B8B3A;
}

.footer-bottom {
    padding-top: 15px;
    border-top: 1px solid rgba(234, 234, 234, 0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    /* Hide incomplete rows for tablet (3 per row) - Show 18 games (6 complete rows) */
    .games-grid .game-card:nth-child(n+19) {
        display: none;
    }

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

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

    .providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Hide desktop nav and header, show mobile nav */
    .nav-desktop {
        display: none;
    }

    .desktop-header {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding-top: 56px;
    }

    .footer {
        margin-left: 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-header h2 {
        font-size: 1rem;
    }

    .header {
        padding: 10px 0;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero section */
    .hero-slider {
        aspect-ratio: 1200 / 560;
        max-height: none;
        border-radius: 0;
    }

    .hero-content {
        padding: 20px 20px 60px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .hero-text p {
        font-size: 0.9rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    .hero-button {
        flex-shrink: 0;
    }

    .hero-button .btn {
        font-size: 0.9rem;
        padding: 10px 24px;
        background: linear-gradient(135deg, #22c55e 0%, #1B8B3A 100%);
        border-radius: 8px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero-controls {
        display: none;
    }

    .hero-prev,
    .hero-next {
        display: none;
    }

    .hero-indicators {
        bottom: 20px;
        gap: 10px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.4);
    }

    .hero-indicator.active {
        background: #22c55e;
        width: 24px;
        border-radius: 5px;
    }

    /* Quick Icons Bar Mobile */
    .quick-icons-bar {
        padding: 10px 0;
    }

    .quick-icons {
        gap: 10px;
        padding: 0 15px;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
    }

    .icon-circle img {
        width: 24px;
        height: 24px;
    }

    /* Category Navigation */
    .category-nav {
        padding: 20px 0;
        background: #0B0B0E;
    }

    .category-buttons {
        gap: 15px;
        justify-content: flex-start;
        padding: 0 15px;
    }

    .category-btn {
        min-width: 70px;
        gap: 8px;
    }

    .category-btn .icon-wrapper {
        width: 55px;
        height: 55px;
        border-radius: 12px;
    }

    .category-btn img {
        width: 28px;
        height: 28px;
    }

    .category-btn span {
        font-size: 0.75rem;
    }



    /* Games grid */
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* Hide incomplete rows for mobile (3 per row) - Show 21 games (7 complete rows) */
    .games-grid .game-card:nth-child(n+22) {
        display: none;
    }

    .game-card img {
        height: 150px;
    }

    /* Promo cards */
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card img {
        height: auto;
        aspect-ratio: 1200 / 560;
    }

    .promo-banner img {
        height: auto;
        aspect-ratio: 1200 / 560;
    }

    .promo-text h3 {
        font-size: 1.8rem;
    }

    .promo-text p {
        font-size: 1rem;
    }

    /* SEO Content Section */
    .seo-content-section {
        padding: 60px 0;
    }

    .seo-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .seo-text p {
        margin-bottom: 20px;
        text-align: left;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Providers grid */
    .providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 16px;
    }

    .provider-logo {
        padding: 15px;
    }

    .provider-logo img {
        max-width: 80px;
        max-height: 40px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav {
        gap: 15px;
    }

    .nav-row {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }

    .nav-row a {
        font-size: 0.85rem;
        padding: 6px 0;
        text-align: center;
    }

    /* Sections padding */
    .casinos,
    .promo-section,
    .about-section,
    .providers-section,
    .seo-content-section,
    .faq-section {
        padding: 30px 0;
        /* Reduced from 60px to 30px */
    }

    .section-header {
        margin-bottom: 20px;
        /* Reduced from 40px to 20px */
    }

    /* FAQ Mobile Styles */
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
    }
}

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

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero {
        padding: 0;
    }

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.8rem;
    }

    .hero-button .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    /* Quick Icons Bar Small Mobile */
    .quick-icons-bar {
        padding: 10px 0;
    }

    .quick-icons {
        gap: 10px;
        padding: 0 16px;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .icon-circle img {
        width: 22px;
        height: 22px;
    }




    /* Category Navigation */
    .category-nav {
        padding: 12px 0;
    }

    .category-buttons {
        gap: 8px;
        padding: 0 12px;
    }

    .category-btn {
        min-width: 60px;
        gap: 4px;
    }

    .category-btn .icon-wrapper {
        width: 45px;
        height: 45px;
        border-radius: 8px;
    }

    .category-btn img {
        width: 22px;
        height: 22px;
    }

    .category-btn span {
        font-size: 0.65rem;
        white-space: nowrap;
    }



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

    .game-card img {
        height: 100%;
    }

    .promo-card img,
    .promo-banner img {
        height: auto;
        aspect-ratio: 1200 / 560;
    }

    .promo-text h3 {
        font-size: 1.5rem;
    }

    /* SEO Content Section */
    .seo-content-section {
        padding: 40px 0;
    }

    .seo-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .seo-text p {
        margin-bottom: 18px;
    }

    /* FAQ Section */
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 18px 16px 18px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 12px;
    }

    .provider-logo {
        padding: 10px;
    }

    .provider-logo img {
        max-width: 60px;
        max-height: 30px;
    }

    /* Footer navigation for smallest screens */
    .footer-nav {
        gap: 12px;
    }

    .nav-row {
        gap: 12px;
    }

    .nav-row a {
        font-size: 0.8rem;
        padding: 4px 0;
    }

    /* Sections padding for smallest screens */
    .casinos,
    .promo-section,
    .about-section,
    .providers-section {
        padding: 20px 0;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 170px;
    /* Offset for sidebar + margin */
    right: 20px;
    background: rgba(11, 11, 14, 0.85);
    /* Semi-transparent dark background */
    backdrop-filter: blur(12px);
    /* Glassmorphism effect */
    border: 1px solid rgba(27, 139, 58, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    z-index: 9990;
    /* High z-index but below mobile nav/modals */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 30px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-text i {
    font-size: 1.5rem;
    color: #22c55e;
}

.cookie-text p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-primary-cookie {
    background: linear-gradient(135deg, #22c55e 0%, #1B8B3A 100%);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary-cookie:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-outline-cookie {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-cookie:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 80px;
        /* Position above the mobile bottom nav */
        flex-direction: column;
        padding: 16px;
        border-radius: 12px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-text i {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .cookie-text p {
        font-size: 0.9rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-primary-cookie,
    .btn-outline-cookie {
        flex: 1;
        padding: 12px 0;
        justify-content: center;
        display: flex;
    }
}
/* Popup Modal */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-modal.show {
    opacity: 1;
    visibility: visible;
}

.popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #121215 0%, #0a0a0c 100%);
    border: 2px solid #1B8B3A;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 50px rgba(27, 139, 58, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-modal.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

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

.popup-image {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(27, 139, 58, 0.5));
}

.popup-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

.popup-text {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 30px;
}

.popup-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e 0%, #1B8B3A 100%);
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(27, 139, 58, 0.4);
    animation: pulse-green 2s infinite;
    transition: transform 0.2s ease;
    display: inline-block;
}

.popup-btn:hover {
    transform: translateY(-2px);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(27, 139, 58, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(27, 139, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(27, 139, 58, 0); }
}
