* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0f0f23;
}

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

/* Header Title Section */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto; /* Pushes nav to right */
}

.title img {
    height: 50px;
    width: 50px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.title img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255,107,107,0.5));
}

.title h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 3px 2px 6px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #00b894);
    transition: width 0.3s ease;
    
}

.title:hover h1::after {
    width: 100%;
}

header > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}





/* Navigation */
.navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    right: 0%;
}

#navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

#navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    
}

#navbar a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.cart-container {
    position: relative;
    cursor: pointer;
}

#cart-count {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Checkout Section */
.checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 25px 40px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 300px;
    box-shadow: 0 15px 35px rgba(0,184,148,0.4);
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.checkout:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,184,148,0.6);
    border-color: rgba(255,255,255,0.3);
}

.checkout img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.checkout:hover img {
    transform: rotate(10deg) scale(1.1);
}

.checkout h1 {
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Hero Sections */
.hero, .about-hero, .store-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230f0f23" width="1200" height="600"/><circle fill="%232a5298" opacity="0.3" cx="200" cy="150" r="80"/><circle fill="%231e3c72" opacity="0.4" cx="900" cy="400" r="120"/><circle fill="%23ff4757" opacity="0.2" cx="600" cy="250" r="60"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content, .about-hero div {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1, .about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p, .about-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255,107,107,0.6);
}

/* Featured Games */
.featured-games {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.featured-games .images,
.featured-games .videos {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.featured-games img,
.featured-games video {
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.featured-games img:hover,
.featured-games video:hover {
    transform: scale(1.05);
}

.featured-games h2 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.game-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border-color: #ff6b6b;
}

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

.game-info {
    padding: 25px;
    color: white;
}

.game-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.game-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin: 15px 0;
}

.add-to-cart {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,184,148,0.4);
}

/* Store Filters */
.store-filters {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-filters select,
.store-filters input {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#search-input {
    min-width: 300px;
}

/* About Page */
.about-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: rgba(255,255,255,0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

/* Contact & Review Forms */
.contact, .review-form-section {
    padding: 80px 0;
    background: #1a1a2e;
}

.contact h2, .review-form-section h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

#contactForm, #reviewForm {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#contactForm input,
#contactForm textarea,
#reviewForm select,
#reviewForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus,
#reviewForm select:focus,
#reviewForm textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

#contactForm button,
#reviewForm button {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contactForm button:hover,
#reviewForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    color: white;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #4a5568;
}

.cart-total {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 2px solid #4a5568;
    text-align: right;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: #0f0f23;
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1, .about-hero h1 {
        font-size: 2.5rem;
    }
    
    #navbar ul {
        gap: 15px;
    }
    
    .store-filters {
        flex-direction: column;
        align-items: center;
    }
    
    #search-input {
        min-width: 100%;
    }
    
    .featured-games .images,
    .featured-games .videos {
        flex-direction: column;
        align-items: center;
    }
}
       