/*
Theme Name: Pinco Casino
Description: Single page theme for casino with multilingual support (en-CA, fr-CA)
Version: 1.0.0
Author: Pinco Casino Team
Text Domain: pincocasino
Domain Path: /languages/
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
Tags: casino, one-page, multilingual, responsive
*/

/* ========================================
   Base styles will be added later
   ======================================== */

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

/* Fallback fonts with size-adjust to minimize CLS */
@font-face {
    font-family: 'Roboto-fallback';
    src: local('Arial');
    size-adjust: 100.06%;
    ascent-override: 105%;
    descent-override: 28%;
    line-gap-override: 0%;
}

html, body {
    height: 100%;
    font-family: var(--font-stack);
    background-color: #00110E;
    color: #ffffff;
    overflow-x: hidden;
}

/* Variables */
:root {
    --primary-bg: #00110E;
    --accent-red: #FF2301;
    --accent-red-hover: #E02911;
    --accent-green: #E02911;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --sidebar-width: 220px;
    --header-height: 80px;
    --font-stack: 'Roboto', 'Roboto-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    max-width: 1920px;
    margin: 0 auto;
}

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

.main-nav {
    display: flex;
    gap: 30px;
    margin-left: var(--sidebar-width);
    position: absolute;
    left: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    color: #ffffff;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.nav-item img {
    width: 16px;
    height: 16px;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.nav-item:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: relative;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-btn .burger-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu-btn .close-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.mobile-menu-btn.active .burger-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Roboto', 'Roboto-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Fix for anchor button styles */
    text-decoration: none !important;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 35, 1, 0.3);
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: scale(1.05);
}

.btn-secondary-red {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-red);
    /* Fix for anchor button styles */
    text-decoration: none !important;
    display: inline-block;
}

.btn-secondary-red:hover {
    background: var(--accent-red);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.4);
}

/* Support button specific styles to ensure text visibility */
.footer-section .btn-secondary-red {
    display: inline-block;
    text-decoration: none;
    color: var(--text-primary) !important;
}

.footer-section .btn-secondary-red:hover {
    color: white !important;
    text-decoration: none;
}

/* Mobile Auth Button */
.mobile-auth-btn {
    display: none;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 35, 1, 0.3);
    /* Fix for anchor button styles */
    text-decoration: none !important;
}

.mobile-auth-btn:hover {
    background: var(--accent-red-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.4);
}

.desktop-buttons {
    display: flex;
    gap: 15px;
}

/* Main Layout */
.main-layout {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: var(--primary-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px 10px;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.sidebar-item:hover {
    color: #ffffff;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 35, 1, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--accent-red);
    color: var(--text-primary);
}

.sidebar-item img {
    width: 20px;
    height: 20px;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.sidebar-item:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.sidebar-item.active img {
    filter: brightness(1);
}

.sidebar-bottom {
    margin-top: auto;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-selector {
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 14px;
    min-width: 120px;
    justify-content: flex-start;
    color: var(--text-secondary);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-red);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 35, 1, 0.1);
}

.language-selector.loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

.flag {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile Auth Buttons */
.mobile-auth-buttons {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    padding: 0 15px;
}

.mobile-btn-primary, .mobile-btn-secondary {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    /* Fix for anchor button styles */
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
}

.mobile-btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 35, 1, 0.3);
}

.mobile-btn-primary:hover {
    background: var(--accent-red-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.4);
}

.mobile-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.mobile-btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 30px;
    min-height: calc(100vh - var(--header-height));
}

/* Promotional Banners */
.promo-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0;
}

