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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1b2838;
    color: #c7d5e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #171a21 0%, #2a475e 100%);
    border-bottom: 1px solid #2a475e;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #66c0f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #ffffff;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #c7d5e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #66c0f4;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #316282;
    border-radius: 4px;
    overflow: hidden;
}

.search-bar input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #c7d5e0;
    width: 300px;
    font-size: 14px;
}

.search-bar input::placeholder {
    color: #8f98a0;
}

.search-btn {
    background: #316282;
    border: none;
    padding: 10px 15px;
    color: #c7d5e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #4a7b9d;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.install-steam {
    background: #5c7e10;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.install-steam:hover {
    background: #6b8f12;
}

.login-btn {
    background: transparent;
    color: #c7d5e0;
    border: 1px solid #316282;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #316282;
    color: white;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

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

.hero p {
    font-size: 20px;
    color: #c7d5e0;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.cta-primary {
    background: linear-gradient(135deg, #5c7e10 0%, #6b8f12 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: #66c0f4;
    border: 2px solid #66c0f4;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #66c0f4;
    color: #1b2838;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.game-showcase {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-showcase img {
    width: 100%;
    height: auto;
    display: block;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.game-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.game-overlay p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.game-overlay .price {
    font-size: 18px;
    font-weight: 600;
    color: #66c0f4;
}

/* Featured Games */
.featured-games {
    padding: 80px 0;
    background: #2a475e;
}

.featured-games h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #66c0f4;
    margin-bottom: 50px;
}

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

.game-card {
    background: #1b2838;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.game-image {
    position: relative;
}

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

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #5c7e10;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #c7d5e0;
    margin-bottom: 5px;
}

.game-info p {
    color: #8f98a0;
    font-size: 14px;
    margin-bottom: 15px;
}

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

.original-price {
    color: #8f98a0;
    text-decoration: line-through;
    font-size: 14px;
}

.current-price {
    color: #66c0f4;
    font-size: 18px;
    font-weight: 600;
}

/* Categories */
.categories {
    padding: 80px 0;
    background: #1b2838;
}

.categories h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #66c0f4;
    margin-bottom: 50px;
}

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

.category-card {
    background: #2a475e;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    background: #316282;
}

.category-card i {
    font-size: 40px;
    color: #66c0f4;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #c7d5e0;
    margin-bottom: 10px;
}

.category-card p {
    color: #8f98a0;
    font-size: 14px;
}

/* Special Offers */
.special-offers {
    padding: 80px 0;
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
}

.special-offers h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #66c0f4;
    margin-bottom: 50px;
}

.offers-banner {
    background: linear-gradient(135deg, #5c7e10 0%, #6b8f12 100%);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.offer-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.offer-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.offer-btn {
    background: white;
    color: #5c7e10;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.offer-btn:hover {
    transform: translateY(-2px);
}

.offer-timer {
    display: flex;
    gap: 20px;
}

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

.timer-item .number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.timer-item .label {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #171a21;
    padding: 60px 0 20px;
    border-top: 1px solid #2a475e;
}

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

.footer-section h4 {
    color: #66c0f4;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #8f98a0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #66c0f4;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2a475e;
    color: #c7d5e0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #66c0f4;
    color: #1b2838;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a475e;
}

.footer-bottom p {
    color: #8f98a0;
    font-size: 12px;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #5c7e10;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #c7d5e0;
    color: #1b2838;
}

.notification.info {
    background: #66c0f4;
    color: white;
}

/* Authentication Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.auth-modal.show {
    display: flex;
}

.auth-modal-content {
    background: #2a475e;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #1b2838;
}

.auth-modal-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: #8f98a0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ffffff;
}

.auth-modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #c7d5e0;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #1b2838;
    border-radius: 6px;
    background: #1b2838;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #66c0f4;
}

#auth-submit-btn {
    width: 100%;
    background: #5c7e10;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

#auth-submit-btn:hover {
    background: #4a6b0d;
}

.auth-switch {
    text-align: center;
    margin-bottom: 25px;
}

.auth-switch span {
    color: #8f98a0;
    margin-right: 10px;
}

#auth-switch-btn {
    background: none;
    border: none;
    color: #66c0f4;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

#auth-switch-btn:hover {
    color: #5bb0e4;
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1b2838;
    color: #c7d5e0;
    border: 1px solid #2a475e;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.auth-option-btn:hover {
    background: #2a475e;
    border-color: #66c0f4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-left {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .search-bar input {
        width: 250px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .offers-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .search-bar input {
        width: 200px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Steam Store Page Styles */

/* Store Header */
.store-header {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.featured-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #66c0f4;
    margin-bottom: 20px;
    text-align: left;
}

.banner-content p {
    font-size: 20px;
    color: #c7d5e0;
    margin-bottom: 30px;
    text-align: left;
}

.banner-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.banner-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-btn.primary {
    background: #66c0f4;
    color: #1b2838;
}

.banner-btn.primary:hover {
    background: #5bb0e4;
    transform: translateY(-2px);
}

.banner-btn.secondary {
    background: transparent;
    color: #66c0f4;
    border: 2px solid #66c0f4;
}

.banner-btn.secondary:hover {
    background: #66c0f4;
    color: #1b2838;
}

.banner-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Special Offers Section */
.special-offers {
    background: #2a475e;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: #66c0f4;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background: #1b2838;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.offer-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.offer-card.featured .offer-content {
    padding: 30px;
}

.offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #5c7e10;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
}

