﻿/* Shop Home Page Styles - Horizontal Scrolling Categories */

.shop-home-page {
    background: var(--dark-bg);
    min-height: 100vh;
    padding: 2rem 2rem 2rem;
}

.shop-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Page Header */
.shop-header {
    text-align: center;
    margin-bottom: 1rem;
}

.shop-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.shop-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Search Box */
.search-box-main {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.game-search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 2px solid var(--neon-purple);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
    border-color: var(--primary-red);
}

.search-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.game-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    padding: 0.75rem 0;
    outline: none;
}

.game-search-input::placeholder {
    color: var(--text-gray);
}

.search-button {
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--neon-purple) 100%);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.4);
}

/* Category Section */
.category-section {
    margin-bottom: 2.5rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.see-all-btn {
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.see-all-btn:hover {
    color: var(--primary-red);
    background: rgba(176, 38, 255, 0.1);
    transform: translateX(5px);
}

/* Horizontal Scroll Container with Arrows */
.games-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.games-scroll-container {
    flex: 1;
    overflow: hidden;
}

.games-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0.75rem 0.5rem 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Larger scrollbar */
.games-scroll::-webkit-scrollbar {
    height: 12px;
}

.games-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.games-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--neon-purple) 100%);
    border-radius: 10px;
}

.games-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* Scroll Arrows */
.scroll-arrow {
    position: relative;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--neon-purple) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(176, 38, 255, 0.3);
}

.scroll-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(176, 38, 255, 0.5);
}

.scroll-arrow:active {
    transform: scale(0.95);
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

/* Game Card - 25% Smaller Icons */
.game-card-scroll {
    min-width: 320px;
    max-width: 320px;
    min-height: 300px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.game-card-scroll:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(176, 38, 255, 0.3);
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.game-card-scroll .game-card-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 1.5rem 1.25rem 1.25rem;
}

.game-icon-large {
    display: none;
}

.game-card-scroll .game-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.game-card-scroll .game-card-description {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    font-size: 0.9rem;
}

.game-card-scroll .game-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card-scroll .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.game-card-scroll .configure-link {
    color: var(--text-light);
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.game-card-scroll:hover .configure-link {
    color: var(--neon-purple);
    transform: translateX(5px);
}

/* Shimmer effect on hover */
.game-card-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(176, 38, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card-scroll:hover::before {
    opacity: 1;
}

/* View All CTA */
.view-all-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1) 0%, rgba(255, 0, 0, 0.1) 100%);
    border-radius: 20px;
    margin-top: 3rem;
}

.view-all-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.view-all-cta p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button-large {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--neon-purple) 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.3);
}

.cta-button-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(176, 38, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-title {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .game-card-scroll {
        min-width: 280px;
        max-width: 280px;
        min-height: 280px;
    }
    
    .game-icon-large {
        font-size: 2.5rem;
    }
    
    .game-card-scroll .game-card-title {
        font-size: 1.2rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .view-all-cta h2 {
        font-size: 2rem;
    }
    
    .view-all-cta p {
        font-size: 1rem;
    }
}

