/* =========================================================
   CODE NOVA
   Main stylesheet
   ========================================================= */

/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #070912;
    color: #f4f7ff;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

body,
button,
input,
textarea,
select {
    font-family: inherit;
}

button,
input,
textarea,
select {
    font-size: inherit;
}

button {
    border: 0;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

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

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

ul,
ol {
    list-style: none;
}

::selection {
    background: #8b5cf6;
    color: #ffffff;
}


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

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

::-webkit-scrollbar-track {
    background: #070912;
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 999px;
    border: 2px solid #070912;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 211, 238, 0.65);
}


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --bg: #070912;
    --bg-soft: #0b0f1c;
    --panel: rgba(13, 17, 32, 0.78);
    --panel-solid: #0d1120;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;

    --cyan: #22d3ee;
    --cyan-light: #67e8f9;

    --green: #34d399;
    --yellow: #facc15;
    --red: #f87171;

    --text: #f4f7ff;
    --text-soft: #b7bfd3;
    --text-muted: #7d879f;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.35);

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;

    --max-width: 1180px;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.site-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(139, 92, 246, 0.13),
            transparent 40%
        ),
        #070912;
}

.background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(139, 92, 246, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(139, 92, 246, 0.07) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0, 0, 0, 0.8) 45%,
        transparent 100%
    );
}

.background-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.13;
}

.background-glow-one {
    top: -220px;
    left: -160px;
    background: #8b5cf6;
}

.background-glow-two {
    top: 35%;
    right: -260px;
    background: #22d3ee;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );
    margin: 0 auto;
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(7, 9, 18, 0.78);

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

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;

    white-space: nowrap;
}

.brand-star {
    color: var(--purple-light);

    font-size: 1.25rem;

    display: inline-block;

    transition:
        transform 0.45s ease,
        color 0.3s ease;
}

.brand:hover .brand-star {
    color: var(--cyan);
    transform: rotate(360deg);
}


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

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.site-nav a {
    position: relative;

    padding: 9px 11px;

    border-radius: 9px;

    color: var(--text-muted);

    font-size: 0.88rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.site-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
}

.site-nav a.active {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.11);
}

.site-nav a.active::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 3px;

    width: 18px;
    height: 2px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: var(--purple);
}

.site-nav .nav-login {
    margin-left: 6px;

    padding-left: 15px;
    padding-right: 15px;

    color: #ffffff;

    border: 1px solid rgba(139, 92, 246, 0.3);

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.2),
            rgba(34, 211, 238, 0.08)
        );
}

.site-nav .nav-login:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.28),
            rgba(34, 211, 238, 0.12)
        );
}


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

.mobile-nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    cursor: pointer;

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

    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-toggle span {
    width: 20px;
    height: 2px;

    border-radius: 99px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


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

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 110px 0 90px;

    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 24px;
    padding: 8px 13px;

    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 999px;

    color: #c4b5fd;

    background: rgba(139, 92, 246, 0.08);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.badge-star {
    color: var(--cyan);
}

.pulse-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 5px rgba(52, 211, 153, 0.08),
        0 0 15px rgba(52, 211, 153, 0.5);

    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.8);
    }
}

.hero h1 {
    max-width: 900px;

    margin-bottom: 24px;

    font-size: clamp(3.2rem, 8vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 900;
}

.hero h1 span {
    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #a78bfa 40%,
            #22d3ee 75%,
            #ffffff 100%
        );

    background-size: 220% auto;

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: heroGradient 7s ease infinite;
}

@keyframes heroGradient {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.hero-description {
    max-width: 700px;

    margin-bottom: 32px;

    color: var(--text-soft);

    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;

    color: var(--text-muted);

    font-size: 0.85rem;
}


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

.button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 19px;

    border: 1px solid transparent;
    border-radius: 11px;

    cursor: pointer;

    font-weight: 750;
    font-size: 0.92rem;

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

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

.button-primary {
    color: #ffffff;

    border-color: rgba(139, 92, 246, 0.45);

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6d28d9
        );

    box-shadow:
        0 12px 28px rgba(109, 40, 217, 0.22);
}

