/* =========================================================
   GMK CYBER CTF PLATFORM
   STYLE.CSS
   NEON GREEN CYBER THEME
   DESIGN PRESERVED / READABILITY IMPROVED
========================================================= */

:root {
    --green: #9cff00;
    --green-light: #caff78;
    --green-dark: #5f9900;

    --black: #010304;
    --bg: #020608;
    --bg-light: #050d11;

    --panel: #061116;
    --panel-light: #09191f;

    --white: #f4f8f6;
    --text: #b7c2bc;
    --muted: #89958f;
    --muted-dark: #68756f;

    --border: rgba(156,255,0,.15);
    --border-hover: rgba(156,255,0,.42);

    --shadow:
        0 18px 55px rgba(0,0,0,.45);

    --mono:
        Consolas,
        "Courier New",
        monospace;

    --font:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    overflow-x: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(156,255,0,.06),
            transparent 38%
        ),
        radial-gradient(
            circle at 100% 70%,
            rgba(0,200,160,.025),
            transparent 30%
        ),
        var(--bg);

    font-family: var(--font);

    font-size: 16px;

    line-height: 1.6;
}

::selection {
    color: #071000;
    background: var(--green);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CYBER BACKGROUND
========================================================= */

.cyber-background {
    position: fixed;

    inset: 0;

    z-index: -100;

    overflow: hidden;

    pointer-events: none;
}

.cyber-grid {
    position: absolute;

    inset: 0;

    opacity: .18;

    background-image:
        linear-gradient(
            rgba(156,255,0,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(156,255,0,.04) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.cyber-grid::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            transparent 20%,
            rgba(0,0,0,.58) 100%
        );
}

.scanline {
    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 1px;

    background: var(--green);

    opacity: .22;

    box-shadow:
        0 0 12px var(--green);

    animation:
        gmkScan 9s linear infinite;
}

@keyframes gmkScan {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100vh);
    }
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 100;

    border-bottom:
        1px solid
        rgba(156,255,0,.13);

    background:
        rgba(2,7,10,.96);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}

