        /* ================================
   G-Nation Global CSS
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 50%, #1a1010 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* ================================
   Animated Background
   ================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================
   Header & Navigation
   ================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002;
}

.logo img {
    height: 45px;
    width: auto;
}

/* Desktop Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 10px 18px;
    font-weight: 400;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

nav a:last-child {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    margin-left: 10px;
    font-weight: 500;
}

nav a:last-child:hover {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    transform: translateY(-1px);
}

/* ================================
   Mobile Menu Toggle (Bootstrap-Style)
   ================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1002;
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    margin-bottom: 6px;
}

.menu-toggle span:nth-child(3) {
    margin-top: 6px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

/* ================================
   Mobile Navigation (Bootstrap Collapse-Style)
   ================================ */
@media (max-width: 991px) {
    header {
        flex-wrap: wrap;
        padding: 12px 20px;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .logo {
        order: 1;
    }

    nav {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out, padding 0.35s ease-out;
        background: rgba(18, 18, 18, 0.98);
        margin: 0 -20px;
        padding: 0 20px;
        margin-top: 0;
        border-top: 0 solid rgba(220, 38, 38, 0.2);
    }

    nav.active {
        max-height: 350px;
        padding: 15px 20px;
        margin-top: 12px;
        border-top-width: 1px;
    }

    nav a {
        padding: 14px 15px;
        margin: 2px 0;
        border-radius: 8px;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        transition: background 0.2s, color 0.2s;
    }

    nav a:hover {
        background: rgba(220, 38, 38, 0.15);
        color: #fff;
    }

    nav a:last-child {
        background: transparent;
        color: #ef4444;
        margin: 10px 0 5px 0;
        padding: 14px 25px;
        text-align: center;
        border: 2px solid #dc2626;
        border-radius: 50px;
        font-weight: 600;
    }

    nav a:last-child:hover {
        background: linear-gradient(135deg, #dc2626, #991b1b);
        color: #fff;
        transform: none;
    }

    .overlay {
        display: none !important;
    }
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.5));
}

.hero h4 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ef4444;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 .primary {
    background: linear-gradient(90deg, #dc2626, #ff6b6b, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.6);
}

/* ================================
   Features Section
   ================================ */
.features {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ef4444;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* ================================
   Games Section
   ================================ */
.games {
    padding: 80px 20px;
}

.games h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.games-showcase {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.game-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(153, 27, 27, 0.3));
    border: 2px solid #dc2626;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.game-badge:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    transform: scale(1.05);
}

/* ================================
   Guidelines Section
   ================================ */
.guidelines {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.4);
}

.guidelines h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.guidelines > .container > p {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.guideline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s, border-color 0.3s;
}

.guideline-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.4);
}

.guideline-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
}

.guideline-card p {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 0.95rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(153, 27, 27, 0.1));
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.warning-box h3 {
    color: #ef4444;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.warning-box ul {
    list-style: none;
    padding: 0;
}

.warning-box li {
    color: #b0b0b0;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.warning-box li::before {
    content: '⚡';
    position: absolute;
    left: 0;
}

.extra-rules {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.extra-rules h3 {
    color: #ef4444;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.extra-rules ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.extra-rules li {
    color: #9ca3af;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-box {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), transparent);
    border-radius: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.help-box h3 {
    color: #fff;
    margin-bottom: 10px;
}

.help-box p {
    color: #b0b0b0;
}

/* ================================
   CTA Section
   ================================ */
.cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(26, 16, 16, 0.5));
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 40px;
}

/* ================================
   Footer
   ================================ */
footer {
    padding: 40px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #6b7280;
}

footer a {
    color: #dc2626;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-icon {
        width: 100px;
        height: 100px;
    }

    .features h2,
    .games h2,
    .guidelines h2,
    .cta h2 {
        font-size: 2rem;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
    }

    .extra-rules ul {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    .logo img {
        height: 38px;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .hero h4 {
        font-size: 1rem;
    }

    .features,
    .games,
    .guidelines,
    .cta {
        padding: 60px 15px;
    }

    .feature-card,
    .guideline-card {
        padding: 25px 20px;
    }

    .game-badge {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}