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

:root {
    --primary: #2563eb;
    --secondary: #f8fafc;
    --accent: #3b82f6;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: pageLoad 0.8s ease-out forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.logo-text {
    color: var(--text);
    font-family: 'Aldrich', sans-serif;
}

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

.logo-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    border-radius: 1px;
}

.nav-menu {
    display: flex;
    gap: 8px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
    color: var(--text);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.nav-btn {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: white;
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: url('img/slide3.png');
}

.hero-slide:nth-child(2) {
    background-image: url('img/slide.jpg');
}

.hero-slide:nth-child(3) {
    background-image: url('img/slide2.png');
}

.hero-slide:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1920&h=1080&fit=crop');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 10%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    transform: translateY(40px);
    opacity: 0;
    animation: heroSlideUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: flex-start;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 24px;
    max-width: 800px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 47px;
}

.title-main {
    color: var(--text);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    text-align: center;
}

.title-highlight {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 1s both;
    font-size: 98px;
    font-family: 'Aldrich', sans-serif;
    text-align: center;
}

.title-sub {
    color: var(--text-muted);
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 1.2s both;
    text-align: center;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 646px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 1.4s both;
    text-align: center;
}

.hero-actions {
    display: flex;
    align-items: stretch;
    gap: 24px;
    animation: fadeInUp 0.8s ease-out 1.6s both;
    flex-wrap: wrap;
    justify-content: space-around;
}

.hero-price {
    display: flex;
    align-items: center;
    background: white;
    color: var(--text);
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.cta-btn {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:active {
    transform: translateY(-1px);
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(2px);
}

/* Sections */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
}

.see-all {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.see-all:hover {
    opacity: 0.8;
}

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

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    animation: cardReveal 0.6s ease-out forwards;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.game-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

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

/* Stock images for games */
.valorant {
    background-image: url('img/game2.jpg');
}

.nba2k {
    background-image: url('img/game1.jpg');
}

.ac-valhalla {
    background-image: url('img/game3.jpg');
}

.starfield {
    background-image: url('img/S1.jpg');
}

.elder-scrolls {
    background-image: url('img/S2.jpg');
}

.fifa26 {
    background-image: url('img/S4.jpg');
}

.gta6 {
    background-image: url('img/S5.jpg');
}

.hades2 {
    background-image: url('img/editor.jpg');
}

.silksong {
    background-image: url('img/editor2.jpg');
}

.alanwake2 {
    background-image: url('img/editor3.jpg');
}

.blog1 {
    background-image: url('img/editor5.jpg');
}

.blog2 {
    background-image: url('img/editor6.jpg');
}

.blog3 {
    background-image: url('img/editor7.jpg');
}

.avatar1 {
    background-image: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=80&h=80&fit=crop&crop=face');
}

.avatar2 {
    background-image: url('https://images.unsplash.com/photo-1494790108755-2616b2fa15cb?w=80&h=80&fit=crop&crop=face');
}

.avatar3 {
    background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=80&h=80&fit=crop&crop=face');
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: tagsFadeIn 0.5s ease-out 0.3s forwards;
}

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

.tag {
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.rating {
    color: var(--accent);
    font-weight: 600;
}

/* Carousel */
.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.05);
}

.upcoming-card {
    height: 250px;
    border-radius: 15px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
}

.release-date {
    color: var(--text-muted);
    font-size: 14px;
}

/* Editor's Picks */
.picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pick-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.pick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pick-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.pick-card h3,
.pick-card p {
    padding: 0 20px;
}

.pick-card h3 {
    padding-top: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.pick-card p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

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

.review-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
}

.review-card p {
    color: var(--text);
}

.stars {
    color: #fbbf24;
    margin-top: 10px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

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

.blog-card h3,
.blog-card p,
.read-more {
    padding: 0 20px;
}

.blog-card h3 {
    padding-top: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 20px;
    transition: opacity 0.3s ease;
}

.read-more:hover {
    opacity: 0.8;
}

/* Newsletter */
.newsletter {
    background: var(--secondary);
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 10px;
    color: var(--text);
}

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

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

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 50px 0 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    border-top: 1px solid var(--border);
}

.footer.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-section p {
    color: var(--text-muted);
}

.footer-links,
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--text);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content {
        text-align: center;
        padding: 20px;
    }

    .section {
        padding: 50px 0;
    }

    .cards-grid,
    .picks-grid,
    .reviews-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links,
    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .carousel {
        padding-left: 20px;
    }

    .carousel-item {
        flex: 0 0 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 10px 15px;
    }

    .upcoming-card {
        height: 180px;
    }

    .hero-title {
        font-size: 2rem;
    }
}