.banner {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.banner:hover {
    transform: translateY(-5px);
}

.sport-banner:hover {
    box-shadow: 
        0 0 8px rgba(255, 35, 1, 0.6),
        0 0 16px rgba(255, 35, 1, 0.4),
        0 4px 15px rgba(255, 35, 1, 0.2);
    border: 1px solid #FF2301;
}

.casino-banner:hover {
    box-shadow: 
        0 0 8px rgba(0, 255, 135, 0.6),
        0 0 16px rgba(0, 255, 135, 0.4),
        0 4px 15px rgba(0, 255, 135, 0.2);
    border: 1px solid #00FF87;
}

.sport-banner {
    background: url('images/Banner/card-background-1.webp');
    background-size: cover;
    background-position: center;
}

.casino-banner {
    background: url('images/Banner/card-background-2.webp');
    background-size: cover;
    background-position: center;
}

.banner-content {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    max-width: 50%;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-text {
    font-size: 18px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.banner-percentage {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #FFD700;
}

.banner-bonus {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: -10px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-image {
    position: absolute;
    right: 10px;
    bottom: 0;
    height: 100%;
    z-index: 3;
    transition: all 0.3s ease;
    transform-origin: bottom right;
    pointer-events: none;
}

.banner-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    filter: 
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4))
        drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.banner:hover .banner-image {
    transform: scale(1.03) translateX(-3px) translateY(-2px);
}

.banner:hover .banner-image img {
    filter: 
        drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5))
        drop-shadow(0 6px 20px rgba(0, 0, 0, 0.3))
        brightness(1.1);
}

/* Section Headers (used in Benefits and Gaming sections) */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FF2301, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Casino Games Section */
.casino-games-section {
    margin-bottom: 50px;
}

.casino-header {
    text-align: center;
    margin-bottom: 30px;
}

.casino-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FF2301, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.all-slots-button {
    text-align: center;
    margin: 30px 0 0 0;
}

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

.game-card {
    position: relative;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: #1a1a1a;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 35, 1, 0.15);
    border-color: var(--accent-red);
}

.game-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.8) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.game-buttons {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.game-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

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

.demo-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.play-btn {
    background: linear-gradient(135deg, #ff2301, #ff4601);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 35, 1, 0.3);
}

.play-btn:hover {
    background: linear-gradient(135deg, #ff4601, #ff6601);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.4);
}

/* On mobile only icons - no overlay at all */
@media (max-width: 768px) {
    .game-overlay {
        display: none !important;
    }
    
    .game-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Hide "up to" from red card on mobile */
.sport-banner .banner-text {
    display: none;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid var(--border-color);
    background: var(--primary-bg);
    perspective: 1000px;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(255, 35, 1, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-red);
}

.benefit-image {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease;
    filter: brightness(0.8);
    transform: rotateX(2deg) rotateY(-2deg) scale(1.02);
}

.benefit-card:hover .benefit-image {
    transform: translateY(-8px) translateX(-3px) rotateX(1deg) rotateY(-1deg);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 35, 1, 0.1);
}

.benefit-card:hover .benefit-image img {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05);
    filter: brightness(1);
}

.benefit-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 20%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 17, 14, 0.95) 100%
    );
    padding: 40px 25px 25px;
    z-index: 2;
    transition: all 0.2s ease;
}

.benefit-card:hover .benefit-content {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 10%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 17, 14, 0.98) 100%
    );
}

.benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    line-height: 1.2;
}

.benefit-card:hover .benefit-title {
    color: var(--accent-red);
    transform: translateY(-2px);
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.benefit-card:hover .benefit-description {
    color: var(--text-primary);
}

/* Gaming Info */
.gaming-info {
    margin-bottom: 40px;
    text-align: center;
}

.gaming-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.gaming-info-button {
    text-align: center;
    margin-top: 30px;
}

/* Footer Styles */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    padding: 40px 0;
}

.footer-container {
    margin-left: var(--sidebar-width);
    max-width: calc(1920px - var(--sidebar-width));
    padding: 0 30px;
}

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

.footer-section h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-red);
    transform: translateX(5px);
}

