/**
 * Overgear Homepage Styles
 */

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #13131f 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%237c3aed" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, #0d0d14 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(to right, #8B5CF6, #6D28D9, #6D28D9, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #a0a0b0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #6b6b7b;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(to right, #8B5CF6, #6D28D9, #6D28D9, #8B5CF6);
    color: #000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 178, 15, 0.4);
    color: #000;
}

.btn-primary.large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid #2a2a3e;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #6D28D9;
    color: #8B5CF6;
}

/* ========================================
   GAMES SECTION
   ======================================== */
.games-section {
    background: #0d0d14;
    padding: 80px 0;
}

/* Tabs Wrapper - Horizontal Scrollable */
.games-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 30px;
}

.games-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.games-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: max-content;
    padding: 0 20px;
}

.game-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #2a2a3e;
    border-radius: 30px;
    color: #a0a0b0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.game-tab:hover {
    border-color: #6D28D9;
    color: #8B5CF6;
}

.game-tab.active {
    background: linear-gradient(to right, #8B5CF6, #6D28D9, #6D28D9, #8B5CF6);
    border-color: transparent;
    color: #000;
}

/* Games Carousel Container with Nav Buttons */
.games-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Navigation Buttons */
.carousel-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    color: #a0a0b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: linear-gradient(to right, #8B5CF6, #6D28D9);
    border-color: #6D28D9;
    color: #000;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    background: #1a1a2e;
    border-color: #2a2a3e;
    color: #a0a0b0;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

/* Games Carousel - Horizontal Scrollable with 2 Rows */
.games-carousel-wrapper {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.games-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.games-carousel {
    display: grid;
    grid-template-rows: auto;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 14px;
    padding: 10px 0;
    width: max-content;
}

/* Game Card - Overgear Style Large Cover */
/* Container max-width 1400px - padding 40px - nav buttons (48*2) - gaps (16*2) = 1232px available */
/* 4 cards per row: (1232 - 14*3 gaps) / 4 = 297px, use 260px for comfortable fit */
.game-card {
    text-decoration: none;
    width: 260px;
    height: 120px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.game-card.hiding {
    opacity: 0;
    transform: scale(0.95);
}

.game-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* Cover Image - Full Size Background */
.game-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-cover-image {
    transform: scale(1.08);
}

/* Placeholder for missing images */
.game-cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
}

/* Gradient Overlay */
.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* Card Content - Bottom Positioned */
.game-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    z-index: 2;
}

.game-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.game-count {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* Hover Border Effect */
.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.game-card:hover::after {
    border-color: #6D28D9;
}

/* ========================================
   DEALS SECTION
   ======================================== */
.deals-section {
    background: #13131f;
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.section-title.centered {
    text-align: center;
    width: 100%;
}

.view-all {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #6D28D9;
}

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

.deal-card {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    border-color: #6D28D9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.deal-link {
    text-decoration: none;
    display: block;
    position: relative;
}

.deal-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.deal-label.label-hot_offer {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
}

.deal-label.label-bundle {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: #fff;
}

.deal-label.label-new_offer {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
}

.deal-label.label-weekly_offer {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
    color: #000;
}

.deal-label.label-preorder {
    background: linear-gradient(to right, #8B5CF6, #6D28D9, #6D28D9, #8B5CF6);
    color: #000;
}

.deal-image {
    height: 160px;
    overflow: hidden;
}

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

.deal-card:hover .deal-image img {
    transform: scale(1.05);
}

.deal-content {
    padding: 20px;
}

.deal-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.deal-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.deal-highlights li {
    font-size: 12px;
    color: #a0a0b0;
    padding: 3px 0;
    line-height: 1.4;
}

.deal-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #2a2a3e;
}

.deal-price .price-from {
    font-size: 12px;
    color: #6b6b7b;
}

.deal-price .price,
.deal-price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
    background: #0d0d14;
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: #a0a0b0;
    font-size: 16px;
    margin-bottom: 50px;
}

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

.step-card {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(to right, #8B5CF6, #6D28D9, #6D28D9, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 13px;
    color: #a0a0b0;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    background: #13131f;
    padding: 80px 0;
}

.trust-header {
    text-align: center;
    margin-bottom: 50px;
}

.trust-count {
    color: #a0a0b0;
    font-size: 16px;
    margin-top: 15px;
}

.trust-count strong {
    color: #8B5CF6;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-card {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
}

.trust-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.trust-card p {
    font-size: 14px;
    color: #a0a0b0;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: #0d0d14;
    padding: 60px 0;
    border-top: 1px solid #2a2a3e;
    border-bottom: 1px solid #2a2a3e;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.features-section .feature-item {
    text-align: center;
    padding: 20px;
}

.features-section .feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.features-section .feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.features-section .feature-item p {
    font-size: 12px;
    color: #6b6b7b;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(to right, #8B5CF6, #6D28D9, #6D28D9, #8B5CF6);
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: #000;
    color: #8B5CF6;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   CONTAINER
   ======================================== */
.overgear-homepage .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wider container for games section */
.games-section .container {
    max-width: 1400px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 36px;
    }
    
    .deals-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Game cards smaller on tablet - 3 per row */
    .games-carousel {
        height: 232px; /* 2 rows: (110px * 2) + 12px gap */
    }
    
    .game-card {
        width: 220px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    /* Tabs scroll from left on mobile */
    .games-tabs {
        justify-content: flex-start;
    }
    
    /* Hide nav buttons on mobile - touch scroll instead */
    .carousel-nav {
        display: none;
    }
    
    /* Single row on mobile */
    .games-carousel {
        height: 100px; /* Single row */
        flex-wrap: nowrap;
    }
    
    /* Game cards smaller on mobile */
    .game-card {
        width: 180px;
        height: 100px;
    }
    
    .game-name {
        font-size: 14px;
    }
    
    .game-card-content {
        padding: 10px 12px;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===== Mobile Optimization - Overgear Style ===== */
@media (max-width: 768px) {
    /* Global mobile padding */
    .overgear-homepage .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    /* Hero Section - Mobile */
    .hero-section {
        min-height: auto !important;
        padding: 60px 0 40px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        margin-bottom: 24px !important;
    }
    
    .hero-stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
    }
    
    .stat-item {
        flex: 0 0 auto !important;
        text-align: center !important;
    }
    
    .stat-number {
        font-size: 20px !important;
    }
    
    .stat-label {
        font-size: 11px !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100% !important;
        text-align: center !important;
        padding: 14px 24px !important;
    }
    
    /* Games Section - Horizontal Scroll like Overgear */
    .games-section {
        padding: 24px 0 !important;
    }
    
    .games-tabs-wrapper {
        margin: 0 -16px !important;
        padding: 0 16px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    .games-tabs-wrapper::-webkit-scrollbar {
        display: none !important;
    }
    
    .games-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding-bottom: 8px !important;
        justify-content: flex-start !important;
    }
    
    .game-tab {
        flex-shrink: 0 !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        border-radius: 20px !important;
    }
    
    /* Games Carousel - Horizontal Scroll */
    .games-carousel-container {
        margin: 0 -16px !important;
        padding: 0 !important;
    }
    
    .carousel-nav {
        display: none !important;
    }
    
    .games-carousel-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 0 16px !important;
    }
    
    .games-carousel-wrapper::-webkit-scrollbar {
        display: none !important;
    }
    
    .games-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        height: auto !important;
    }
    
    .game-card {
        flex-shrink: 0 !important;
        width: 140px !important;
        height: 90px !important;
    }
    
    .game-name {
        font-size: 12px !important;
    }
    
    .game-count {
        font-size: 10px !important;
    }
    
    /* Best Deals Section - Horizontal Scroll */
    .deals-section {
        padding: 32px 0 !important;
    }
    
    .deals-section .section-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 16px !important;
    }
    
    .deals-section .section-title {
        font-size: 20px !important;
        margin: 0 !important;
    }
    
    .deals-section .view-all {
        font-size: 13px !important;
    }
    
    .deals-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 12px !important;
        margin: 0 -16px !important;
        padding: 0 16px 16px !important;
    }
    
    .deals-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .deal-card {
        flex-shrink: 0 !important;
        width: 260px !important;
        margin: 0 !important;
    }
    
    .deal-image img {
        height: 140px !important;
        object-fit: cover !important;
    }
    
    .deal-title {
        font-size: 14px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .deal-highlights {
        display: none !important;
    }
    
    .deal-price {
        font-size: 16px !important;
    }
    
    /* How It Works Section */
    .how-it-works-section {
        padding: 40px 0 !important;
        background: linear-gradient(180deg, #0f1219 0%, #1a1f2e 100%) !important;
    }
    
    .how-it-works-section .section-title {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    
    .how-it-works-section .section-subtitle {
        font-size: 14px !important;
        margin-bottom: 32px !important;
    }
    
    .steps-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 16px !important;
        margin: 0 -16px !important;
        padding: 0 16px 16px !important;
    }
    
    .steps-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .step-card {
        flex-shrink: 0 !important;
        width: 200px !important;
        padding: 20px !important;
        text-align: center !important;
    }
    
    .step-number {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .step-icon {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .step-card h3 {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    .step-card p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    /* Trust Section */
    .trust-section {
        padding: 40px 0 !important;
    }
    
    .trust-section .section-title {
        font-size: 20px !important;
    }
    
    .trust-count {
        font-size: 14px !important;
        margin-bottom: 24px !important;
    }
    
    .trust-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    .trust-card {
        padding: 20px !important;
    }
    
    .trust-icon {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .trust-card h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .trust-card p {
        font-size: 13px !important;
    }
    
    /* Features Section */
    .features-section {
        padding: 32px 0 !important;
    }
    
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .feature-item {
        padding: 16px !important;
        text-align: center !important;
    }
    
    .feature-icon {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }
    
    .feature-item h4 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    
    .feature-item p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 40px 0 !important;
    }
    
    .cta-content h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }
    
    .cta-content p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .cta-section .btn-primary.large {
        width: 100% !important;
        padding: 16px 32px !important;
        font-size: 16px !important;
    }
}

/* Extra small mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 20px !important;
    }
    
    .stat-item {
        flex: 0 0 45% !important;
    }
    
    .game-card {
        width: 120px !important;
        height: 80px !important;
    }
    
    .deal-card {
        width: 220px !important;
    }
    
    .step-card {
        width: 180px !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Mobile Fix V2 ===== */
@media (max-width: 768px) {
    /* Deal Card - Full image with overlay text */
    .deal-card {
        position: relative !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    
    .deal-link {
        display: block !important;
        position: relative !important;
    }
    
    .deal-image {
        height: 180px !important;
        width: 100% !important;
    }
    
    .deal-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .deal-content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%) !important;
        z-index: 5 !important;
    }
    
    .deal-title {
        font-size: 13px !important;
        margin-bottom: 6px !important;
        color: #fff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .deal-highlights {
        display: none !important;
    }
    
    .deal-price {
        border-top: none !important;
        padding-top: 0 !important;
    }
    
    .deal-price .woocommerce-Price-amount {
        font-size: 16px !important;
        color: #8B5CF6 !important;
    }
    
    /* Steps Grid - Fix overflow issue */
    .steps-grid {
        margin-top: 0 !important;
        padding-top: 16px !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
    }
    
    .step-card {
        position: relative !important;
        margin-top: 0 !important;
        overflow: visible !important;
    }
    
    .step-number {
        position: relative !important;
        top: 0 !important;
        margin: 0 auto 12px !important;
    }
}

/* ===== Mobile Step Card - Fix step-number centering ===== */
@media (max-width: 768px) {
    .step-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .step-number {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 12px auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .step-icon {
        display: block !important;
        text-align: center !important;
        margin: 0 auto 12px auto !important;
    }
    
    .step-card h3 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .step-card p {
        text-align: center !important;
        width: 100% !important;
    }
}

/* ===== Mobile: Games Carousel - 2 columns grid ===== */
@media (max-width: 991px) {
    .games-carousel-wrapper {
        overflow: visible !important;
        padding: 0 16px !important;
    }
    
    .games-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: auto !important;
        gap: 10px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .games-carousel .game-card {
        width: 100% !important;
        height: 90px !important;
    }
}

/* ===== Show All Games Button ===== */
.show-all-games-wrapper {
    text-align: center;
    margin-top: 20px;
}

.show-all-games-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #8B5CF6;
    border-radius: 30px;
    color: #8B5CF6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-all-games-btn:hover {
    background: #8B5CF6;
    color: #000;
}

.show-all-games-btn .btn-icon {
    transition: transform 0.3s ease;
}

.show-all-games-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

/* ===== Deal Image 1:1 Ratio ===== */
.deal-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}

.deal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* ===== Mobile: Show All Games Button ===== */
@media (max-width: 991px) {
    .show-all-games-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}
