/* ===================================
   Games Directory - Light Modern Theme
   Clean & Colorful Design
   =================================== */

/* Games Hero Section */
.games-hero {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: var(--spacing-sm);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.games-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.games-hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
}

/* Search & Filter Bar */
.search-filter-bar {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-sm);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box {
    flex: 1;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 10px 18px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--dark-color);
    white-space: nowrap;
}

.filter-btn:hover {
    background: #f9fafb;
    border-color: #667eea;
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.filter-count {
    display: none;
}

/* Provider Section */
.provider-section {
    padding: var(--spacing-xl) 0;
    background: #fafbfc;
}

.provider-section:nth-child(odd) {
    background: white;
}

.provider-section.hidden {
    display: none;
}

/* Provider Header */
.provider-header-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid #f0f0f0;
}

.provider-logo-container {
    height: 50px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.provider-logo-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.game-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

/* Tablet and up */
@media (min-width: 600px) {
    .games-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .games-grid-new {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .games-grid-new {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

/* Game Card */
.game-card-new {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 2px solid transparent;
}

/* NEW game - green border */
.game-card-new.new-game {
    border-color: #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.game-card-new.new-game:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
    border-color: #059669;
}

/* DISABLED game - non clickable */
.game-card-new.game-disabled {
    pointer-events: none;
    filter: grayscale(20%);
}

.game-card-new.game-disabled:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.game-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.game-card-preview {
    position: relative;
    width: 100%;
    padding-top: 56.67%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.game-preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-star {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.favorite-star:hover {
    transform: scale(1.1);
    background: white;
}

.favorite-star.active {
    background: #fbbf24;
    transform: scale(1.15);
}

.game-card-image {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.game-logo-placeholder {
    display: none;
}

.game-icon-large {
    font-size: 5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    z-index: 1;
}

.game-card-content {
    padding: var(--spacing-md);
    background: #fafbfc;
    border-top: 2px solid #f0f0f0;
}

.game-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.game-provider-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: white;
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto var(--spacing-sm);
    border: 1px solid #e5e7eb;
}

.mini-logo {
    display: none;
}

.game-provider-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-color);
    letter-spacing: 0.5px;
}

/* Recent Bonuses Overlay - TRANSPARENT */
.recent-bonuses {
    display: none; /* Old version - hidden */
}

.recent-bonuses-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 100%);
    padding: 6px 4px 4px;
    z-index: 2;
}

.recent-bonuses-overlay .bonuses-list {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 3px;
    overflow: hidden;
    min-height: 32px;
}

/* Bonus items now handled by game-results.css */

.bonuses-label {
    display: none; /* Not needed in overlay */
}

.bonuses-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* Legacy bonus-item - not used */
.bonuses-list-old .bonus-item {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--gray-color);
    background: white;
    border-radius: 16px;
    margin: var(--spacing-lg) 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.no-results-text {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Affiliate Rotator */
.affiliate-rotator {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    margin: var(--spacing-lg) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.affiliate-rotator::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.affiliate-header {
    text-align: center;
    color: white;
    margin-bottom: 12px;
}

.affiliate-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.affiliate-header p {
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0;
}

.affiliate-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.affiliate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

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

.affiliate-logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: block;
}

.affiliate-info {
    flex: 1;
    min-width: 0;
}

.affiliate-casino-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.affiliate-casino-name h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.verified-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(16,185,129,0.25);
}

.affiliate-promo {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 4px;
    box-shadow: 0 2px 4px rgba(251,191,36,0.25);
}

.affiliate-description {
    color: var(--gray-color);
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.affiliate-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
}

.affiliate-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
    white-space: nowrap;
    text-align: center;
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.45);
}

.affiliate-terms {
    font-size: 0.6rem;
    color: var(--gray-color);
    text-align: center;
}

.affiliate-terms a {
    color: #667eea;
    text-decoration: none;
}