.support-link {
    background: rgba(255, 35, 1, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.support-link:hover {
    background: rgba(255, 35, 1, 0.2);
}

/* Providers Strip */
.providers-strip {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    height: 80px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.providers-strip::before,
.providers-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.providers-strip::before {
    left: 0;
    background: linear-gradient(to right, rgba(14, 14, 14, 1), rgba(14, 14, 14, 0));
}

.providers-strip::after {
    right: 0;
    background: linear-gradient(to left, rgba(14, 14, 14, 1), rgba(14, 14, 14, 0));
}

.providers-marquee {
    display: flex;
    animation: scrollLeft 30s linear infinite;
    height: 100%;
}

.providers-strip:hover .providers-marquee {
    animation-play-state: paused;
}

.providers-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    min-width: max-content;
}

.providers-content img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.providers-content img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Payment Strip */
.payment-strip {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    height: 90px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.payment-strip::before,
.payment-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.payment-strip::before {
    left: 0;
    background: linear-gradient(to right, rgba(14, 14, 14, 1), rgba(14, 14, 14, 0));
}

.payment-strip::after {
    right: 0;
    background: linear-gradient(to left, rgba(14, 14, 14, 1), rgba(14, 14, 14, 0));
}

.payment-marquee {
    display: flex;
    animation: scrollRight 20s linear infinite;
    height: 100%;
}

.payment-strip:hover .payment-marquee {
    animation-play-state: paused;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 25px;
    min-width: max-content;
}

.payment-content img {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.payment-content img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Animations */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-33.33%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Copyright Section */
.copyright-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.age-badge {
    background: var(--accent-red);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-badge span {
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.age-badge span:hover {
    transform: scale(1.1);
}

.copyright-text {
    flex: 1;
    margin-left: 20px;
}

.copyright-text p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.copyright-text p:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.license-info {
    opacity: 0.7;
}

/* App Download Section */
.app-download-section {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 40px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 35, 1, 0.03) 0%, rgba(255, 215, 0, 0.03) 100%);
    pointer-events: none;
}

.app-download-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    min-height: 450px;
}

.app-download-content {
    flex: 1;
    max-width: 500px;
    align-self: center;
    padding-bottom: 40px;
}

.app-phone-mockup {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 450px;
    overflow: hidden;
    position: relative;
    margin-left: -20px;
}

.phone-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.phone-image {
    height: 450px;
    width: auto;
    object-fit: cover;
    object-position: bottom;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    transform-origin: bottom center;
    display: block;
}

.app-phone-mockup:hover .phone-image {
    transform: scale(1.02);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.phone-screen-qr {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.app-phone-mockup:hover .phone-screen-qr {
    background: rgba(0, 0, 0, 0.15);
    transform: translateX(-50%) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.screen-qr-image {
    width: 120px;
    height: 120px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.app-phone-mockup:hover .screen-qr-image {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.screen-qr-text {
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

.app-download-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #FF2301, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.platform-switcher {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    overflow: hidden;
}

.platform-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    flex: 1;
    justify-content: center;
    position: relative;
}

.platform-option.active {
    background: var(--accent-red);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 35, 1, 0.3);
}

.platform-option:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: scale(1.01);
}

.platform-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.platform-option.active .platform-icon {
    filter: brightness(1.2);
}

.platform-option:hover .platform-icon {
    filter: brightness(1);
}

.app-download-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.app-download-button {
    margin-top: 25px;
}

.btn-app-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 35, 1, 0.3);
    border: none;
}

.btn-app-download:hover {
    background: var(--accent-red-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.4);
}

.download-text {
    font-weight: 700;
}

.download-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-app-download:hover .download-icon {
    transform: translateY(2px);
}

.btn-app-download.downloading {
    background: #28a745;
    pointer-events: none;
}

.btn-app-download.downloading .download-text {
    opacity: 0.7;
}

.btn-app-download.downloading .download-icon {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .header-text {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-container {
        justify-content: space-between;
        position: relative;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header-actions {
        margin-left: auto;
    }
    
    .header-actions .btn-primary {
        font-size: 12px;
        padding: 10px 16px;
    }
    
    .header-actions .btn-secondary {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .mobile-auth-btn {
        display: block;
        font-size: 12px;
        padding: 10px 16px;
    }
    
    .desktop-buttons {
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hide "up to" from red card on tablets */
    .sport-banner .banner-text {
        display: none;
    }
    
    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-right: none;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .mobile-auth-buttons {
        display: flex;
    }
    
    .mobile-auth-btn {
        display: block;
        font-size: 14px;
        padding: 12px 18px;
    }
    
    .desktop-buttons {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }
    
    .promo-banners {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
    
    .banner {
        height: 250px;
    }
    
    .banner-image {
        right: 25px;
        height: 108%;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-percentage {
        font-size: 48px;
        margin-bottom: 5px;
    }
    
    .banner-bonus {
        font-size: 20px;
        margin-top: -12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .casino-title {
        font-size: 24px;
    }
    
    .all-slots-button {
        margin: 20px 0;
    }
    
    /* App Download Section - Tablet */
    .app-download-section {
        padding: 30px 20px 0;
        margin: 30px 0;
    }
    
    .app-download-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
        min-height: auto;
    }
    
    .app-download-content {
        max-width: 100%;
        align-self: stretch;
        padding-bottom: 30px;
    }
    
    .app-download-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .platform-switcher {
        max-width: 320px;
        margin: 0 auto 20px;
    }
    
    .app-phone-mockup {
        flex: none;
        order: 1;
        height: 360px;
        min-height: 360px;
        align-items: flex-end;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        position: relative;
    }
    
    .phone-image {
        height: 360px;
        max-height: 360px;
    }
    
    .phone-container {
        height: 100%;
        width: 100%;
    }
    
    .phone-screen-qr {
        padding: 28px;
        gap: 12px;
        top: 22%;
        border-radius: 14px;
    }
    
    .screen-qr-image {
        width: 110px;
        height: 110px;
        padding: 9px;
    }
    
    .screen-qr-text {
        font-size: 10px;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefit-card {
        height: 240px;
    }
    
    .benefit-image {
        top: -5px;
        left: -5px;
        width: calc(100% + 10px);
        height: calc(100% + 10px);
    }
    
    .benefit-image img {
        transform: rotateX(1deg) rotateY(-1deg) scale(1.01);
    }
    
    .benefit-card:hover .benefit-image {
        transform: translateY(-4px) translateX(-2px) rotateX(0.5deg) rotateY(-0.5deg);
    }
    
    .benefit-content {
        padding: 30px 20px 20px;
    }
    
    .benefit-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .benefit-description {
        font-size: 14px;
    }
    
    .gaming-info {
        padding: 0 10px;
    }
    
    .gaming-info p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .footer-container {
        margin-left: 0;
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .providers-strip,
    .payment-strip {
        height: 70px;
        margin-bottom: 20px;
    }
    
    .providers-content {
        gap: 30px;
        padding: 0 15px;
    }
    
    .payment-content {
        gap: 40px;
        padding: 0 20px;
    }
    
    .providers-content img {
        height: 40px;
    }
    
    .payment-content img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    /* Hide "up to" from red card on mobile */
    .sport-banner .banner-text {
        display: none;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-btn {
        order: 0;
        margin-right: auto;
    }
    
    .mobile-menu-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .mobile-auth-btn {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .promo-banners {
        gap: 10px;
    }
    
    .banner {
        height: 200px;
        border-radius: 8px;
    }
    
    .banner-content {
        left: 15px;
        max-width: 65%;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 18px;
    }
    
    .banner-text {
        font-size: 14px;
    }
    
    .banner-percentage {
        font-size: 36px;
        margin-bottom: 4px;
    }
    
    .banner-bonus {
        font-size: 16px;
        margin-top: -6px;
    }
    
    .banner-image {
        right: 30px;
        height: 98%;
    }

    .banner-image img {
        object-position: bottom right;
        filter: 
            drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3))
            drop-shadow(0 1px 5px rgba(0, 0, 0, 0.2));
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .casino-title {
        font-size: 20px;
    }
    
    .all-slots-button {
        margin: 15px 0;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-card {
        height: 160px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .benefit-card {
        height: 180px;
    }
    
    .benefit-image {
        top: -3px;
        left: -3px;
        width: calc(100% + 6px);
        height: calc(100% + 6px);
    }
    
    .benefit-image img {
        transform: rotateX(0.5deg) rotateY(-0.5deg) scale(1.005);
    }
    
    .benefit-card:hover .benefit-image {
        transform: translateY(-2px) translateX(-1px) rotateX(0.25deg) rotateY(-0.25deg);
    }
    
    .benefit-content {
        padding: 20px 12px 12px;
    }
    
    .benefit-title {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.1;
    }
    
    .benefit-description {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .gaming-info {
        padding: 0 5px;
    }
    
    .gaming-info p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    /* App Download Section - Mobile */
    .app-download-section {
        padding: 25px 15px 0;
        margin: 20px 0;
        border-radius: 8px;
    }
    
    .app-download-container {
        gap: 25px;
        align-items: center;
        min-height: auto;
        flex-direction: column;
    }
    
    .app-download-content {
        align-self: stretch;
        order: 0;
        padding-bottom: 25px;
    }
    
    .app-download-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .platform-switcher {
        max-width: 280px;
        margin: 0 auto 15px;
        padding: 3px;
    }
    
    .platform-option {
        padding: 10px 15px;
        font-size: 13px;
        gap: 8px;
    }
    
    .platform-icon {
        width: 16px;
        height: 16px;
    }
    
    .app-download-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn-app-download {
        padding: 12px 24px;
        font-size: 13px;
        gap: 8px;
    }
    
    .app-phone-mockup {
        flex: none;
        height: 320px;
        min-height: 320px;
        align-items: flex-end;
        order: 1;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        position: relative;
    }
    
    .phone-image {
        height: 320px;
        max-height: 320px;
    }
    
    .phone-container {
        height: 100%;
        width: 100%;
    }
    
    .phone-screen-qr {
        top: 18%;
        padding: 24px;
        gap: 12px;
        border-radius: 14px;
    }
    
    .screen-qr-image {
        width: 100px;
        height: 100px;
        padding: 8px;
        border-radius: 9px;
    }
    
    .screen-qr-text {
        font-size: 9px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .providers-strip,
    .payment-strip {
        height: 60px;
        margin-bottom: 15px;
    }
    
    .providers-strip::before,
    .providers-strip::after,
    .payment-strip::before,
    .payment-strip::after {
        width: 60px;
    }
    
    .providers-content {
        gap: 25px;
        padding: 0 10px;
    }
    
    .payment-content {
        gap: 30px;
        padding: 0 15px;
    }
    
    .providers-content img {
        height: 35px;
    }
    
    .payment-content img {
        height: 45px;
    }
    
    .providers-marquee {
        animation: scrollLeft 25s linear infinite;
    }
    
    .payment-marquee {
        animation: scrollRight 20s linear infinite;
    }
}

/* FAQ Section - in site style with proper effects */
.faq-section.gaming-info {
    margin-bottom: 40px;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 35, 1, 0.15);
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    outline: none;
}

.faq-question:hover {
    color: var(--accent-red);
}

.faq-question:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: -2px;
}

.faq-icon {
    color: var(--accent-red);
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item:hover .faq-icon {
    transform: scale(1.1);
}

.faq-item.active:hover .faq-icon {
    transform: rotate(45deg) scale(1.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

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

.faq-answer > div {
    padding: 0 25px 25px 25px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

/* Active state of FAQ element */
.faq-item.active {
    background: rgba(255, 35, 1, 0.05);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 35, 1, 0.2);
}

.faq-item.active .faq-question {
    color: var(--accent-red);
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-container {
        gap: 10px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .faq-icon {
        font-size: 18px;
        margin-left: 12px;
    }
    
    .faq-answer > div {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-container {
        gap: 8px;
    }
    
    .faq-question {
        padding: 15px 18px;
        font-size: 15px;
    }
    
    .faq-icon {
        font-size: 16px;
        margin-left: 10px;
    }
    
    .faq-answer > div {
        padding: 0 18px 18px 18px;
        font-size: 13px;
    }
    
    .faq-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(255, 35, 1, 0.1);
    }
}

/* ==========================================================================
   BENEFIT CARDS PERFORMANCE OPTIMIZATIONS
   Animation optimizations to remove lags in hover effects
   ========================================================================== */

/* 1. Tell browser what will be animated and isolate repainting */
.benefit-card,
.benefit-image {
    will-change: transform;
    contain: paint;
}

/* 2. Animate ONLY transform and shadow - no colors/gradients */
.benefit-card {
    transition: transform .25s cubic-bezier(.25,.46,.45,.94),
                box-shadow .25s cubic-bezier(.25,.46,.45,.94) !important;
}

.benefit-image {
    transition: transform .25s cubic-bezier(.25,.46,.45,.94) !important;
}

.benefit-image img {
    transition: transform .25s cubic-bezier(.25,.46,.45,.94) !important;
}

.benefit-title {
    transition: color .25s ease, transform .25s ease !important;
}

.benefit-description {
    transition: color .25s ease !important;
}

/* 3. Move gradient to ::before and animate opacity */
.benefit-content {
    background: none !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 40px 25px 25px !important;
    z-index: 2;
}

/* Normal gradient */
.benefit-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
                transparent 0%,
                rgba(0,0,0,.3) 20%,
                rgba(0,0,0,.7) 60%,
                rgba(0,17,14,.95) 100%);
    opacity: 1;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: -1;
}

/* Hover gradient */
.benefit-content::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
                transparent 0%,
                rgba(0,0,0,.2) 10%,
                rgba(0,0,0,.8) 50%,
                rgba(0,17,14,.98) 100%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: -1;
}

.benefit-card:hover .benefit-content::before {
    opacity: 0;
}

.benefit-card:hover .benefit-content::after {
    opacity: 1;
}

/* Make sure text is above gradient */
.benefit-title,
.benefit-description {
    position: relative;
    z-index: 1;
}

/* 4. Reduce shadow blur (2x lighter) */
.benefit-card:hover {
    box-shadow: 0 12px 36px rgba(255,35,1,.18),
                0 6px 20px rgba(0,0,0,.25) !important;
}

.benefit-card:hover .benefit-image {
    box-shadow: 0 10px 25px rgba(0,0,0,.4),
                0 5px 12px rgba(0,0,0,.3),
                0 0 10px rgba(255,35,1,.1) !important;
}

/* 5. Explicit GPU acceleration for image */
.benefit-image img {
    transform: translateZ(0) rotateX(2deg) rotateY(-2deg) scale(1.02) !important;
}

/* 6. Disable problematic filter for animation */
.benefit-card:hover .benefit-image img {
    filter: brightness(1) !important;
}

/* 7. Optimization for users with slow devices */
@media (prefers-reduced-motion: reduce) {
    .benefit-card,
    .benefit-image,
    .benefit-image img,
    .benefit-title,
    .benefit-description {
        transition: none !important;
    }
}

/* 8. Additional optimization for mobile devices */
@media (max-width: 768px) {
    .benefit-card {
        will-change: auto;
        contain: none;
    }
    
    .benefit-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
        box-shadow: 0 8px 20px rgba(255,35,1,.15),
                    0 4px 12px rgba(0,0,0,.2) !important;
    }
    
    .benefit-card:hover .benefit-image {
        transform: translateY(-4px) translateX(-2px) rotateX(0.5deg) rotateY(-0.5deg) !important;
        box-shadow: 0 8px 16px rgba(0,0,0,.3),
                    0 4px 8px rgba(0,0,0,.2) !important;
    }
}

/* 9. Special optimization for mobile 2x2 grid */
@media (max-width: 480px) {
    .benefit-content {
        padding: 20px 12px 12px !important;
    }
    
    .benefit-card:hover {
        transform: translateY(-3px) scale(1.005) !important;
        box-shadow: 0 6px 15px rgba(255,35,1,.12),
                    0 3px 8px rgba(0,0,0,.15) !important;
    }
    
    .benefit-card:hover .benefit-image {
        transform: translateY(-2px) translateX(-1px) rotateX(0.25deg) rotateY(-0.25deg) !important;
        box-shadow: 0 6px 12px rgba(0,0,0,.25),
                    0 3px 6px rgba(0,0,0,.15) !important;
    }
}

/* ========================================
   FIX: Remove underlines from button-style links
   ======================================== */
a.btn-primary,
a.btn-secondary,
a.btn-secondary-red,
a.mobile-auth-btn,
a.mobile-btn-primary,
a.mobile-btn-secondary,
a.game-btn,
a.btn-app-download,
a.sidebar-item,
a.nav-item {
    text-decoration: none !important;
}

a.btn-primary:hover,
a.btn-secondary:hover,
a.btn-secondary-red:hover,
a.mobile-auth-btn:hover,
a.mobile-btn-primary:hover,
a.mobile-btn-secondary:hover,
a.game-btn:hover,
a.btn-app-download:hover,
a.sidebar-item:hover,
a.nav-item:hover {
    text-decoration: none !important;
}

/* Footer links */
.footer-section a {
    text-decoration: none !important;
}

.footer-section a:hover {
    text-decoration: none !important;
} 