.header-inner {
    width:
        min(
            1400px,
            calc(100% - 60px)
        );

    min-height: 82px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.brand-logo {
    width: 46px;

    height: 46px;

    display: grid;

    place-items: center;

    position: relative;

    color: var(--green);

    border:
        1px solid
        var(--green);

    background:
        rgba(156,255,0,.04);

    box-shadow:
        0 0 20px
        rgba(156,255,0,.13);
}

.brand-logo::before {
    content: "";

    position: absolute;

    inset: 5px;

    border:
        1px solid
        rgba(156,255,0,.2);
}

.brand-logo span {
    position: relative;

    z-index: 2;

    font-family: var(--mono);

    font-size: 20px;

    font-weight: 900;
}

.brand-text strong {
    display: block;

    color: var(--white);

    font-family: var(--mono);

    font-size: 15px;

    font-weight: 800;

    letter-spacing: .5px;
}

.brand-text small {
    display: block;

    margin-top: 3px;

    color: var(--green);

    font-family: var(--mono);

    font-size: 9px;

    letter-spacing: 1.8px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    flex: 1;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 28px;
}

.main-nav a {
    position: relative;

    padding: 31px 0;

    color: #a1ada7;

    font-family: var(--mono);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .4px;

    transition: .2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 20px;

    width: 100%;

    height: 2px;

    background: var(--green);

    box-shadow:
        0 0 10px
        var(--green);

    transform: scaleX(0);

    transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   HEADER BUTTONS
========================================================= */

.header-actions {
    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}

.login-button,
.register-button {
    min-height: 42px;

    padding: 0 17px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-family: var(--mono);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .4px;

    transition: .2s ease;
}

.login-button {
    color: #aab5af;

    border:
        1px solid
        var(--border);

    background:
        rgba(255,255,255,.01);
}

.login-button:hover {
    color: var(--green);

    border-color:
        var(--green);
}

.register-button {
    color: #071000;

    background:
        var(--green);

    border:
        1px solid
        var(--green);
}

.register-button:hover {
    background:
        var(--green-light);

    box-shadow:
        0 0 28px
        rgba(156,255,0,.28);
}


/* =========================================================
   MAIN
========================================================= */

.main-container {
    width:
        min(
            1400px,
            calc(100% - 60px)
        );

    margin:
        0 auto;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 620px;

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    align-items: center;

    gap: 60px;

    padding:
        45px 0 50px;
}

.hero-eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: var(--green);

    font-family: var(--mono);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .7px;
}

.hero-eyebrow span {
    color: var(--green-light);
}

.hero-eyebrow i {
    width: 6px;

    height: 13px;

    background: var(--green);

    box-shadow:
        0 0 12px
        var(--green);

    animation:
        gmkBlink 1s infinite;
}

@keyframes gmkBlink {

    0%,
    45% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: .15;
    }
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-content h1 {
    margin: 0;

    color: var(--white);

    font-size:
        clamp(
            58px,
            6vw,
            92px
        );

    line-height: .94;

    letter-spacing: -4px;

    font-weight: 900;
}

.hero-content h1 span,
.hero-content h1 strong {
    color: var(--green);
}

.hero-content h1 strong {
    text-shadow:
        0 0 35px
        rgba(156,255,0,.22);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-text {
    max-width: 650px;

    margin-top: 28px;

    color: var(--text);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
}

.neon-button,
.outline-button {
    min-height: 52px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-family: var(--mono);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .4px;

    transition: .2s ease;
}

.neon-button {
    color: #071000;

    background:
        var(--green);

    border:
        1px solid
        var(--green);
}

.neon-button:hover {
    transform:
        translateY(-2px);

    background:
        var(--green-light);

    box-shadow:
        0 0 30px
        rgba(156,255,0,.3);
}

.outline-button {
    color: #c6d0cb;

    border:
        1px solid
        var(--border-hover);

    background:
        rgba(156,255,0,.015);
}

.outline-button:hover {
    color:
        var(--green);

    border-color:
        var(--green);
}


/* =========================================================
   TERMINAL PROMPT
========================================================= */

.terminal-prompt {
    margin-top: 25px;

    color: #65736d;

    font-family: var(--mono);

    font-size: 12px;
}

.terminal-prompt span,
.terminal-prompt b {
    color: var(--green);
}

.terminal-prompt i {
    display: inline-block;

    width: 6px;

    height: 11px;

    margin-left: 4px;

    background: var(--green);

    animation:
        gmkBlink 1s infinite;
}


/* =========================================================
   HERO INTERFACE
========================================================= */

.hero-interface {
    position: relative;

    min-height: 450px;

    overflow: hidden;

    border:
        1px solid
        var(--border-hover);

    background:
        #02090d;

    box-shadow:
        var(--shadow);
}

.interface-header {
    height: 48px;

    padding: 0 17px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid
        rgba(156,255,0,.1);

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        11px;

    letter-spacing:
        .5px;
}

.interface-header strong {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #89968f;

    font-weight: 400;
}

.interface-header i {
    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 10px
        var(--green);
}

.interface-body {
    position: relative;

    height: 400px;
}

.map-lines {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(0,220,180,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,220,180,.05) 1px,
            transparent 1px
        );

    background-size:
        30px 30px;
}

.map-lines::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            ellipse,
            transparent 10%,
            rgba(0,0,0,.65) 85%
        );
}


/* =========================================================
   RADAR
========================================================= */

.radar {
    position: absolute;

    right: 6%;

    bottom: 5px;

    width: 205px;

    height: 205px;
}

.radar-ring {
    position: absolute;

    border:
        1px solid
        rgba(156,255,0,.38);

    border-radius: 50%;
}

.ring-one {
    inset: 0;
}

.ring-two {
    inset: 32px;
}

.ring-three {
    inset: 65px;
}

.radar-cross {
    position: absolute;

    background:
        rgba(156,255,0,.2);
}

.radar-cross.horizontal {
    left: 0;

    right: 0;

    top: 50%;

    height: 1px;
}

.radar-cross.vertical {
    top: 0;

    bottom: 0;

    left: 50%;

    width: 1px;
}

.radar-center {
    position: absolute;

    left: 50%;

    top: 50%;

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    transform:
        translate(-50%,-50%);

    border:
        1px solid
        var(--green);

    border-radius: 50%;

    color:
        var(--green);

    background:
        rgba(156,255,0,.06);

    box-shadow:
        0 0 25px
        rgba(156,255,0,.2);
}


/* =========================================================
   HERO TERMINAL
========================================================= */

.hero-terminal {
    position: absolute;

    left: 18px;

    bottom: 18px;

    z-index: 5;

    width: 270px;

    padding: 13px;

    border:
        1px solid
        rgba(156,255,0,.2);

    background:
        rgba(2,9,13,.96);
}

