/* Base Styles */
:root {
    --primary: #FF4655; /* Vibrant red */
    --secondary: #1E90FF; /* Bright blue */
    --accent: #FFD700; /* Gold */
    --dark: #0F1923; /* Dark blue */
    --light: #FFFFFF;
    --gray: #768079;
    --success: #2ECC71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('fonts/Rajdhani-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--dark);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-main {
    color: var(--light);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.account-btn {
    background: var(--primary);
    color: var(--light);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.account-btn:hover {
    background: #e63e4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 70, 85, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 5px 0;
    transition: all 0.3s ease;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.hero {
    height: 100vh;
    background: 
        linear-gradient(135deg, rgba(10, 10, 20, 0.6) 0%, rgba(26, 42, 58, 0.8) 100%),
        url('backround.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--light);
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: #e63e4d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 70, 85, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dark-geometric.png');
    opacity: 0.1;
    z-index: 1;
}
/* Navigation Bar - Add these styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
}

/* Navbar when scrolled down */
.navbar.scrolled-down {
    transform: translateY(-100%);
    opacity: 0;
}

/* Navbar when scrolled up */
.navbar.scrolled-up {
    transform: translateY(0);
    opacity: 1;
    background-color: rgba(10, 10, 26, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Featured Games */
.featured-games {
    padding: 6rem 5%;
    background: var(--light);
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header h2 i {
    color: var(--primary);
}

.view-all {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--dark);
    transform: translateX(5px);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    text-transform: uppercase;
}

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

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

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

.game-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 25, 35, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-hover {
    opacity: 1;
}

.quick-view {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.quick-view:hover {
    background: #e63e4d;
    transform: translateY(-2px);
}

.game-info {
    padding: 1.5rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-genre {
    background: rgba(30, 144, 255, 0.1);
    color: var(--secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-rating {
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-price .current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.game-price .original {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--gray);
    margin-left: 0.5rem;
}

.game-actions {
    display: flex;
    gap: 0.8rem;
}

.wishlist, .add-to-cart {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist {
    background: rgba(255, 70, 85, 0.1);
    color: var(--primary);
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.wishlist:hover {
    background: rgba(255, 70, 85, 0.2);
    color: #e63e4d;
    transform: translateY(-2px);
}

.add-to-cart {
    background: var(--primary);
    color: var(--light);
    padding: 0 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: #e63e4d;
    transform: translateY(-2px);
}

/* Esports Section */
.esports {
    display: flex;
    min-height: 500px;
    background: var(--dark);
}

.esports-content {
    flex: 1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esports-content h2 {
    font-size: 3rem;
    color: var(--light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.esports-content h2 span {
    color: var(--primary);
}

.esports-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-size: 1.1rem;
}

.esports-image {
    flex: 1;
    background: url('https://via.placeholder.com/800x500/111/fff?text=Esports+Arena') center/cover no-repeat;
}

/* Newsletter */
.newsletter {
    padding: 5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #0066cc 100%);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 5rem 5% 2rem;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    text-transform: uppercase;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .esports {
        flex-direction: column;
    }
    
    .esports-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .esports-content {
        padding: 3rem;
    }
    
    .esports-content h2 {
        font-size: 2.5rem;
    }
    
    .newsletter {
        padding: 3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* Games Page Specific Styles */
.games-header {
    height: 400px;
    background: linear-gradient(rgba(10, 10, 26, 0.8), rgba(10, 10, 26, 0.8)), 
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.header-content {
    z-index: 2;
    padding: 0 20px;
}

.games-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.games-header h1 span {
    color: var(--primary);
}

.games-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.header-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--dark));
}

/* Games Filter Section */
.games-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(20, 20, 40, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-options {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group h3 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.filter-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    min-width: 180px;
    cursor: pointer;
}

.filter-btn {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-option.active, .view-option:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
}

.game-card {
    background: rgba(25, 25, 40, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 247, 255, 0.2);
    border-color: var(--primary);
}

.game-media {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

.game-card:hover .game-media img {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.game-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-hover {
    opacity: 1;
}

.quick-view {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.quick-view:hover {
    background: var(--light);
}

.game-info {
    padding: 1.5rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.game-tag {
    background: rgba(0, 247, 255, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent);
    font-weight: 600;
}

.game-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-price {
    display: flex;
    flex-direction: column;
}

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

.original-price {
    font-size: 0.8rem;
    text-decoration: line-through;
    opacity: 0.6;
}

.game-actions {
    display: flex;
    gap: 0.5rem;
}

.wishlist {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist:hover {
    background: rgba(255, 0, 228, 0.2);
    color: var(--secondary);
    border-color: var(--secondary);
}

.add-to-cart {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 0;
}

.page-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn.active, .page-btn:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .games-header h1 {
        font-size: 2.5rem;
    }
    
    .games-filter {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .filter-options {
        flex-wrap: wrap;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .add-to-cart {
        width: 100%;
    }
}
/* Genres Page Specific Styles */
.genres-hero {
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.genres-hero .hero-content h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.genres-hero .hero-content h1 span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.genres-hero .hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%2300f7ff" stroke-width="0.5" stroke-dasharray="5,5" opacity="0.2"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* Genres Grid */
.genres-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.genre-card {
    background: rgba(25, 25, 40, 0.8);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.genre-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

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

.genre-card:hover::before {
    opacity: 0.1;
}

.genre-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.genre-card:hover .genre-icon {
    transform: scale(1.2);
    color: white;
}

.genre-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.genre-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-count {
    display: inline-block;
    background: rgba(0, 247, 255, 0.2);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.genre-card:hover .genre-overlay {
    opacity: 1;
}

.explore-btn {
    background: var(--primary);
    color: var(--dark);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

/* Popular by Genre Section */
.popular-by-genre {
    padding: 4rem 5%;
    background: rgba(15, 15, 30, 0.8);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.genre-highlight {
    margin-bottom: 3rem;
}

.genre-highlight h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.genre-highlight h3 i {
    color: var(--primary);
}

.game-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.game-scroller::-webkit-scrollbar {
    height: 6px;
}

.game-scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.game-scroller::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .genres-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .genres-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .genres-container {
        grid-template-columns: 1fr;
    }
}
/* Account Creation Styles */
.account-creation {
    display: flex;
    min-height: calc(70vh - 30px);
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.creation-container {
    flex: 1;
    padding: 6rem;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.creation-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.creation-header h1 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.creation-header h1 span {
    color: var(--primary);
}

.creation-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-logins {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.8rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn.google {
    background: #fff;
    color: #333;
}

.social-btn.google:hover {
    background: #eee;
    transform: translateY(-2px);
}

.social-btn.facebook {
    background: #3b5998;
    color: white;
}

.social-btn.facebook:hover {
    background: #344e86;
    transform: translateY(-2px);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 1rem;
}

.creation-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: white;
    font-weight: 900;
    font-size: 0.9rem;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field i {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.input-field input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    transition: all 0.3s ease;
}

.input-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 247, 255, 0.2);
}

.input-field input:focus + .checkmark {
    opacity: 1;
}

.input-field input:focus ~ i {
    color: var(--primary);
}

.checkmark {
    position: absolute;
    right: 1rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary);
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.strength-meter {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-meter::before {
    content: "";
    display: block;
    height: 100%;
    width: 0%;
    background: #e74c3c;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
    list-style: none;
}

.password-requirements li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    padding-left: 1.2rem;
}

.password-requirements li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #e74c3c;
}

.password-requirements li.valid {
    color: rgba(255, 255, 255, 0.8);
}

.password-requirements li.valid::before {
    content: "✓";
    color: #2ecc71;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-weight: normal;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.create-account-btn {
    background: var(--primary);
    color: var(--dark);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.create-account-btn:hover {
    background: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
}

.create-account-btn .loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.create-account-btn.loading .btn-text {
    opacity: 0;
}

.create-account-btn.loading .loader {
    opacity: 1;
}

.loader::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid var(--dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-redirect {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.login-redirect a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-redirect a:hover {
    text-decoration: underline;
}

.creation-graphics {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.05) 0%, rgba(255, 0, 228, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.graphic-container {
    position: relative;
    max-width: 500px;
}

.graphic-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefits-list {
    position: relative; /* changed from absolute */
    margin: 2rem auto;
    max-width: 800px;
    background: rgba(15, 15, 30, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    text-align: left;
}

.benefits-list h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.benefits-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 1.5rem 2rem;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.benefits-list i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}


.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    min-height: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .creation-graphics {
        display: none;
    }
    
    .creation-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .account-creation {
        padding-top: 2rem;
    }
    
    .creation-container {
        padding: 2rem;
    }
    
    .creation-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .social-logins {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
    }
}