:root {
    --black-bg: #0a0a0a;
    --black-light: #1a1a1a;
    --card-bg: #151515;
    --card-bg-light: #1e1e1e;
    --gold: #FFD700;
    --gold-dark: #D4AF37;
    --gold-light: #FFEC8B;
    --gold-glow: rgba(255, 215, 0, 0.5);
    --text-light: #f8f8f8;
    --text-gray: #b0b0b0;
    --text-dark: #666;
    --green-high: #00ff88;
    --red-low: #ff3860;
    --red-bright: #ff0000;
    --purple: #8A2BE2;
    --blue: #4169E1;
    --orange: #FFA500;
    
    --font-heading: 'Playfair Display', serif;
    --font-primary: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 5px 25px rgba(255, 215, 0, 0.3);
    --shadow-red: 0 5px 25px rgba(255, 0, 0, 0.3);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.3);
    

    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black-bg);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 30%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    background-color: rgba(255, 215, 0, 0.1);
}


.header {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.7rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 101;
}

.logo-image {
    height: clamp(30px, 5vw, 40px);
    margin-right: 12px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.logo-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover, .mobile-menu-btn:focus-visible {
    background: rgba(255, 215, 0, 0.1);
}

.nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black-bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover, .btn-primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}


.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--card-bg);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover, .mobile-menu-close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 3rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    border: 1px solid transparent;
}

.mobile-nav-link:hover, .mobile-nav-link:focus-visible {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border-color: rgba(255, 215, 0, 0.3);
}

.mobile-nav-link.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black-bg);
    justify-content: center;
    margin-top: 1rem;
    border: none;
}

.mobile-nav-link.btn-primary:hover, .mobile-nav-link.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}


.hero-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}


.banner-slideshow-container {
    position: relative;
    height: clamp(250px, 40vw, 450px);
    border-radius: 20px;
    overflow: hidden;
    margin: 2rem auto;
    box-shadow: var(--shadow-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    max-width: 1400px;
}

.banner-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.banner-caption h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.banner-caption p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.banner-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 44px;
    font-size: 0.9rem;
}

.banner-btn:hover, .banner-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.banner-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.banner-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 44px;
    backdrop-filter: blur(10px);
}

.banner-nav-btn:hover, .banner-nav-btn:focus-visible {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    min-height: 12px;
    min-width: 12px;
    border: 2px solid transparent;
}

.banner-dot.active {
    background: var(--gold);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.banner-dot:hover, .banner-dot:focus-visible {
    transform: scale(1.1);
    background: var(--gold-light);
}


.running-text-container {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.8), rgba(255, 215, 0, 0.8));
    padding: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-red);
    margin: 0 auto 2rem;
    max-width: 1400px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.running-text {
    white-space: nowrap;
    animation: runningText 20s linear infinite;
    font-weight: 700;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0;
    display: inline-block;
}

@keyframes runningText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.running-text-container:hover .running-text {
    animation-play-state: paused;
}


.main-content {
    padding: 3rem 0;
}


.mobile-filter-toggle {
    display: none;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.3);
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
    width: 100%;
    justify-content: space-between;
}

.mobile-filter-toggle:hover, .mobile-filter-toggle:focus-visible {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.mobile-filter-toggle.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
}

.mobile-filter-toggle .fa-filter {
    font-size: 1.1rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}


.sidebar {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem 0;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.provider-count-badge {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.search-box {
    position: relative;
    margin: 0 2rem 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
    min-height: 44px;
}

.search-box input:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    transition: var(--transition);
}

.search-box input:focus-visible + i {
    color: var(--gold);
}

.sidebar-content {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}


.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

.provider-list {
    list-style: none;
}

.provider-item {
    margin-bottom: 2px;
}

.provider-link {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    border-radius: 0 8px 8px 0;
    margin-right: 0.5rem;
}

.provider-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    transition: width 0.5s;
}

.provider-link:hover::before, .provider-link:focus-visible::before {
    width: 100%;
}

.provider-link:hover, .provider-link:focus-visible {
    color: var(--gold);
    padding-left: 2.2rem;
    background: rgba(255, 215, 0, 0.05);
}

.provider-link.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border-left: 4px solid var(--gold);
    padding-left: 1.8rem;
}

.provider-link.active::before {
    width: 100%;
}

.provider-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.provider-count {
    margin-left: auto;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}


.content-area {
    background: transparent;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-left p {
    color: var(--text-gray);
    font-size: clamp(0.9rem, 2vw, 1rem);
    max-width: 600px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-filter {
    position: relative;
}

.sort-filter select {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    min-width: 150px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.sort-filter select:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.reset-filter-btn {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    min-height: 44px;
}

.reset-filter-btn:hover, .reset-filter-btn:focus-visible {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}


.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}


.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    transform: scaleX(0);
    transition: transform 0.5s;
    z-index: 2;
}

.game-card:hover, .game-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15);
}

.game-card:hover::before, .game-card:focus-within::before {
    transform: scaleX(1);
}

.game-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s;
}

.game-card:hover .game-image, .game-card:focus-within .game-image {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--gold);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    border-radius: 15px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #ffffff;
}

.game-provider {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.game-provider i {
    margin-right: 5px;
    color: var(--gold);
}

.rtp-section {
    margin: 1.2rem 0;
}

.rtp-label {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rtp-bar-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rtp-bar {
    height: 100%;
    transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.5s;
    position: absolute;
    left: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--red-low), var(--gold), var(--green-high));
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.rtp-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 35px;
    font-weight: 700;
    z-index: 10;
    font-size: 1rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.game-actions {
    display: flex;
    gap: 0.8rem;
}

.game-btn {
    flex: 1;
    padding: 0.8rem 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-info {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-info:hover, .btn-info:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-play {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black-bg);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-play:hover, .btn-play:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.6);
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-light) 100%);
    color: var(--text-light);
    border: 2px solid var(--gold);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    font-size: 0.9rem;
}

