@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #101113;
    --bg-secondary: #17181b;
    --bg-card: #1d1e22;

    --border: #303136;

    --text: #ffffff;
    --text-secondary: #a0a0a5;

    --accent: #d0d0d0;

    --developer: #ff8500;
    --head: #e32842;
    --administrator: #ff3549;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

[hidden] {
    display: none !important;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: rgba(17,18,21,0.85);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255,255,255,0.06);

    z-index: 1000;
    transition: 0.3s;
}

.header.scrolled {
    height: 75px;
    background: rgba(12,13,15,0.97);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.logo span {
    color: #a0a0a0;
}

/* NAVIGATION */

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    font-size: 10px;
    font-weight: 800;
    color: #c5c5c8;
    transition: 0.3s;
}

.nav a:hover {
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* LOGIN */

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border: 1px solid #55565a;
    border-radius: 6px;

    font-size: 10px;
    font-weight: 800;

    transition: 0.3s;
}

.login-btn:hover {
    background: white;
    color: #111;
}

/* ACCOUNT */

.account-menu-wrapper {
    position: relative;
}

.account-button {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px 12px;

    background: #26272c;

    border: 1px solid #44454c;
    border-radius: 7px;

    color: white;

    transition: 0.3s;
}

.account-button:hover {
    background: #323339;
}

.account-avatar {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #3a3b42;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 900;
}

.account-name {
    max-width: 130px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 11px;
    font-weight: 800;
}

.account-role {
    padding: 6px 8px;

    border-radius: 4px;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.5px;
}

/* NEON ROLES */

.role-developer .account-role {
    color: #ff8500;

    background: rgba(255,133,0,0.12);

    border: 1px solid rgba(255,133,0,0.55);

    box-shadow: 0 0 13px rgba(255,133,0,0.2);

    text-shadow: 0 0 8px rgba(255,133,0,0.6);
}

.role-head_of_staff .account-role {
    color: #e32842;

    background: rgba(177,18,38,0.15);

    border: 1px solid rgba(177,18,38,0.7);

    box-shadow: 0 0 13px rgba(177,18,38,0.25);

    text-shadow: 0 0 8px rgba(227,40,66,0.5);
}

.role-administrator .account-role {
    color: #ff3549;

    background: rgba(255,53,73,0.12);

    border: 1px solid rgba(255,53,73,0.55);

    box-shadow: 0 0 13px rgba(255,53,73,0.2);

    text-shadow: 0 0 8px rgba(255,53,73,0.5);
}

/* ACCOUNT DROPDOWN */

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 270px;

    padding: 10px;

    background: #1c1d21;

    border: 1px solid #414248;
    border-radius: 9px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.45);

    z-index: 2000;
}

.dropdown-profile {
    display: flex;
    flex-direction: column;
    gap: 9px;

    padding: 18px;

    border-bottom: 1px solid #383940;

    margin-bottom: 10px;
}

.dropdown-profile strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dropdown-profile span {
    color: #aaa;
    font-size: 10px;
    font-weight: 800;
}

.account-dropdown a,
.account-dropdown button {
    display: block;
    width: 100%;

    padding: 14px;

    background: transparent;
    border: none;
    border-radius: 5px;

    color: #ccc;

    font-size: 10px;
    font-weight: 800;
    text-align: left;

    transition: 0.2s;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    background: #303137;
    color: white;
}

#headerLogoutButton {
    color: #e69a9a;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
}

/* HERO */

.hero {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        url("/background.jpg") center / cover no-repeat,
        #101113;

    animation: backgroundZoom 16s ease-in-out infinite alternate;
}

@keyframes backgroundZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.18);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(10,10,12,0.8),
        rgba(10,10,12,0.45),
        rgba(10,10,12,0.95)
    );

    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1000px;

    padding: 130px 20px 100px;

    text-align: center;

    animation: heroFade 1.2s ease forwards;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    margin-bottom: 25px;

    color: #b5b5b5;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
}

.hero-title {
    font-size: clamp(45px, 8vw, 105px);
    font-weight: 900;
    letter-spacing: -5px;
    line-height: 1.1;
}

.hero-title span {
    color: #aaa;
}