.button-primary:hover {
    border-color: rgba(167, 139, 250, 0.75);

    box-shadow:
        0 16px 35px rgba(109, 40, 217, 0.3);
}

.button-secondary {
    color: var(--text);

    border-color: var(--border);

    background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(34, 211, 238, 0.07);
}


/* =========================================================
   STATS
   ========================================================= */

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    position: relative;

    padding: 28px;

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

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

    box-shadow: var(--shadow);

    overflow: hidden;
}

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

    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(139, 92, 246, 0.6),
            transparent
        );
}

.stat-icon {
    width: 42px;
    height: 42px;

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

    margin-bottom: 17px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;

    background: rgba(139, 92, 246, 0.09);

    font-size: 1.2rem;
}

.stat-number {
    margin-bottom: 2px;

    font-size: 2rem;
    line-height: 1.2;
    font-weight: 850;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 48px;
}

.section-eyebrow {
    margin-bottom: 10px;

    color: var(--cyan);

    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.section-heading h2 {
    margin-bottom: 14px;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-heading p {
    color: var(--text-muted);
    line-height: 1.8;
}


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

.features-grid {
    display: grid;

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

    gap: 18px;
}

.feature-card {
    position: relative;

    min-height: 300px;

    display: flex;
    flex-direction: column;

    padding: 28px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    overflow: hidden;

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

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

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

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.32),
        0 0 30px rgba(139, 92, 246, 0.05);
}

.feature-icon {
    width: 54px;
    height: 54px;

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

    margin-bottom: 24px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;

    background: rgba(139, 92, 246, 0.09);

    font-size: 1.4rem;
}

.feature-icon-game {
    color: #a78bfa;
}

.feature-icon-3d {
    color: #67e8f9;
}

.feature-icon-creator {
    color: #6ee7b7;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    margin-bottom: 10px;

    font-size: 1.25rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 22px;

    color: var(--purple-light);

    font-size: 0.88rem;
    font-weight: 750;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.feature-link:hover {
    gap: 10px;
    color: var(--cyan-light);
}


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

.cta-section {
    padding-top: 50px;
}

.cta-card {
    position: relative;

    padding: 70px 50px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(139, 92, 246, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(34, 211, 238, 0.1),
            transparent 35%
        ),
        rgba(13, 17, 32, 0.82);

    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 680px;
}

.cta-content h2 {
    margin-bottom: 15px;

    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.cta-content p {
    margin-bottom: 25px;

    color: var(--text-muted);
    line-height: 1.8;
}

.cta-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.cta-decoration-one {
    width: 260px;
    height: 260px;

    top: -170px;
    right: -80px;

    border: 1px solid rgba(139, 92, 246, 0.2);
}

.cta-decoration-two {
    width: 170px;
    height: 170px;

    bottom: -100px;
    right: 180px;

    border: 1px solid rgba(34, 211, 238, 0.16);
}


/* =========================================================
   INNER PAGE HERO
   ========================================================= */

.page-hero {
    padding: 100px 0 65px;
}

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

.page-hero h1 {
    margin-bottom: 18px;

    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.page-hero p {
    color: var(--text-muted);

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   CONTENT GRID
   ========================================================= */

.content-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.content-card {
    padding: 28px;

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

    background: rgba(13, 17, 32, 0.72);
}

.content-card h2,
.content-card h3 {
    margin-bottom: 12px;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.8;
}


/* =========================================================
   LESSONS
   ========================================================= */

.lessons-grid {
    display: grid;

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

    gap: 18px;
}

.lesson-card {
    padding: 26px;

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

    background: rgba(13, 17, 32, 0.72);

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

.lesson-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.lesson-card h3 {
    margin-bottom: 9px;
}

.lesson-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 70px 30px;

    text-align: center;

    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.018);
}

.empty-state-icon {
    width: 65px;
    height: 65px;

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

    margin: 0 auto 20px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;

    background: rgba(139, 92, 246, 0.08);

    font-size: 1.7rem;
}

.empty-state h2 {
    margin-bottom: 10px;
}

.empty-state p {
    max-width: 520px;

    margin: 0 auto;

    color: var(--text-muted);
}


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

.roadmap-hero {
    position: relative;

    padding: 95px 0 75px;

    overflow: hidden;
}

.roadmap-hero-content {
    max-width: 900px;
}

.roadmap-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 22px;
    padding: 8px 13px;

    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;

    color: var(--cyan-light);

    background: rgba(34, 211, 238, 0.06);

    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.roadmap-hero h1 {
    margin-bottom: 17px;

    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.roadmap-hero p {
    max-width: 700px;

    color: var(--text-muted);

    font-size: 1.05rem;
    line-height: 1.8;
}

.roadmap-stats {
    display: grid;

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

    gap: 14px;

    margin-top: 42px;

    max-width: 760px;
}

.roadmap-stat {
    padding: 20px;

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

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

.roadmap-stat-number {
    margin-bottom: 2px;

    color: #ffffff;

    font-size: 1.7rem;
    font-weight: 850;
}

.roadmap-stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
}


/* =========================================================
   ROADMAP TIMELINE
   ========================================================= */

.roadmap-timeline {
    position: relative;

    max-width: 950px;

    margin: 0 auto;
}

.roadmap-timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 21px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            rgba(139, 92, 246, 0),
            rgba(139, 92, 246, 0.4) 8%,
            rgba(139, 92, 246, 0.25) 90%,
            rgba(139, 92, 246, 0)
        );
}

.roadmap-item {
    position: relative;

    display: grid;

    grid-template-columns: 44px 1fr;

    gap: 24px;

    padding-bottom: 34px;
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-marker {
    position: relative;
    z-index: 2;

    width: 44px;
    height: 44px;

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

    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 50%;

    color: var(--purple-light);

    background: #0b0f1c;

    box-shadow:
        0 0 0 7px rgba(7, 9, 18, 0.8);
}

.roadmap-content {
    padding: 27px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.roadmap-content-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
}

.roadmap-content-header h3 {
    margin-top: 10px;

    font-size: 1.35rem;
}

.roadmap-content-description {
    color: var(--text-muted);

    line-height: 1.75;
}

.roadmap-status {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 999px;

    color: var(--purple-light);

    background: rgba(139, 92, 246, 0.07);

    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.roadmap-status.in-progress {
    color: #fcd34d;

    border-color: rgba(250, 204, 21, 0.22);

    background: rgba(250, 204, 21, 0.06);
}

.roadmap-status.completed {
    color: #6ee7b7;

    border-color: rgba(52, 211, 153, 0.22);

    background: rgba(52, 211, 153, 0.06);
}


/* =========================================================
   ROADMAP PROGRESS
   ========================================================= */

.roadmap-progress {
    margin-top: 24px;
}

.roadmap-progress-top {
    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 0.78rem;
}

.roadmap-progress-value {
    color: var(--text-soft);
    font-weight: 750;
}

.roadmap-progress-bar {
    height: 7px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.06);
}

.roadmap-progress-fill {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #8b5cf6,
            #22d3ee
        );

    box-shadow:
        0 0 15px rgba(34, 211, 238, 0.2);
}


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

.roadmap-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin-top: 23px;
}

.roadmap-feature {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 42px;

    padding: 9px 11px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;

    color: var(--text-muted);

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

    font-size: 0.82rem;
}

.roadmap-feature.completed {
    color: var(--text-soft);

    border-color: rgba(52, 211, 153, 0.1);
}

.roadmap-feature-icon {
    width: 23px;
    height: 23px;

    flex: 0 0 23px;

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

    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 7px;

    color: var(--purple-light);

    background: rgba(139, 92, 246, 0.07);

    font-size: 0.72rem;
}

.roadmap-feature.completed .roadmap-feature-icon {
    color: #6ee7b7;

    border-color: rgba(52, 211, 153, 0.2);

    background: rgba(52, 211, 153, 0.07);
}

.roadmap-feature:not(.completed) .roadmap-feature-icon {
    color: var(--text-muted);
}


/* =========================================================
   ROADMAP COMMUNITY IDEAS
   ========================================================= */

.roadmap-ideas {
    margin-top: 60px;
}

.roadmap-ideas-card {
    padding: 32px;

    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: var(--radius-lg);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(139, 92, 246, 0.1),
            transparent 40%
        ),
        rgba(13, 17, 32, 0.75);
}

.roadmap-ideas-card h2 {
    margin-bottom: 10px;

    font-size: 1.6rem;
}

.roadmap-ideas-card > p {
    margin-bottom: 24px;

    color: var(--text-muted);
}

.roadmap-idea-form {
    width: 100%;
}

#roadmapIdea {
    width: 100%;
    min-height: 145px;

    resize: none;

    padding: 15px 16px;

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

    outline: none;

    color: var(--text);
    background: #090d18;

    line-height: 1.6;

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

#roadmapIdea::placeholder {
    color: #596278;
}

