:root {
  --bg: #080a0e;
  --surface: #0f0e18;
  --surface-2: #151126;
  --card: #17122a;
  --line: rgba(174, 111, 255, 0.2);
  --text: #f7f5fb;
  --muted: #8d8a9d;
  --purple: #9a4ff2;
  --pink: #d752ec;
  --blue: #596fe9;
  --green: #25d0a0;
  --yellow: #f1b536;
  --danger: #ff6685;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.site-container { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }

.status-strip { height: 32px; border-bottom: 1px solid rgba(255,255,255,.04); background: #050609; color: #aaa6b8; font-size: 10px; }
.status-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.status-inner > span:nth-child(2) { margin-right: auto; }
.status-inner button { border: 0; padding: 0; color: #d7d2df; background: none; cursor: pointer; font-size: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(169,77,240,.35); border-radius: 999px; color: #c984ff; background: rgba(139,58,210,.12); font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.live-pill i, #server-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }

.main-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--line); background: rgba(10,9,16,.94); backdrop-filter: blur(16px); }
.header-inner { min-height: 64px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; font: 900 16px/1 var(--display); }
.brand img { width: 35px; height: 35px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 23px rgba(187,69,240,.3); }
.brand span { display: grid; }
.brand small { color: #d55fe8; font-size: 8px; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a, .main-nav button { position: relative; border: 0; padding: 24px 0; color: #bcb7c7; background: none; font-size: 12px; font-weight: 700; cursor: pointer; }
.main-nav a:hover, .main-nav button:hover, .main-nav .active { color: #fff; }
.main-nav .active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: linear-gradient(90deg,var(--purple),var(--pink)); }
.account-button { min-width: 138px; display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: center; border: 1px solid rgba(189,109,255,.45); border-radius: 10px; padding: 8px 12px; text-align: left; background: linear-gradient(120deg,#7137c7,#9b54e8); box-shadow: 0 6px 24px rgba(137,63,211,.24); cursor: pointer; }
.account-button .account-dot { grid-row: span 2; color: #fff; font-size: 8px; }
.account-button strong { overflow: hidden; max-width: 110px; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.account-button small { color: rgba(255,255,255,.65); font-size: 7px; }
.menu-toggle { display: none; margin-left: auto; border: 0; padding: 8px; background: none; cursor: pointer; }
.menu-toggle i { display: block; width: 23px; height: 2px; margin: 5px; background: #fff; }

.hero-section { min-height: 560px; position: relative; overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: #090b11; }
.hero-background { position: absolute; width: min(1120px,88vw); height: 580px; object-fit: contain; opacity: .28; filter: blur(2px) saturate(.8); transform: scale(1.15); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at center,rgba(20,20,38,.25),#080a0e 76%),linear-gradient(90deg,#080a0e 0%,transparent 25%,transparent 75%,#080a0e 100%); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; padding: 62px 0 48px; text-align: center; }
.hero-logo { width: 88px; height: 88px; border-radius: 24px; object-fit: cover; box-shadow: 0 0 55px rgba(187,70,241,.52); }
.hero-content h1 { margin: 12px 0 4px; font: 900 clamp(32px,5vw,52px)/.9 var(--display); letter-spacing: -.04em; }
.hero-content h1 span { display: block; color: #d65ce6; font-size: .47em; letter-spacing: .18em; }
.hero-content > p:not(.copy-feedback) { max-width: 690px; margin: 10px 0 23px; color: #c2bdcc; font-size: 15px; line-height: 1.65; }
.server-card { width: min(510px,100%); max-width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; overflow: hidden; border: 1px solid rgba(173,79,243,.72); border-radius: 14px; text-align: left; background: rgba(18,14,32,.86); box-shadow: 0 0 34px rgba(155,61,231,.24),inset 0 0 30px rgba(145,64,220,.05); backdrop-filter: blur(12px); }
.server-card > div { padding: 17px 22px 13px; }
.server-card small { display: block; margin-bottom: 6px; color: #b56be7; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.server-card strong { font: 700 20px var(--display); letter-spacing: .04em; }
.server-card > button { align-self: center; margin-right: 17px; border: 0; border-radius: 9px; padding: 13px 20px; color: #fff; background: linear-gradient(110deg,#8141de,#bd57ef); box-shadow: 0 6px 20px rgba(180,79,239,.32); font-size: 10px; font-weight: 800; cursor: pointer; }
.server-card footer { grid-column: 1/-1; display: flex; justify-content: space-between; padding: 11px 21px; border-top: 1px solid rgba(255,255,255,.07); color: #aaa5b4; font-size: 9px; }
.server-card footer span { display: flex; align-items: center; gap: 5px; }
.copy-feedback { min-height: 16px; margin: 10px 0 0; color: #cf7cf4; font-size: 10px; }

.content-section { padding: 72px 0 82px; }
.section-title { margin-bottom: 34px; text-align: center; }
.section-title > span, .pane-heading > span, .rules-grid > div > span { color: #a969e5; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.section-title h2 { margin: 8px 0 5px; font: 900 clamp(27px,4vw,38px) var(--display); }
.section-title p { margin: 0; color: #898596; font-size: 12px; }
.modes-section { background: #080a0e; }
.mode-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mode-card { min-height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg,#181329,#121020); box-shadow: 0 15px 35px rgba(0,0,0,.25); transition: .22s; }
.mode-card:hover { transform: translateY(-6px); border-color: rgba(169,82,237,.55); }
.mode-cover { width: 100%; height: 158px; display: block; object-fit: cover; object-position: center; border-bottom: 1px solid rgba(255,255,255,.07); }
.mode-card-body { padding: 22px; }
.mode-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 50%; font-size: 22px; }
.creative .mode-icon { color: #d391ff; background: rgba(137,66,216,.22); box-shadow: 0 0 25px rgba(144,67,216,.28); }
.smp .mode-icon { color: #ffc743; background: rgba(225,161,35,.18); box-shadow: 0 0 25px rgba(224,157,31,.24); }
.lobby .mode-icon { color: #54ccff; background: rgba(37,158,221,.18); box-shadow: 0 0 25px rgba(35,163,226,.24); }
.mode-card h3 { margin: 0 0 10px; font: 800 20px var(--display); }
.mode-card p { min-height: 70px; margin: 0 0 16px; color: #9d98aa; font-size: 12px; line-height: 1.7; }
.mode-card-body > span { padding: 5px 9px; border-radius: 999px; color: #8df0d0; background: #137e65; font-size: 8px; font-weight: 800; }

.news-section { border-top: 1px solid rgba(255,255,255,.025); background: #0e0d16; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid rgba(176,105,241,.17); border-radius: 13px; background: #171225; }
.news-cover { height: 155px; display: grid; place-items: center; position: relative; overflow: hidden; font: 900 35px var(--display); }
.news-cover::before { content: ""; position: absolute; inset: -30%; opacity: .48; background-image: linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px); background-size: 24px 24px; transform: rotate(10deg); }
.news-cover b { position: relative; text-shadow: 0 10px 30px #000; }
.news-cover-image { width: 100%; height: 155px; display: block; object-fit: cover; }
.cover-one { background: linear-gradient(rgba(20,11,38,.16),rgba(20,11,38,.32)),url('/news-community-v2.png') center/cover; }
.cover-two { background: linear-gradient(rgba(10,28,20,.12),rgba(10,28,20,.32)),url('/news-survival-v2.png') center/cover; }
.cover-three { background: linear-gradient(rgba(35,4,16,.08),rgba(35,4,16,.32)),url('/news-boxpvp-v2.png') center/cover; }
.news-card > div:last-child { padding: 19px 18px 23px; }
.news-card time { padding: 4px 7px; border-radius: 999px; color: #d49ff4; background: rgba(146,69,209,.18); font-size: 8px; font-weight: 700; }
.news-card h3 { margin: 13px 0 8px; font: 800 17px var(--display); }
.news-card p { margin: 0; color: #9893a5; font-size: 11px; line-height: 1.65; }

.rules-section { padding: 62px 0; border-top: 1px solid rgba(255,255,255,.04); background: linear-gradient(115deg,#10101a,#171024); }
.rules-grid { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.rules-grid h2 { margin: 8px 0; font: 800 32px var(--display); }
.rules-grid p { max-width: 710px; margin: 0; color: #9f9aaa; font-size: 13px; line-height: 1.75; }
.rules-grid > button, .secondary-button { flex: 0 0 auto; border: 1px solid rgba(183,104,244,.42); border-radius: 9px; padding: 13px 16px; color: #e4c4f6; background: rgba(129,55,188,.12); font-size: 9px; font-weight: 800; cursor: pointer; }
.discord-banner { padding: 42px 0; background: linear-gradient(105deg,#5468ef,#414daa); }
.discord-banner .site-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.discord-banner h2 { margin: 0 0 7px; font: 800 27px var(--display); }
.discord-banner p { margin: 0; color: rgba(255,255,255,.68); font-size: 10px; }
.discord-banner a { padding: 14px 22px; border-radius: 9px; color: #5366d9; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.18); font-size: 9px; font-weight: 800; }
.site-footer { padding: 38px 0; text-align: center; background: #060709; }
.site-footer img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.site-footer h3 { margin: 12px 0 7px; font: 800 11px var(--display); }
.site-footer p { margin: 0 0 5px; color: #8d8996; font-size: 8px; }
.site-footer small { color: #4e4b56; font-size: 7px; }

dialog { border: 0; color: var(--text); }
dialog::backdrop { background: rgba(3,3,7,.86); backdrop-filter: blur(8px); }
.modal-close { position: absolute; z-index: 5; top: 13px; right: 16px; border: 0; color: #938c9d; background: none; font-size: 26px; cursor: pointer; }
.login-modal { width: min(440px,calc(100% - 28px)); padding: 34px; border: 1px solid rgba(182,101,244,.24); border-radius: 17px; background: linear-gradient(145deg,#161122,#0d0c13); box-shadow: 0 35px 110px #000; }
.login-modal > img { width: 68px; height: 68px; border-radius: 17px; object-fit: cover; box-shadow: 0 0 30px rgba(183,70,236,.26); }
.login-modal > span { display: block; margin-top: 22px; color: #bd6deb; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.login-modal h2 { margin: 7px 0; font: 800 32px var(--display); }
.login-modal > p { color: #948f9f; font-size: 11px; line-height: 1.65; }
.login-modal code { padding: 2px 5px; border-radius: 4px; color: #e181f1; background: rgba(164,69,218,.12); }
label { display: block; color: #9891a4; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; outline: none; padding: 12px 13px; color: #fff; background: #09090f; font-size: 11px; letter-spacing: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(178,79,238,.74); box-shadow: 0 0 0 3px rgba(146,61,207,.1); }
.login-modal form label { margin-top: 15px; }
.action-button { width: 100%; border: 0; border-radius: 9px; margin-top: 18px; padding: 13px 18px; color: #fff; background: linear-gradient(110deg,#7d3ad3,#b94ee6); font-size: 9px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(145,54,201,.24); }
.action-button.compact { width: auto; margin-top: 0; }
.action-button:disabled { opacity: .55; cursor: not-allowed; }
.login-note { margin-bottom: 0; text-align: center; color: #686370 !important; font-size: 8px !important; }
.form-message { min-height: 16px; margin: 12px 0 0; color: #e47abd; font-size: 9px; }

.portal-modal { width: min(1050px,calc(100% - 28px)); height: min(760px,calc(100vh - 28px)); padding: 0; overflow: hidden; border: 1px solid rgba(180,99,245,.24); border-radius: 18px; background: #0d0c13; box-shadow: 0 40px 130px #000; }
.portal-shell { height: 100%; display: grid; grid-template-columns: 220px 1fr; }
.portal-sidebar { display: flex; flex-direction: column; padding: 30px 17px 18px; border-right: 1px solid rgba(255,255,255,.07); background: linear-gradient(165deg,#171124,#0b0b11); }
.portal-identity { display: flex; align-items: center; gap: 11px; padding: 0 7px 25px; border-bottom: 1px solid rgba(255,255,255,.07); }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#7434cb,#db53e2); font: 800 13px var(--display); box-shadow: 0 8px 22px rgba(137,49,204,.25); }
.avatar.large { width: 100px; height: 100px; border-radius: 20px; font-size: 25px; }
.portal-identity strong { display: block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.portal-identity span { display: block; margin-top: 4px; color: #bd73e9; font-size: 8px; }
.portal-sidebar nav { display: grid; gap: 5px; margin-top: 21px; }
.portal-sidebar nav button { border: 0; border-radius: 8px; padding: 12px 13px; text-align: left; color: #8e8999; background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.portal-sidebar nav button:hover, .portal-sidebar nav button.active { color: #fff; background: linear-gradient(90deg,rgba(136,55,205,.28),rgba(136,55,205,.05)); }
.logout-button { margin-top: auto; border: 1px solid rgba(255,102,133,.2); border-radius: 8px; padding: 11px; color: #d47d90; background: rgba(180,54,80,.08); font-size: 9px; font-weight: 700; cursor: pointer; }
.portal-main { overflow: auto; padding: 38px 40px; }
.portal-pane { display: none; }
.portal-pane.active { display: block; }
.pane-heading { margin-bottom: 26px; }
.pane-heading.inline { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; }
.support-heading-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.support-heading-actions .action-button, .support-heading-actions .secondary-button { width: auto; margin: 0; white-space: nowrap; }
.pane-heading h2 { margin: 7px 0 4px; font: 800 31px var(--display); }
.pane-heading p { margin: 0; color: #7f7a89; font-size: 10px; }
.profile-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.profile-cards article, .admin-grid article { padding: 21px; border: 1px solid rgba(255,255,255,.075); border-radius: 12px; background: linear-gradient(145deg,#151220,#100e18); }
.profile-cards small, .admin-grid article > small, .skin-preview small { display: block; color: #746f80; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.profile-cards strong { display: block; margin: 8px 0 5px; font: 800 21px var(--display); }
.profile-cards span { color: #8f8999; font-size: 8px; }
.profile-tip { margin-top: 16px; padding: 15px 18px; border: 1px solid rgba(163,76,224,.18); border-radius: 10px; color: #948e9d; background: rgba(132,53,194,.07); font-size: 10px; }
.profile-tip button { float: right; border: 0; color: #cf78ef; background: none; font-size: 9px; font-weight: 800; cursor: pointer; }
.skin-panel { display: grid; grid-template-columns: 180px 1fr; gap: 25px; align-items: center; padding: 26px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: #12101a; }
.skin-preview { display: grid; justify-items: center; gap: 9px; text-align: center; }
.skin-preview strong { font-size: 11px; }
.skin-panel form p:not(.form-message) { color: #716c7b; font-size: 8px; line-height: 1.6; }
.ticket-form { margin-bottom: 20px; padding: 20px; border: 1px solid rgba(174,83,234,.24); border-radius: 12px; background: #12101a; }
.form-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.ticket-form > label { margin-top: 14px; }
.ticket-attachment-picker input[type="file"] { padding: 10px; border-style: dashed; cursor: pointer; }
.ticket-attachment-picker input[type="file"]::file-selector-button { margin-right: 10px; border: 1px solid rgba(197,91,240,.35); border-radius: 7px; padding: 8px 11px; color: #ead7f2; background: rgba(142,55,196,.18); font: 700 8px var(--display); cursor: pointer; }
.ticket-attachment-picker small { display: block; margin-top: 7px; color: #77717f; font-size: 8px; line-height: 1.5; }
.ticket-attachment-selection { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.ticket-attachment-selection span { max-width: 100%; overflow: hidden; padding: 6px 9px; border: 1px solid rgba(173,83,231,.24); border-radius: 999px; color: #b9afc2; background: rgba(126,47,179,.1); text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.form-actions { display: flex; gap: 9px; margin-top: 14px; }
.form-actions .secondary-button { padding: 11px 15px; }
.support-layout { min-height: 430px; display: grid; grid-template-columns: 255px 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: #0b0b11; }
.ticket-list { overflow-y: auto; border-right: 1px solid rgba(255,255,255,.07); }
.ticket-item { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); padding: 15px; text-align: left; background: transparent; cursor: pointer; }
.ticket-item:hover, .ticket-item.active { background: rgba(136,57,199,.12); }
.ticket-item strong { display: block; margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.ticket-item span { color: #8d8795; font-size: 10px; }
.ticket-item b, .ticket-status { float: right; border-radius: 999px; padding: 3px 6px; color: #d493f5; background: rgba(139,61,198,.18); font-size: 6px; }
.ticket-detail { overflow-y: auto; padding: 22px; }
.empty-state { color: #6f6b77; text-align: center; font-size: 9px; }
.ticket-head { padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ticket-head h3 { margin: 4px 0; font: 800 19px var(--display); }
.ticket-head p { margin: 0; color: #77717f; font-size: 8px; }
.ticket-thread { display: grid; gap: 10px; padding: 17px 0; }
.ticket-attachments { margin-top: 15px; padding: 14px; border: 1px solid rgba(174,83,234,.18); border-radius: 10px; background: rgba(110,43,158,.06); }
.ticket-attachments > strong { display: block; margin-bottom: 10px; color: #b67bd2; font-size: 8px; letter-spacing: .1em; }
.ticket-attachment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ticket-attachment-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: #09080e; }
.ticket-attachment-card img, .ticket-attachment-card video { width: 100%; height: 150px; display: block; object-fit: contain; background: #050507; }
.ticket-attachment-card a { display: block; overflow: hidden; padding: 8px 10px; color: #c79cdc; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.ticket-message { max-width: 86%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: #14111d; }
.ticket-message.staff { justify-self: end; border-color: rgba(159,74,220,.22); background: rgba(122,48,177,.13); }
.ticket-message header { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 7px; color: #9b75b2; font-size: 7px; }
.ticket-message p { margin: 0; color: #c6c0cd; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.6; }
.ticket-reply textarea { min-height: 86px; }
.ticket-actions { display: flex; gap: 8px; align-items: center; }
.ticket-actions .action-button { width: auto; }
.closed-ticket-notice { margin: 0 0 12px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; color: #aaa4b2; background: rgba(255,255,255,.025); font-size: 10px; }
.closed-ticket-notice.archived { margin-top: 14px; border-color: rgba(92,154,255,.24); color: #aebfe0; background: rgba(50,93,170,.09); }
.danger-button { border: 1px solid rgba(255,102,133,.35); border-radius: 9px; padding: 11px 15px; color: #ff93aa; background: rgba(180,54,80,.12); font-size: 9px; font-weight: 800; cursor: pointer; }
.danger-button:hover { border-color: rgba(255,102,133,.7); background: rgba(180,54,80,.22); }
.admin-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.admin-grid h3 { margin: 8px 0; font: 800 18px var(--display); }
.admin-grid p { color: #85808e; font-size: 9px; line-height: 1.65; }
.admin-grid form { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; margin-top: 15px; }
.admin-grid form .action-button { margin: 0; }
.admin-user-card { margin-top: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: #0c0b12; }
.admin-user-card header { display: flex; justify-content: space-between; gap: 10px; }
.admin-user-card small { color: #8e8796; }
.admin-user-card .role-editor { display: flex; gap: 8px; margin-top: 12px; }
.admin-user-card select { margin: 0; }
.admin-user-card button { margin: 0; }
.announcement-manager { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: 18px; align-items: start; }
.announcement-editor { padding: 20px; border: 1px solid rgba(174,83,234,.24); border-radius: 12px; background: #12101a; }
.announcement-editor > label { margin-top: 14px; }
.announcement-image-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; margin-top: 14px; }
.announcement-image-tools .secondary-button { align-self: end; }
.announcement-preview { width: 100%; height: 120px; display: block; grid-column: 1/-1; object-fit: cover; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: #09090f; }
.check-label { display: flex; align-items: center; gap: 8px; color: #b3acbb; font-size: 9px; letter-spacing: 0; }
.check-label input { width: auto; margin: 0; accent-color: #a84fe1; }
.announcement-admin-list { display: grid; gap: 10px; }
.announcement-admin-card { overflow: hidden; border: 1px solid rgba(255,255,255,.075); border-radius: 11px; background: #12101a; }
.announcement-admin-card img { width: 100%; height: 105px; display: block; object-fit: cover; }
.announcement-admin-card > div { padding: 13px; }
.announcement-admin-card header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.announcement-admin-card h3 { margin: 0; font: 800 14px var(--display); }
.announcement-admin-card small { color: #9e72ba; font-size: 7px; }
.announcement-admin-card p { margin: 8px 0 11px; color: #85808e; font-size: 9px; line-height: 1.55; }
.announcement-admin-card footer { display: flex; gap: 7px; }
.announcement-admin-card button { padding: 8px 10px; }
body.server-offline .live-pill i, body.server-offline #server-dot { background: var(--danger); box-shadow: 0 0 9px var(--danger); }

@media (max-width: 900px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 14px; }
  .main-nav a, .main-nav button { font-size: 9px; }
  .portal-shell { grid-template-columns: 185px 1fr; }
  .portal-main { padding: 35px 26px; }
  .admin-grid, .announcement-manager { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-container { width: calc(100% - 24px); max-width: 1080px; min-width: 0; }
  .status-strip { height: 29px; }
  .status-inner { justify-content: space-between; gap: 8px; font-size: 8px; }
  .status-inner > span:nth-child(2) { margin-right: 0; }
  .status-inner > button { display: none; }
  .live-pill { padding: 3px 6px; }
  .menu-toggle { display: block; }
  .main-nav { display: flex; visibility: hidden; position: absolute; top: 64px; right: 0; left: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); opacity: 0; background: #0a0910; pointer-events: none; transform: translate3d(0,-7px,0); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .main-nav.open { visibility: visible; opacity: 1; pointer-events: auto; transform: translate3d(0,0,0); transition-delay: 0s; }
  .main-nav a, .main-nav button { padding: 11px; text-align: left; }
  .main-nav .active::after { display: none; }
  .account-button { min-width: 46px; padding: 9px; }
  .account-button strong, .account-button small { display: none; }
  .hero-section { min-height: 575px; }
  .hero-background { width: 145vw; opacity: .24; }
  .hero-content { justify-self: stretch; width: auto; max-width: none; min-width: 0; margin-inline: 12px; padding-top: 45px; }
  .hero-content > p:not(.copy-feedback) { font-size: 11px; }
  .server-card { grid-template-columns: 1fr; text-align: center; }
  .server-card > button { margin: 0 18px 14px; }
  .server-card footer { gap: 8px; flex-direction: column; align-items: center; }
  .mode-grid, .news-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: clamp(24px,7vw,31px); overflow-wrap: anywhere; }
  .mode-card p { min-height: auto; }
  .rules-grid, .discord-banner .site-container { align-items: flex-start; flex-direction: column; }
  .portal-modal { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; }
  .portal-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .portal-sidebar { padding: 17px 14px 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .portal-identity { padding-bottom: 12px; }
  .portal-sidebar nav { grid-template-columns: repeat(auto-fit,minmax(65px,1fr)); margin-top: 10px; }
  .portal-sidebar nav button { padding: 9px 5px; text-align: center; font-size: 7px; }
  .logout-button { position: absolute; top: 21px; right: 48px; width: auto; margin: 0; padding: 7px 9px; font-size: 7px; }
  .portal-main { padding: 25px 15px; }
  .profile-cards { grid-template-columns: 1fr; }
  .skin-panel { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pane-heading.inline { flex-direction: column; }
  .support-heading-actions { width: 100%; justify-content: stretch; }
  .support-heading-actions .action-button, .support-heading-actions .secondary-button { flex: 1; }
  .support-layout { grid-template-columns: 1fr; }
  .ticket-list { max-height: 190px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .ticket-attachment-grid { grid-template-columns: 1fr; }
  .admin-grid form { grid-template-columns: 1fr; }
  .announcement-image-tools { grid-template-columns: 1fr; }
  .announcement-preview { grid-column: auto; }
}

@media (max-width: 440px) {
  .hero-content h1 { font-size: 34px; }
  .hero-content > p:not(.copy-feedback) { max-width: 100%; overflow-wrap: anywhere; }
  .section-title h2 { font-size: 27px; overflow-wrap: anywhere; }
  .server-card strong { font-size: 18px; overflow-wrap: anywhere; }
}

/* Neon portal theme v4 */
:root {
  --bg: #050617;
  --surface: #090b1d;
  --surface-2: #10132b;
  --card: #101329;
  --line: rgba(134, 111, 255, .23);
  --muted: #9295ad;
  --purple: #975cff;
  --pink: #f052d5;
  --blue: #4c77ff;
  --cyan: #38d8ff;
}

body {
  background:
    radial-gradient(circle at 8% 18%, rgba(86, 58, 255, .12), transparent 28rem),
    radial-gradient(circle at 92% 42%, rgba(223, 62, 210, .09), transparent 32rem),
    #050617;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(137, 156, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 156, 255, .055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.status-strip {
  border-bottom-color: rgba(125, 153, 255, .1);
  background: linear-gradient(90deg, #060817, #0a0b21 50%, #060817);
}
.status-inner button { color: #bcd6ff; }
.live-pill {
  border-color: rgba(63, 224, 255, .3);
  color: #81ecff;
  background: rgba(44, 196, 229, .09);
  box-shadow: inset 0 0 18px rgba(58, 215, 255, .05);
}

.main-header {
  border-bottom-color: rgba(137, 117, 255, .16);
  background: rgba(5, 7, 22, .83);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
  backdrop-filter: blur(24px) saturate(1.25);
}
.main-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  opacity: .7;
  background: linear-gradient(90deg, transparent, #6a5cff 30%, #e34ed1 68%, transparent);
}
.header-inner { min-height: 70px; gap: 26px; }
.brand { gap: 11px; letter-spacing: .02em; }
.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(158, 104, 255, .42);
  border-radius: 12px;
  box-shadow: 0 0 26px rgba(131, 78, 255, .34);
}
.brand small { color: #7be7ff; }
.main-nav { gap: 5px; }
.main-nav > a,
.nav-dropdown > summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 13px;
  color: #aeb1c7;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.main-nav > a:hover,
.nav-dropdown > summary:hover,
.nav-dropdown[open] > summary,
.main-nav > .active {
  border-color: rgba(123, 107, 255, .2);
  color: #fff;
  background: linear-gradient(135deg, rgba(105, 88, 255, .13), rgba(225, 71, 210, .08));
}
.main-nav .active::after { display: none; }
.nav-home span { color: #6fe7ff; }
.main-nav > .vote-nav-link {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.28);
  color: #fff;
  background: linear-gradient(110deg, #ff3f6c, #d747ff, #5a65ff, #25d8e5, #38df83, #ffd447, #ff3f6c);
  background-size: 400% 400%;
  box-shadow: 0 7px 24px rgba(116,78,255,.24), inset 0 1px rgba(255,255,255,.2);
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  animation: voteRgbFlow 22s ease-in-out infinite;
}
.main-nav > .vote-nav-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 42%, rgba(255,255,255,.07));
}
.main-nav > .vote-nav-link span { position: relative; color: #fff; text-shadow: 0 0 10px #fff; }
.main-nav > .vote-nav-link:hover {
  border-color: rgba(255,255,255,.52);
  color: #fff;
  background: linear-gradient(110deg, #ff3f6c, #d747ff, #5a65ff, #25d8e5, #38df83, #ffd447, #ff3f6c);
  background-size: 400% 400%;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111,82,255,.38), 0 0 18px rgba(47,219,218,.18);
}
@keyframes voteRgbFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary i {
  margin-left: 2px;
  color: #8a8fa9;
  font-style: normal;
  transition: transform .2s;
}
.nav-dropdown[open] > summary i { transform: rotate(180deg); }
.dropdown-panel {
  width: 270px;
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(126, 112, 255, .24);
  border-radius: 16px;
  background: rgba(8, 10, 29, .97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .035);
  transform: translateX(-50%);
  backdrop-filter: blur(22px);
}
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6fe5ff, #b25cff, transparent);
}
.dropdown-panel-right { right: 0; left: auto; transform: none; }
.main-nav .dropdown-panel a,
.main-nav .dropdown-panel button {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px;
  text-align: left;
  color: #d9dcf0;
  background: transparent;
  cursor: pointer;
}
.main-nav .dropdown-panel a:hover,
.main-nav .dropdown-panel button:hover {
  border-color: rgba(130, 107, 255, .23);
  background: linear-gradient(110deg, rgba(93, 81, 226, .18), rgba(222, 72, 206, .08));
}
.dropdown-panel b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 211, 255, .18);
  border-radius: 9px;
  color: #7ce8ff;
  background: rgba(65, 172, 255, .08);
}
.dropdown-panel span,
.dropdown-panel strong,
.dropdown-panel small { display: block; }
.dropdown-panel strong { font-size: 10px; }
.dropdown-panel small { margin-top: 3px; color: #777c99; font-size: 7px; font-weight: 600; }

.account-button {
  border-color: rgba(101, 222, 255, .35);
  background: linear-gradient(115deg, #5745d8, #a542df 58%, #e151c6);
  box-shadow: 0 9px 30px rgba(109, 68, 231, .27), inset 0 1px rgba(255, 255, 255, .16);
  transition: transform .2s, box-shadow .2s;
}
.account-button:hover { transform: translateY(-2px); box-shadow: 0 13px 35px rgba(111, 68, 236, .4); }
.account-dot { text-shadow: 0 0 10px #fff; }

.hero-section {
  min-height: 680px;
  isolation: isolate;
  border-bottom-color: rgba(117, 102, 255, .16);
  background: #050617;
}
.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: conic-gradient(from 30deg, rgba(63, 214, 255, .16), rgba(129, 76, 255, .21), rgba(239, 70, 205, .16), rgba(63, 214, 255, .16));
  filter: blur(70px);
  animation: portalGlow 36s linear infinite;
}
.hero-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(125, 144, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 144, 255, .12) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at center, #000 5%, transparent 67%);
  transform: perspective(440px) rotateX(66deg) scale(1.7) translateY(34%);
}
@keyframes portalGlow { to { transform: rotate(360deg); } }
.hero-background {
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .62;
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.035);
  animation: heroBreath 32s ease-in-out infinite alternate;
}
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 6, 23, .18), rgba(5, 6, 23, .1) 42%, #050617 100%),
    radial-gradient(ellipse at 50% 45%, rgba(5, 6, 23, .72) 0%, rgba(5, 6, 23, .42) 30%, rgba(5, 6, 23, .12) 58%, rgba(5, 6, 23, .74) 100%);
}
@keyframes heroBreath {
  from { transform: scale(1.035); filter: saturate(1.08) contrast(1.08) hue-rotate(-3deg); }
  to { transform: scale(1.085); filter: saturate(1.25) contrast(1.1) hue-rotate(7deg); }
}
.hero-effects {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.sky-drift {
  position: absolute;
  inset: -15% -10% 43%;
  opacity: .36;
  background:
    radial-gradient(ellipse at 20% 45%, rgba(88, 89, 255, .22), transparent 28%),
    radial-gradient(ellipse at 72% 25%, rgba(236, 64, 222, .25), transparent 29%),
    radial-gradient(circle at 18% 32%, rgba(255,255,255,.9) 0 1px, transparent 2px),
    radial-gradient(circle at 37% 18%, rgba(255,255,255,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 38%, rgba(164,222,255,.9) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 15%, rgba(255,255,255,.85) 0 1px, transparent 2px);
  background-size: 70% 100%, 75% 100%, 83px 71px, 117px 91px, 101px 79px, 137px 109px;
  filter: blur(.2px);
  animation: skyDrift 46s ease-in-out infinite alternate, skyTwinkle 7s ease-in-out infinite;
}
.cape-motion {
  position: absolute;
  opacity: .34;
  background: linear-gradient(115deg, rgba(27,16,55,.15), rgba(150,55,224,.55) 55%, rgba(54,34,112,.12));
  filter: drop-shadow(0 0 8px rgba(167,70,246,.4));
  transform-origin: 15% 15%;
}
.cape-motion-left {
  top: 66%;
  left: 10.8%;
  width: 9.5%;
  height: 9%;
  clip-path: polygon(33% 0, 100% 35%, 65% 78%, 0 100%, 18% 28%);
  animation: capeWaveLeft 3.8s ease-in-out infinite;
}
.cape-motion-right {
  top: 68%;
  right: 5.7%;
  width: 9%;
  height: 8.5%;
  clip-path: polygon(0 30%, 68% 0, 84% 24%, 100% 100%, 34% 74%);
  transform-origin: 78% 12%;
  animation: capeWaveRight 4.2s ease-in-out infinite -.8s;
}
.scene-light {
  position: absolute;
  border-radius: 50%;
  opacity: .34;
  filter: blur(12px);
  animation: scenePulse 6s ease-in-out infinite;
}
.portal-light { top: 10%; left: 43%; width: 15%; aspect-ratio: 1; background: radial-gradient(circle, rgba(250,104,255,.72), rgba(142,72,255,.22) 46%, transparent 72%); }
.crystal-light-left { bottom: 11%; left: 3%; width: 7%; aspect-ratio: 1; background: radial-gradient(circle, rgba(80,230,255,.68), transparent 68%); animation-delay: -2s; }
.crystal-light-right { right: 2%; bottom: 13%; width: 7%; aspect-ratio: 1; background: radial-gradient(circle, rgba(80,210,255,.7), transparent 68%); animation-delay: -4s; }
@keyframes skyDrift { from { transform: translate3d(-2%,0,0) scale(1.02); } to { transform: translate3d(3%,2%,0) scale(1.09); } }
@keyframes skyTwinkle { 50% { opacity: .52; filter: blur(.45px) hue-rotate(12deg); } }
@keyframes capeWaveLeft { 0%,100% { transform: rotate(-2deg) skewY(-1deg) scaleX(.96); } 50% { transform: rotate(4deg) skewY(3deg) scaleX(1.08); } }
@keyframes capeWaveRight { 0%,100% { transform: rotate(2deg) skewY(1deg) scaleX(.97); } 50% { transform: rotate(-4deg) skewY(-3deg) scaleX(1.09); } }
@keyframes scenePulse { 0%,100% { opacity: .25; transform: scale(.88); } 50% { opacity: .55; transform: scale(1.14); } }
.hero-content { padding: 72px 0 64px; }
.hero-logo {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(146, 92, 255, .48);
  border-radius: 28px;
  box-shadow: 0 0 0 8px rgba(107, 75, 255, .06), 0 0 75px rgba(181, 72, 246, .5);
}
.hero-content h1 {
  margin: 18px 0 8px;
  font-size: clamp(43px, 6.6vw, 76px);
  line-height: .92;
  letter-spacing: -.055em;
  text-shadow: 0 15px 50px rgba(0, 0, 0, .7);
}
.hero-content h1 span {
  display: block;
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(90deg, #6fe7ff, #9e70ff 45%, #f15acb);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: .68em;
  letter-spacing: -.025em;
  filter: drop-shadow(0 0 24px rgba(137, 91, 255, .35));
}
.hero-content > p:not(.copy-feedback) { max-width: 720px; margin-top: 14px; color: #b7bbd0; }

.server-card {
  border-color: rgba(117, 150, 255, .42);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(13, 17, 47, .88), rgba(23, 13, 46, .88));
  box-shadow: 0 20px 65px rgba(0, 0, 0, .44), 0 0 40px rgba(106, 84, 255, .13), inset 0 1px rgba(255, 255, 255, .06);
}
.server-card small { color: #71dfff; }
.server-card strong { color: #fff; text-shadow: 0 0 18px rgba(126, 205, 255, .17); }
.server-card > button { background: linear-gradient(110deg, #5967ed, #a24ce4); }

.feature-ribbon {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(115, 104, 255, .14);
  background: rgba(7, 9, 27, .94);
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-grid article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 26px;
  border-right: 1px solid rgba(115, 104, 255, .12);
}
.feature-grid article:last-child { border-right: 0; }
.feature-grid article > span {
  color: transparent;
  background: linear-gradient(145deg, #64e4ff, #b663ff);
  background-clip: text;
  -webkit-background-clip: text;
  font: 900 24px var(--display);
}
.feature-grid strong,
.feature-grid small { display: block; }
.feature-grid strong { font: 800 10px var(--display); letter-spacing: .05em; }
.feature-grid small { margin-top: 4px; color: #727792; font-size: 7px; }

.content-section { position: relative; padding-block: 88px 96px; }
.modes-section { background: linear-gradient(180deg, #060719, #08091d); }
.news-section { border-top-color: rgba(115, 105, 255, .1); background: linear-gradient(180deg, #090a20, #070819); }
.staff-section {
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid rgba(128, 112, 255, .12);
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 81, 255, .15), transparent 27rem),
    radial-gradient(circle at 88% 72%, rgba(225, 70, 205, .12), transparent 30rem),
    linear-gradient(180deg, #090a20, #08091a);
}
.staff-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(126, 117, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 117, 255, .13) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.staff-title { margin-bottom: 22px; }
.staff-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 42px;
}
.staff-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--staff-color) 28%, transparent);
  border-radius: 999px;
  padding: 7px 11px;
  color: #aeb2c8;
  background: color-mix(in srgb, var(--staff-color) 8%, rgba(8,10,28,.8));
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
}
.staff-summary b { color: var(--staff-color); font: 900 11px var(--display); }
.founder-summary { --staff-color: #ff556f; }
.admin-summary { --staff-color: #4f9cff; }
.moderator-summary { --staff-color: #9b6cff; }
.assistant-summary { --staff-color: #ff6fcf; }
.builder-summary { --staff-color: #55d98b; }
.staff-tier + .staff-tier { margin-top: 46px; }
.staff-tier-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.staff-tier-heading > span {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(120, 218, 255, .22);
  border-radius: 11px;
  color: #83e7ff;
  background: rgba(74, 178, 255, .09);
  box-shadow: 0 0 24px rgba(97, 100, 255, .12);
}
.staff-tier-founders .staff-tier-heading > span { border-color: rgba(255, 85, 111, .34); color: #ff6b82; background: rgba(255, 85, 111, .09); }
.staff-tier-heading small,
.staff-tier-heading h3 { display: block; }
.staff-tier-heading small { color: #777d9c; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.staff-tier-heading h3 { margin: 2px 0 0; font: 900 14px var(--display); letter-spacing: .04em; }
.staff-tier-heading i { height: 1px; flex: 1; margin-left: 7px; background: linear-gradient(90deg, rgba(123,113,255,.25), transparent); }
.staff-tier-founders .staff-tier-heading i { background: linear-gradient(90deg, rgba(255,85,111,.3), transparent); }
.staff-grid { display: grid; gap: 14px; }
.founder-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.staff-card {
  --staff-color: #7d8cff;
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--staff-color) 22%, rgba(255,255,255,.04));
  border-radius: 16px;
  padding: 15px;
  background:
    linear-gradient(130deg, color-mix(in srgb, var(--staff-color) 9%, rgba(18,20,48,.96)), rgba(8,10,28,.97));
  box-shadow: 0 18px 42px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.035);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.staff-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, var(--staff-color), transparent);
}
.staff-card::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  right: -42px;
  bottom: -48px;
  border-radius: 50%;
  opacity: .12;
  background: var(--staff-color);
  filter: blur(18px);
}
.staff-card:hover {
  z-index: 1;
  border-color: color-mix(in srgb, var(--staff-color) 48%, transparent);
  transform: translateY(-5px);
  box-shadow: 0 23px 52px rgba(0,0,0,.34), 0 0 30px color-mix(in srgb, var(--staff-color) 13%, transparent);
}
.staff-card.founder { --staff-color: #ff556f; }
.staff-card.admin { --staff-color: #4f9cff; }
.staff-card.moderator { --staff-color: #9b6cff; }
.staff-card.assistant { --staff-color: #ff6fcf; }
.staff-card.builder { --staff-color: #55d98b; }
.staff-avatar {
  width: 50px;
  height: 50px;
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--staff-color) 46%, rgba(255,255,255,.1));
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--staff-color) 64%, #312560), color-mix(in srgb, var(--staff-color) 18%, #090b21));
  box-shadow: inset 0 1px rgba(255,255,255,.16), 0 7px 22px color-mix(in srgb, var(--staff-color) 18%, transparent);
  font: 900 14px var(--display);
  letter-spacing: -.02em;
  text-decoration: none;
}
.staff-avatar > span { position: relative; z-index: 0; color: #fff; }
.staff-avatar img {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 13px;
  object-fit: cover;
  image-rendering: pixelated;
}
.staff-avatar img.is-missing { display: none; }
.staff-info { min-width: 0; }
.staff-role {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--staff-color) 30%, transparent);
  border-radius: 999px;
  padding: 3px 6px;
  color: var(--staff-color);
  background: color-mix(in srgb, var(--staff-color) 8%, transparent);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .11em;
}
.staff-info h3 { overflow: hidden; margin: 5px 0 3px; text-overflow: ellipsis; font: 800 12px var(--display); white-space: nowrap; }
.staff-info small { display: block; color: #737994; font-size: 7px; }
.section-title > span,
.pane-heading > span,
.rules-grid > div > span { color: #6cddff; }
.section-title h2 { letter-spacing: -.035em; text-shadow: 0 8px 35px rgba(0, 0, 0, .35); }
.section-title p { color: #858aa4; }
.mode-grid,
.news-grid { gap: 25px; }
.mode-card,
.news-card {
  position: relative;
  border-color: rgba(128, 112, 255, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 21, 52, .94), rgba(10, 12, 31, .97));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .035);
}
.mode-card::after,
.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(100, 219, 255, .38), 0 0 40px rgba(103, 80, 255, .2);
  transition: opacity .25s;
}
.mode-card:hover { transform: translateY(-9px) scale(1.012); border-color: rgba(120, 205, 255, .32); }
.mode-card:hover::after,
.news-card:hover::after { opacity: 1; }
.mode-cover { height: 178px; }
.mode-card-body { position: relative; padding: 23px; }
.mode-icon { position: absolute; top: -28px; right: 20px; margin: 0; border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(9px); }
.mode-card h3 { margin-top: 4px; }
.mode-card-body > span { background: rgba(21, 169, 126, .25); box-shadow: 0 0 18px rgba(37, 208, 160, .13); }
.news-card { transition: transform .22s, border-color .22s; }
.news-card:hover { transform: translateY(-7px); border-color: rgba(123, 194, 255, .32); }
.news-cover-image,
.news-cover { height: 176px; }
.news-card time { color: #8ee7ff; background: rgba(64, 167, 224, .13); }

.rules-section {
  border-block: 1px solid rgba(123, 106, 255, .14);
  background:
    radial-gradient(circle at 15% 50%, rgba(77, 114, 255, .13), transparent 30rem),
    linear-gradient(115deg, #090b23, #130c29);
}
.rules-grid > button,
.secondary-button { border-color: rgba(102, 204, 255, .29); color: #bfefff; background: rgba(45, 121, 192, .1); }
.discord-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #3d50d4, #6744db 48%, #a43cce);
}
.discord-banner::after {
  content: "";
  position: absolute;
  inset: -200% 35%;
  background: rgba(255, 255, 255, .09);
  transform: rotate(24deg);
}
.discord-banner .site-container { position: relative; z-index: 1; }
.site-footer { border-top: 1px solid rgba(119, 105, 255, .1); background: #040512; }

.login-modal,
.portal-modal {
  border-color: rgba(116, 151, 255, .28);
  background: linear-gradient(145deg, #10132d, #070817);
  box-shadow: 0 40px 130px #000, 0 0 60px rgba(95, 75, 255, .13);
}
.portal-sidebar { background: linear-gradient(165deg, #121631, #080918); }
.action-button { background: linear-gradient(110deg, #535de5, #a247df 60%, #dc4bc2); }

@keyframes accentFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.account-button,
.action-button,
.discord-banner {
  background-size: 240% 240%;
  animation: accentFlow 24s ease-in-out infinite;
}

.hero-content h1 span {
  background-size: 240% 100%;
  animation: accentFlow 28s ease-in-out infinite;
}

.main-header::after {
  background-size: 260% 100%;
  animation: accentFlow 32s ease-in-out infinite;
}

@media (max-width: 720px) {
  .main-header { background: #07091d; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-header::after { animation: none; background-position: 50% 50%; }
  .header-inner { min-height: 64px; gap: 9px; }
  .brand span { display: none; }
  .brand img { width: 37px; height: 37px; }
  .main-nav {
    top: 64px;
    gap: 7px;
    padding: 13px 12px 17px;
    background: #080a20;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
  }
  .main-nav > a,
  .nav-dropdown > summary { width: 100%; min-height: 44px; padding: 12px 13px; }
  .main-nav > .vote-nav-link { justify-content: center; margin-top: 3px; }
  .main-nav > .vote-nav-link { animation: none; background-position: 50% 50%; }
  .nav-dropdown { width: 100%; }
  .dropdown-panel,
  .dropdown-panel-right {
    width: 100%;
    position: static;
    margin-top: 4px;
    border-radius: 12px;
    transform: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-section { min-height: 660px; }
  .hero-background { width: 100%; height: 100%; opacity: .54; object-position: center; animation: none; filter: saturate(1.08) contrast(1.05); transform: scale(1.04); }
  .sky-motion { filter: none; animation: skyDrift 46s ease-in-out infinite alternate; }
  .scene-light-motion { animation: none; }
  .cape-motion { display: none; }
  .hero-logo { width: 84px; height: 84px; border-radius: 23px; }
  .hero-content { margin-inline: 12px; padding-block: 48px; }
  .hero-content h1 { font-size: clamp(39px, 12vw, 56px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 16px 8px; border-right: 0; border-bottom: 1px solid rgba(115, 104, 255, .1); }
  .feature-grid article:last-child { border-bottom: 0; }
  .content-section { padding-block: 68px 74px; }
  .mode-cover { height: 190px; }
  .staff-summary { gap: 6px; margin-bottom: 34px; }
  .staff-summary span { padding: 6px 9px; }
  .founder-grid,
  .team-grid { grid-template-columns: 1fr; }
  .staff-card { padding: 14px; }
}

@media (max-width: 720px) and (hover: none) {
  .main-nav > a:hover,
  .nav-dropdown > summary:hover,
  .main-nav > .vote-nav-link:hover { transform: none; }
}

@media (min-width: 721px) and (max-width: 1050px) {
  .founder-grid,
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Geniş ekranlarda tarayıcıdaki yaklaşık %130 yakınlaştırma hissi. */
@media (min-width: 1200px) {
  body { zoom: 1.2; }
}

@media (min-width: 1700px) {
  body { zoom: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* CHG-087: hafif etkileşim ve hızlı katılım deneyimi */
.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: rgba(255,255,255,.025);
}
.scroll-progress span {
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #58e8ff, #7d66ff 48%, #f353d5);
  box-shadow: 0 0 16px rgba(112,113,255,.8);
  will-change: transform;
}
.ambient-pointer {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(102,101,255,.09), rgba(234,75,214,.035) 38%, transparent 70%);
  transition: opacity .7s ease;
  will-change: transform;
}
.ambient-pointer.enabled { opacity: 1; }
.main-header { z-index: 30; }
main,
.site-footer { position: relative; z-index: 1; }
.site-toast {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 17px;
  border: 1px solid rgba(104,226,255,.28);
  border-radius: 13px;
  opacity: 0;
  color: #eafcff;
  background: rgba(8,12,32,.96);
  box-shadow: 0 18px 55px rgba(0,0,0,.48), 0 0 28px rgba(84,113,255,.12);
  font: 700 10px/1.45 var(--display);
  pointer-events: none;
  transform: translate3d(0,18px,0) scale(.96);
  transition: opacity .22s ease, transform .22s ease;
}
.site-toast::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 9px; border-radius: 50%; background: #55efc3; box-shadow: 0 0 13px #55efc3; }
.site-toast[data-kind="info"]::before { background: #69d9ff; box-shadow: 0 0 13px #69d9ff; }
.site-toast.visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.back-to-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 82px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125,202,255,.26);
  border-radius: 13px;
  opacity: 0;
  color: #fff;
  background: linear-gradient(145deg, rgba(42,51,111,.94), rgba(90,44,126,.94));
  box-shadow: 0 13px 32px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.08);
  cursor: pointer;
  pointer-events: none;
  transform: translate3d(0,12px,0);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.back-to-top span { font-size: 19px; line-height: 1; }
.back-to-top:hover { border-color: rgba(112,227,255,.7); transform: translate3d(0,-2px,0); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translate3d(0,0,0); }
.reveal-item {
  opacity: 0;
  transform: translate3d(0,24px,0);
  transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
}
.reveal-item.revealed { opacity: 1; transform: translate3d(0,0,0); }
.tip-section {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-block: 1px solid rgba(105,119,255,.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(101,76,255,.12), transparent 34rem),
    linear-gradient(180deg, rgba(8,10,30,.96), rgba(5,6,22,.98));
}
.latency-pill { color: #7fe8ff; }
.latency-pill b { min-width: 20px; text-align: right; }
body.server-slow .latency-pill { color: #ffd479; }
.tip-stream {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 0;
  padding: 15px 18px;
  border: 1px solid rgba(102,204,255,.16);
  border-radius: 15px;
  background: linear-gradient(100deg, rgba(24,34,76,.68), rgba(33,18,63,.7));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.tip-stream::after { content: ""; position: absolute; top: 0; bottom: 0; left: -35%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.045), transparent); transform: skewX(-18deg); animation: tipSheen 12s ease-in-out infinite; pointer-events: none; }
.tip-spark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(129,224,255,.22); border-radius: 11px; color: #9ceeff; background: rgba(78,112,220,.13); box-shadow: 0 0 20px rgba(99,129,255,.12); }
.tip-stream small { display: block; margin-bottom: 4px; color: #8c94c3; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.tip-stream p { margin: 0; color: #c3c9df; font-size: 10px; line-height: 1.5; opacity: 1; transform: translate3d(0,0,0); transition: opacity .2s ease, transform .2s ease; }
.tip-stream p.switching { opacity: 0; transform: translate3d(0,5px,0); }
.tip-dots { display: flex; gap: 5px; }
.tip-dots i { width: 5px; height: 5px; border-radius: 999px; background: rgba(157,166,204,.28); transition: width .25s ease, background .25s ease; }
.tip-dots i.active { width: 15px; background: linear-gradient(90deg, #64dfff, #d859e5); box-shadow: 0 0 9px rgba(118,155,255,.5); }
@keyframes tipSheen { 0%,55% { left: -35%; } 85%,100% { left: 120%; } }

@media (max-width: 720px) {
  .ambient-pointer { display: none; }
  .site-toast { right: 12px; bottom: 14px; max-width: calc(100vw - 24px); }
  .back-to-top { right: 12px; bottom: 70px; width: 41px; height: 41px; }
  .reveal-item { transform: translate3d(0,14px,0); transition-duration: .45s; }
  .tip-stream { grid-template-columns: auto 1fr; padding: 13px 14px; }
  .tip-dots { display: none; }
  .tip-stream::after { display: none; }
}
