@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #070707;
    --bg2: #0c0c0c;
    --panel: #101010;
    --panel2: #141414;
    --border: rgba(255,255,255,.09);
    --border2: rgba(255,255,255,.15);
    --text: #f5f5f5;
    --muted: #777;
    --dim: #454545;
    --green: #73ff9a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

.hidden {
    display: none !important;
}


/* LOADER */

#loading-screen {
    position: fixed;
    z-index: 99999;
    inset: 0;

    display: grid;
    place-items: center;

    background: #050505;

    transition:
        opacity .6s ease,
        visibility .6s ease;
}

#loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -.08em;
    animation: loaderPulse 1s infinite alternate;
}

.loader-line {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 2px;

    transform-origin: left;
    animation: loaderLine 1.2s ease forwards;
    background: white;
}

@keyframes loaderPulse {
    from {
        opacity: .35;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loaderLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* NAVBAR */

.navbar {
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(7,7,7,.7);
    border-bottom: 1px solid rgba(255,255,255,.06);

    backdrop-filter: blur(20px);

    transition:
        background .3s,
        height .3s;
}

.navbar.scrolled {
    height: 68px;
    background: rgba(7,7,7,.92);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: .13em;
}

.brand-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border2);
    border-radius: 8px;

    font-size: 11px;
}

.desktop-nav {
    display: flex;
    gap: 35px;
}

.desktop-nav a {
    color: #777;
    font-size: 11px;
    font-weight: 600;

    transition: color .25s;
}

.desktop-nav a:hover {
    color: white;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-login,
.admin-nav-button {
    border: 0;
    background: transparent;
    color: #999;

    padding: 10px 13px;

    font-size: 10px;
    font-weight: 800;

    transition: .25s;
}

.nav-login:hover,
.admin-nav-button:hover {
    color: white;
}

.nav-work {
    display: flex;
    gap: 12px;
    align-items: center;

    padding: 11px 17px;

    border: 1px solid var(--border2);
    border-radius: 100px;

    font-size: 10px;
    font-weight: 800;

    transition: .3s;
}

.nav-work:hover {
    background: white;
    color: black;
}

.mobile-menu-button {
    display: none;

    border: 0;
    background: transparent;
    color: white;

    font-size: 19px;
}


/* MOBILE MENU */

.mobile-menu {
    position: fixed;
    z-index: 4500;
    top: 78px;
    left: 0;

    width: 100%;

    display: none;
    flex-direction: column;

    padding: 20px;

    background: rgba(7,7,7,.97);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a,
.mobile-menu button {
    padding: 17px 5px;

    background: none;
    border: 0;
    border-bottom: 1px solid #191919;

    color: #aaa;

    text-align: left;
    font-size: 12px;
}


/* HERO */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 140px 8vw 100px;

    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

    background-size: 70px 70px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
}

.hero-orb {
    position: absolute;

    width: 700px;
    height: 700px;

    right: -300px;
    top: -220px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255,255,255,.11),
        transparent 68%
    );

    filter: blur(5px);

    animation: orbFloat 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(-50px,35px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 1000px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    color: #777;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}

.online-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
    box-shadow: 0 0 15px var(--green);

    animation: blink 1.7s infinite;
}

@keyframes blink {
    50% {
        opacity: .3;
    }
}

.hero-title {
    max-width: 1000px;

    font-size: clamp(62px, 9vw, 145px);
    line-height: .86;
    letter-spacing: -.085em;
    font-weight: 900;
}

.hero-title span {
    color: #707070;
}

.hero-description {
    max-width: 540px;

    margin-top: 35px;

    color: #858585;

    font-size: 15px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 10px;

    margin-top: 34px;
}

.button-primary,
.button-secondary {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px 20px;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 900;

    transition:
        transform .3s,
        background .3s,
        color .3s;
}

.button-primary {
    background: white;
    color: black;
}

.button-primary:hover {
    transform: translateY(-4px);
}