#roadmapIdea:focus {
    border-color: rgba(139, 92, 246, 0.55);

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.08);
}

.roadmap-form-bottom {
    display: flex;

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

    gap: 15px;

    margin-top: 12px;
}

#characterCount {
    color: var(--text-muted);
    font-size: 0.78rem;
}

#saveIdeaButton {
    min-width: 125px;
}

#ideaStatus {
    margin-top: 12px;

    min-height: 22px;

    color: var(--text-muted);

    font-size: 0.82rem;
}


/* =========================================================
   UPDATES
   ========================================================= */

.updates-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.update-card {
    padding: 25px;

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

    background: rgba(13, 17, 32, 0.72);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.update-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.update-card h3 {
    margin-bottom: 8px;
}

.update-card p {
    color: var(--text-muted);
}

.update-date {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--cyan-light);

    font-size: 0.76rem;
    font-weight: 700;
}


/* =========================================================
   BUG FIXES PAGE
   ========================================================= */

.bug-fixes-hero {
    position: relative;
    overflow: hidden;
}

.bug-fixes-badge {
    border-color: rgba(248, 113, 113, 0.25);
    background: rgba(248, 113, 113, 0.06);
    color: #fca5a5;
}

.bug-fixes-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-right: 3px;
}

.bug-fixes-section {
    position: relative;
}

