/* =======================================
   Gaming Web Page CSS - V2
   Futuristic Dark Theme, Neon UI
   ======================================= */

/* Variables */
:root {
    /* Colors */
    --bg-dark-start: #0b0b0f;
    --bg-dark-end: #121826;
    --bg-panel: rgba(18, 24, 38, 0.4);

    /* Neon Accents */
    --neon-green: #00ff9c;
    --neon-blue: #00c3ff;
    --neon-purple: #8b5cf6;
    --neon-red: #ff3366;
    --neon-cyan: #06b6d4;

    /* Text */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-dark-start), var(--bg-dark-end));
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.logo {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 4rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 4rem;
}

.p-4 {
    padding: 2rem;
}

.p-5 {
    padding: 3rem;
}

.justify-center {
    justify-content: center;
}

.text-sm {
    font-size: 0.875rem;
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: #fff;
}

/* Text Accents */
.text-neon-green {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 156, 0.5);
}

.text-neon-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
}

.text-neon-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.text-neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.text-neon-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

/* Glassmorphism & Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.neon-border-green {
    border: 1px solid rgba(0, 255, 156, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 156, 0.05);
}

.neon-border-blue {
    border: 1px solid rgba(0, 195, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.05);
}

.neon-border-purple {
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.05);
}

.neon-border-cyan {
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    /* Gamers love sharp/slight rounded corners */
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
    letter-spacing: 0.5px;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    color: white;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
}

.btn-secondary:hover {
    background: rgba(0, 255, 156, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 156, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 195, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 195, 255, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Header & Sticky Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    /* Account for nav */
}

/* Minimal pure CSS 'particles' background for Hero */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(139, 92, 246, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.5;
}

.particles::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 195, 255, 0.1), transparent 50%);
    animation: flowBg 15s linear infinite;
    z-index: -1;
}

@keyframes flowBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero h1 span {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 195, 255, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Table of Contents */
.toc-section {
    padding: 2rem 0;
    margin-top: -3rem;
    /* overlap with hero slightly */
    position: relative;
    z-index: 10;
}

.toc-card {
    max-width: 800px;
    margin: 0 auto;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.toc-list li a {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-radius: 4px;
}

.toc-list li a::before {
    content: '❯';
    color: var(--neon-purple);
    font-size: 0.8rem;
    margin-right: 10px;
    transition: var(--transition);
}

.toc-list li a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.toc-list li a:hover::before {
    color: var(--neon-blue);
    transform: translateX(3px);
}

/* Overview Section */
.overview {
    padding: 6rem 0;
}

.layout-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
}

.stat-list li {
    margin-bottom: 0.5rem;
}

.stat-list i {
    width: 20px;
}

.pulse-glow {
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 195, 255, 0.1);
    }

    100% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
    }
}

.rounded-image {
    border-radius: 8px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05), transparent);
}

.section-header p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
}

.neon-border-purple:hover::before {
    background: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple);
}

.neon-border-blue:hover::before {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

.neon-border-green:hover::before {
    background: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
}

.neon-border-cyan:hover::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.glass-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Guide Section */
.guide {
    padding: 6rem 0;
}

.section-title {
    font-size: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.sub-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 8px 8px 0;
    transition: var(--transition);
}

.sub-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-left-color: var(--neon-blue);
}

.styled-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list strong {
    color: var(--text-main);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.update-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-list {
    list-style-position: inside;
    counter-reset: my-counter;
}

.step-list li {
    counter-increment: my-counter;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    position: relative;
    padding-left: 3rem;
    color: var(--text-muted);
}

.step-list li::before {
    content: counter(my-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
}

.step-list strong {
    color: var(--text-main);
}

/* FAQ Accordion */
.faq {
    padding: 6rem 0;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-btn:hover {
    color: var(--neon-blue);
}

.accordion-btn i {
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 0 6rem;
}

.conclusion-box {
    box-shadow: 0 0 50px rgba(0, 195, 255, 0.05);
}

.glow-gradient-box {
    background: linear-gradient(135deg, rgba(0, 255, 156, 0.1), rgba(0, 195, 255, 0.1));
    border: 1px solid rgba(0, 255, 156, 0.3);
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pulse-animation {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 195, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 195, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 195, 255, 0);
    }
}

/* Footer */
.footer {
    background: #060810;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--neon-blue);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-glow-purple:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-purple);
}

.hover-glow-blue:hover {
    background: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-blue);
}

.hover-glow-green:hover {
    background: var(--neon-green);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-green);
}


/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {

    .layout-2col,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .btn-primary.btn-glow {
        display: none;
    }

    /* Simplified mobile nav */
    .hero-actions {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

    .p-5 {
        padding: 2rem;
    }
}