.button-secondary {
    border: 1px solid var(--border2);
    color: #999;
}

.button-secondary:hover {
    color: white;
    border-color: #444;
}

.hero-bottom {
    position: absolute;
    z-index: 2;

    bottom: 40px;
    left: 8vw;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #444;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .2em;
}

.scroll-line {
    width: 28px;
    height: 1px;
    background: #444;

    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%,100% {
        width: 20px;
    }

    50% {
        width: 45px;
    }
}


/* STATS */

.stats-section {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    margin: 0 5vw;

    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
}

.stat-box {
    padding: 43px 25px;

    border-right: 1px solid #1e1e1e;
}

.stat-box:first-child {
    padding-left: 0;
}

.stat-box:last-child {
    border-right: 0;
}

.stat-box strong {
    display: block;

    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.06em;
}

.stat-box span {
    display: block;

    margin-top: 7px;

    color: #555;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
}


/* SECTIONS */

.section {
    padding: 150px 8vw;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 65px;
}

.section-label {
    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .2em;
}

.section-header h2 {
    margin-top: 15px;

    font-size: clamp(48px,6vw,85px);
    line-height: .9;
    letter-spacing: -.075em;
}

.section-header p {
    max-width: 300px;

    color: #6d6d6d;

    font-size: 12px;
    line-height: 1.7;
}


/* GAME */

.game-card {
    overflow: hidden;

    border: 1px solid #202020;
    background: #0d0d0d;

    transition:
        transform .5s,
        border-color .4s;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: #383838;
}

.game-art {
    position: relative;

    height: 560px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(255,255,255,.17),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #353535,
            #101010 50%,
            #050505
        );
}

.game-art::before {
    content: "";

    position: absolute;
    inset: -50px;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255,255,255,.06) 45%,
            transparent 70%
        );

    transform: rotate(-8deg);

    animation: gameShine 6s ease-in-out infinite;
}

@keyframes gameShine {
    0%,100% {
        transform: translateX(-20%) rotate(-8deg);
    }

    50% {
        transform: translateX(20%) rotate(-8deg);
    }
}

.game-art-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.9),
            transparent 70%
        );
}

.game-art-content {
    position: absolute;
    left: 50px;
    bottom: 50px;
}

.game-art-content > span {
    color: #aaa;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .2em;
}

.game-art-content h3 {
    margin: 12px 0 28px;

    font-size: clamp(55px,8vw,105px);
    line-height: .82;
    letter-spacing: -.08em;
}

.game-art-content h3 em {
    color: #777;
    font-style: normal;
}

.play-button {
    display: inline-flex;
    gap: 15px;
    align-items: center;

    padding: 14px 19px;

    border-radius: 100px;

    background: white;
    color: black;

    font-size: 9px;
    font-weight: 900;

    transition: .3s;
}

.play-button:hover {
    transform: translateY(-4px);
}

.game-details {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    gap: 30px;

    align-items: center;

    padding: 28px;
}

