:root {
    --bg-main: #080a0d;
    --panel: rgba(10, 14, 20, 0.9);
    --panel-soft: rgba(17, 24, 33, 0.74);
    --text-main: #edf1f5;
    --text-soft: #bac5d0;
    --gold: #d4af37;
    --gold-light: #f2d164;
    --border: rgba(212, 175, 55, 0.25);
    --danger: #ff8f8f;
    --success: #8fe0a9;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background:
        radial-gradient(circle at top, rgba(242, 209, 100, 0.08), transparent 40%),
        linear-gradient(rgba(7, 10, 14, 0.82), rgba(8, 10, 13, 0.96)),
        url('../images/bg/loading.jpg') center/cover fixed;
    color: var(--text-main);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    cursor: url('../cursors/cursor_entry_2.png'), auto;
}

a, button, select, input[type="submit"] { cursor: url('../cursors/cursor_entry_12.png'), pointer; }
a { color: var(--gold-light); text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: 'Cinzel', serif; letter-spacing: 0.04em; text-transform: uppercase; }
.container { margin: 0 auto; max-width: var(--container); padding: 0 24px; width: 100%; }
.top-space { height: 112px; }
.site-header { backdrop-filter: blur(10px); background: rgba(7, 10, 14, 0.93); border-bottom: 1px solid var(--border); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.38); left: 0; position: fixed; top: 0; width: 100%; z-index: 50; }
.nav-shell { align-items: center; display: flex; gap: 24px; justify-content: space-between; min-height: 112px; }
.brand img { height: 74px; object-fit: contain; }
.site-nav { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.site-nav a { color: var(--text-main); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; position: relative; text-transform: uppercase; }
.site-nav a:hover, .site-nav a.active { color: var(--gold-light); }
.site-nav a::after { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); bottom: -8px; content: ''; height: 2px; left: 0; opacity: 0; position: absolute; transform: scaleX(0.4); transition: all 0.25s ease; width: 100%; }
.site-nav a:hover::after, .site-nav a.active::after { opacity: 1; transform: scaleX(1); }
.menu-toggle { align-items: center; background: transparent; border: 1px solid var(--border); border-radius: 12px; color: var(--text-main); display: none; height: 46px; justify-content: center; width: 46px; }
.menu-toggle span { background: currentColor; border-radius: 999px; display: block; height: 2px; margin: 3px auto; width: 18px; }
.hero { padding: 28px 0 58px; }
.hero-panel, .page-hero-card, .card, .panel-card, .price-card, .support-card, .download-card, .faq-card, .form-card, .character-card, .service-box {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.09), rgba(0, 0, 0, 0) 34%), var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-panel { border-radius: 28px; overflow: hidden; padding: 56px; }
.hero-panel-wide { position: relative; }
.hero-panel-wide::before { background: url('../images/effect.png') center/cover no-repeat; content: ''; inset: 0; opacity: 0.12; position: absolute; }
.hero-grid { align-items: center; display: grid; gap: 34px; grid-template-columns: 1.4fr 0.9fr; position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(2.9rem, 6vw, 5.6rem); line-height: 0.98; margin-bottom: 16px; }
.eyebrow { background: rgba(212, 175, 55, 0.12); border: 1px solid var(--border); border-radius: 999px; color: var(--gold-light); display: inline-flex; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 18px; padding: 9px 16px; text-transform: uppercase; }
.hero-copy h1 span, .accent { color: var(--gold-light); }
.hero p, .page-hero p, .muted, .card p, .panel-card p, .price-card p, .support-card p, .download-card p, .faq-card p, .service-box p { color: var(--text-soft); }
.hero-actions, .form-actions, .strip, .legend { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 28px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 14px; display: inline-flex; font-family: 'Cinzel', serif; font-weight: 700; gap: 10px; justify-content: center; letter-spacing: 0.05em; min-height: 48px; padding: 0 22px; text-transform: uppercase; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; filter: grayscale(0.8); opacity: 0.45; transform: none; }
.button-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); box-shadow: 0 12px 26px rgba(212, 175, 55, 0.18); color: #111; }
.button-secondary { background: rgba(255, 255, 255, 0.02); border-color: var(--border); color: var(--text-main); }
.button-danger { background: rgba(255, 143, 143, 0.09); border-color: rgba(255, 143, 143, 0.25); color: #ffe1e1; }
.hero-side, .stack-sm { display: grid; gap: 14px; }
.stat-card { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 22px 24px; }
.stat-card small, .stat-mini small { color: var(--text-soft); display: block; font-size: 0.78rem; letter-spacing: 0.14em; margin-bottom: 6px; text-transform: uppercase; }
.stat-card strong { color: var(--gold-light); display: block; font-family: 'Cinzel', serif; font-size: 2rem; }
.stat-card strong.status-online-text { color: #63e283; }
.stat-card strong.status-offline-text { color: #ff6767; }
.section { padding: 18px 0 62px; }
.section-header { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 26px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 8px; }
.grid-3, .grid-4, .price-grid, .support-grid, .download-grid, .panel-grid, .admin-tool-grid, .character-grid, .service-grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.support-grid, .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-grid { grid-template-columns: 0.9fr 1.1fr; }
.admin-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.danger-card { border-color: rgba(255, 143, 143, 0.28); }
.character-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .panel-card, .price-card, .support-card, .download-card, .faq-card, .form-card, .character-card, .service-box { padding: 24px; }
.card h3, .price-card h3, .support-card h3, .download-card h3, .panel-card h3, .faq-card h3, .service-box h4 { margin-bottom: 12px; }
.card-icon, .support-icon { align-items: center; background: rgba(212, 175, 55, 0.1); border: 1px solid var(--border); border-radius: 14px; color: var(--gold-light); display: inline-flex; height: 46px; justify-content: center; margin-bottom: 14px; overflow: hidden; width: 46px; }
.card-icon img, .support-icon img { height: 100%; object-fit: contain; width: 100%; }
.support-head { align-items: center; display: flex; gap: 14px; margin-bottom: 14px; }
.support-head h3 { margin-bottom: 0; }
.price-card.featured { border-color: rgba(242, 209, 100, 0.55); transform: translateY(-6px); }
.price-card .tickets { color: var(--gold-light); font-family: 'Cinzel', serif; font-size: 2.5rem; margin: 14px 0 8px; }
.price-card .price-line { color: #fff; font-weight: 700; }
.tag, .chip { border-radius: 999px; display: inline-block; }
.tag { background: rgba(242, 209, 100, 0.14); border: 1px solid rgba(242, 209, 100, 0.28); color: var(--gold-light); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 16px; padding: 6px 10px; text-transform: uppercase; }
.chip { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); color: var(--text-soft); padding: 8px 13px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 12px; text-align: left; vertical-align: top; }
th { color: var(--gold-light); font-family: 'Cinzel', serif; font-size: 0.88rem; }
.page-hero { padding: 12px 0 36px; }
.page-hero-card { border-radius: 26px; padding: 38px 42px; }
.page-hero h1 { color: var(--gold-light); font-size: clamp(2.2rem, 4vw, 4rem); margin-bottom: 10px; }
.flash-wrap { margin-bottom: 22px; }
.flash { border-radius: 14px; font-weight: 600; padding: 14px 18px; }
.flash-success { background: rgba(143, 224, 169, 0.12); border: 1px solid rgba(143, 224, 169, 0.25); color: #dcffe7; }
.flash-error { background: rgba(255, 143, 143, 0.12); border: 1px solid rgba(255, 143, 143, 0.24); color: #ffe1e1; }
.flash-info { background: rgba(141, 216, 255, 0.12); border: 1px solid rgba(141, 216, 255, 0.24); color: #e3f7ff; }
.form-card { margin: 0 auto; max-width: 560px; }
.form-card.large { max-width: 980px; }
.form-intro { margin-bottom: 22px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--text-soft); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.field input, .field select, .field textarea { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; color: var(--text-main); min-height: 48px; padding: 0 14px; width: 100%; }
.field textarea { min-height: 110px; padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(242, 209, 100, 0.6); box-shadow: 0 0 0 3px rgba(242, 209, 100, 0.12); outline: none; }
.helper { color: var(--text-soft); font-size: 0.88rem; }
.character-top, .footer-bottom, .meta-line { display: flex; flex-wrap: wrap; gap: 12px; }
.character-top { align-items: flex-start; justify-content: space-between; }
.character-name { font-size: 1.45rem; margin-bottom: 4px; }
.status-pill { border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; padding: 8px 12px; text-transform: uppercase; }
.status-online { background: rgba(255, 143, 143, 0.12); border: 1px solid rgba(255, 143, 143, 0.26); color: #ffd4d4; }
.status-offline { background: rgba(143, 224, 169, 0.12); border: 1px solid rgba(143, 224, 169, 0.24); color: #dcffe7; }
.character-stats { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-mini { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 12px 14px; }
.service-box form { display: grid; gap: 12px; }
.service-box .price, .panel-card strong, .character-card strong { color: var(--gold-light); }
.swatch { border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; display: inline-block; height: 14px; width: 14px; }
.note-box { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; color: var(--text-soft); padding: 16px 18px; }
.site-footer { background: rgba(6, 8, 12, 0.94); border-top: 1px solid var(--border); margin-top: 56px; padding: 38px 0 20px; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1.1fr 0.9fr 0.9fr; }
.footer-logo { height: 72px; margin-bottom: 12px; object-fit: contain; }
.footer-links { display: grid; gap: 8px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); color: #8e99a5; justify-content: space-between; margin-top: 24px; padding-top: 18px; }
@media (max-width: 1080px) { .hero-grid, .panel-grid, .admin-tool-grid, .support-grid, .download-grid, .footer-grid { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-grid { grid-template-columns: 1fr; } }
@media (max-width: 920px) { .site-nav { background: rgba(7, 10, 14, 0.98); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); display: none; left: 24px; padding: 18px; position: absolute; right: 24px; top: 94px; } .site-nav.open { display: grid; } .menu-toggle { display: inline-flex; flex-direction: column; } .hero-panel, .page-hero-card { padding: 34px 24px; } }
@media (max-width: 720px) { .top-space { height: 100px; } .grid-3, .grid-4, .form-grid, .character-stats { grid-template-columns: 1fr; } .section-header, .form-actions, .character-top, .footer-bottom { align-items: flex-start; flex-direction: column; } .hero-actions { flex-direction: column; } .button { width: 100%; } .container { padding: 0 18px; } }