.bug-fix-item .roadmap-marker {
    border-color: rgba(34, 211, 238, 0.3);

    background: #0a101b;

    color: var(--cyan);

    box-shadow:
        0 0 0 7px rgba(7, 9, 18, 0.8),
        0 0 20px rgba(34, 211, 238, 0.08);
}

.bug-fix-item .roadmap-content {
    position: relative;

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

.bug-fix-item:hover .roadmap-content {
    transform: translateY(-3px);

    border-color: rgba(34, 211, 238, 0.22);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(34, 211, 238, 0.04);
}

.bug-fix-item .roadmap-status.completed {
    color: var(--cyan-light);

    border-color: rgba(34, 211, 238, 0.22);

    background: rgba(34, 211, 238, 0.06);
}

.bug-fix-item .roadmap-feature.completed {
    border-color: rgba(34, 211, 238, 0.1);
}

.bug-fix-item .roadmap-feature-icon {
    color: var(--cyan);

    border-color: rgba(34, 211, 238, 0.22);

    background: rgba(34, 211, 238, 0.06);
}

.bug-fix-item .roadmap-content-description {
    margin-bottom: 0;
}

.bug-fix-item .roadmap-progress-fill {
    width: 100%;
}

.bug-fixes-hero .roadmap-stat-number {
    min-height: 42px;

    display: flex;
    align-items: center;
}


/* =========================================================
   AUTH / LOGIN
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 76px);

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

    padding: 70px 20px;
}

.auth-card {
    width: min(100%, 470px);

    padding: 34px;

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

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

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

.auth-card h1 {
    margin-bottom: 8px;

    font-size: 2rem;
    letter-spacing: -0.04em;
}

.auth-card > p {
    margin-bottom: 27px;

    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: var(--text-soft);

    font-size: 0.83rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    min-height: 46px;

    padding: 11px 13px;

    outline: none;

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

    color: var(--text);

    background: #090d18;

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

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #596278;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(139, 92, 246, 0.55);

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.08);
}

.login-submit {
    width: 100%;
    margin-top: 4px;
}

.google-button {
    width: 100%;

    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

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

    color: var(--text);

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

    cursor: pointer;

    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.google-button:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 22px 0;

    color: var(--text-muted);

    font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    height: 1px;
    flex: 1;

    background: rgba(255, 255, 255, 0.08);
}

#switchAuthMode {
    margin-top: 20px;

    color: var(--purple-light);

    background: none;

    cursor: pointer;

    font-size: 0.86rem;
    font-weight: 700;
}

#switchAuthMode:hover {
    color: var(--cyan-light);
}

.auth-status {
    min-height: 22px;

    margin-top: 14px;

    color: var(--text-muted);

    font-size: 0.82rem;
}


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

.site-footer {
    margin-top: 100px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(4, 6, 13, 0.65);
}

.footer-top {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;

    padding: 50px 0 35px;
}

.footer-brand p {
    margin-top: 12px;

    color: var(--text-muted);

    font-size: 0.88rem;
}

.footer-links {
    display: flex;

    justify-content: flex-end;

    align-content: flex-start;
    flex-wrap: wrap;

    gap: 8px 16px;
}

.footer-links a {
    color: var(--text-muted);

    font-size: 0.82rem;

    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;

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

    gap: 20px;

    padding: 18px 0 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #5f687c;

    font-size: 0.75rem;
}


/* =========================================================
   HIDDEN HELPERS
   ========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   FOCUS
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .site-nav {
        gap: 0;
    }

    .site-nav a {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 0.82rem;
    }

    .features-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .lessons-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — MOBILE NAV
   ========================================================= */

@media (max-width: 850px) {

    .header-inner {
        position: relative;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;

        top: calc(100% + 10px);
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding: 10px;

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

        background:
            rgba(9, 13, 24, 0.97);

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

        box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.4);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        width: 100%;

        padding: 12px 13px;
    }

    .site-nav .nav-login {
        margin: 5px 0 0;
    }

    .site-nav a.active::after {
        left: 13px;

        transform: none;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

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

    .hero {
        min-height: auto;

        padding: 80px 0 65px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.8rem);
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .lessons-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .updates-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .page-hero {
        padding: 75px 0 50px;
    }

    .roadmap-hero {
        padding: 75px 0 55px;
    }

    .roadmap-stats {
        grid-template-columns: 1fr;
    }

    .roadmap-item {
        grid-template-columns: 35px 1fr;

        gap: 14px;
    }

    .roadmap-timeline::before {
        left: 17px;
    }

    .roadmap-marker {
        width: 35px;
        height: 35px;

        font-size: 0.8rem;
    }

    .roadmap-content {
        padding: 21px;
    }

    .roadmap-content-header {
        flex-direction: column;

        gap: 10px;
    }

    .roadmap-features {
        grid-template-columns: 1fr;
    }

    .roadmap-form-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    #saveIdeaButton {
        width: 100%;
    }

    .cta-card {
        padding: 45px 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-card {
        padding: 25px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .header-inner {
        min-height: 68px;
    }

    .brand {
        font-size: 1.08rem;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-badge {
        font-size: 0.68rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .roadmap-content {
        padding: 18px;
    }

    .roadmap-content-header h3 {
        font-size: 1.15rem;
    }

    .roadmap-ideas-card {
        padding: 22px;
    }

    .bug-fixes-hero .roadmap-stats {
        grid-template-columns: 1fr;
    }

    .bug-fix-item .update-date {
        white-space: normal;
    }

    .bug-fix-item .roadmap-content-header {
        align-items: flex-start;
    }

    .auth-page {
        padding: 45px 14px;
    }

    .auth-card {
        padding: 21px;
        border-radius: 20px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
/* ========================================
   PUBLIC PROFILES
======================================== */

.profile-hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.profile-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -180px;
    top: -220px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.16);
    filter: blur(80px);
    pointer-events: none;
}

.profile-hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -180px;
    bottom: -220px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.12);
    filter: blur(90px);
    pointer-events: none;
}

.profile-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 30px;

    max-width: 900px;
    margin: 0 auto;
    padding: 40px;

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

    background: rgba(10, 13, 25, 0.72);
    backdrop-filter: blur(20px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3);
}

.profile-avatar-wrap {
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;

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

    border-radius: 32px;

    font-size: 3rem;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.35),
            rgba(34, 211, 238, 0.2)
        );

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

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);

    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main {
    min-width: 0;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-name-row h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.profile-username {
    margin: 8px 0 0;

    font-family: monospace;
    font-size: 1rem;

    opacity: 0.6;
}

.profile-bio {
    max-width: 650px;
    margin: 22px 0 0;

    font-size: 1.05rem;
    line-height: 1.7;

    opacity: 0.78;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 22px;

    font-size: 0.85rem;
    opacity: 0.62;
}

.profile-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.profile-info-card h2,
.profile-grid .feature-card h2 {
    margin-top: 0;
}

.profile-detail-list {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 24px;
}

.profile-detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 14px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.profile-detail-list span {
    opacity: 0.55;
}

.profile-detail-list strong {
    text-align: right;
    word-break: break-word;
}

.profile-empty-projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 170px;
    margin-top: 24px;

    border:
        1px dashed rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    text-align: center;

    opacity: 0.65;
}