.adm-compliance {
    text-align: center;
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
}

.adm-compliance strong {
    font-weight: 700;
}

.affiliate-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

.dot.active {
    background: white;
    width: 16px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .games-hero {
        padding: var(--spacing-md) 0;
    }
    
    .search-filter-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .filter-btn {
        flex: 1;
        text-align: center;
    }
    
    .games-grid-new {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .game-icon-large {
        font-size: 3.5rem;
    }
    
    .game-card-image {
        min-height: 100px;
        padding: var(--spacing-md);
    }
    
    .provider-header-new {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .provider-logo-container {
        height: 45px;
        width: 160px;
        justify-content: center;
    }
    
    /* Affiliate Rotator Mobile */
    .affiliate-card {
        padding: var(--spacing-sm);
    }
    
    .affiliate-card-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .affiliate-logo {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        margin-bottom: 8px;
    }
    
    .affiliate-casino-name {
        justify-content: center;
    }
    
    .affiliate-casino-name h4 {
        font-size: 1.1rem;
    }
    
    .affiliate-info {
        text-align: center;
    }
    
    .affiliate-cta {
        align-items: stretch;
        width: 100%;
    }
    
    .affiliate-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .affiliate-terms {
        text-align: center;
    }
    
    .affiliate-rotator {
        padding: var(--spacing-sm);
    }
    
    .affiliate-header h3 {
        font-size: 1.1rem;
    }
    
    .affiliate-header p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .games-grid-new {
        grid-template-columns: 1fr 1fr;
    }
    
    .game-name {
        font-size: 1rem;
    }
    
    .game-icon-large {
        font-size: 3rem;
    }
    
    /* IMPROVED MOBILE AFFILIATE ROTATOR */
    .affiliate-rotator {
        padding: 12px;
        margin: 16px 0;
    }
    
    .affiliate-header {
        margin-bottom: 12px;
    }
    
    .affiliate-header h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .affiliate-header p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .affiliate-card {
        padding: 12px;
        gap: 12px;
    }
    
    .affiliate-card-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .affiliate-logo {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
        margin-bottom: 8px;
    }
    
    .affiliate-casino-name {
        justify-content: center;
        margin-bottom: 6px;
    }
    
    .affiliate-casino-name h4 {
        font-size: 1rem;
    }
    
    .verified-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .affiliate-promo {
        font-size: 0.85rem !important;
        margin-bottom: 6px;
    }
    
    .affiliate-info {
        text-align: center;
    }
    
    .affiliate-description {
        font-size: 0.75rem !important;
        line-height: 1.5;
        margin-bottom: 0;
        text-align: center;
    }
    
    .affiliate-description small {
        font-size: 0.7rem;
    }
    
    .affiliate-cta {
        margin-top: auto;
        padding-top: 10px;
        width: 100%;
    }
    
    .affiliate-btn {
        font-size: 0.9rem;
        padding: 12px 24px;
        width: 100%;
    }
    
    .affiliate-terms {
        font-size: 0.7rem;
        margin-top: 6px;
        text-align: center;
    }
    
    .affiliate-dots {
        margin-top: 12px;
        gap: 6px;
    }
    
    .affiliate-dot {
        width: 6px;
        height: 6px;
    }
}

/* ========================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ======================================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        gap: 10px !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        display: block;
    }
}

/* ========================================
   RECENT BONUSES OVERLAY
   ======================================== */

.recent-bonuses-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: 12px 10px 10px;
    backdrop-filter: blur(5px);
}

.recent-bonuses-overlay .bonuses-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* Tablet optimization for bonus overlay */
@media (min-width: 768px) and (max-width: 1024px) {
    .recent-bonuses-overlay .bonus-item {
        font-size: 0.5rem;
        padding: 2px 4px;
        min-width: 15px;
    }
}

.recent-bonuses-overlay .bonus-item:hover {
    transform: scale(1.05);
}

/* ============================================
   MOBILE-FIRST OPTIMIZATIONS
   ============================================ */

/* Login Required Modal */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.login-modal {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.login-modal h3 {
    margin: 0 0 16px 0;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.login-modal p {
    margin: 0 0 24px 0;
    color: var(--gray-color);
    line-height: 1.6;
}

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

.login-modal-buttons button {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-cancel {
    background: #f0f0f0;
    color: #666;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

/* Mobile: Smaller bonus chips */
@media (max-width: 480px) {
    /* Bonus overlay mobile */
    .recent-bonuses-overlay {
        padding: 4px 1px 2px;
        background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, transparent 100%);
    }
    
    .recent-bonuses-overlay .bonus-item {
        padding: 1px 2px;
        font-size: 0.45rem;
        min-width: 13px;
        border-radius: 3px;
        background: rgba(102, 126, 234, 0.18);
    }
    
    .recent-bonuses-overlay .bonuses-list {
        gap: 1px;
        flex-wrap: nowrap;

    }
    
    /* Game cards mobile optimization */
    .games-grid-new {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 16px 12px !important;
    }
    
    .game-card-new {
        display: flex !important;
        flex-direction: column !important;
        background: white !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        min-height: 200px !important;
    }
    
    .game-card-new:active {
        transform: scale(0.97) !important;
    }
    
    .game-image-container {
        position: relative !important;
        width: 100% !important;
        padding-top: 75% !important;
        overflow: hidden !important;
        background: linear-gradient(135deg, #f0f0f0, #e0e0e0) !important;
    }
    
    .game-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .game-icon {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 3rem !important;
        z-index: 1 !important;
    }
    
    .game-info {
        padding: 12px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .game-name {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .game-provider-badge {
        padding: 4px 10px !important;
        font-size: 0.7rem !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: #667eea !important;
        border: 1px solid #667eea !important;
        border-radius: 8px !important;
        display: inline-block !important;
        margin-top: auto !important;
        width: fit-content !important;
    }
    
    .game-provider-badge span {
        font-size: 0.65rem !important;
        letter-spacing: 0.3px !important;
        font-weight: 700 !important;
    }
    
    /* Favorite star smaller on mobile */
    .favorite-star {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        top: 8px !important;
        left: 8px !important;
        background: rgba(255,255,255,0.9) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 2 !important;
    }
    
    /* Live indicator mobile */
    .live-indicator {
        top: 8px !important;
        right: 8px !important;
        font-size: 0.65rem !important;
        padding: 4px 10px !important;
        background: #ef4444 !important;
        color: white !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        z-index: 2 !important;
    }
    
    /* Affiliate rotator mobile compact */
    .affiliate-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .affiliate-logo {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
    
    .affiliate-casino-name {
        justify-content: center;
    }
    
    .affiliate-casino-name h4 {
        font-size: 1.1rem;
    }
    
    .affiliate-cta {
        align-items: center;
        width: 100%;
    }
    
    .affiliate-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .affiliate-terms {
        text-align: center;
    }
    
    .affiliate-rotator {
        padding: var(--spacing-sm);
    }
    
    .affiliate-header h3 {
        font-size: 1rem;
    }
    
    .affiliate-header p {
        font-size: 0.8rem;
    }
    
    /* Search bar mobile */
    .games-search {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    /* Filters mobile - stack vertically */
    .games-filters {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    /* Login modal mobile */
    .login-modal {
        padding: 24px;
        max-width: 90%;
    }
    
    .login-modal h3 {
        font-size: 1.3rem;
    }
}

/* Remove old recent-bonuses style */
.recent-bonuses {
    display: none;
}

.bonuses-label {
    display: none;
}

/* NEW Badge */
.new-badge {
    position: absolute;
    top: 10px;
    right: 90px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 480px) {
    .new-badge {
        top: 8px;
        right: 75px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }
}
