:root {
    --bg: #070b10;
    --panel: #101720;
    --panel-soft: #151f2a;
    --line: rgba(255,255,255,.10);
    --gold: #f2bd4b;
    --gold-light: #ffdc82;
    --text: #f6f7f8;
    --muted: #aab4bf;
    --green: #35c786;
    --red: #ff6868;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
}

button, input, textarea { font: inherit; }

.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 80% 0%, rgba(40, 106, 77, .32), transparent 34%),
        radial-gradient(circle at 10% 80%, rgba(166, 116, 27, .20), transparent 34%),
        linear-gradient(135deg, #05080c 0%, #0a1118 52%, #070b10 100%);
}

.background::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.site-container {
    width: calc(100% - 40px);
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 0 28px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: center;
    gap: 48px;
    min-height: 360px;
    padding: 48px;
    overflow: hidden;
    border: 1px solid rgba(242,189,75,.28);
    border-radius: 28px;
    background: linear-gradient(125deg, rgba(19,31,41,.98), rgba(8,14,20,.97));
    box-shadow: 0 28px 80px rgba(0,0,0,.38);
}

.hero::before {
    content: "729";
    position: absolute;
    left: 30px;
    bottom: -105px;
    color: rgba(255,255,255,.025);
    font-size: 260px;
    line-height: 1;
    font-weight: 900;
    direction: ltr;
}

.hero-content { position: relative; z-index: 1; }

.server-label,
.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: 2px;
    direction: ltr;
}

.hero h1 {
    max-width: 720px;
    margin: 14px 0 14px;
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.18;
}

.hero h1 span { color: var(--gold-light); }

.hero-ar {
    max-width: 720px;
    margin: 0;
    color: #e1e7eb;
    font-size: 18px;
}

.hero-en {
    max-width: 720px;
    margin: 4px 0 0 auto;
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}


.server-logo {
    position: relative;
    z-index: 1;
    width: 230px;
    height: 230px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242,189,75,.50);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,189,75,.14), rgba(242,189,75,.02) 58%, transparent 60%);
    box-shadow: inset 0 0 0 12px rgba(242,189,75,.035), 0 0 70px rgba(242,189,75,.08);
    direction: ltr;
}

.server-logo::before,
.server-logo::after {
    content: "";
    position: absolute;
    background: rgba(242,189,75,.45);
}
.server-logo::before { width: 270px; height: 1px; }
.server-logo::after { width: 1px; height: 270px; }
.server-logo small, .server-logo strong, .server-logo span { position: relative; z-index: 1; }
.server-logo small { color: var(--muted); letter-spacing: 4px; font-size: 11px; }
.server-logo strong { color: var(--gold-light); font-size: 72px; line-height: 1.05; }
.server-logo span { color: var(--muted); letter-spacing: 3px; font-size: 10px; }

.form-card {
    margin-top: 24px;
    padding: 34px;
    border: 1px solid rgba(242,189,75,.25);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(17,25,35,.98), rgba(10,16,23,.98));
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.form-header h2 {
    margin: 6px 0 4px;
    font-size: 30px;
    line-height: 1.3;
}

.form-header p { margin: 0; color: var(--muted); font-size: 14px; }

.status-badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(53,199,134,.25);
    border-radius: 999px;
    background: rgba(53,199,134,.08);
    color: #a9efd0;
    font-size: 12px;
}

.status-badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    display: block;
    min-width: 0;
}

.field > span {
    display: block;
    margin-bottom: 8px;
    color: #eef2f5;
    font-size: 14px;
    font-weight: 700;
}

.field em { color: var(--gold-light); font-style: normal; }

.field input,
.field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    outline: none;
    background: #0a1118;
    color: var(--text);
    padding: 14px 15px;
    text-align: right;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field input { height: 52px; }
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #65717d; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: rgba(242,189,75,.35); }
.field input:focus, .field textarea:focus {
    border-color: var(--gold);
    background: #0d1620;
    box-shadow: 0 0 0 3px rgba(242,189,75,.10);
}

.field-full { grid-column: 1 / -1; }

.submit-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.submit-note strong { display: block; font-size: 14px; }
.submit-note span { display: block; color: var(--muted); font-size: 12px; direction: ltr; text-align: right; }

.submit-box button {
    min-height: 58px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, #ffd66d, #e6aa2f);
    color: #1d1607;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(242,189,75,.18);
    transition: transform .2s, box-shadow .2s;
}

.submit-box button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(242,189,75,.25); }
.submit-box button:active { transform: translateY(0); }
.submit-box button span { display: block; font-size: 16px; }
.submit-box button small { display: block; margin-top: 1px; font-size: 10px; letter-spacing: 1px; }

.alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
}
.alert.success { border: 1px solid rgba(53,199,134,.3); background: rgba(53,199,134,.10); color: #b5f3d7; }
.alert.error { border: 1px solid rgba(255,104,104,.3); background: rgba(255,104,104,.10); color: #ffc2c2; }

.footer-note {
    margin: 22px 0 0;
    color: #78838d;
    text-align: center;
    direction: ltr;
    font-size: 11px;
    letter-spacing: 1.5px;
}

@media (max-width: 850px) {
    .site-container { width: calc(100% - 28px); padding-top: 20px; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding: 34px; text-align: center; }
    .hero-content { text-align: center; }
    .hero-ar, .hero-en { margin-left: auto; margin-right: auto; text-align: center; }
    .server-logo {
        display: flex;
        width: 150px;
        height: 150px;
        margin-top: 6px;
    }
    .server-logo::before { width: 178px; }
    .server-logo::after { height: 178px; }
    .server-logo strong { font-size: 48px; }
    .server-logo small { font-size: 9px; letter-spacing: 3px; }
    .server-logo span { font-size: 8px; letter-spacing: 2px; }
    .features { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    body { font-size: 15px; }
    .site-container { width: calc(100% - 20px); }
    .hero { padding: 26px 20px; border-radius: 20px; }
    .hero h1 { font-size: 36px; }
    .hero-ar { font-size: 16px; }
    .server-logo { width: 126px; height: 126px; }
    .server-logo::before { width: 150px; }
    .server-logo::after { height: 150px; }
    .server-logo strong { font-size: 41px; }
    .form-card { padding: 24px 18px; border-radius: 20px; }
    .form-header { display: block; }
    .status-badge { display: inline-flex; margin-top: 16px; }
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .field-full { grid-column: auto; }
    .submit-box { grid-template-columns: 1fr; }
    .submit-box button { width: 100%; }
}

.field-help {
    display: block;
    margin-top: 7px;
    color: #8f9aa8;
    font-size: 12px;
    font-weight: 500;
}