.hero-divider {
    width: 75px;
    height: 3px;

    background: #aaa;

    margin: 32px auto;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 650px;
    margin: auto;

    color: #bebec2;
    font-size: 14px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 18px 30px;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;

    transition: 0.3s;
}

.btn-primary {
    background: #d0d0d0;
    color: #111;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-4px);
}

.btn-outline {
    border: 1px solid #666;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

/* SCROLL */

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    color: #aaa;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
}

.scroll-line {
    width: 1px;
    height: 45px;
    background: linear-gradient(#aaa, transparent);
}

/* SECTIONS */

.section {
    padding: 130px 8%;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-label {
    display: block;

    color: #aaa;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;

    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 45px);
    font-weight: 900;
    margin-bottom: 20px;
}

.section-heading h2 span {
    color: #999;
}

.section-heading p {
    color: #99999f;
    font-size: 14px;
    line-height: 1.9;
}

/* FEATURES */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    max-width: 1250px;
    margin: auto;
}

.feature-card {
    padding: 45px 35px;

    background: #191a1d;
    border: 1px solid #292a2e;
    border-radius: 10px;

    transition: 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: #202125;
    border-color: #666;
}

.feature-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    background: #25262a;
    border: 1px solid #38393d;
    border-radius: 12px;

    color: #d1d1d1;
}

.feature-icon svg {
    width: 38px;
    height: 38px;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #999;
    font-size: 13px;
    line-height: 1.9;
}

/* PLAY */

.play {
    background: #141518;
    border-top: 1px solid #292a2e;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    max-width: 1400px;
    margin: auto;
}

.step-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 350px;

    padding: 35px 28px;

    background: #1c1d21;

    border: 1px solid #303136;
    border-radius: 12px;

    transition: 0.4s;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #666;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 22px;

    font-size: 65px;
    font-weight: 900;

    color: rgba(255,255,255,0.045);
}

.step-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    background: #292a2f;

    border: 1px solid #3a3b40;
    border-radius: 12px;

    color: #d0d0d0;
}

.step-icon svg {
    width: 30px;
    height: 30px;
}

.step-card h3 {
    font-size: 15px;
    margin-bottom: 18px;
}

.step-card p {
    color: #929298;
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.step-link,
.step-info {
    margin-top: auto;
    padding: 14px 16px;

    border: 1px solid #48494e;
    border-radius: 5px;

    color: #d0d0d0;

    font-size: 10px;
    font-weight: 800;
}

.step-link:hover {
    background: #d0d0d0;
    color: #111;
}

/* FOOTER */

.footer {
    padding: 65px 20px;
    text-align: center;
}

.footer-logo {
    font-size: 26px;
    font-weight: 900;
}

.footer-logo span {
    color: #999;
}

.footer p {
    margin-top: 20px;
    color: #777;
    font-size: 11px;
    line-height: 2;
}

/* COOKIE */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;

    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 22px 30px;

    background: rgba(25,26,29,0.97);

    border: 1px solid #393a3e;
    border-radius: 8px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-text {
    color: #bbb;
    font-size: 12px;
    line-height: 1.8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    padding: 13px 20px;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;
}

.cookie-reject {
    background: transparent;
    border: 1px solid #555;
    color: white;
}

.cookie-accept {
    background: #d0d0d0;
    border: 1px solid #d0d0d0;
    color: #111;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.reveal.active:hover,
.step-card.reveal.active:hover {
    transform: translateY(-10px);
}

/* RESPONSIVE */

@media (max-width: 1350px) {
    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 9px;
    }
}

@media (max-width: 1100px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-role {
        display: none;
    }
}

@media (max-width: 950px) {
    .header {
        height: 75px;
        padding: 0 5%;
    }

    .nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: #151619;

        border-bottom: 1px solid #333;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 20px 5%;
        font-size: 12px;
        border-bottom: 1px solid #25262a;
    }

    .menu-toggle {
        display: block;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 90px 6%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .cookie-actions button {
        flex: 1;
    }
}

@media (max-width: 420px) {
    .logo {
        font-size: 18px;
    }

    .account-name {
        max-width: 75px;
    }

    .account-avatar {
        width: 30px;
        height: 30px;
    }

    .account-dropdown {
        width: 250px;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}