.offer-countdown {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    text-align: center;
    min-width: 100px;
}

.countdown-label {
    display: block;
    color: #8f98a0;
    font-size: 10px;
    margin-bottom: 4px;
}

.countdown-time {
    display: block;
    color: #66c0f4;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.offer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 20px;
}

.offer-content h3 {
    color: #66c0f4;
    font-size: 18px;
    margin-bottom: 8px;
}

.offer-content p {
    color: #c7d5e0;
    font-size: 16px;
    margin-bottom: 15px;
}

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

.offer-price .original {
    color: #8f98a0;
    text-decoration: line-through;
    font-size: 16px;
}

.offer-price .discounted {
    color: #66c0f4;
    font-size: 24px;
    font-weight: 700;
}

.offer-btn {
    width: 100%;
    background: #5c7e10;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.offer-btn:hover {
    background: #4a6b0d;
}

/* Categories Section */
.categories-section {
    background: #1b2838;
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: #2a475e;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    background: #316282;
}

.category-card i {
    font-size: 48px;
    color: #66c0f4;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #c7d5e0;
    font-size: 20px;
    margin-bottom: 10px;
}

.category-card p {
    color: #8f98a0;
    font-size: 14px;
}

/* Trending Section */
.trending-section {
    background: #2a475e;
    padding: 60px 0;
}

.trending-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.trending-card.featured {
    background: #1b2838;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.trending-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #66c0f4;
    color: #1b2838;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.trending-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.trending-content {
    padding: 25px;
}

.trending-content h3 {
    color: #66c0f4;
    font-size: 24px;
    margin-bottom: 10px;
}

.trending-content p {
    color: #c7d5e0;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.trending-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.trending-genre {
    background: #316282;
    color: #8f98a0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.trending-rating {
    color: #ffd700;
    font-size: 16px;
}

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

.trending-price .price {
    color: #66c0f4;
    font-size: 24px;
    font-weight: 700;
}

.trending-btn {
    background: #5c7e10;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.trending-btn:hover {
    background: #4a6b0d;
}

.trending-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-item {
    background: #1b2838;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.trending-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.trending-item-content {
    padding: 15px;
    flex: 1;
}

.trending-item-content h4 {
    color: #c7d5e0;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.trending-item-content p {
    color: #8f98a0;
    font-size: 12px;
    margin-bottom: 10px;
}

.trending-item-content .trending-price {
    color: #66c0f4;
    font-weight: 600;
    font-size: 14px;
}

/* Store Content Layout */
.store-content {
    padding: 40px 0;
    background: #1b2838;
}

/* Top Sellers Section */
.top-sellers-section {
    margin-bottom: 40px;
}