.load-more-btn:hover, .load-more-btn:focus-visible {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}


.no-games-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
}

.no-games-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--gold);
}

.no-games-message h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 1.3rem;
}

.no-games-message p {
    color: var(--text-gray);
    font-size: 1rem;
}


.seo-content-section {
    background: var(--card-bg-light);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.seo-content-section article {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-content-section h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 2rem 0 1rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
}

.seo-content-section h4 {
    font-size: 1.2rem;
    color: var(--gold);
    margin: 1.5rem 0 0.5rem;
}

.seo-content-section p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.seo-content-section ul, .seo-content-section ol {
    color: var(--text-gray);
    margin: 1rem 0;
    padding-left: 2rem;
}

.seo-content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.seo-content-section strong {
    color: var(--gold);
    font-weight: 600;
}


.providers-showcase {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.provider-logo-item {
    background: var(--card-bg);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.provider-logo-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.provider-logo-item:hover::before, .provider-logo-item:focus-visible::before {
    opacity: 1;
}

.provider-logo-item:hover, .provider-logo-item:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.provider-logo-item.active {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.provider-logo {
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.provider-logo-item:hover .provider-logo, .provider-logo-item:focus-visible .provider-logo {
    transform: scale(1.1);
}

.provider-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 0.5rem;
}


.features-section {
    padding: 5rem 0;
    background: rgba(10, 10, 10, 0.6);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.5s;
}

.feature-card:hover, .feature-card:focus-within {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before, .feature-card:focus-within::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon, .feature-card:focus-within .feature-icon {
    transform: scale(1.1);
    color: var(--gold-light);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-desc {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}


.faq-section {
    padding: 4rem 0;
    background: var(--card-bg-light);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.faq-item:hover, .faq-item:focus-within {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h3::before {
    content: "❓";
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}


.footer {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
}

.footer-logo-image {
    height: 35px;
    margin-right: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.footer-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    padding: 0.3rem 0;
    border-radius: 5px;
}

.footer-links a:hover, .footer-links a:focus-visible {
    color: var(--gold);
    padding-left: 5px;
    background: rgba(255, 215, 0, 0.05);
}

.footer-links i {
    margin-right: 8px;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 215, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 2;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--gold);
    line-height: 1.2;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover, .modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-game-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.modal-game-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    display: block;
}

.modal-game-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--text-gray);
    flex-shrink: 0;
}

.info-value {
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
}

.game-description h3 {
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 1.2rem;
}

.game-description p {
    color: var(--text-gray);
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background: var(--card-bg);
    border-radius: 0 0 20px 20px;
}

.modal-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 44px;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}


@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .content-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 999;
        border-radius: 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        display: block;
    }
    
    .sidebar.active {
        transform: translateY(0);
    }
    
    .mobile-filter-toggle {
        display: flex;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .seo-content-section h2 {
        font-size: 1.8rem;
    }
    
    .seo-content-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .banner-slideshow-container {
        height: 250px;
        margin: 1rem auto;
        border-radius: 15px;
    }
    
    .banner-caption {
        padding: 1.5rem;
    }
    
    .banner-caption h3 {
        font-size: 1.5rem;
    }
    
    .banner-caption p {
        font-size: 1rem;
    }
    
    .banner-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .content-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .running-text {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reset-filter-btn {
        order: -1;
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .game-btn {
        padding: 1rem;
    }
    
    .btn-text {
        display: inline;
    }
    
    .seo-content-section {
        padding: 2rem 0;
    }
    
    .seo-content-section article {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .running-text {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .header-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sort-filter, .reset-filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .banner-slideshow-container {
        height: 200px;
        border-radius: 10px;
    }
    
    .banner-caption {
        padding: 1rem;
    }
    
    .banner-caption h3 {
        font-size: 1.2rem;
    }
    
    .banner-caption p {
        font-size: 0.9rem;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .sidebar-header h2 {
        font-size: 1.1rem;
    }
    
    .provider-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .game-info {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 1rem;
        height: 2.4rem;
    }
    
    .rtp-bar-container {
        height: 30px;
    }
    
    .rtp-text {
        line-height: 30px;
        font-size: 0.9rem;
    }
    
    .btn-text {
        display: inline;
    }
}

@media (max-width: 400px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-btn {
        width: 100%;
    }
    
    .header-content {
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .content-header h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-text {
        display: inline;
    }
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


@media (prefers-color-scheme: dark) {

}


@media (prefers-contrast: high) {
    :root {
        --gold: #ffff00;
        --text-light: #ffffff;
        --text-gray: #cccccc;
        --black-bg: #000000;
        --card-bg: #1a1a1a;
    }
    
    .game-card {
        border: 2px solid var(--gold);
    }
    
    .btn-primary, .btn-secondary {
        border: 2px solid var(--gold);
    }
}


@media print {
    .header,
    .footer,
    .banner-slideshow-container,
    .running-text-container,
    .nav-btn,
    .load-more-btn,
    .mobile-filter-toggle,
    .modal-overlay,
    .game-actions {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .game-card {
        break-inside: avoid;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        margin-bottom: 1rem;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
    
    .game-grid {
        display: block !important;
    }
    
    .rtp-bar-container {
        background: #f0f0f0 !important;
        border: 1px solid #ccc !important;
    }
    
    .rtp-bar {
        background: #4CAF50 !important;
    }
    
    .rtp-text {
        color: black !important;
        text-shadow: none !important;
    }
}


.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}