* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, sans-serif;
}

body {
    background-color: #0b0d17;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header styles */
header {
    padding: 15px 0;
    background-color: rgba(11, 13, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    font-size: 28px;
    color: #7b68ee;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    position: relative;
    font-weight: 600;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7b68ee;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-actions a {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

.login {
    border: 1px solid #7b68ee;
    color: #7b68ee;
}

.signup {
    background-color: #7b68ee;
    color: white;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 15px;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    padding: 5px;
    width: 150px;
    outline: none;
}

.search-icon {
    color: #7b68ee;
    cursor: pointer;
}

/* Hero section */
.hero {
    height: 80vh;
    background: url('https://source.unsplash.com/random/1920x1080/?gaming,futuristic') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 13, 23, 0.9) 0%, rgba(11, 13, 23, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a020f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.primary-btn {
    padding: 12px 28px;
    background: linear-gradient(45deg, #7b68ee, #9370db);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 104, 238, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 104, 238, 0.5);
}

.secondary-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Game categories section */
.categories-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.section-header {
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #7b68ee, #9370db);
}

.categories-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 150px;
    background: linear-gradient(145deg, #181925, #12131a);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(123, 104, 238, 0.3);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #7b68ee;
}

.category-name {
    font-weight: 600;
    font-size: 16px;
}

/* Game showcase section */
.game-showcase {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.showcase-title {
    font-size: 2rem;
}

.view-more {
    color: #7b68ee;
    font-weight: 600;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: linear-gradient(145deg, #181925, #12131a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(123, 104, 238, 0.3);
}

.game-card-link {
    display: block;
    width: 100%;
    height: 100%;
}

.game-image {
    height: 180px;
    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.1);
}

.game-content {
    padding: 20px;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffc107;
}

.rating-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.game-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-platforms {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.platform {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
}

/* New releases section */
.new-releases {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* Footer section */
footer {
    background-color: #0a0b13;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #7b68ee;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #7b68ee;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: #7b68ee;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header {
        font-size: 1.8rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        width: 100%;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
    }
}