.terminal-header {
    display: flex;

    justify-content: space-between;

    padding-bottom: 9px;

    margin-bottom: 4px;

    border-bottom:
        1px solid
        rgba(156,255,0,.08);

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        10px;
}

.terminal-row {
    display: flex;

    justify-content: space-between;

    padding: 5px 0;

    color: #718078;

    font-family:
        var(--mono);

    font-size:
        10px;
}

.terminal-row strong {
    color:
        #d8e1dc;
}

.terminal-row strong.online {
    color:
        var(--green);
}


/* =========================================================
   STATISTICS
========================================================= */

.stats-section {
    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    overflow:
        hidden;

    border:
        1px solid
        var(--border-hover);

    background:
        rgba(4,13,17,.92);
}

.stat-item {
    min-height:
        120px;

    padding:
        20px 22px;

    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    border-right:
        1px solid
        rgba(156,255,0,.1);
}

.stat-item:last-child {
    border-right:
        none;
}

.stat-icon {
    width:
        48px;

    height:
        48px;

    display:
        grid;

    place-items:
        center;

    flex-shrink:
        0;

    color:
        var(--green);

    font-size:
        25px;

    text-shadow:
        0 0 15px
        rgba(156,255,0,.3);
}

.stat-item small {
    display:
        block;

    color:
        #9aa69f;

    font-family:
        var(--mono);

    font-size:
        11px;
}

.stat-item strong {
    display:
        block;

    margin-top:
        4px;

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        32px;

    line-height:
        1;
}

.stat-item span {
    display:
        block;

    margin-top:
        5px;

    color:
        #66736d;

    font-family:
        var(--mono);

    font-size:
        10px;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.content-section {
    margin-top:
        28px;

    padding:
        22px;

    border:
        1px solid
        var(--border);

    background:
        rgba(3,11,15,.78);
}

.section-top {
    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        22px;
}

.section-label {
    margin-bottom:
        8px;

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        1px;
}

.section-top h2 {
    color:
        var(--white);

    font-family:
        var(--mono);

    font-size:
        25px;

    line-height:
        1.2;

    font-weight:
        800;
}

.section-link {
    color:
        #87948d;

    font-family:
        var(--mono);

    font-size:
        11px;

    transition:
        .2s ease;
}

.section-link:hover {
    color:
        var(--green);
}

.section-link span {
    color:
        var(--green);
}


/* =========================================================
   COMPETITION CARDS
========================================================= */

.competition-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        16px;
}

.competition-card {
    overflow:
        hidden;

    border:
        1px solid
        rgba(100,140,140,.2);

    background:
        var(--panel);

    transition:
        .25s ease;
}

.competition-card:hover {
    transform:
        translateY(-5px);

    border-color:
        var(--green);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.35);
}

.competition-visual {
    position:
        relative;

    height:
        150px;

    overflow:
        hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(156,255,0,.12),
            transparent 35%
        ),
        #06151a;
}

.competition-visual::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    background-image:
        linear-gradient(
            rgba(156,255,0,.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(156,255,0,.045) 1px,
            transparent 1px
        );

    background-size:
        20px 20px;
}

.visual-lock {
    position:
        absolute;

    left:
        50%;

    top:
        50%;

    transform:
        translate(-50%,-50%);

    color:
        rgba(156,255,0,.45);

    font-size:
        48px;
}

.competition-status {
    position:
        absolute;

    left:
        12px;

    bottom:
        11px;

    padding:
        5px 9px;

    color:
        var(--green);

    border:
        1px solid
        rgba(156,255,0,.55);

    background:
        rgba(0,0,0,.72);

    font-family:
        var(--mono);

    font-size:
        10px;

    font-weight:
        700;
}

.competition-body {
    padding:
        18px;
}

.competition-id {
    color:
        rgba(156,255,0,.45);

    font-family:
        var(--mono);

    font-size:
        10px;
}

.competition-body h3 {
    margin:
        8px 0;

    color:
        var(--white);

    font-family:
        var(--mono);

    font-size:
        18px;

    line-height:
        1.3;
}

.competition-body p {
    min-height:
        48px;

    margin:
        10px 0;

    color:
        #84918a;

    font-size:
        13px;

    line-height:
        1.7;
}

.competition-meta {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin-top:
        12px;
}