.profile-empty-projects div {
    font-size: 2rem;
    margin-bottom: 10px;
}

.profile-loading {
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.loading-spinner {
    width: 64px;
    height: 64px;

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

    margin-bottom: 20px;

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

    border-radius: 20px;

    font-size: 1.7rem;

    animation:
        profileSpin 1.5s ease-in-out infinite;
}

@keyframes profileSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.08);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.profile-not-found {
    max-width: 650px;
    margin: 0 auto;

    padding: 60px 30px;

    text-align: center;

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

    border-radius: 26px;

    background:
        rgba(10, 13, 25, 0.7);

    backdrop-filter: blur(18px);
}

.profile-not-found h1 {
    margin-top: 20px;
}

.profile-not-found p {
    margin-bottom: 26px;
    opacity: 0.7;
}

.empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto;

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

    border-radius: 20px;

    font-size: 2rem;

    background:
        rgba(255, 255, 255, 0.06);
}


/* ========================================
   PROFILE EDITING
======================================== */

.profile-settings {
    max-width: 900px;
    margin: 0 auto;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form label {
    font-size: 0.9rem;
    font-weight: 700;
}

.profile-form input,
.profile-form textarea {
    width: 100%;

    padding: 14px 16px;

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

    border-radius: 12px;

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

    color: inherit;

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.profile-form input:focus,
.profile-form textarea:focus {
    border-color:
        rgba(139, 92, 246, 0.7);

    background:
        rgba(255, 255, 255, 0.07);
}

.profile-form textarea {
    min-height: 140px;
    resize: vertical;
}

.profile-form-help {
    margin: 0;

    font-size: 0.8rem;

    opacity: 0.5;
}

.profile-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;

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

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.03);
}

.profile-checkbox input {
    width: auto;
    margin-top: 4px;
}

.profile-checkbox strong {
    display: block;
    margin-bottom: 4px;
}

.profile-checkbox span {
    font-size: 0.85rem;
    opacity: 0.55;
}


/* ========================================
   PROFILE RESPONSIVE
======================================== */

@media (max-width: 750px) {

    .profile-hero {
        padding: 70px 0 50px;
    }

    .profile-content {
        flex-direction: column;

        align-items: flex-start;

        padding: 28px;

        border-radius: 22px;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;

        border-radius: 24px;

        font-size: 2.2rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-detail-list > div {
        flex-direction: column;
        gap: 5px;
    }

    .profile-detail-list strong {
        text-align: left;
    }

}