:root {
  --bg: #080b13;
  --bg-elevated: #0e1320;
  --bg-soft: #121928;
  --panel: rgba(18, 25, 40, 0.78);
  --text: #f5f7fb;
  --muted: #9da8bc;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #d5ad5a;
  --gold-bright: #efd589;
  --blue: #60b7ff;
  --blue-deep: #2578d5;
  --green: #67d7a2;
  --purple: #9b88ff;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; transform: translateY(-150%); background: white; color: #111; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(8, 11, 19, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: .12em; font-size: .9rem; }
.brand img { filter: drop-shadow(0 7px 14px rgba(0,0,0,.3)); }
.main-nav { display: flex; align-items: center; gap: 7px; }
.main-nav > a { color: #c4ccda; font-weight: 600; font-size: .92rem; padding: 10px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.main-nav > a:hover, .main-nav > a.active { color: white; background: rgba(255,255,255,.07); }
.nav-store span { display: inline-block; margin-left: 4px; font-size: .62rem; line-height: 1; text-transform: uppercase; color: #07101c; background: var(--gold-bright); padding: 4px 5px; border-radius: 5px; vertical-align: 2px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; background: white; border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  padding: 140px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 38%, rgba(46, 116, 190, .18), transparent 35%),
    radial-gradient(circle at 18% 40%, rgba(213, 173, 90, .09), transparent 32%),
    linear-gradient(180deg, #0b1020 0%, #080b13 78%);
}
.hero-grid, .page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.88), transparent 92%);
}
.hero-grid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .58; }
.hero-orb-one { width: 430px; height: 430px; right: 6%; top: 19%; border: 1px solid rgba(96,183,255,.14); box-shadow: inset 0 0 100px rgba(96,183,255,.06); }
.hero-orb-two { width: 260px; height: 260px; right: 14%; top: 29%; border: 1px solid rgba(213,173,90,.18); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #bdc8da; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(103,215,162,.1); }
.hero h1 { margin: 22px 0 22px; font-family: "Manrope", sans-serif; font-size: clamp(3.35rem, 6vw, 6.3rem); line-height: .96; letter-spacing: -.065em; max-width: 760px; }
.hero h1 span { color: transparent; background: linear-gradient(100deg, var(--gold-bright), #f8e8b4 45%, #88c7ff 92%); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 640px; margin: 0; color: var(--muted); font-size: clamp(1.03rem, 1.8vw, 1.2rem); }
.hero-actions { display: flex; align-items: stretch; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.server-address { min-width: 335px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 9px 10px 9px 18px; background: white; color: #101521; border: 0; border-radius: 13px; cursor: pointer; box-shadow: 0 18px 45px rgba(0,0,0,.28); }
.server-address-label { font-family: "Manrope", sans-serif; font-size: .84rem; letter-spacing: .1em; font-weight: 800; }
.copy-label { background: #101521; color: white; border-radius: 9px; padding: 10px 13px; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; padding: 0 20px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--gold-bright), #c7983c); color: #10131a; }
.button-secondary { background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.button-secondary:hover, .button-ghost:hover { background: rgba(255,255,255,.1); }
.button-ghost { border: 1px solid rgba(255,255,255,.16); }
.hero-meta { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-meta div { display: grid; gap: 1px; }
.hero-meta strong { font-family: "Manrope", sans-serif; font-size: 1rem; }
.hero-meta span { color: #7f8ba0; font-size: .8rem; }
.hero-art { position: relative; min-height: 530px; display: grid; place-items: center; }
.crest-card { position: relative; width: min(420px, 88vw); aspect-ratio: .82; display: flex; align-items: center; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,.11); border-radius: 34px; background: linear-gradient(155deg, rgba(255,255,255,.085), rgba(255,255,255,.018)); box-shadow: 0 40px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.1); backdrop-filter: blur(14px); overflow: hidden; }
.crest-card::before { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(96,183,255,.15); border-radius: 50%; box-shadow: 0 0 90px rgba(37,120,213,.12); }
.crest-card::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(213,173,90,.17); border-radius: 24px; }
.crest-card img { position: relative; z-index: 2; filter: drop-shadow(0 24px 35px rgba(0,0,0,.48)); }
.crest-topline { position: absolute; top: 34px; left: 32px; right: 32px; display: flex; align-items: center; gap: 14px; color: #78849a; font-size: .62rem; font-style: normal; letter-spacing: .18em; }
.crest-topline span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16)); }
.crest-topline span:last-child { background: linear-gradient(90deg, rgba(255,255,255,.16), transparent); }
.crest-topline em { font-style: normal; white-space: nowrap; }
.crest-name { position: relative; z-index: 2; margin-top: 22px; font-family: "Manrope", sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: .18em; }
.crest-subtitle { position: relative; z-index: 2; color: #7e899c; font-size: .65rem; letter-spacing: .24em; margin-top: 6px; }
.floating-tag { position: absolute; padding: 10px 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(9,13,23,.78); backdrop-filter: blur(12px); border-radius: 10px; color: #c9d3e4; font-size: .64rem; font-weight: 700; letter-spacing: .12em; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.tag-one { left: -16px; top: 23%; transform: rotate(-3deg); }
.tag-two { right: -18px; top: 42%; transform: rotate(3deg); }
.tag-three { left: 5%; bottom: 9%; transform: rotate(2deg); }
.hero-bottom-fade { position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); }

.section { padding: 112px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-heading.centered { justify-content: center; text-align: center; }
.section-heading.centered p { margin-inline: auto; }
.kicker { display: block; color: var(--gold-bright); text-transform: uppercase; letter-spacing: .17em; font-size: .7rem; font-weight: 800; margin-bottom: 12px; }
.section-heading h2, .community-copy h2, .page-hero h1 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.045em; line-height: 1.08; }
.section-heading p { color: var(--muted); margin: 12px 0 0; max-width: 640px; }
.text-link, .read-more { display: inline-flex; align-items: center; gap: 8px; color: #d9e4f5; font-weight: 700; font-size: .9rem; }
.text-link span, .read-more span { transition: transform .2s ease; }
.text-link:hover span, .read-more:hover span { transform: translateX(4px); }

.announcements-preview { background: linear-gradient(180deg, var(--bg), #0b0f19); }
.news-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 22px; }
.featured-news, .compact-news { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.featured-news { overflow: hidden; }
.news-visual { position: relative; min-height: 320px; overflow: hidden; display: grid; place-items: center; }
.visual-launch { background: radial-gradient(circle at 50% 44%, rgba(96,183,255,.25), transparent 25%), linear-gradient(135deg, #111a2b, #080c15 70%); }
.visual-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; transform: perspective(500px) rotateX(62deg) scale(1.5); transform-origin: bottom; opacity: .55; }
.visual-badge { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 7px 10px; background: rgba(8,11,19,.7); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.visual-wordmark { position: relative; z-index: 1; font-family: "Manrope", sans-serif; font-size: 7.2rem; font-weight: 800; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.64); filter: drop-shadow(0 0 34px rgba(96,183,255,.3)); }
.news-content { padding: 29px 31px 32px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; color: #7f8ba0; font-size: .75rem; }
.post-meta span:first-child { color: var(--blue); font-weight: 700; }
.news-content h3, .compact-news h3 { font-family: "Manrope", sans-serif; letter-spacing: -.03em; }
.news-content h3 { margin: 12px 0 8px; font-size: 1.7rem; }
.news-content p, .compact-news p { color: var(--muted); }
.news-content p { margin: 0 0 20px; }
.news-stack { display: grid; gap: 16px; }
.compact-news { display: grid; grid-template-columns: 78px 1fr; gap: 20px; padding: 23px; align-items: center; }
.compact-news h3 { margin: 7px 0 4px; font-size: 1.1rem; }
.compact-news p { margin: 0; font-size: .88rem; line-height: 1.5; }
.compact-icon { width: 74px; height: 74px; border-radius: 17px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); }
.compact-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-update { background: rgba(96,183,255,.09); color: #80c7ff; }
.icon-elaria { background: rgba(155,136,255,.09); color: #ac9cff; }
.icon-community { background: rgba(103,215,162,.09); color: #72dca9; }

.games-section { position: relative; background: #0b0f19; }
.games-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 10%, rgba(96,183,255,.075), transparent 38%); pointer-events: none; }
.game-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.game-card { position: relative; min-height: 350px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.game-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.17); }
.game-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -80px; top: -90px; border-radius: 50%; background: currentColor; filter: blur(70px); opacity: .11; }
.game-number { color: #566177; font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.game-icon { width: 64px; height: 64px; margin-top: 46px; border-radius: 17px; display: grid; place-items: center; border: 1px solid currentColor; background: rgba(255,255,255,.025); }
.game-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.game-card h3 { margin: 22px 0 9px; font-family: "Manrope", sans-serif; font-size: 1.25rem; }
.game-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.game-status { position: absolute; left: 28px; bottom: 26px; color: #8793a8; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.game-sg { color: #ffbc73; }.game-bw { color: #ff7b87; }.game-arcade { color: #6fddae; }.game-elaria { color: #998bff; }

.community-section { background: linear-gradient(180deg, #0b0f19, var(--bg)); }
.community-card { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; min-height: 430px; padding: 64px 70px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.11); background: linear-gradient(125deg, #121a2a 0%, #0d1320 57%, #101929 100%); box-shadow: var(--shadow); }
.community-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, black); }
.community-copy { position: relative; z-index: 2; }
.community-copy p { max-width: 640px; color: var(--muted); margin: 18px 0 29px; }
.community-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.community-art { position: relative; min-height: 280px; display: grid; place-items: center; }
.community-art img { position: relative; z-index: 2; filter: drop-shadow(0 25px 38px rgba(0,0,0,.45)); }
.community-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(96,183,255,.16); }
.ring-one { width: 280px; height: 280px; }
.ring-two { width: 210px; height: 210px; border-color: rgba(213,173,90,.18); }

.site-footer { border-top: 1px solid var(--line); background: #070a11; padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.footer-brand p { max-width: 400px; color: #7f8ba0; font-size: .9rem; margin-top: 18px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 7px; font-family: "Manrope", sans-serif; font-size: .84rem; }
.footer-links a { color: #7f8ba0; font-size: .86rem; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 58px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #5f697a; font-size: .76rem; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 16px; border-radius: 10px; background: white; color: #101521; font-weight: 700; font-size: .84rem; box-shadow: 0 15px 35px rgba(0,0,0,.35); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.page-hero { position: relative; padding: 175px 0 92px; overflow: hidden; background: radial-gradient(circle at 65% 18%, rgba(96,183,255,.14), transparent 31%), linear-gradient(180deg, #0b1020, var(--bg)); }
.page-hero-grid { mask-image: linear-gradient(to bottom, black, transparent); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.6rem); }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; }
.news-page { padding-top: 72px; }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.filter-tabs { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-tab { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #8f9bb0; border-radius: 999px; padding: 9px 15px; cursor: pointer; font-weight: 700; font-size: .8rem; }
.filter-tab:hover, .filter-tab.active { background: white; color: #0d121d; border-color: white; }
.news-search { width: min(280px, 100%); display: flex; align-items: center; gap: 9px; padding: 0 13px; min-height: 43px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.news-search svg { width: 18px; height: 18px; fill: none; stroke: #7d899d; stroke-width: 1.8; }
.news-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; }
.news-search input::placeholder { color: #667185; }
.announcement-list { display: grid; gap: 22px; }
.announcement-card { display: grid; grid-template-columns: 360px 1fr; min-height: 290px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(16,22,35,.73); overflow: hidden; box-shadow: 0 22px 55px rgba(0,0,0,.23); }
.announcement-card[hidden] { display: none; }
.announcement-thumb { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 290px; }
.announcement-body { padding: 36px 38px; }
.announcement-body h2 { margin: 11px 0 9px; font-family: "Manrope", sans-serif; font-size: 1.7rem; letter-spacing: -.035em; }
.announcement-body > p, .article-expanded p { color: var(--muted); }
.announcement-body > p { margin: 0 0 19px; }
.article-toggle { padding: 0; border: 0; background: none; cursor: pointer; }
.article-expanded { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.article-expanded p:last-child { margin-bottom: 0; }
.visual-development { background: linear-gradient(135deg, #141d2e, #0a101b); }
.thumb-code { position: absolute; top: 22px; left: 24px; font-family: "Manrope", sans-serif; color: #617087; font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
.dev-bars { width: 160px; display: grid; gap: 12px; transform: rotate(-6deg); }
.dev-bars span { height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(96,183,255,.2), rgba(96,183,255,.9)); box-shadow: 0 0 20px rgba(96,183,255,.15); }
.dev-bars span:nth-child(1) { width: 74%; }.dev-bars span:nth-child(2) { width: 100%; }.dev-bars span:nth-child(3) { width: 56%; }.dev-bars span:nth-child(4) { width: 84%; }
.visual-elaria { background: radial-gradient(circle, rgba(155,136,255,.17), transparent 42%), linear-gradient(135deg, #141425, #090b15); }
.visual-elaria > span, .visual-community > span { position: absolute; bottom: 24px; letter-spacing: .28em; color: #818da1; font-size: .64rem; font-weight: 800; }
.shard { position: absolute; width: 34px; height: 90px; background: linear-gradient(155deg, #b9b0ff, #5e61e8 48%, #252b69); clip-path: polygon(50% 0, 100% 38%, 64% 100%, 16% 84%, 0 34%); filter: drop-shadow(0 0 22px rgba(155,136,255,.35)); }
.shard-a { transform: translateY(-7px); }.shard-b { transform: translate(-50px, 22px) scale(.66) rotate(-17deg); opacity: .72; }.shard-c { transform: translate(50px, 28px) scale(.55) rotate(18deg); opacity: .55; }
.visual-community { background: radial-gradient(circle, rgba(103,215,162,.13), transparent 38%), linear-gradient(135deg, #101b21, #090d13); }
.community-dots { width: 160px; height: 145px; position: relative; }
.community-dots i { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #a8f1d0, #3caa79); box-shadow: 0 0 25px rgba(103,215,162,.18); }
.community-dots i:nth-child(1) { left: 63px; top: 5px; }.community-dots i:nth-child(2) { left: 12px; top: 45px; transform: scale(.75); opacity: .75; }.community-dots i:nth-child(3) { right: 12px; top: 45px; transform: scale(.75); opacity: .75; }.community-dots i:nth-child(4) { left: 38px; bottom: 4px; transform: scale(.62); opacity: .55; }.community-dots i:nth-child(5) { right: 38px; bottom: 4px; transform: scale(.62); opacity: .55; }.community-dots i:nth-child(6) { left: 63px; top: 68px; transform: scale(.88); }
.empty-state { text-align: center; padding: 90px 20px; }
.empty-state img { margin: 0 auto 20px; }
.empty-state h2 { font-family: "Manrope", sans-serif; margin: 0; }
.empty-state p { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .13s; }

@media (max-width: 1040px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-art { min-height: 500px; }
  .news-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .community-card { grid-template-columns: 1fr .55fr; padding: 56px; }
  .announcement-card { grid-template-columns: 310px 1fr; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 70px; }
  .menu-toggle { display: flex; }
  .main-nav { position: fixed; inset: 70px 14px auto; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); background: rgba(10,14,23,.97); backdrop-filter: blur(18px); border-radius: 16px; box-shadow: var(--shadow); transform: translateY(-15px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 13px 14px; border-radius: 10px; }
  .hero { min-height: auto; padding-top: 126px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .hero-art { min-height: 460px; }
  .crest-card { width: min(390px, 90vw); }
  .section { padding: 86px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 315px; }
  .community-card { grid-template-columns: 1fr; padding: 42px 28px 30px; }
  .community-art { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-bottom { flex-direction: column; }
  .news-toolbar { align-items: stretch; flex-direction: column; }
  .news-search { width: 100%; }
  .announcement-card { grid-template-columns: 1fr; }
  .announcement-thumb { min-height: 220px; }
}

@media (max-width: 520px) {
  .brand span { font-size: .75rem; }
  .hero-actions { display: grid; }
  .server-address { min-width: 0; width: 100%; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .hero-meta span { font-size: .69rem; }
  .hero-art { min-height: 415px; }
  .crest-card { aspect-ratio: .88; }
  .crest-card img { width: 180px; height: 180px; }
  .crest-name { font-size: 1rem; }
  .floating-tag { font-size: .53rem; }
  .tag-one { left: -2px; }.tag-two { right: -3px; }
  .compact-news { grid-template-columns: 58px 1fr; padding: 18px; gap: 14px; }
  .compact-icon { width: 58px; height: 58px; }
  .compact-icon svg { width: 27px; height: 27px; }
  .news-content { padding: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: 145px; }
  .filter-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .filter-tab:first-child { grid-column: 1 / -1; }
  .announcement-body { padding: 26px 22px; }
  .announcement-body h2 { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