.competition-meta span {
    padding:
        6px 8px;

    color:
        #89958f;

    border:
        1px solid
        rgba(156,255,0,.1);

    font-family:
        var(--mono);

    font-size:
        10px;
}

.competition-footer {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding-top:
        12px;

    margin-top:
        14px;

    border-top:
        1px solid
        rgba(156,255,0,.08);

    color:
        #68756f;

    font-family:
        var(--mono);

    font-size:
        10px;
}

.competition-footer a {
    color:
        var(--green);
}


/* =========================================================
   CATEGORY
========================================================= */

.category-grid {
    display:
        grid;

    grid-template-columns:
        repeat(6,1fr);

    gap:
        12px;
}

.category-card {
    position:
        relative;

    min-height:
        205px;

    padding:
        18px;

    overflow:
        hidden;

    border:
        1px solid
        rgba(100,140,140,.18);

    background:
        #051116;

    transition:
        .22s ease;
}

.category-card:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--border-hover);
}

.category-number {
    position:
        absolute;

    right:
        13px;

    top:
        13px;

    color:
        rgba(156,255,0,.3);

    font-family:
        var(--mono);

    font-size:
        10px;
}

.category-icon {
    margin-top:
        13px;

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        30px;
}

.category-card h3 {
    margin:
        14px 0 8px;

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        15px;
}

.category-card p {
    min-height:
        65px;

    color:
        #7d8983;

    font-size:
        11px;

    line-height:
        1.7;
}

.category-card > span {
    color:
        #748079;

    font-family:
        var(--mono);

    font-size:
        10px;
}


/* =========================================================
   STEPS
========================================================= */

.steps-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:
        13px;
}

.step-card {
    position:
        relative;

    min-height:
        205px;

    padding:
        21px;

    border:
        1px solid
        var(--border);

    background:
        rgba(4,15,19,.88);
}

.step-card > span {
    color:
        rgba(156,255,0,.4);

    font-family:
        var(--mono);

    font-size:
        10px;
}

.step-card > div {
    margin:
        22px 0 14px;

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        30px;
}

.step-card h3 {
    color:
        var(--white);

    font-family:
        var(--mono);

    font-size:
        14px;
}

.step-card p {
    margin-top:
        8px;

    color:
        #78857e;

    font-size:
        11px;

    line-height:
        1.7;
}


/* =========================================================
   LEADERBOARD
========================================================= */

.split-section {
    display:
        grid;

    grid-template-columns:
        1.75fr 1fr;

    gap:
        16px;

    margin-top:
        28px;
}

.leaderboard-panel {
    min-width:
        0;

    padding:
        22px;

    border:
        1px solid
        var(--border);

    background:
        rgba(3,11,15,.78);
}

.leaderboard {
    overflow:
        hidden;

    border:
        1px solid
        rgba(100,140,140,.16);

    background:
        rgba(2,9,13,.75);
}

.leader-row {
    display:
        grid;

    grid-template-columns:
        55px
        44px
        minmax(140px,1fr)
        100px
        120px;

    align-items:
        center;

    gap:
        10px;

    min-height:
        75px;

    padding:
        0 15px;

    border-bottom:
        1px solid
        rgba(156,255,0,.06);
}

.leader-row:last-child {
    border-bottom:
        none;
}

.leader-rank {
    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        13px;

    font-weight:
        700;
}

.leader-avatar {
    width:
        38px;

    height:
        38px;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid
        rgba(156,255,0,.35);

    border-radius:
        50%;

    color:
        var(--green);

    background:
        #08141a;

    font-family:
        var(--mono);

    font-size:
        11px;
}

.leader-user strong {
    display:
        block;

    overflow:
        hidden;

    color:
        #e4ebe7;

    font-family:
        var(--mono);

    font-size:
        13px;

    white-space:
        nowrap;

    text-overflow:
        ellipsis;
}

.leader-user small {
    display:
        block;

    margin-top:
        4px;

    color:
        #68756f;

    font-size:
        10px;
}

.leader-score {
    text-align:
        right;
}

.leader-score strong {
    display:
        block;

    color:
        var(--green);

    font-family:
        var(--mono);

    font-size:
        16px;
}

.leader-score small {
    color:
        #68756f;

    font-family:
        var(--mono);

    font-size:
        10px;
}

.leader-level {
    height:
        5px;

    overflow:
        hidden;

    background:
        #182328;
}

.leader-level span {
    display:
        block;

    height:
        100%;

    background:
        var(--green);

    box-shadow:
        0 0 10px
        rgba(156,255,0,.35);
}


