/* style.css - Modern Neon Gaming Theme */
:root {
    --bg-dark: #050510;
    --bg-card: #0f0f1a;
    --primary-neon: #00f3ff; /* Cyan Neon */
    --secondary-neon: #bc13fe; /* Purple Neon */
    --accent-green: #0aff0a;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --glow-text: 0 0 10px var(--primary-neon), 0 0 20px var(--primary-neon);
    --glow-box: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Utility Classes */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.neon-text { color: var(--primary-neon); text-shadow: var(--glow-text); }
.neon-border { border: 1px solid var(--primary-neon); box-shadow: var(--glow-box); }

/* Header & Navbar */
header {
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--secondary-neon);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-shadow: 0 0 5px var(--secondary-neon);
}
.logo span { color: var(--primary-neon); }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}
.nav-links a:hover { color: var(--primary-neon); text-shadow: var(--glow-text); }
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background: var(--primary-neon);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-dark) 100%);
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 0 10px var(--secondary-neon); }
.hero p { font-size: 1.5rem; color: var(--text-muted); margin-bottom: 40px; }
.btn-neon {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--primary-neon);
    color: var(--primary-neon);
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}
.btn-neon:hover {
    background: var(--primary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-neon);
}

/* Content Sections */
.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 5px solid var(--secondary-neon);
    padding-left: 20px;
    margin-top: 60px;
}

/* Grid Layout for Cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #222;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}
.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}
.game-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.game-card-content { padding: 20px; }
.game-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }
.game-card p { color: var(--text-muted); font-size: 0.9rem; }
.tag {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(188, 19, 254, 0.2);
    color: var(--secondary-neon);
    font-size: 0.8rem;
    border-radius: 4px;
    margin-top: 10px;
}
/* =========================
   GLOBAL SECTION STYLE
========================= */

section {
    padding: 80px 0;
}

/* =========================
   SECTION TITLE
========================= */

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #FFFFFF;
    letter-spacing: 1px;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    text-align: center;
    padding: 120px 20px;
}

.hero p {
    max-width: 750px;
    margin: 25px auto;
    color: #B8B8D0;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* =========================
   WHY SECTION
========================= */

.why-section {
    margin-top: 40px;
}

.why-section .game-grid {
    margin-top: 50px;
}

/* =========================
   GAME GRID
========================= */

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* =========================
   GAME CARD
========================= */

.game-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.15);
}

/* =========================
   GAME IMAGE
========================= */

.game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* =========================
   GAME CONTENT
========================= */

.game-card-content {
    padding: 25px;
    text-align: left;
}

.game-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.game-card-content p {
    color: #B8B8D0;
    line-height: 1.8;
    font-size: 0.96rem;
}

/* =========================
   TAG
========================= */

.tag {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0,243,255,0.12);
    color: #00F3FF;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.tag:hover {
    background: #00F3FF;
    color: #0F172A;
}

/* =========================
   FAQ SECTION
========================= */

.faq-section {
    margin-top: 50px;
}

.faq-section .game-card-content {
    text-align: left;
}

/* GAME CARD IMAGE */
.game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* GAME CARD */
.game-card {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,243,255,0.12);
}

/* CONTENT */
.game-card-content {
    padding: 24px;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 12px;
    color: #B8B8D0;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #00F3FF;
}

footer p {
    color: #8A8AA3;
    line-height: 1.8;
    max-width: 700px;
    margin: 15px auto;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .section-title {
        font-size: 1.8rem;
    }

    .hero {
        padding: 100px 20px;
    }

    .game-card img {
        height: 200px;
    }

}
/* TOP CATEGORY */
.top-category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.category-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 18px;
    text-align: left;
    transition: 0.3s ease;
}

.category-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary-neon);
}

.category-box h3 {
    margin-bottom: 10px;
    color: #FFFFFF;
}

.category-box p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* NEWS GRID */
.news-grid {
    align-items: start;
}

/* NEWS CARD */
.news-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

/* NEWS IMAGE FIX */
.news-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #050816;
}

/* CONTENT */
.news-card .game-card-content {
    padding: 28px;
}

/* TITLE */
.news-card h3 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

/* DESCRIPTION */
.news-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
footer {
    background: #020208;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid #111;
    text-align: center;
}
.footer-links a { color: var(--text-muted); margin: 0 15px; }
.footer-links a:hover { color: var(--primary-neon); }
.copyright { margin-top: 20px; color: #444; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { gap: 15px; font-size: 0.9rem; }
}