:root {
    --guest-bg: #050805;
    --guest-panel: #091008;
    --guest-panel-strong: #0d170b;
    --guest-border: rgba(72, 133, 47, .52);
    --guest-green: #86ce61;
    --guest-green-bright: #a8e785;
    --guest-text: #b8c4bc;
    --guest-muted: #7f8c84;
    --guest-danger: #d97979;
}

html { scroll-behavior: smooth; }
body.hf-guest-body {
    margin: 0;
    overflow-x: hidden;
    background: var(--guest-bg);
    color: var(--guest-text);
    font-family: "Roboto", sans-serif;
    font-size: 15px;
}
.hf-guest-body *,
.hf-guest-body *::before,
.hf-guest-body *::after { box-sizing: border-box; }
.hf-guest-body .container { width: min(1160px, calc(100% - 40px)); max-width: none !important; margin-inline: auto; }
.hf-guest-body h1,
.hf-guest-body h2,
.hf-guest-body h3 { font-family: "Rajdhani", sans-serif; font-weight: 500; }
.hf-guest-body a { color: inherit; }

.hf-guest-header {
    position: relative;
    min-height: 680px;
    padding: 0;
    overflow: hidden;
    background: #071006 url("images/bg5.png") center / cover fixed;
    text-align: left;
}
.hf-guest-header::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 7, 3, .96) 0%, rgba(3, 9, 4, .8) 48%, rgba(3, 7, 4, .54) 100%),
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(114, 190, 76, .018) 3px 4px);
    content: "";
}
.hf-guest-header.is-compact { min-height: 250px; }
.hf-guest-header__mask { position: relative; z-index: 1; min-height: inherit; padding: 0; background: transparent; }
.hf-guest-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 104px;
    border-bottom: 1px solid rgba(98, 165, 66, .28);
    background: none;
}
.hf-guest-nav__brand { display: block; flex: 0 0 auto; }
.hf-guest-nav__brand img { display: block; width: 235px; max-width: 100%; height: auto; }
.hf-guest-nav > div { display: flex; align-items: center; gap: 6px; }
.hf-guest-nav > div a {
    padding: 9px 12px;
    color: #aebbb2;
    font: 600 14px "Rajdhani", sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hf-guest-nav > div a:hover { color: #dcf1d2 !important; }
.hf-guest-nav > div a.is-primary {
    border: 1px solid rgba(117, 192, 80, .7);
    background: rgba(69, 140, 36, .14);
    color: var(--guest-green-bright);
}
.hf-guest-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 60px;
    align-items: center;
    min-height: 550px;
    padding-block: 60px;
}
.hf-guest-hero > div { max-width: 720px; }
.hf-guest-kicker {
    display: block;
    color: var(--guest-green);
    font: 700 11px monospace;
    letter-spacing: .18em;
}
.hf-guest-hero h1 {
    margin: 15px 0 18px;
    color: #dce7df;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.025em;
}
.hf-guest-hero p {
    max-width: 650px;
    margin: 0;
    color: #9eaba2;
    font-size: 17px;
    line-height: 1.65;
}
.hf-guest-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hf-guest-hero__actions a,
.hf-guest-status-card > div a {
    padding: 11px 15px;
    border: 1px solid rgba(90, 129, 87, .55);
    color: #a9b5ad;
    font-weight: 700;
}
.hf-guest-hero__actions a.is-primary,
.hf-guest-status-card > div a.is-primary {
    border-color: rgba(116, 190, 79, .76);
    background: rgba(73, 148, 38, .17);
    color: var(--guest-green-bright);
}
.hf-guest-hero aside {
    display: grid;
    gap: 7px;
    padding: 24px;
    border: 1px solid rgba(91, 158, 59, .5);
    background: rgba(4, 10, 4, .82);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.hf-guest-hero aside span { color: #819078; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.hf-guest-hero aside strong { color: var(--guest-green-bright); font: 700 38px monospace; }
.hf-guest-hero aside small { padding-top: 12px; border-top: 1px solid rgba(91, 158, 59, .24); color: #748077; line-height: 1.5; }
.hf-guest-subhero { display: grid; gap: 7px; padding-block: 43px; }
.hf-guest-subhero span { color: var(--guest-green); font: 700 10px monospace; letter-spacing: .16em; }
.hf-guest-subhero strong { color: #d9e5dd; font: 500 30px "Rajdhani", sans-serif; }

.hf-guest-main { min-height: 420px; background: var(--guest-bg); }
.hf-guest-section { padding: 78px 0; }
.hf-guest-section__heading { max-width: 700px; margin-bottom: 30px; }
.hf-guest-section__heading h2,
.hf-guest-login__layout h2 {
    margin: 8px 0;
    color: #d5e0d9;
    font-size: clamp(30px, 4vw, 44px);
}
.hf-guest-section__heading p,
.hf-guest-login__layout > div > p { margin: 0; color: #849188; line-height: 1.65; }
.hf-guest-features { background: #070c07; }
.hf-guest-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hf-guest-feature-grid article {
    position: relative;
    min-height: 170px;
    padding: 19px;
    overflow: hidden;
    border: 1px solid rgba(61, 117, 42, .4);
    background: linear-gradient(145deg, rgba(10, 18, 9, .98), rgba(3, 7, 4, .98));
}
.hf-guest-feature-grid article > span { color: #568c3f; font: 700 11px monospace; }
.hf-guest-feature-grid h3 { margin: 23px 0 7px; color: #cbd7cf; font-size: 21px; }
.hf-guest-feature-grid p { margin: 0; color: #7f8b83; line-height: 1.55; }
.hf-guest-join { background: #0a0e09 url("images/bg1.png"); }
.hf-guest-join__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 22px; align-items: start; }
#guest-main .hf-guest-form {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 21px;
    border: 1px solid rgba(67, 129, 45, .52);
    border-radius: 0;
    background: rgba(5, 10, 5, .93);
}
.hf-guest-form label { display: grid; gap: 6px; color: #abb8b0; cursor: default; }
.hf-guest-form label > span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hf-guest-form label small { color: #707e75; font-size: 10px; line-height: 1.4; }
.hf-guest-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#guest-main .hf-guest-form input:not([type="checkbox"]),
#guest-main .hf-guest-form select {
    display: block;
    width: 100%;
    max-width: none !important;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0;
    padding: 9px 11px !important;
    border: 1px solid rgba(67, 129, 45, .62);
    border-radius: 0;
    background: #050805;
    color: #e0e9e2;
}
#guest-main .hf-guest-form input:focus,
#guest-main .hf-guest-form select:focus { border-color: #82cc64; box-shadow: 0 0 0 3px rgba(105, 177, 71, .1); }
#guest-main .hf-guest-form input.is-valid,
#guest-main .hf-guest-form select.is-valid { border-color: #65ad50; }
#guest-main .hf-guest-form input.is-invalid,
#guest-main .hf-guest-form select.is-invalid { border-color: #b75959; }
#guest-main .hf-guest-agreement { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; cursor: pointer; }
#guest-main .hf-guest-agreement input {
    display: block !important;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #75bd56;
}
.hf-guest-form__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(61, 117, 42, .28); }
#guest-main .hf-guest-form button,
.hf-guest-form__actions a {
    min-height: 41px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgba(78, 107, 81, .5);
    border-radius: 0;
    background: rgba(47, 59, 49, .14);
    color: #a1ada5;
    font-weight: 700;
    cursor: pointer;
}
#guest-main .hf-guest-form button.is-primary {
    border-color: rgba(102, 177, 69, .72);
    background: rgba(61, 133, 31, .18);
    color: #9fdb81;
}
#guest-main .hf-guest-form button:disabled { opacity: .4; cursor: not-allowed; }
.hf-guest-form__status { margin: 0; color: #79867d; font-size: 10px; }
.hf-guest-form__status.is-ready { color: #8dcb73; }
.hf-guest-rules { overflow: hidden; border: 1px solid rgba(67, 129, 45, .52); background: rgba(5, 10, 5, .93); }
.hf-guest-rules > summary { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; color: #cbd7cf; cursor: pointer; list-style: none; }
.hf-guest-rules > summary::-webkit-details-marker { display: none; }
.hf-guest-rules > summary::marker { content: ""; }
.hf-guest-rules > summary::after { color: var(--guest-green); content: "+"; font: 700 18px monospace; }
.hf-guest-rules[open] > summary { border-bottom: 1px solid rgba(67, 129, 45, .36); }
.hf-guest-rules[open] > summary::after { content: "−"; }
.hf-guest-rules > summary span { font-size: 16px; font-weight: 700; }
.hf-guest-rules > summary small { margin-left: auto; margin-right: 15px; color: #748178; font-size: 10px; }
.hf-guest-rules > div { display: grid; max-height: 650px; padding: 8px 16px 16px; overflow-y: auto; }
.hf-guest-rules article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(67, 129, 45, .2); }
.hf-guest-rules article:last-child { border-bottom: 0; }
.hf-guest-rules article > strong { color: #609849; font: 700 10px monospace; }
.hf-guest-rules h3 { margin: 0 0 4px; color: #b9c6be; font-size: 16px; }
.hf-guest-rules p { margin: 0; color: #77847c; font-size: 11px; line-height: 1.5; }

.hf-guest-screenshots { background: #060a06; }
.hf-guest-gallery { display: grid; justify-items: center; }
.hf-guest-gallery > input { position: absolute; opacity: 0; pointer-events: none; }
.hf-guest-gallery figure { display: none; width: min(900px, 100%); margin: 0; }
.hf-guest-gallery input:checked + figure { display: grid; gap: 10px; }
#screenshots .hf-guest-gallery figure img {
    display: block !important;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 5px;
    border: 1px solid rgba(75, 143, 48, .68);
    border-radius: 0;
    background: #020402;
}
.hf-guest-gallery figcaption { color: #829078; font: 700 10px monospace; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.hf-guest-gallery nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 20px; }
#screenshots .hf-guest-gallery nav label {
    width: auto;
    height: auto;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(65, 120, 46, .48);
    border-radius: 0;
    background: rgba(0, 0, 0, .2);
    color: #849188;
    font-size: 10px;
}
.hf-guest-gallery nav label:hover { border-color: #79bf58; background: rgba(69, 137, 37, .1); }
.hf-guest-login { background: linear-gradient(120deg, #091007, #050805); }
.hf-guest-login__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr); gap: 50px; align-items: center; }
.hf-guest-login__layout .hf-guest-form__actions { justify-content: space-between; }
.hf-guest-login__layout .hf-guest-form__actions a { display: grid; place-items: center; color: #8c9990; }

.hf-guest-status-page { padding: 70px 0; background: #060a06; }
.hf-guest-status-card {
    display: grid;
    justify-items: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(77, 139, 51, .56);
    background: linear-gradient(145deg, rgba(10, 18, 9, .98), rgba(3, 7, 4, .98));
    text-align: center;
}
.hf-guest-status-card__icon { display: grid; width: 62px; height: 62px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(105, 184, 71, .7); color: #9bdd7d; font: 700 29px monospace; }
.hf-guest-status-card h1 { margin: 11px 0 8px; color: #d6e1da; font-size: 35px; }
.hf-guest-status-card p { max-width: 520px; margin: 0; color: #87948c; line-height: 1.6; }
.hf-guest-status-card > div:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.hf-guest-status-card.is-error { border-color: rgba(176, 66, 66, .56); }
.hf-guest-status-card.is-error .hf-guest-status-card__icon { border-color: rgba(190, 76, 76, .7); color: var(--guest-danger); }
.hf-guest-status-card.is-already-active .hf-guest-status-card__icon { border-color: rgba(178, 127, 51, .66); color: #d5a960; }

.hf-guest-main > .message { width: min(1120px, calc(100% - 40px)) !important; box-sizing: border-box; margin: 24px auto 0; border-radius: 0; }
.hf-guest-main > #login { padding: 70px 0; background: #060a06; }
.hf-guest-main > #login .container { max-width: 620px !important; }
.hf-guest-main > #login #login-wrap form {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--guest-border);
    background: var(--guest-panel);
}
.hf-guest-main > #login #login-wrap input:not([type="submit"]) { width: 100%; max-width: none; }
.hf-guest-footer { padding: 0; border-top: 1px solid rgba(65, 120, 46, .36); background: #020402; }

@media (max-width: 900px) {
    .hf-guest-hero { grid-template-columns: 1fr; gap: 25px; }
    .hf-guest-hero aside { max-width: 420px; }
    .hf-guest-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hf-guest-join__layout,
    .hf-guest-login__layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .hf-guest-body .container { width: min(100% - 28px, 100%); }
    .hf-guest-header { min-height: auto; background-attachment: scroll; }
    .hf-guest-nav { min-height: 90px; flex-direction: column; justify-content: center; padding-block: 15px; }
    .hf-guest-nav__brand img { width: 200px; }
    .hf-guest-nav > div { flex-wrap: wrap; justify-content: center; }
    .hf-guest-hero { min-height: 520px; padding-block: 50px; }
    .hf-guest-subhero { text-align: center; }
    .hf-guest-section { padding: 55px 0; }
}
@media (max-width: 560px) {
    .hf-guest-feature-grid,
    .hf-guest-form__grid { grid-template-columns: 1fr; }
    .hf-guest-nav > div a { padding: 7px 8px; font-size: 12px; }
    .hf-guest-hero h1 { font-size: 40px; }
    .hf-guest-form__actions { align-items: stretch; flex-direction: column; }
    #guest-main .hf-guest-form button,
    .hf-guest-form__actions a { width: 100%; text-align: center; }
    .hf-guest-status-card { padding: 28px 18px; }
    .hf-guest-status-card > div:last-child { width: 100%; flex-direction: column; }
}