/* =========================================================
   CTA
========================================================= */

.final-cta {
    position:
        relative;

    min-height:
        100%;

    padding:
        35px;

    overflow:
        hidden;

    border:
        1px solid
        var(--border-hover);

    background:
        radial-gradient(
            circle at 85% 65%,
            rgba(156,255,0,.08),
            transparent 36%
        ),
        #041015;
}

.cta-content {
    position:
        relative;

    z-index:
        3;
}

.cta-content h2 {
    margin:
        8px 0 18px;

    color:
        var(--white);

    font-size:
        clamp(
            34px,
            3vw,
            50px
        );

    line-height:
        .96;

    font-weight:
        900;
}

.cta-content h2 span {
    color:
        var(--green);
}

.cta-content p {
    max-width:
        390px;

    color:
        #89958f;

    font-size:
        13px;

    line-height:
        1.8;
}

.cta-content .neon-button {
    margin-top:
        22px;
}


/* =========================================================
   EMPTY
========================================================= */

.empty-panel {
    grid-column:
        1 / -1;

    padding:
        50px 25px;

    text-align:
        center;

    border:
        1px dashed
        rgba(156,255,0,.18);

    background:
        rgba(2,9,13,.45);
}

.empty-icon {
    color:
        rgba(156,255,0,.4);

    font-family:
        var(--mono);

    font-size:
        13px;
}

.empty-panel h3 {
    margin:
        12px 0 7px;

    color:
        #c1cbc5;

    font-family:
        var(--mono);

    font-size:
        16px;
}

.empty-panel p {
    color:
        #6d7973;

    font-size:
        12px;
}


/* =========================================================
   FINAL MESSAGE
========================================================= */

.final-message {
    display:
        flex;

    align-items:
        center;

    gap:
        20px;

    margin:
        45px 0;
}

.final-line {
    flex:
        1;

    height:
        1px;

    background:
        rgba(156,255,0,.12);
}

.final-message div:not(.final-line) {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        6px;

    text-align:
        center;

    font-family:
        var(--mono);
}

.final-message span {
    color:
        var(--green);

    font-size:
        12px;
}

.final-message strong {
    color:
        #75827b;

    font-size:
        10px;
}


/* =========================================================
   FOOTER
   SADECE OKUNABİLİRLİK
   HTML YAPISI DEĞİŞTİRİLMİYOR
========================================================= */

.site-footer {
    min-height:
        125px;

    margin-top:
        50px;

    padding:
        30px 0;

    display:
        grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items:
        center;

    gap:
        35px;

    border-top:
        1px solid
        rgba(156,255,0,.17);

    color:
        #8b9891;

    font-family:
        var(--mono);

    font-size:
        12px;
}


/* Footer mevcut marka yapısı */

.footer-brand {
    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;
}

.footer-brand strong {
    color:
        #edf3ef;

    font-size:
        17px;

    font-weight:
        800;

    letter-spacing:
        .6px;
}

.footer-brand span {
    color:
        var(--green);

    font-size:
        11px;

    letter-spacing:
        1.3px;
}


/* Footer links */

.footer-links {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        28px;
}

.footer-links a {
    position:
        relative;

    color:
        #a5b0aa;

    font-size:
        12px;

    font-weight:
        600;

    transition:
        color .2s ease;
}

.footer-links a:hover {
    color:
        var(--green);
}


/* Footer copy */

.footer-copy {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-end;

    gap:
        8px;

    color:
        #7d8983;

    font-size:
        11px;

    line-height:
        1.5;
}

