/* =========================================================
   IRONNODEGAMES
   Futuristic Gaming Infrastructure Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #05070d;
    --bg-secondary: #080b13;
    --surface: rgba(14, 18, 30, 0.72);
    --surface-solid: #0d111c;
    --surface-light: rgba(255, 255, 255, 0.045);

    --text: #f5f7ff;
    --text-secondary: #a7afc4;
    --text-muted: #687188;

    --primary: #6d5dfc;
    --primary-light: #8b7dff;
    --cyan: #29d9ff;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.14);

    --container: 1180px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(109, 93, 252, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(41, 217, 255, 0.08),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family: "Inter", sans-serif;

    line-height: 1.6;

    min-height: 100vh;

    overflow-x: hidden;
}

/* Subtle grid */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );

    z-index: -1;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    position: relative;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    position: sticky;

    top: 0;

    z-index: 100;

    height: 76px;

    display: flex;
    align-items: center;

    background: rgba(5, 7, 13, 0.72);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.logo {
    font-family: "Space Grotesk", sans-serif;

    font-size: 21px;

    font-weight: 700;

    letter-spacing: -0.7px;

    white-space: nowrap;
}

.logo span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 34px;
}

.nav-links a {
    color: var(--text-secondary);

    font-size: 14px;

    font-weight: 500;

    transition: 0.25s ease;
}

.nav-links a:hover {
    color: white;

    text-shadow:
        0 0 18px rgba(109, 93, 252, 0.7);
}

.nav-actions {
    display: flex;

    align-items: center;

    gap: 20px;
}

.login-link {
    color: var(--text-secondary);

    font-size: 14px;

    transition: 0.25s ease;
}

.login-link:hover {
    color: white;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    border: 1px solid transparent;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4f8cff
        );

    color: white;

    box-shadow:
        0 10px 30px rgba(109, 93, 252, 0.28);
}

.btn-primary:hover {
    box-shadow:
        0 15px 45px rgba(109, 93, 252, 0.45);
}

.btn-secondary {
    background: rgba(255,255,255,0.035);

    border-color: var(--border-light);

    color: white;

    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.07);

    border-color: rgba(255,255,255,0.22);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -180px;
    top: 20px;

    background:
        radial-gradient(
            circle,
            rgba(109, 93, 252, 0.20),
            transparent 65%
        );

    filter: blur(30px);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: -180px;
    bottom: -200px;

    background:
        radial-gradient(
            circle,
            rgba(41, 217, 255, 0.10),
            transparent 70%
        );

    filter: blur(30px);

    pointer-events: none;
}

.hero-container {
    position: relative;

    z-index: 2;
}

.hero-content {
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 25px;

    border-radius: 999px;

    background: rgba(109, 93, 252, 0.09);

    border: 1px solid rgba(109, 93, 252, 0.25);

    color: #bcb4ff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(54px, 7vw, 88px);

    line-height: 0.98;

    letter-spacing: -4px;

    margin-bottom: 28px;

    font-weight: 700;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #8c7dff,
            #42dfff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero p {
    max-width: 650px;

    color: var(--text-secondary);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;

    gap: 14px;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    padding: 120px 0 75px;

    text-align: center;
}

.page-header .container {
    max-width: 850px;
}

.page-header h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(44px, 6vw, 72px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 22px;
}

.page-header p {
    color: var(--text-secondary);

    font-size: 17px;

    max-width: 650px;

    margin: auto;
}

.section-label {
    color: #9185ff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(34px, 4vw, 52px);

    letter-spacing: -2px;

    line-height: 1.05;

    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);

    max-width: 600px;

    font-size: 16px;
}

/* =========================================================
   GAMES
   ========================================================= */

.games-section {
    padding: 100px 0;
}

.games-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.game-card {
    position: relative;

    padding: 32px;

    min-height: 390px;

    display: flex;

    flex-direction: column;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.018)
        );

    border: 1px solid var(--border);

    backdrop-filter: blur(15px);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.game-card::before {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    top: -100px;
    right: -80px;

    background:
        radial-gradient(
            circle,
            rgba(109,93,252,0.18),
            transparent 70%
        );

    transition: 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(109, 93, 252, 0.42);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.35),
        0 0 50px rgba(109,93,252,0.08);
}

.game-card:hover::before {
    transform: scale(1.5);
}

.game-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    margin-bottom: 25px;

    font-size: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(109,93,252,0.18),
            rgba(41,217,255,0.08)
        );

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow:
        inset 0 0 25px rgba(109,93,252,0.08);
}

.game-card h2,
.game-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 25px;

    margin-bottom: 12px;
}

.game-card p {
    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 22px;
}

.game-features {
    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 28px;
}

.game-features li {
    color: #929bb0;

    font-size: 13px;
}

.game-card .btn,
.game-card > a:last-child {
    margin-top: auto;
}

/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255,255,255,0.018),
            transparent
        );
}

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background:
        rgba(255,255,255,0.025);

    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    background:
        rgba(255,255,255,0.045);

    border-color:
        rgba(109,93,252,0.3);
}

.feature-icon {
    font-size: 22px;

    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 18px;

    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.7;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 120px 0;
}

.cta-content {
    position: relative;

    text-align: center;

    padding: 80px 30px;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(109,93,252,0.17),
            transparent 55%
        ),
        rgba(255,255,255,0.025);
}

.cta-content h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(34px, 5vw, 58px);

    letter-spacing: -2px;

    margin-bottom: 15px;
}

.cta-content p {
    color: var(--text-secondary);

    margin-bottom: 30px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    border-top: 1px solid var(--border);

    background:
        rgba(3,5,10,0.8);
}

.footer-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    padding: 70px 0;
}

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

    max-width: 300px;

    margin-top: 12px;

    font-size: 13px;
}

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.footer-links h4 {
    font-size: 13px;

    margin-bottom: 18px;
}

.footer-links a {
    display: block;

    color: var(--text-muted);

    font-size: 13px;

    margin-bottom: 10px;

    transition: 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border);

    padding: 22px 0;
}

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

    font-size: 12px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

.hero-content {
    animation:
        fadeUp 0.8s ease both;
}

/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    background: rgba(109,93,252,0.35);

    color: white;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #05070d;
}

::-webkit-scrollbar-thumb {
    background: #252a3a;

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #383f58;
}
