:root {
    --bg: #090b0e;
    --bg-soft: #11151a;
    --panel: #151a20;
    --panel-2: #1b2129;
    --line: #2a323d;
    --text: #f5f0e7;
    --muted: #a8b0ba;
    --gold: #d7a74b;
    --gold-light: #f2cf7a;
    --gold-dark: #8f6422;
    --green: #31c67a;
    --red: #ef6464;
    --blue: #62a8ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, .34);
    --radius: 18px;
    --radius-sm: 11px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(215, 167, 75, .10), transparent 28rem),
        linear-gradient(180deg, #0a0c0f 0%, #0c1014 45%, #090b0e 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
textarea { resize: vertical; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12;
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 32px), 820px); }
.section-space { padding: 76px 0; }
.muted-section { background: rgba(255,255,255,.025); border-block: 1px solid rgba(255,255,255,.05); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.eyebrow { display: inline-block; color: var(--gold-light); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(8, 10, 13, .84);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
    width: 62px; height: 62px; border-radius: 16px; display: inline-grid; place-items: center;
    font-family: Georgia, serif; font-weight: 900; color: #171008; font-size: 1.4rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), #8d5f19);
    box-shadow: 0 8px 30px rgba(215, 167, 75, .25), inset 0 1px 0 rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.26);
}
.brand-mark.small { width: 42px; height: 42px; border-radius: 11px; font-size: 1rem; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { color: #d3d8de; padding: 11px 15px; border-radius: 10px; font-size: .94rem; font-weight: 700; }
.main-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.main-nav .nav-whatsapp { color: #dff9ea; background: rgba(49,198,122,.13); border: 1px solid rgba(49,198,122,.28); }
.nav-toggle { display: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.flash-wrap { margin-top: 18px; }

.hero-intro { padding: 92px 0 52px; overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: 1.55fr .65fr; gap: 48px; align-items: center; }
.hero-intro h1 { margin-bottom: 22px; max-width: 950px; background: linear-gradient(180deg, #fff, #d8d2c7 72%); -webkit-background-clip: text; color: transparent; }
.hero-intro p { color: var(--muted); font-size: 1.15rem; max-width: 720px; }
.intro-stat-card { min-height: 270px; border-radius: 28px; border: 1px solid rgba(215,167,75,.2); background: linear-gradient(145deg, rgba(215,167,75,.13), rgba(255,255,255,.025)); padding: 38px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.intro-stat-card strong { display: block; font-family: Georgia, serif; font-size: 4.8rem; line-height: 1; color: var(--gold-light); }
.intro-stat-card span { font-size: 1.15rem; font-weight: 800; margin: 8px 0; }
.intro-stat-card small { color: var(--muted); }

.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button-row.centered { justify-content: center; }
.btn {
    min-height: 45px; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    border: 1px solid transparent; border-radius: 11px; padding: 10px 18px; font-weight: 800; font-size: .93rem;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #181109; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 30px rgba(215,167,75,.16); }
.btn-secondary { color: var(--text); background: #242b34; border-color: #343e4a; }
.btn-ghost { color: #d7dde4; background: transparent; border-color: #3b4551; }
.btn-whatsapp { color: #e9fff3; background: #167946; border-color: #299e61; }
.btn-block { width: 100%; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading.compact { margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); background: var(--panel); font-size: 1.6rem; line-height: 1; }
.slider-controls button:hover { border-color: var(--gold); }

.banner-slider { position: relative; }
.banner-slide { display: none; border: 1px solid #303944; background: linear-gradient(180deg, #161b21, #11151a); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.banner-slide.is-active { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr); animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.banner-image-link, .card-banner, .detail-banner { position: relative; overflow: hidden; background: #0b0d10; }
.banner-image-link { min-height: 100%; }
.banner-image-link img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.ad-label { position: absolute; top: 12px; left: 12px; padding: 5px 9px; color: #e6e9ed; background: rgba(0,0,0,.68); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; font-size: .63rem; font-weight: 900; letter-spacing: .13em; }
.banner-info { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.banner-info h3 { margin: 6px 0 0; font-size: 2rem; }
.banner-info > p { color: var(--muted); margin: 20px 0; }
.server-title-row { display: flex; align-items: center; gap: 18px; }
.server-title-row.compact-row { gap: 12px; }
.server-logo { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; border: 1px solid #444f5b; background: #0e1115; }
.server-logo.small-logo { width: 52px; height: 52px; border-radius: 13px; }
.badge-row { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: 5px 9px; color: #d5dce3; border: 1px solid #3a4551; background: #222932; font-size: .68rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.badge-gold { color: #ffeab7; border-color: rgba(215,167,75,.42); background: rgba(215,167,75,.13); }
.badge-verified { color: #bfe1ff; border-color: rgba(98,168,255,.36); background: rgba(98,168,255,.12); }
.server-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.server-meta-grid span { border: 1px solid #2b333d; background: rgba(255,255,255,.025); border-radius: 10px; padding: 10px 12px; }
.server-meta-grid small, .server-meta-grid strong { display: block; }
.server-meta-grid small { color: var(--muted); font-size: .7rem; }
.server-meta-grid strong { font-size: .9rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.countdown > span { min-width: 58px; border: 1px solid #333c46; background: #0d1115; border-radius: 9px; padding: 8px; text-align: center; font-size: 1.05rem; font-weight: 900; }
.countdown small { display: block; color: var(--muted); font-size: .58rem; text-transform: uppercase; font-weight: 700; }

.premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.premium-card, .server-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #161b21, #11151a); transition: border-color .2s, transform .2s; }
.premium-card:hover, .server-card:hover { transform: translateY(-3px); border-color: #495564; }
.card-banner { display: block; aspect-ratio: 3 / 1; }
.card-banner.compact-banner { aspect-ratio: 3 / 1; }
.card-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.premium-card:hover .card-banner img, .server-card:hover .card-banner img { transform: scale(1.025); }
.card-body { padding: 22px; }
.card-body h3 { margin: 14px 0 9px; }
.compact-row h3 { margin: 0 0 3px; }
.compact-row span { color: var(--muted); font-size: .83rem; }
.card-body p { color: var(--muted); font-size: .93rem; min-height: 68px; }
.mini-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0; }
.mini-meta span { color: #cbd1d8; border: 1px solid #303944; border-radius: 999px; padding: 5px 8px; font-size: .7rem; }
.text-link { color: var(--gold-light); font-weight: 800; font-size: .88rem; }
.server-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.filter-bar { display: grid; grid-template-columns: 1.5fr .7fr auto auto; gap: 10px; margin-bottom: 24px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.filter-bar label { min-width: 0; }

input, select, textarea {
    width: 100%; color: var(--text); background: #0d1115; border: 1px solid #333c47; border-radius: 10px; padding: 11px 12px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,167,75,.10); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #89939f 50%), linear-gradient(135deg, #89939f 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
label { display: grid; gap: 7px; color: #dde2e7; font-weight: 700; font-size: .88rem; }
label small { color: var(--muted); font-weight: 400; }
.check-row { display: flex; align-items: flex-start; gap: 10px; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }

.cta-section { padding: 20px 0 80px; }
.cta-card { border: 1px solid rgba(215,167,75,.25); background: linear-gradient(120deg, rgba(215,167,75,.12), rgba(255,255,255,.02)); border-radius: 25px; padding: 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-card h2 { margin-bottom: 8px; }
.cta-card p { color: var(--muted); margin: 0; }
.empty-state { border: 1px dashed #3a444f; border-radius: var(--radius); padding: 55px 25px; text-align: center; background: rgba(255,255,255,.02); }
.empty-state p { color: var(--muted); }
.empty-state.compact-empty { padding: 22px; }

.page-hero { padding: 92px 0 58px; text-align: center; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package-card { border: 1px solid var(--line); background: linear-gradient(145deg, #171c22, #11151a); border-radius: var(--radius); padding: 26px; }
.package-card h3 { margin: 18px 0 8px; }
.package-card p { color: var(--muted); min-height: 74px; }
.package-price { color: var(--gold-light); font-size: 1.5rem; font-family: Georgia, serif; font-weight: 900; }
.package-card > span:last-child { color: #d3d9df; font-size: .85rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 30px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-grid h2, .form-grid .span-2, .span-2 { grid-column: 1 / -1; }
.public-form { margin-top: 28px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.payment-box, .sidebar-panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.payment-box h3 { margin-bottom: 8px; }
.payment-box > p { color: var(--muted); }
.bank-details { margin: 18px 0; }
.bank-details > div { padding: 11px 0; border-top: 1px solid #2b333d; }
.bank-details dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.bank-details dd { margin: 4px 0 0; word-break: break-word; }
.bank-details code { color: #fff2c4; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-button { margin-left: 8px; color: var(--gold-light); background: transparent; border: 0; font-size: .76rem; font-weight: 800; }
.bank-note { border-left: 3px solid var(--gold); padding-left: 12px; }
.step-list { color: var(--muted); padding-left: 22px; }
.step-list li { margin-bottom: 8px; }
.success-card { border: 1px solid rgba(49,198,122,.3); background: linear-gradient(145deg, rgba(49,198,122,.09), var(--panel)); border-radius: 24px; padding: 36px; text-align: center; }
.success-card .payment-box { margin-top: 25px; text-align: left; }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: #dff8eb; background: rgba(49,198,122,.18); border: 1px solid rgba(49,198,122,.35); font-size: 2rem; }

.detail-hero { padding: 42px 0 0; }
.detail-banner { aspect-ratio: 10 / 3; border: 1px solid #333d49; border-radius: 23px 23px 0 0; }
.detail-banner img { width: 100%; height: 100%; object-fit: cover; }
.detail-heading-card { border: 1px solid #333d49; border-top: 0; background: linear-gradient(180deg, #171c22, #11151a); border-radius: 0 0 23px 23px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.detail-logo { width: 96px; height: 96px; border-radius: 22px; }
.detail-heading-card h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 5px 0; }
.detail-heading-card p { color: var(--muted); margin: 0; max-width: 700px; }
.detail-actions { justify-content: flex-end; flex: 0 0 auto; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 25px; align-items: start; }
.content-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.prose { color: #d7dce1; }
.prose h2 { margin-top: 34px; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: #f1e1bb; margin-top: 28px; }
.prose a { color: var(--gold-light); text-decoration: underline; }
.prose li { margin-bottom: 8px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail-sidebar { position: sticky; top: 96px; }
.sidebar-panel h2 { font-size: 1.35rem; }
.sidebar-countdown { margin-top: 8px; }
.feature-list { margin: 0; }
.feature-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid #2c343e; }
.feature-list dt { color: var(--muted); }
.feature-list dd { margin: 0; font-weight: 800; text-align: right; }
.stats-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; }
.stats-panel strong, .stats-panel span { display: block; }
.stats-panel strong { font-family: Georgia, serif; color: var(--gold-light); font-size: 1.8rem; }
.stats-panel span { color: var(--muted); font-size: .72rem; }

.site-footer { margin-top: 70px; border-top: 1px solid rgba(255,255,255,.07); background: #080a0d; }
.footer-grid { padding: 55px 0 35px; display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 50px; }
.footer-grid p { color: var(--muted); max-width: 480px; }
.footer-grid h3 { font-size: 1rem; margin-bottom: 14px; }
.footer-grid > div:nth-child(n+2) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid > div:nth-child(n+2) a { color: var(--muted); font-size: .88rem; }
.footer-grid > div:nth-child(n+2) a:hover { color: var(--gold-light); }
.footer-brand { margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid #1d232a; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; color: #7f8994; font-size: .75rem; }

.alert { border: 1px solid; border-radius: 11px; padding: 12px 14px; margin-bottom: 14px; font-size: .88rem; }
.alert-error { color: #ffd4d4; border-color: rgba(239,100,100,.38); background: rgba(239,100,100,.11); }
.alert-success { color: #d7ffea; border-color: rgba(49,198,122,.38); background: rgba(49,198,122,.11); }
.alert-info { color: #d9ecff; border-color: rgba(98,168,255,.35); background: rgba(98,168,255,.10); }
.alert-warning { color: #ffedbd; border-color: rgba(215,167,75,.38); background: rgba(215,167,75,.10); }

.install-page, .admin-login-page, .maintenance-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.install-shell { width: min(100%, 800px); }
.install-card, .login-card, .maintenance-card { border: 1px solid var(--line); background: linear-gradient(145deg, #171c22, #101419); border-radius: 24px; box-shadow: var(--shadow); padding: 36px; }
.install-card > .brand-mark { margin: 0 auto 18px; }
.install-card > h1, .install-card > p { text-align: center; }
.install-card h1 { font-size: 2.3rem; margin-bottom: 8px; }
.install-form { margin-top: 28px; }
.install-form h2 { font-size: 1.2rem; margin: 12px 0 0; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.login-card { width: min(100%, 450px); }
.centered-brand { justify-content: center; margin-bottom: 28px; }
.login-card h1, .login-card > p { text-align: center; }
.login-card h1 { font-size: 2rem; }
.login-form { display: grid; gap: 16px; margin-top: 26px; }
.back-link { display: block; color: var(--muted); text-align: center; margin-top: 20px; font-size: .85rem; }
.maintenance-card { width: min(100%, 560px); text-align: center; }
.maintenance-card .brand-mark { margin: 0 auto 20px; }

/* Admin */
.admin-body { background: #0a0d11; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; border-right: 1px solid #222a33; background: #0d1115; display: flex; flex-direction: column; z-index: 60; }
.admin-brand { padding: 0 8px 22px; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { padding: 10px 12px; border-radius: 9px; color: #aeb7c0; font-size: .86rem; font-weight: 700; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: #1a2027; }
.admin-nav a.active { box-shadow: inset 3px 0 0 var(--gold); }
.admin-user-box { margin-top: auto; padding: 14px 12px; border: 1px solid #29313a; border-radius: 12px; background: #13181e; }
.admin-user-box span { display: block; font-weight: 800; margin-bottom: 7px; }
.admin-user-box button { padding: 0; color: #d18a8a; background: transparent; border: 0; font-size: .78rem; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 78px; padding: 16px 28px; border-bottom: 1px solid #222a33; background: rgba(12,16,20,.86); backdrop-filter: blur(12px); display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 40; }
.admin-topbar h1 { margin: 0; font-family: Inter, sans-serif; font-size: 1.25rem; letter-spacing: 0; }
.admin-topbar span { color: var(--muted); font-size: .72rem; }
.admin-menu-toggle { display: none; color: var(--text); background: #1a2027; border: 1px solid #303944; border-radius: 8px; padding: 7px 10px; }
.admin-content { padding: 28px; }
.admin-actions { min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.admin-actions p { margin: 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.admin-stat-grid article { border: 1px solid #29323c; background: linear-gradient(145deg, #171c22, #11161b); border-radius: 15px; padding: 20px; }
.admin-stat-grid span, .admin-stat-grid small, .admin-stat-grid strong { display: block; }
.admin-stat-grid span { color: #bac2ca; font-size: .78rem; font-weight: 700; }
.admin-stat-grid strong { color: var(--gold-light); font-size: 2rem; margin: 8px 0 4px; }
.admin-stat-grid small { color: #78838e; }
.admin-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.admin-panel { min-width: 0; border: 1px solid #29323c; background: #12171c; border-radius: 15px; }
.panel-heading { min-height: 58px; padding: 15px 18px; border-bottom: 1px solid #29323c; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-heading h2 { margin: 0; font-family: Inter, sans-serif; font-size: .95rem; letter-spacing: 0; }
.panel-heading a { color: var(--gold-light); font-size: .76rem; font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid #252d36; text-align: left; vertical-align: middle; font-size: .79rem; }
th { color: #89949f; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
td { color: #d9dee3; }
td strong, td small { display: block; }
td small { color: #78838e; margin-top: 3px; }
td a { color: #c9dfff; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.018); }
.table-server { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.table-server img { width: 38px; height: 38px; object-fit: cover; border-radius: 9px; border: 1px solid #36404b; }
.status { display: inline-flex; width: fit-content; padding: 4px 8px; border: 1px solid #37414c; border-radius: 999px; font-size: .63rem; font-weight: 900; text-transform: uppercase; }
.status-active, .status-approved, .status-completed { color: #bcebd2; border-color: rgba(49,198,122,.35); background: rgba(49,198,122,.10); }
.status-draft, .status-new { color: #cfe7ff; border-color: rgba(98,168,255,.35); background: rgba(98,168,255,.10); }
.status-inactive, .status-rejected { color: #ffcaca; border-color: rgba(239,100,100,.35); background: rgba(239,100,100,.10); }
.status-waiting_payment { color: #ffe7ab; border-color: rgba(215,167,75,.35); background: rgba(215,167,75,.10); }
.row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; white-space: nowrap; }
.row-actions form { display: inline; }
.row-actions button { padding: 0; border: 0; background: transparent; }
.link-danger { color: #ef8585; }
.admin-filter { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.admin-filter input { width: min(280px, 100%); }
.admin-filter select { width: 160px; }
.form-section { padding: 22px; }
.form-section h2 { font-family: Inter, sans-serif; font-size: 1rem; letter-spacing: 0; padding-bottom: 12px; border-bottom: 1px solid #29323c; margin-bottom: 18px; }
.form-section h3 { font-family: Inter, sans-serif; font-size: .9rem; letter-spacing: 0; margin-top: 22px; }
.admin-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.admin-form-main { display: grid; gap: 20px; }
.admin-form-sidebar { display: grid; gap: 20px; position: sticky; top: 98px; }
.admin-form-sidebar .form-section { display: grid; gap: 15px; }
.admin-preview { border: 1px solid #34404b; background: #0d1115; }
.banner-preview { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 9px; }
.logo-preview { width: 90px; height: 90px; object-fit: cover; border-radius: 14px; }
.narrow-panel { width: min(100%, 760px); }
.application-layout { align-items: start; }
.application-banner { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border: 1px solid #34404b; border-radius: 12px; margin-bottom: 20px; }
.admin-detail-list { margin: 0; }
.admin-detail-list > div { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 15px; padding: 10px 0; border-top: 1px solid #29323c; }
.admin-detail-list dt { color: #89949f; }
.admin-detail-list dd { margin: 0; word-break: break-word; }
.application-description { color: #cfd5db; background: #0d1115; border: 1px solid #29323c; border-radius: 10px; padding: 14px; }
.stack-form { display: grid; gap: 15px; }
.admin-payment-box { margin-top: 22px; }

@media (max-width: 1050px) {
    .banner-slide.is-active { grid-template-columns: 1fr; }
    .banner-image-link img { min-height: 0; aspect-ratio: 10 / 3; }
    .premium-grid, .server-list-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-grid { grid-template-columns: 1fr .45fr; }
    .detail-heading-card { display: block; }
    .detail-actions { justify-content: flex-start; }
    .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-form-layout { grid-template-columns: 1fr; }
    .admin-form-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .section-space { padding: 55px 0; }
    .header-inner { min-height: 66px; }
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; position: absolute; top: 66px; left: 16px; right: 16px; padding: 10px; background: #101419; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
    .main-nav.is-open { display: grid; }
    .intro-grid, .form-layout, .detail-layout, .footer-grid { grid-template-columns: 1fr; }
    .hero-intro { padding-top: 70px; }
    .intro-stat-card { min-height: 180px; }
    .premium-grid, .server-list-grid, .package-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .cta-card { display: block; }
    .detail-banner { border-radius: 16px 16px 0 0; }
    .detail-heading-card { padding: 22px; }
    .detail-heading-card .server-title-row { align-items: flex-start; }
    .detail-logo { width: 72px; height: 72px; }
    .detail-sidebar { position: static; }
    .footer-bottom { display: grid; }
    .admin-shell { display: block; }
    .admin-sidebar { position: fixed; left: -270px; width: 250px; transition: left .2s; box-shadow: var(--shadow); }
    .admin-sidebar.is-open { left: 0; }
    .admin-menu-toggle { display: inline-flex; }
    .admin-topbar { padding: 14px 18px; }
    .admin-content { padding: 18px; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .admin-form-sidebar { grid-template-columns: 1fr; }
    .admin-actions { align-items: stretch; flex-direction: column; }
    .admin-actions > .btn { width: 100%; }
    .admin-filter { width: 100%; display: grid; grid-template-columns: 1fr; }
    .admin-filter input, .admin-filter select { width: 100%; }
}

@media (max-width: 520px) {
    .container { width: min(calc(100% - 22px), var(--container)); }
    h1 { font-size: 2.55rem; }
    .hero-intro h1 { font-size: 2.7rem; }
    .banner-info { padding: 23px; }
    .banner-info h3 { font-size: 1.55rem; }
    .server-title-row { align-items: flex-start; }
    .server-logo { width: 58px; height: 58px; }
    .server-meta-grid { grid-template-columns: 1fr 1fr; }
    .countdown { gap: 5px; }
    .countdown > span { min-width: 0; font-size: .84rem; padding-inline: 4px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2, .span-2 { grid-column: 1; }
    .public-form, .install-card, .login-card, .content-panel { padding: 22px; }
    .detail-heading-card .server-title-row { display: block; }
    .detail-heading-card .server-logo { margin-bottom: 15px; }
    .admin-stat-grid { grid-template-columns: 1fr; }
    .admin-detail-list > div { grid-template-columns: 1fr; gap: 3px; }
}