.footer-copy strong {
    color:
        #b8c2bc;

    font-size:
        11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .main-nav {
        gap:
            18px;
    }

    .main-nav a {
        font-size:
            11px;
    }

    .hero-section {
        gap:
            35px;
    }

    .category-grid {
        grid-template-columns:
            repeat(3,1fr);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .main-container,
    .header-inner {
        width:
            calc(100% - 36px);
    }

    .main-nav {
        display:
            none;
    }

    .header-actions {
        margin-left:
            auto;
    }

    .hero-section {
        grid-template-columns:
            1fr;

        padding:
            55px 0;
    }

    .hero-interface {
        min-height:
            450px;
    }

    .stats-section {
        grid-template-columns:
            repeat(2,1fr);
    }

    .stat-item:nth-child(2) {
        border-right:
            none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top:
            1px solid
            rgba(156,255,0,.1);
    }

    .competition-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .steps-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .split-section {
        grid-template-columns:
            1fr;
    }


    /* Footer tablet */

    .site-footer {
        grid-template-columns:
            1fr 1fr;

        gap:
            25px;
    }

    .footer-links {
        justify-content:
            flex-end;
    }

    .footer-copy {
        grid-column:
            1 / -1;

        align-items:
            flex-start;

        padding-top:
            16px;

        border-top:
            1px solid
            rgba(156,255,0,.08);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .main-container,
    .header-inner {
        width:
            calc(100% - 24px);
    }

    .site-header {
        position:
            relative;
    }

    .header-inner {
        min-height:
            70px;
    }

    .brand-logo {
        width:
            39px;

        height:
            39px;
    }

    .brand-text strong {
        font-size:
            13px;
    }

    .brand-text small {
        font-size:
            7px;
    }

    .login-button {
        display:
            none;
    }

    .register-button {
        min-height:
            38px;

        padding:
            0 12px;

        font-size:
            10px;
    }


    /* Hero */

    .hero-section {
        min-height:
            auto;

        padding:
            55px 0 40px;
    }

    .hero-content h1 {
        font-size:
            49px;

        letter-spacing:
            -2.5px;
    }

    .hero-eyebrow {
        font-size:
            10px;
    }

    .hero-text {
        font-size:
            14px;
    }

    .hero-buttons {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .neon-button,
    .outline-button {
        width:
            100%;

        font-size:
            11px;
    }


    /* Interface */

    .hero-interface {
        min-height:
            390px;
    }

    .interface-body {
        height:
            340px;
    }

    .hero-terminal {
        left:
            10px;

        bottom:
            10px;

        width:
            210px;
    }


    /* Statistics */

    .stats-section {
        grid-template-columns:
            1fr;
    }

    .stat-item {
        min-height:
            100px;

        border-right:
            none !important;

        border-bottom:
            1px solid
            rgba(156,255,0,.09);
    }

    .stat-item:last-child {
        border-bottom:
            none;
    }


    /* Sections */

    .content-section {
        padding:
            17px;
    }

    .section-top h2 {
        font-size:
            21px;
    }


    /* Competition */

    .competition-grid {
        grid-template-columns:
            1fr;
    }

    .competition-body h3 {
        font-size:
            17px;
    }

    .competition-body p {
        font-size:
            12px;
    }


    /* Categories */

    .category-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .category-card {
        min-height:
            185px;
    }

    .category-card h3 {
        font-size:
            14px;
    }

    .category-card p {
        font-size:
            11px;
    }


    /* Steps */

    .steps-grid {
        grid-template-columns:
            1fr;
    }


    /* Leaderboard */

    .leader-row {
        grid-template-columns:
            35px
            38px
            minmax(80px,1fr)
            70px;

        min-height:
            68px;

        gap:
            7px;

        padding:
            0 9px;
    }

    .leader-level {
        display:
            none;
    }

    .leader-user strong {
        font-size:
            11px;
    }

    .leader-user small {
        font-size:
            9px;
    }

    .leader-score strong {
        font-size:
            13px;
    }


    /* CTA */

    .final-cta {
        min-height:
            350px;

        padding:
            28px;
    }

    .cta-content h2 {
        font-size:
            36px;
    }

    .cta-content p {
        font-size:
            12px;
    }


    /* Footer */

    .site-footer {
        grid-template-columns:
            1fr;

        min-height:
            auto;

        gap:
            22px;

        padding:
            34px 0;
    }

    .footer-brand strong {
        font-size:
            16px;
    }

    .footer-brand span {
        font-size:
            10px;
    }

    .footer-links {
        justify-content:
            flex-start;

        flex-wrap:
            wrap;

        gap:
            14px 22px;
    }

    .footer-links a {
        font-size:
            11px;
    }

    .footer-copy {
        grid-column:
            auto;

        align-items:
            flex-start;

        width:
            100%;

        padding-top:
            16px;

        border-top:
            1px solid
            rgba(156,255,0,.08);
    }

    .footer-copy strong {
        font-size:
            11px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero-content h1 {
        font-size:
            42px;
    }

    .category-grid {
        grid-template-columns:
            1fr;
    }

    .category-card {
        min-height:
            165px;
    }

    .hero-terminal {
        width:
            190px;
    }

    .interface-corner {
        display:
            none;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }
}