/* Store Page Styles */
.store-hero {
    background: linear-gradient(135deg, rgba(0, 238, 255, 0.2) 0%, rgba(13, 13, 13, 1) 100%);
    padding: 120px 20px 60px;
    text-align: center;
    margin-top: 70px;
    border-bottom: 1px solid var(--border-color);
}

.store-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.store-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    min-width: 200px;
    transition: var(--transition);
}

.hero-stats .stat:hover {
    background: rgba(0, 238, 255, 0.1);
    transform: translateY(-5px);
}

.hero-stats .stat i {
    font-size: 2rem;
    color: var(--primary-color);
}

.hero-stats .stat h3 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.hero-stats .stat p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.store-nav {
    background: var(--card-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.store-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.store-categories li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.store-categories li a:hover {
    background: rgba(0, 238, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.store-categories li a.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-all:hover {
    gap: 10px;
}

.featured-store {
    padding: 60px 0;
    background: rgba(26, 26, 26, 0.5);
}

.featured-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.featured-game {
    flex: 0 0 300px;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.featured-game:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 238, 255, 0.2);
}

.featured-game-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.featured-game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.featured-game-content {
    padding: 20px;
}

.featured-game-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.featured-game-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount {
    background: #00C851;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.deals-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(13, 13, 13, 1) 100%);
}

.deal-timer {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.timer {
    display: flex;
    gap: 10px;
}

.time-unit {
    background: var(--card-bg);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

.time-unit span {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.deal-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ff4444;
    transition: var(--transition);
    position: relative;
}

.deal-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4444;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 1;
}

.deal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.deal-content {
    padding: 20px;
}

.deal-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.store-categories-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.store-categories-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 238, 255, 0.2);
}

.category-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.category-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Category colors */
.category-card.action {
    border-color: #ff4444;
}

.category-card.action:hover {
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.category-card.rpg {
    border-color: #ff9800;
}

.category-card.rpg:hover {
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.3);
}

.category-card.strategy {
    border-color: #4CAF50;
}

.category-card.strategy:hover {
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.category-card.fps {
    border-color: #2196F3;
}

.category-card.fps:hover {
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

.category-card.sports {
    border-color: #9C27B0;
}

.category-card.sports:hover {
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.3);
}

.category-card.indie {
    border-color: #00BCD4;
}

.category-card.indie:hover {
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.new-releases {
    padding: 60px 0;
    background: rgba(26, 26, 26, 0.5);
}

.release-filters select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.release-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.release-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.release-new {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.release-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.release-content {
    padding: 20px;
}

.release-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.release-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.release-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 238, 255, 0.1) 0%, rgba(13, 13, 13, 1) 100%);
}

.newsletter-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 2px solid var(--primary-color);
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.newsletter-image {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* Cart Styles */
.cart-icon {
    position: relative;
}

.cart-link {
    position: relative;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-modal.active {
    display: block;
    transform: translateX(0);
}

.cart-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 5px;
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    margin-left: auto;
}

.cart-summary {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.summary-row.total {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.btn-checkout {
    width: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-checkout:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-image {
        order: -1;
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .store-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats .stat {
        width: 100%;
        max-width: 300px;
    }
    
    .store-categories {
        justify-content: flex-start;
    }
    
    .featured-game {
        flex: 0 0 250px;
    }
    
    .cart-modal {
        width: 100%;
    }
    
    .slider-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .deal-timer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}