.game-details small {
    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.game-details h3 {
    margin-top: 7px;

    font-size: 22px;
}

.game-description {
    color: #666;

    font-size: 11px;
    line-height: 1.7;
}

.game-arrow {
    color: #777;
    font-size: 23px;
}


/* ACHIEVEMENTS */

.achievement-section {
    background: #0b0b0b;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid #222;
}

.achievement {
    padding: 50px 25px;

    border-right: 1px solid #222;
}

.achievement:first-child {
    padding-left: 0;
}

.achievement:last-child {
    border-right: 0;
}

.achievement strong {
    font-size: clamp(50px,6vw,88px);
    font-weight: 900;
    letter-spacing: -.08em;
}

.achievement span {
    color: #666;

    font-size: 16px;
    font-weight: 900;
}

.achievement p {
    margin-top: 8px;

    color: #555;

    font-size: 9px;
    letter-spacing: .1em;
}


/* SERVICES */

.services-list {
    border-top: 1px solid #222;
}

.service {
    display: grid;
    grid-template-columns: 70px 1fr 50px;
    gap: 25px;

    padding: 45px 0;

    border-bottom: 1px solid #222;

    transition:
        padding-left .4s,
        background .4s;
}

.service:hover {
    padding-left: 20px;
}

.service-number {
    color: #555;

    font-size: 9px;
    font-weight: 900;
}

.service-main h3 {
    font-size: 30px;
    letter-spacing: -.05em;
}

.service-main p {
    max-width: 560px;

    margin-top: 12px;

    color: #666;

    font-size: 12px;
    line-height: 1.7;
}

.tags {
    display: flex;
    gap: 7px;

    margin-top: 20px;
}

.tags span {
    padding: 6px 9px;

    border: 1px solid #292929;
    border-radius: 100px;

    color: #555;

    font-size: 7px;
    font-weight: 800;
}

.service-arrow {
    align-self: center;

    color: #555;
    font-size: 24px;

    transition: .3s;
}

.service:hover .service-arrow {
    color: white;
    transform: translate(5px,-5px);
}


/* CONTACT */

.contact-section {
    position: relative;

    padding: 150px 8vw;

    overflow: hidden;

    background: #101010;
}

.contact-glow {
    position: absolute;

    width: 850px;
    height: 850px;

    right: -350px;
    bottom: -550px;

    background: radial-gradient(
        circle,
        rgba(255,255,255,.08),
        transparent 68%
    );
}

.contact-inner {
    position: relative;
    z-index: 2;
}

.contact-inner h2 {
    max-width: 1000px;

    margin-top: 18px;

    font-size: clamp(62px,9vw,130px);
    line-height: .85;
    letter-spacing: -.085em;
}

.contact-inner h2 span {
    color: #666;
}

.contact-inner > p {
    max-width: 500px;

    margin-top: 28px;

    color: #707070;

    font-size: 13px;
    line-height: 1.7;
}

.contact-form {
    max-width: 850px;

    margin-top: 65px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;

    margin-bottom: 22px;
}

.field label {
    margin-bottom: 9px;

    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.field input,
.field textarea {
    width: 100%;

    padding: 16px;

    border: 1px solid #282828;
    outline: none;

    background: #0a0a0a;
    color: white;

    transition: border .25s;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: #555;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 15px 21px;

    border: 0;
    border-radius: 100px;

    background: white;
    color: black;

    font-size: 9px;
    font-weight: 900;

    transition: .3s;
}

.submit-button:hover {
    transform: translateY(-4px);
}

.form-note {
    margin-top: 15px;

    color: #555;

    font-size: 9px;
}


/* FOOTER */

footer {
    padding: 80px 8vw 25px;

    background: #050505;
}

.footer-main {
    display: flex;
    justify-content: space-between;

    padding-bottom: 80px;
}

.footer-brand p {
    margin-top: 18px;

    color: #555;

    font-size: 10px;
}

.footer-columns {
    display: flex;
    gap: 100px;
}

.footer-columns > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-columns span {
    margin-bottom: 4px;

    color: #444;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.footer-columns a,
.footer-columns button {
    padding: 0;

    border: 0;
    background: none;

    color: #666;

    text-align: left;

    font-size: 10px;

    transition: .25s;
}

.footer-columns a:hover,
.footer-columns button:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 24px;

    border-top: 1px solid #171717;

    color: #393939;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}


/* MODALS */

.modal {
    position: fixed;
    z-index: 10000;
    inset: 0;

    display: grid;
    place-items: center;

    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.82);

    backdrop-filter: blur(15px);
}

.auth-box,
.profile-box {
    position: relative;
    z-index: 2;

    width: min(430px,100%);

    padding: 35px;

    border: 1px solid #292929;

    background: #0d0d0d;

    box-shadow: 0 30px 100px rgba(0,0,0,.6);

    animation: modalIn .35s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 17px;

    border: 0;
    background: none;

    color: #666;

    font-size: 25px;
}

.auth-heading > span,
.profile-box > span {
    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.auth-heading h2,
.profile-box h2 {
    margin-top: 12px;

    font-size: 38px;
    letter-spacing: -.06em;
}

.auth-heading p {
    margin-top: 9px;

    color: #666;

    font-size: 11px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin: 28px 0;

    border-bottom: 1px solid #252525;
}

.auth-tab {
    padding: 13px;

    border: 0;
    border-bottom: 2px solid transparent;

    background: transparent;

    color: #555;

    font-size: 9px;
    font-weight: 900;
}

.auth-tab.active {
    color: white;
    border-bottom-color: white;
}

.auth-field {
    display: flex;
    flex-direction: column;

    margin-bottom: 17px;
}

.auth-field label {
    margin-bottom: 8px;

    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.auth-field input {
    width: 100%;

    padding: 14px;

    border: 1px solid #282828;
    outline: none;

    background: #080808;
    color: white;
}

.auth-field input:focus {
    border-color: #555;
}

.auth-submit {
    width: 100%;

    display: flex;
    justify-content: center;
    gap: 14px;

    padding: 15px;

    border: 0;
    border-radius: 100px;

    background: white;
    color: black;

    font-size: 9px;
    font-weight: 900;

    transition: .3s;
}

.auth-submit:hover {
    transform: translateY(-3px);
}

.profile-role {
    display: inline-block;

    margin-top: 15px;
    padding: 7px 10px;

    border: 1px solid #303030;
    border-radius: 100px;

    color: #aaa;

    font-size: 8px;
    font-weight: 900;
}

.logout-button {
    width: 100%;

    margin-top: 30px;
    padding: 14px;

    border: 1px solid #292929;

    background: transparent;
    color: #aaa;

    font-size: 9px;
    font-weight: 900;
}

.logout-button:hover {
    border-color: #555;
    color: white;
}


/* ADMIN */

.admin-panel {
    position: relative;
    z-index: 2;

    width: min(1400px,100%);
    height: min(850px,92vh);

    display: grid;
    grid-template-columns: 230px 1fr;

    overflow: hidden;

    border: 1px solid #272727;

    background: #090909;

    box-shadow: 0 40px 120px rgba(0,0,0,.8);

    animation: modalIn .35s ease;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;

    padding: 25px;

    border-right: 1px solid #202020;
    background: #0c0c0c;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 40px;

    color: white;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.admin-brand span {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border: 1px solid #333;
    border-radius: 7px;

    font-size: 9px;
}

.admin-side {
    padding: 13px 10px;

    margin-bottom: 5px;

    border: 0;
    background: transparent;

    color: #666;

    text-align: left;

    font-size: 10px;
    font-weight: 700;

    transition: .2s;
}

.admin-side:hover,
.admin-side.active {
    background: #171717;
    color: white;
}

.admin-close {
    margin-top: auto;

    padding: 12px;

    border: 1px solid #292929;
    background: transparent;

    color: #666;

    font-size: 9px;
    font-weight: 800;
}

.admin-content {
    overflow-y: auto;

    padding: 35px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 35px;
}

.admin-topbar > div:first-child > span {
    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.admin-topbar h1 {
    margin-top: 8px;

    font-size: 34px;
    letter-spacing: -.05em;
}

.admin-user {
    padding: 9px 13px;

    border: 1px solid #282828;
    border-radius: 100px;

    color: #aaa;

    font-size: 9px;
    font-weight: 800;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    margin-bottom: 25px;
}

.admin-stats > div {
    padding: 22px;

    border: 1px solid #222;
    background: #0d0d0d;
}

.admin-stats span {
    color: #555;

    font-size: 8px;
    font-weight: 900;
}

.admin-stats strong {
    display: block;

    margin-top: 10px;

    font-size: 30px;
}

.admin-card {
    padding: 25px;

    border: 1px solid #222;
    background: #0d0d0d;
}

.admin-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.admin-card-heading span,
.security-card > span {
    color: #555;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.admin-card-heading h2,
.security-card h2 {
    margin-top: 7px;

    font-size: 25px;
    letter-spacing: -.04em;
}

.admin-search {
    width: 220px;

    padding: 11px;

    border: 1px solid #292929;
    outline: none;

    background: #080808;
    color: white;

    font-size: 10px;
}

.admin-user-row {
    display: grid;
    grid-template-columns: 1fr 100px 110px 100px;

    gap: 15px;
    align-items: center;

    padding: 15px 0;

    border-top: 1px solid #1e1e1e;
}

.admin-user-name {
    font-weight: 700;
    font-size: 11px;
}

.admin-user-role,
.admin-user-status {
    color: #666;
    font-size: 9px;
}

.admin-action {
    padding: 8px 10px;

    border: 1px solid #292929;
    background: transparent;

    color: #aaa;

    font-size: 8px;
    font-weight: 900;
}

.admin-action:hover {
    border-color: #555;
    color: white;
}

.admin-action.danger:hover {
    border-color: #a33;
    color: #ff8d8d;
}

.message-card {
    padding: 20px 0;

    border-top: 1px solid #222;
}

.message-card:first-child {
    border-top: 0;
}

.message-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.message-top strong {
    font-size: 12px;
}

.message-top span {
    color: #555;
    font-size: 8px;
}

.message-subject {
    margin-top: 7px;

    color: #aaa;

    font-size: 10px;
    font-weight: 700;
}

.message-body {
    margin-top: 10px;

    color: #666;

    font-size: 11px;
    line-height: 1.7;
}

.message-delete {
    margin-top: 12px;

    padding: 7px 10px;

    border: 1px solid #292929;
    background: transparent;

    color: #666;

    font-size: 8px;
    font-weight: 900;
}

.security-card {
    max-width: 700px;
}

.security-card p {
    margin-top: 20px;

    color: #666;

    font-size: 12px;
    line-height: 1.8;
}

.security-row {
    display: flex;
    justify-content: space-between;

    padding: 18px 0;

    border-bottom: 1px solid #222;

    font-size: 9px;
}

.security-row span {
    color: #555;
}

.security-row strong {
    color: #aaa;
}


/* TOAST */

#toast-container {
    position: fixed;
    z-index: 30000;

    top: 95px;
    right: 25px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;

    padding: 14px 17px;

    border: 1px solid #303030;

    background: #101010;

    color: #ddd;

    font-size: 10px;
    font-weight: 700;

    box-shadow: 0 15px 50px rgba(0,0,0,.5);

    animation:
        toastIn .3s ease,
        toastOut .3s ease 3.2s forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}


/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity .9s cubic-bezier(.2,.7,.2,1),
        transform .9s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* RESPONSIVE */

@media(max-width:900px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-work {
        display: none;
    }

    .stats-section {
        grid-template-columns: repeat(2,1fr);
    }

    .stat-box:nth-child(2) {
        border-right: 0;
    }

    .stat-box:nth-child(3),
    .stat-box:nth-child(4) {
        border-top: 1px solid #1e1e1e;
    }

    .section {
        padding: 100px 25px;
    }

    .section-header {
        display: block;
    }

    .section-header p {
        margin-top: 22px;
    }

    .game-art {
        height: 430px;
    }

    .game-details {
        grid-template-columns: 1fr 45px;
    }

    .game-description {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .achievement-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .achievement:nth-child(2) {
        border-right: 0;
    }

    .achievement:nth-child(3),
    .achievement:nth-child(4) {
        border-top: 1px solid #222;
    }

    .admin-panel {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-content {
        padding: 20px;
    }

    .admin-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .admin-user-row {
        grid-template-columns: 1fr 90px;
    }
}

@media(max-width:600px) {

    .navbar {
        padding: 0 20px;
    }

    .nav-login {
        display: none;
    }

    .hero {
        padding: 130px 25px 100px;
    }

    .hero-title {
        font-size: 62px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-section {
        margin: 0 20px;
    }

    .stat-box {
        padding: 30px 15px;
    }

    .game-art-content {
        left: 25px;
        bottom: 30px;
    }

    .game-art-content h3 {
        font-size: 58px;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .achievement {
        border-right: 0;
        border-bottom: 1px solid #222;
    }

    .achievement:nth-child(2) {
        border-top: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service {
        grid-template-columns: 40px 1fr 30px;
    }

    .service-main h3 {
        font-size: 22px;
    }

    .footer-main {
        display: block;
    }

    .footer-columns {
        margin-top: 50px;
        gap: 55px;
    }

    .footer-bottom {
        display: block;
        line-height: 2;
    }

    .footer-bottom span:last-child {
        display: block;
        margin-top: 8px;
    }

    .auth-box,
    .profile-box {
        padding: 25px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-card {
        padding: 18px;
    }

    .admin-card-heading {
        display: block;
    }

    .admin-search {
        width: 100%;
        margin-top: 15px;
    }
}
/* BANNED ACCOUNT */

.ban-box {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 42px;
    border: 1px solid #302525;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255,80,80,.07),
            transparent 35%
        ),
        #0d0d0d;
    box-shadow: 0 40px 120px rgba(0,0,0,.8);
    animation: modalIn .35s ease;
}

.ban-symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid #493030;
    border-radius: 12px;
    color: #ff8b8b;
    font-size: 20px;
    font-weight: 900;
}

.ban-label {
    color: #6b5555;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .2em;
}

.ban-box h2 {
    margin-top: 12px;
    font-size: clamp(40px, 7vw, 65px);
    line-height: .9;
    letter-spacing: -.07em;
}

.ban-box > p {
    max-width: 500px;
    margin-top: 20px;
    color: #707070;
    font-size: 12px;
    line-height: 1.8;
}

.ban-user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding: 15px;
    border: 1px solid #242424;
    background: #090909;
}

.ban-user span,
.appeal-status-top span,
.appeal-reply-wrapper > span {
    color: #555;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.ban-user strong {
    color: #aaa;
    font-size: 10px;
}

.appeal-status-card {
    margin-top: 15px;
    padding: 20px;
    border: 1px solid #262626;
    background: #090909;
}

.appeal-status-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.appeal-status-top strong {
    padding: 6px 9px;
    border: 1px solid #303030;
    border-radius: 100px;
    color: #aaa;
    font-size: 8px;
    letter-spacing: .1em;
}

.appeal-message {
    margin-top: 15px;
    color: #777;
    font-size: 11px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.appeal-reply-wrapper {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #202020;
}

.appeal-reply {
    margin-top: 10px;
    padding: 14px;
    border: 1px solid #252525;
    background: #101010;
    color: #aaa;
    font-size: 11px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.appeal-form {
    margin-top: 20px;
}

.appeal-form label {
    display: block;
    margin-bottom: 9px;
    color: #555;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.appeal-form textarea {
    width: 100%;
    min-height: 140px;
    padding: 15px;
    border: 1px solid #282828;
    outline: none;
    resize: vertical;
    background: #080808;
    color: white;
    font: inherit;
    font-size: 11px;
}

.appeal-form textarea:focus {
    border-color: #555;
}

.appeal-form button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 15px;
    border: 0;
    border-radius: 100px;
    background: white;
    color: black;
    font-size: 9px;
    font-weight: 900;
    transition: .3s;
}

.appeal-form button:hover {
    transform: translateY(-3px);
}

.appeal-form button:disabled {
    opacity: .5;
    cursor: wait;
    transform: none;
}

.ban-logout {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    border: 1px solid #292929;
    background: transparent;
    color: #666;
    font-size: 9px;
    font-weight: 900;
}

.ban-logout:hover {
    border-color: #555;
    color: white;
}

.profile-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-name-row h2 {
    margin-bottom: 0;
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid #343434;
    border-radius: 100px;
    color: #aaa;
    background: #151515;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.appeal-admin-card {
    padding: 20px 0;
    border-top: 1px solid #222;
}

.appeal-admin-card:first-child {
    border-top: 0;
}

.appeal-admin-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.appeal-admin-top strong {
    font-size: 12px;
}

.appeal-admin-date {
    color: #555;
    font-size: 8px;
}

.appeal-admin-status {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 8px;
    border: 1px solid #292929;
    border-radius: 100px;
    color: #777;
    font-size: 7px;
    font-weight: 900;
}

.appeal-admin-message {
    margin-top: 13px;
    color: #777;
    font-size: 11px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.appeal-admin-reply {
    margin-top: 15px;
    padding: 14px;
    border: 1px solid #252525;
    background: #090909;
}

.appeal-admin-reply textarea {
    width: 100%;
    min-height: 100px;
    padding: 13px;
    border: 1px solid #292929;
    outline: none;
    resize: vertical;
    background: #080808;
    color: white;
    font: inherit;
    font-size: 10px;
}

.appeal-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.appeal-admin-actions button {
    padding: 9px 12px;
    border: 1px solid #292929;
    background: transparent;
    color: #aaa;
    font-size: 8px;
    font-weight: 900;
}

.appeal-admin-actions button:hover {
    border-color: #555;
    color: white;
}

@media (max-width: 600px) {

    .ban-box {
        padding: 28px;
    }

    .ban-box h2 {
        font-size: 48px;
    }

    .appeal-admin-top {
        display: block;
    }

    .appeal-admin-date {
        display: block;
        margin-top: 6px;
    }

}
/* TERMS OF SERVICE */

.terms-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(22px);
}

.terms-box {
    position: relative;
    z-index: 2;
    width: min(720px,100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 38px;
    border: 1px solid #292929;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255,255,255,.07),
            transparent 32%
        ),
        #0d0d0d;
    box-shadow: 0 40px 140px rgba(0,0,0,.85);
    animation: modalIn .35s ease;
}

.terms-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #343434;
    border-radius: 12px;
    background: #111;
    color: white;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.05em;
}

.terms-label {
    color: #555;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.terms-box h2 {
    margin-top: 8px;
    font-size: clamp(34px,5vw,52px);
    line-height: .9;
    letter-spacing: -.07em;
}

.terms-intro {
    max-width: 600px;
    margin-top: 22px;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

.terms-content {
    max-height: 330px;
    overflow-y: auto;
    margin-top: 28px;
    padding: 5px 5px 5px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.terms-content section {
    padding: 19px 0;
    border-bottom: 1px solid #1c1c1c;
}

.terms-content section:last-child {
    border-bottom: 0;
}

.terms-content strong {
    display: block;
    color: #ddd;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
}

.terms-content p {
    max-width: 620px;
    margin-top: 8px;
    color: #666;
    font-size: 10px;
    line-height: 1.8;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    cursor: pointer;
    color: #aaa;
    font-size: 10px;
    line-height: 1.6;
}

.terms-check input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: white;
    cursor: pointer;
}

.terms-check input:checked + span {
    color: white;
}

#terms-accept {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 16px;
    border: 0;
    border-radius: 100px;
    background: white;
    color: black;
    font-size: 9px;
    font-weight: 900;
    transition:
        opacity .25s,
        transform .25s;
}

#terms-accept:hover:not(:disabled) {
    transform: translateY(-3px);
}

#terms-accept:disabled {
    opacity: .3;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    .terms-box {
        max-height: 92vh;
        padding: 25px;
    }

    .terms-content {
        max-height: 310px;
    }

    .terms-top {
        align-items: flex-start;
    }
}