:root {
    --black: #050506;
    --panel: #121318;
    --panel-strong: #191b22;
    --line: #30333c;
    --text: #f7f8fb;
    --muted: #a8adba;
    --gold: #ffcc18;
    --green: #24c96d;
    --blue: #2f7df6;
    --danger: #ff5656;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(135deg, #050506 0%, #101116 52%, #060607 100%);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

button,
input {
    font: inherit;
    letter-spacing: 0;
}

button {
    cursor: pointer;
}

.tech-auth-body {
    min-height: 100vh;
    padding: 0;
}

.tech-auth-page {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 34px;
    display: grid;
    gap: 30px;
}

.tech-hero {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: stretch;
}

.tech-hero-content,
.tech-login-panel,
.tech-game-card,
.tech-info-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(18, 19, 24, 0.9);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.tech-hero-content {
    min-height: 660px;
    display: grid;
    align-content: center;
    gap: 30px;
    padding: 46px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(18, 19, 24, 0.98) 0%, rgba(11, 12, 15, 0.96) 58%, rgba(27, 24, 15, 0.96) 100%),
        #121318;
}

.tech-logo-mark {
    width: 148px;
    height: 148px;
    border: 1px solid rgba(255, 204, 24, 0.28);
    border-radius: 8px;
    background: #000000;
    display: grid;
    place-items: center;
    padding: 16px;
}

.tech-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.tech-hero h1,
.tech-section-heading h2,
.tech-info-panel h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1;
    text-transform: uppercase;
}

.tech-hero-copy {
    max-width: 720px;
    margin: 0;
    color: #d7d9df;
    font-size: 20px;
    line-height: 1.55;
}

.tech-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-hero-actions a,
.tech-contact-panel a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 204, 24, 0.32);
    border-radius: 999px;
    color: var(--gold);
    background: rgba(255, 204, 24, 0.08);
    padding: 0 18px;
    font-weight: 900;
    text-decoration: none;
}

.tech-login-panel {
    padding: 34px;
    display: grid;
    align-content: center;
    gap: 24px;
}

.tech-panel-heading {
    display: grid;
    gap: 8px;
}

.tech-panel-heading span,
.tech-field span,
.tech-register summary {
    color: var(--muted);
    font-weight: 800;
}

.tech-panel-heading h2 {
    margin: 0;
    font-size: 34px;
}

.tech-form {
    display: grid;
    gap: 16px;
}

.tech-field {
    display: grid;
    gap: 8px;
}

.tech-field input {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #090a0d;
    padding: 0 14px;
    font-size: 18px;
}

.tech-field input:focus {
    border-color: var(--gold);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 204, 24, 0.14);
}

.tech-password-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #090a0d;
    overflow: hidden;
}

.tech-password-field input {
    border: 0;
}

.tech-password-field button {
    border: 0;
    color: var(--gold);
    background: #15161c;
    font-weight: 900;
}

.tech-submit-button,
.tech-secondary-button {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.tech-submit-button {
    color: #070707;
    background: linear-gradient(180deg, #ffdd4f 0%, var(--gold) 100%);
}

.tech-secondary-button {
    color: #ffffff;
    background: var(--blue);
}

.tech-form-alert {
    border: 1px solid rgba(255, 86, 86, 0.38);
    border-radius: 8px;
    color: #ffdede;
    background: rgba(255, 86, 86, 0.12);
    padding: 12px;
}

.tech-register {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
}

.tech-register summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    list-style: none;
}

.tech-register summary::-webkit-details-marker {
    display: none;
}

.tech-register-form {
    margin-top: 14px;
}

.tech-section {
    display: grid;
    gap: 18px;
    padding: 8px 0 0;
}

.tech-section-heading {
    display: grid;
    gap: 6px;
}

.tech-section-heading h2,
.tech-info-panel h2 {
    font-size: clamp(30px, 4vw, 48px);
    max-width: 860px;
}

.tech-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.tech-game-card {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 18px;
}

.tech-game-image {
    min-height: 180px;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 204, 24, 0.2);
    border-radius: 8px;
    background: #050506;
    overflow: hidden;
}

.tech-game-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tech-game-image-game {
    display: grid;
    place-items: center;
    padding: 14px;
}

.tech-game-image-game img {
    object-fit: contain;
}

.tech-game-image-icon {
    display: grid;
    place-items: center;
    padding: 28px;
}

.tech-game-image-icon img {
    max-width: 190px;
    object-fit: contain;
}

.tech-game-card span {
    color: var(--green);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.tech-game-card h3 {
    margin: 8px 0;
    color: var(--gold);
    font-size: 30px;
    text-transform: uppercase;
}

.tech-game-card p,
.tech-info-panel p {
    margin: 0;
    color: #d7d9df;
    font-size: 17px;
    line-height: 1.55;
}

.tech-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 18px;
}

.tech-info-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 28px;
}

.tech-contact-panel a {
    justify-self: start;
    word-break: break-word;
}

@media (max-width: 860px) {
    .tech-auth-page {
        padding: 18px;
    }

    .tech-hero,
    .tech-game-grid,
    .tech-info-grid {
        grid-template-columns: 1fr;
    }

    .tech-hero {
        min-height: auto;
    }

    .tech-hero-content {
        min-height: 360px;
        padding: 28px;
    }

    .tech-logo-mark {
        width: 96px;
        height: 96px;
    }

    .tech-login-panel {
        padding: 24px;
    }

    .tech-hero h1 {
        font-size: 40px;
    }

    .tech-hero-copy {
        font-size: 18px;
    }

    .tech-game-image {
        min-height: 160px;
    }
}

@media (max-width: 460px) {
    .tech-auth-page {
        padding: 12px;
    }

    .tech-hero-content,
    .tech-login-panel,
    .tech-game-card,
    .tech-info-panel {
        padding: 18px;
    }

    .tech-hero h1 {
        font-size: 34px;
    }

    .tech-hero-actions a,
    .tech-contact-panel a {
        width: 100%;
    }

    .tech-password-field {
        grid-template-columns: minmax(0, 1fr) 66px;
    }
}
