/* 
   Extrude Gaming Studio - Premium Styles 
   Theme: Dark, Futuristic, High-Performance
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Rajdhani:wght@500;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #050505;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;

    --primary: #00f2ea;
    /* Neon Cyan */
    --secondary: #ff0055;
    /* Neon Pink */
    --accent: #7000ff;
    /* Electric Violet */

    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-glow: radial-gradient(circle at center, rgba(0, 242, 234, 0.15), transparent 70%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
buttons {
    font-family: 'Rajdhani', sans-serif;
    /* Tech/Gaming feel */
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    background: var(--bg-dark);
}

.hero::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: var(--gradient-glow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Games Grid */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
}

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

.game-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    /* group: hover; removed */
}

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

.game-thumb {
    width: 100%;
    height: 250px;
    background: #222;
    object-fit: cover;
    display: block;
    position: relative;
}

.game-info {
    padding: 30px;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.platform-icons {
    display: flex;
    gap: 15px;
}

.platform-link {
    color: var(--text-main);
    font-size: 1.2rem;
    opacity: 0.7;
}

.platform-link:hover {
    opacity: 1;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* Hero Carousel */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), rgba(5, 5, 5, 0.95));
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: scale(1.1);
}

.hero-rating {
    margin-bottom: 10px;
    font-size: 1.1rem;
    animation: fadeInDown 1s ease 0.2s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Stats Section */
.stats-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    padding: 20px;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Scroll Reveal Animations */
.reveal, .item-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active, .item-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left var(--transition-smooth);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    .stat-item h3 {
        font-size: 2rem !important;
    }
}