.top-sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.top-seller-card {
    background: #2a475e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.top-seller-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.seller-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffd700;
    color: #1b2838;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    z-index: 2;
}

.top-seller-card:nth-child(2) .seller-rank {
    background: #c0c0c0;
}

.top-seller-card:nth-child(3) .seller-rank {
    background: #cd7f32;
}

.top-seller-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.seller-info {
    padding: 20px;
}

.seller-info h3 {
    color: #c7d5e0;
    font-size: 18px;
    margin-bottom: 8px;
}

.seller-info p {
    color: #8f98a0;
    font-size: 14px;
    margin-bottom: 15px;
}

.seller-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seller-price .original {
    color: #8f98a0;
    text-decoration: line-through;
    font-size: 14px;
}

.seller-price .current {
    color: #66c0f4;
    font-size: 18px;
    font-weight: 700;
}

.store-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Store Sidebar */
.store-sidebar {
    background: #2a475e;
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section h3 {
    color: #66c0f4;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #316282;
    padding-bottom: 8px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c7d5e0;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-options label:hover {
    color: #66c0f4;
}

.filter-options input[type="checkbox"],
.filter-options input[type="radio"] {
    accent-color: #66c0f4;
    width: 16px;
    height: 16px;
}

/* Price Slider */
.price-slider {
    margin-top: 15px;
}

.price-slider input[type="range"] {
    width: 100%;
    height: 6px;
    background: #316282;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #66c0f4;
    border-radius: 50%;
    cursor: pointer;
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #66c0f4;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #8f98a0;
    font-size: 12px;
}

/* Filter Buttons */
.apply-filters,
.clear-filters {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.apply-filters {
    background: #5c7e10;
    color: white;
}

.apply-filters:hover {
    background: #6b8f12;
    transform: translateY(-2px);
}

.clear-filters {
    background: transparent;
    color: #66c0f4;
    border: 1px solid #66c0f4;
}

.clear-filters:hover {
    background: #66c0f4;
    color: #1b2838;
}

/* Store Main Content */
.store-main {
    background: #1b2838;
    border-radius: 8px;
    padding: 25px;
}

/* Store Toolbar */
.store-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a475e;
}

.sort-options select {
    background: #2a475e;
    color: #c7d5e0;
    border: 1px solid #316282;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.sort-options select:focus {
    outline: none;
    border-color: #66c0f4;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    background: #2a475e;
    color: #8f98a0;
    border: 1px solid #316282;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #66c0f4;
    color: #1b2838;
    border-color: #66c0f4;
}

/* Games Container */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.game-item {
    background: #2a475e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.game-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

.game-item:hover .game-image img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.view-details-btn {
    background: #66c0f4;
    color: #1b2838;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #5bb0e4;
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #5c7e10;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.game-info {
    padding: 15px;
}

.game-title {
    font-size: 16px;
    font-weight: 600;
    color: #c7d5e0;
    margin-bottom: 8px;
    line-height: 1.3;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.game-tag {
    background: #316282;
    color: #8f98a0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

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

.original-price {
    color: #8f98a0;
    text-decoration: line-through;
    font-size: 12px;
}

.current-price {
    color: #66c0f4;
    font-size: 16px;
    font-weight: 600;
}

.game-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.game-actions button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn {
    background: #5c7e10;
    color: white;
}

.add-to-cart-btn:hover {
    background: #4a6b0d;
}

.add-to-wishlist-btn {
    background: #2a475e;
    color: white;
}

.add-to-wishlist-btn:hover {
    background: #1b2838;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    background: #2a475e;
    color: #c7d5e0;
    border: 1px solid #316282;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-btn:hover,
.page-btn.active {
    background: #66c0f4;
    color: #1b2838;
    border-color: #66c0f4;
}

.page-btn.next {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Wishlist Button */
.wishlist-btn {
    position: relative;
    background: #2a475e;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wishlist-btn:hover {
    background: #66c0f4;
}

.wishlist-count {
    background: #c7d5e0;
    color: #1b2838;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: #5c7e10;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-btn:hover {
    background: #4a7b9d;
}

.cart-count {
    background: #c7d5e0;
    color: #1b2838;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Wishlist Modal */
.wishlist-modal .modal-content {
    max-width: 500px;
}

.wishlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #2a475e;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.wishlist-item-info h3 {
    margin: 0 0 5px 0;
    color: #c7d5e0;
}

.wishlist-item-info p {
    margin: 0;
    color: #66c0f4;
    font-weight: 600;
}

.wishlist-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.add-to-cart-btn {
    background: #5c7e10;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.add-to-cart-btn:hover {
    background: #4a7b9d;
}

.clear-wishlist-btn {
    background: #c7d5e0;
    color: #1b2838;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.clear-wishlist-btn:hover {
    background: #8f98a0;
}

/* Cart Modal */
.cart-modal .modal-content {
    max-width: 500px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #2a475e;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info h3 {
    margin: 0 0 5px 0;
    color: #c7d5e0;
}

.cart-item-info p {
    margin: 0;
    color: #66c0f4;
    font-weight: 600;
}

.remove-btn {
    background: #c7d5e0;
    color: #1b2838;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: auto;
}

.remove-btn:hover {
    background: #8f98a0;
}

.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #2a475e;
    text-align: right;
}

.cart-total h3 {
    color: #66c0f4;
    margin: 0;
}

.modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.checkout-btn, .clear-cart-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
}

.checkout-btn {
    background: #5c7e10;
    color: white;
}

.checkout-btn:hover {
    background: #4a7b9d;
}

.clear-cart-btn {
    background: #c7d5e0;
    color: #1b2838;
}

.clear-cart-btn:hover {
    background: #8f98a0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .store-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .store-sidebar {
        position: static;
        order: 2;
    }
    
    .store-main {
        order: 1;
    }

    .featured-banner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .banner-content h1,
    .banner-content p {
        text-align: center;
    }

    .banner-actions {
        justify-content: center;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .offer-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .trending-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .top-sellers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .store-header h1 {
        font-size: 36px;
    }
    
    .store-header p {
        font-size: 16px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .banner-actions {
        flex-direction: column;
        align-items: center;
    }

    .banner-btn {
        width: 200px;
    }

    .section-title {
        font-size: 28px;
    }

    .offers-grid {
        gap: 20px;
    }

    .offer-card.featured .offer-content {
        padding: 20px;
    }

    .store-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .games-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .store-header h1 {
        font-size: 28px;
    }
    
    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .banner-image img {
        height: 200px;
    }

    .section-title {
        font-size: 24px;
    }

    .offers-grid {
        gap: 15px;
    }

    .offer-card {
        margin: 0 10px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        padding: 20px 15px;
    }

    .category-card i {
        font-size: 36px;
    }

    .games-container {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        gap: 8px;
    }
    
    .filter-section {
        margin-bottom: 25px;
    }
}

/* Loading States */
.games-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #66c0f4;
    font-size: 24px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8f98a0;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #316282;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #c7d5e0;
}

.empty-state p {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* Filter Active States */
.filter-section.active h3 {
    color: #5c7e10;
}

.filter-options label.active {
    color: #66c0f4;
    font-weight: 600;
}

/* Recently Viewed Section */
.recently-viewed-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #2a475e;
}

.recently-viewed-section h3 {
    color: #c7d5e0;
    margin-bottom: 20px;
    font-size: 20px;
}

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

.recent-game-item {
    background: #2a475e;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.recent-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.recent-game-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.recent-game-info {
    padding: 15px;
}

.recent-game-info h4 {
    color: #c7d5e0;
    margin: 0 0 8px 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-game-info p {
    color: #66c0f4;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

/* Game Item Animations */
.game-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.game-item:nth-child(1) { animation-delay: 0.1s; }
.game-item:nth-child(2) { animation-delay: 0.2s; }
.game-item:nth-child(3) { animation-delay: 0.3s; }
.game-item:nth-child(4) { animation-delay: 0.4s; }
.game-item:nth-child(5) { animation-delay: 0.5s; }
.game-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
