:root {
  --bg: #0d1416;
  --bg-2: #111c1d;
  --surface: #182325;
  --surface-2: #202d2e;
  --panel: #293334;
  --panel-light: #354041;
  --line: #465253;
  --line-dark: #070c0d;
  --text: #f7f6e9;
  --muted: #aeb7b2;
  --ice: #8be6ee;
  --ice-2: #d9fbff;
  --snow: #efffff;
  --frost: #68bac4;
  --grass: #72ae49;
  --grass-dark: #447331;
  --dirt: #765138;
  --stone: #7e8785;
  --gold: #f6cf5b;
  --success: #7bd65c;
  --danger: #e66b6b;
  --pixel-shadow: 0 5px 0 #060a0b;
  --shadow: 0 24px 70px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(180deg, #10191b 0, #0b1214 100%);
  background-size: 32px 32px, 32px 32px, auto;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.09) 3px 4px),
    radial-gradient(circle at 50% -10%, rgba(101,197,207,.18), transparent 38%);
  z-index: -3;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { position: relative; padding: 112px 0; }

.world-fog {
  position: fixed;
  width: 500px;
  aspect-ratio: 1;
  filter: blur(120px);
  opacity: .09;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
}
.fog-one { left: -260px; top: 8%; background: #77dce7; }
.fog-two { right: -300px; top: 52%; background: #7fc8ce; }

/* Pixel framing helpers */
.site-header,
.game-window,
.server-panel,
.inventory-shell,
.contact-form,
.admin-card {
  image-rendering: pixelated;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: .2s ease;
}
.site-header.scrolled {
  background: rgba(11,18,20,.94);
  border-bottom: 3px solid #263234;
  box-shadow: 0 4px 0 rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
}
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid #071012;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12) 50%, transparent 50%),
    linear-gradient(rgba(255,255,255,.08) 50%, transparent 50%),
    #58b4be;
  background-size: 14px 14px;
  box-shadow: inset -5px -5px 0 rgba(0,0,0,.2), inset 4px 4px 0 rgba(255,255,255,.12), var(--pixel-shadow);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: -7px;
  height: 7px;
  background: #e9ffff;
  border: 3px solid #071012;
  border-bottom: 0;
}
.brand-mark i { display: none; }
.brand-mark b { position: relative; z-index: 2; font: 700 17px/1 "Pixelify Sans", sans-serif; text-shadow: 2px 2px 0 #173d42; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 21px/.9 "Pixelify Sans", sans-serif; letter-spacing: .04em; }
.brand small { margin-top: 5px; color: #8faaa9; font-size: 8px; font-weight: 800; letter-spacing: .18em; }

.nav { display: flex; align-items: center; gap: 8px; font: 700 13px/1 "Pixelify Sans", sans-serif; color: #c2ccca; }
.nav a { padding: 12px 13px; border: 2px solid transparent; transition: .15s ease; }
.nav a:hover { color: var(--ice-2); background: #1d292a; border-color: #354344; box-shadow: inset 0 -3px 0 #101617; }
.nav-discord { color: #0b1718 !important; background: var(--ice) !important; border: 3px solid #0a1112 !important; box-shadow: inset -4px -4px 0 #4f9ba3, inset 3px 3px 0 #c7fbff, 0 4px 0 #050809; }
.nav-discord:hover { transform: translateY(1px); box-shadow: inset -4px -4px 0 #4f9ba3, inset 3px 3px 0 #c7fbff, 0 2px 0 #050809 !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 3px solid #071012; background: #263234; box-shadow: var(--pixel-shadow); padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; margin: 4px 0; background: #eafafa; }

/* Hero */
.hero { min-height: 900px; padding-top: 160px; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 92px;
  background:
    linear-gradient(to bottom, #f0ffff 0 14px, transparent 14px),
    repeating-linear-gradient(90deg, #657272 0 32px, #5b6666 32px 64px);
  border-top: 4px solid #061011;
  opacity: .13;
}
.hero-blocks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background:
    linear-gradient(135deg, transparent 0 60%, rgba(92,170,178,.08) 60% 62%, transparent 62%),
    linear-gradient(45deg, transparent 0 76%, rgba(255,255,255,.025) 76% 77%, transparent 77%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; }
.eyebrow, .kicker { color: var(--ice); font: 700 13px/1.25 "Pixelify Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 22px; padding: 8px 10px; border: 2px solid #334446; background: rgba(22,33,35,.7); }
.pixel-dot { width: 9px; height: 9px; background: var(--success); box-shadow: 3px 0 0 #355b2b, 0 3px 0 #355b2b; }
h1, h2, h3 { font-family: "Pixelify Sans", sans-serif; }
h1 { margin-bottom: 10px; line-height: .78; text-transform: uppercase; }
h1 .title-ice, h1 .title-snow { display: inline-block; font-size: clamp(68px, 8.5vw, 118px); letter-spacing: -.055em; text-shadow: 5px 5px 0 #0c1516, 8px 8px 0 rgba(0,0,0,.25); }
h1 .title-ice { color: #75cbd3; }
h1 .title-snow { color: #ecffff; }
h1 small { display: block; margin: 14px 0 0 6px; color: #82a0a0; font-size: 18px; letter-spacing: .38em; text-shadow: none; }
.hero-tagline { margin: 34px 0 10px; color: var(--gold); font: 700 19px/1.2 "Pixelify Sans", sans-serif; letter-spacing: .06em; }
.hero-text { max-width: 650px; color: #b9c4c1; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 28px; }

.btn {
  min-height: 52px;
  border: 3px solid #050a0b;
  border-radius: 0;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 13px/1 "Pixelify Sans", sans-serif;
  letter-spacing: .035em;
  cursor: pointer;
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.25), inset 3px 3px 0 rgba(255,255,255,.16), 0 5px 0 #050809;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: inset -3px -3px 0 rgba(0,0,0,.22), inset 2px 2px 0 rgba(255,255,255,.12), 0 2px 0 #050809; }
.btn-primary { background: #7ed2da; color: #0a1617; }
.btn-primary strong { padding-left: 11px; border-left: 2px solid rgba(11,31,33,.3); font-size: 12px; }
.btn-secondary { background: #333f40; color: #eef9f7; border-color: #070c0d; }
.btn-ghost { background: #333f40; color: #eef9f7; border-color: #070c0d; }
.btn-icon { font-size: 11px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span { padding: 9px 11px; border: 2px solid #2c3a3b; background: #151f20; color: #839392; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.hero-meta b { color: #dff5f3; }

.game-window {
  position: relative;
  border: 4px solid #050a0b;
  background: #283334;
  box-shadow: inset 5px 5px 0 #465354, inset -5px -5px 0 #161e1f, 11px 12px 0 rgba(0,0,0,.24), var(--shadow);
}
.game-window-bar { height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 4px solid #080d0e; background: #364244; color: #dce9e6; font: 700 12px/1 "Pixelify Sans", sans-serif; letter-spacing: .07em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; display: block; background: #697777; border: 1px solid #172020; }
.voxel-scene { position: relative; height: 300px; overflow: hidden; background: linear-gradient(#7bb9c3 0 57%, #b9d7d7 57% 60%, #586565 60%); border-bottom: 4px solid #080d0e; }
.voxel-scene::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 3px, transparent 3px 32px), repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 3px, transparent 3px 32px); }
.sky-pixel { position: absolute; background: rgba(238,255,255,.48); }
.sky-a { width: 88px; height: 19px; top: 45px; right: 52px; box-shadow: 32px 0 0 rgba(238,255,255,.48), -20px 12px 0 rgba(238,255,255,.48); }
.sky-b { width: 52px; height: 14px; top: 82px; left: 42px; box-shadow: 20px 0 0 rgba(238,255,255,.48); }
.mountain { position: absolute; bottom: 65px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mountain-back { width: 330px; height: 170px; right: -35px; background: linear-gradient(135deg, #b6c6c5 0 34%, #7d8c8b 34% 63%, #647271 63%); opacity: .84; }
.mountain-front { width: 320px; height: 195px; left: -90px; background: linear-gradient(135deg, #d9eeee 0 28%, #7d8b8a 28% 62%, #566362 62%); }
.snow-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; background: linear-gradient(#e9ffff 0 18px, #9daaaa 18px 23px, #5d6868 23px); border-top: 4px solid rgba(4,9,10,.55); }
.mine-entrance { position: absolute; z-index: 4; bottom: 45px; left: 50%; width: 118px; height: 110px; transform: translateX(-50%); background: #4b5655; border: 6px solid #232b2b; box-shadow: inset 12px 0 0 #697473, inset -12px 0 0 #303939; }
.mine-entrance::before { content: ""; position: absolute; left: 22px; right: 22px; top: 18px; bottom: 0; background: #151c1d; box-shadow: inset 0 15px 0 #0b0f10; }
.mine-entrance span { position: absolute; z-index: 2; left: 12px; right: 12px; top: 0; height: 12px; background: #856141; border-bottom: 4px solid #4a3426; }
.ice-column { position: absolute; bottom: 40px; z-index: 3; width: 28px; background: #8cdce2; border: 4px solid #44777c; box-shadow: inset 8px 0 0 #baf5f8, inset -6px 0 0 #5da5ab; }
.ice-one { height: 92px; right: 36px; }
.ice-two { height: 62px; right: 72px; }
.ore { position: absolute; z-index: 5; bottom: 22px; width: 42px; height: 42px; background: #737d7b; border: 4px solid #3f4948; box-shadow: inset 9px 0 0 rgba(255,255,255,.08); }
.ore::before, .ore::after { content: ""; position: absolute; width: 9px; height: 9px; background: #74e1eb; box-shadow: 12px 12px 0 #74e1eb; }
.ore::before { left: 6px; top: 7px; }
.ore::after { right: 6px; bottom: 7px; }
.ore-one { left: 28px; }.ore-two { left: 74px; bottom: 12px; transform: scale(.75); }
.voxel-sign { position: absolute; z-index: 8; top: 24px; left: 50%; transform: translateX(-50%); padding: 8px 14px 7px; background: #7b5635; border: 4px solid #342417; color: #fff2d1; font: 700 18px/.9 "Pixelify Sans", sans-serif; text-align: center; text-shadow: 2px 2px 0 #3b291b; box-shadow: inset 4px 0 0 rgba(255,255,255,.08), inset -4px 0 0 rgba(0,0,0,.12); }
.voxel-sign small { font-size: 9px; color: #d6bea2; letter-spacing: .12em; }
.server-panel { padding: 18px; background: #222c2d; }
.status-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #9caaa8; font: 700 10px/1 "Pixelify Sans", sans-serif; letter-spacing: .08em; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 2px solid #4b5758; background: #1b2425; color: #b9c5c2; }
.status-pill i { width: 8px; height: 8px; background: #9ca5a2; box-shadow: 2px 0 0 #525957; }
.status-pill.online { color: #baf5a6; border-color: #4e7044; }.status-pill.online i { background: var(--success); box-shadow: 2px 0 0 #356b28; }
.status-pill.offline { color: #ffc0c0; border-color: #6c4343; }.status-pill.offline i { background: var(--danger); }
.address-button { width: 100%; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 12px; text-align: left; padding: 10px; border: 3px solid #090e0f; background: #303b3c; box-shadow: inset 3px 3px 0 #485657, inset -3px -3px 0 #1c2425; cursor: pointer; }
.server-cube { width: 44px; height: 44px; display: grid; place-items: center; background: #6d7775; border: 3px solid #161e1f; color: #dff8f8; font-size: 21px; box-shadow: inset 6px 0 0 rgba(255,255,255,.08), inset -6px 0 0 rgba(0,0,0,.15); }
.address-copy small, .status-stats small { display: block; color: #8b9a98; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.address-copy strong { display: block; margin-top: 4px; color: #f3ffff; font: 700 17px/1 "Pixelify Sans", sans-serif; }
.copy-icon { color: var(--ice); font: 700 9px/1 "Pixelify Sans", sans-serif; }
.status-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.status-stats > div { padding: 10px 11px; border: 2px solid #111819; background: #172021; box-shadow: inset 2px 2px 0 #2a3536; }
.status-stats strong { display: block; margin-top: 4px; color: #edf9f7; font: 700 13px/1.2 "Pixelify Sans", sans-serif; }
.status-note { margin: 10px 0 0; color: #718482; font-size: 9px; line-height: 1.4; }
.hero-bottom { position: relative; z-index: 3; margin-top: 54px; color: #66807e; font: 700 10px/1 "Pixelify Sans", sans-serif; letter-spacing: .12em; }
.hero-bottom span { color: var(--ice); margin-right: 7px; }

/* Headings and Minecraft cards */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(44px, 5.5vw, 72px); line-height: .88; letter-spacing: -.035em; text-transform: uppercase; text-shadow: 4px 4px 0 #070c0d; }
.section-heading h2 em, .contact-copy h2 em { color: var(--ice); font-style: normal; }
.section-heading > p { max-width: 450px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.server-section { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 20%); }
.join-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.step-card { position: relative; min-height: 170px; display: grid; grid-template-columns: 82px 1fr; gap: 17px; align-items: center; padding: 20px; border: 3px solid #080d0e; background: #202b2c; box-shadow: inset 4px 4px 0 #344142, inset -4px -4px 0 #131a1b, 0 6px 0 rgba(0,0,0,.22); }
.step-number { position: absolute; top: 8px; right: 10px; color: #536765; font: 700 13px/1 "Pixelify Sans", sans-serif; }
.item-slot { width: 74px; height: 74px; display: grid; place-items: center; border: 4px solid #12191a; background: #151d1e; box-shadow: inset 4px 4px 0 #080c0d, inset -3px -3px 0 #354041; }
.pixel-item { display: grid; place-items: center; width: 47px; height: 47px; color: #d8f7f7; font-size: 29px; text-shadow: 2px 2px 0 #203334; }
.grass-item { position: relative; background: var(--dirt); border: 3px solid #38261b; box-shadow: inset 7px 0 0 rgba(255,255,255,.05), inset -6px 0 0 rgba(0,0,0,.14); }
.grass-item::before { content: ""; position: absolute; left: -3px; right: -3px; top: -3px; height: 13px; background: var(--grass); border: 3px solid #315626; }
.step-card small { color: var(--ice); font: 700 9px/1 "Pixelify Sans", sans-serif; letter-spacing: .09em; }
.step-card h3 { margin: 6px 0 7px; font-size: 20px; line-height: 1; }
.step-card p { margin: 0; color: #8fa09e; font-size: 11px; line-height: 1.55; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 3px solid #080d0e; box-shadow: 0 7px 0 rgba(0,0,0,.2); }
.feature-card { min-height: 250px; padding: 23px; border-right: 3px solid #080d0e; background: #182223; transition: background .15s ease, transform .15s ease; }
.feature-card:last-child { border-right: 0; }
.feature-card:hover { background: #202d2e; transform: translateY(-3px); }
.feature-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; background: #293637; border: 3px solid #080d0e; box-shadow: inset 3px 3px 0 #3c4a4b, inset -3px -3px 0 #151d1e; color: var(--ice); font-size: 22px; }
.feature-index { color: #607371; font: 700 10px/1 "Pixelify Sans", sans-serif; }
.feature-card h3 { margin-bottom: 10px; font-size: 21px; }
.feature-card p { margin: 0; color: #91a19f; font-size: 12px; line-height: 1.65; }
.join-strip { margin-top: 22px; display: grid; grid-template-columns: 62px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border: 4px solid #071012; background: #314041; box-shadow: inset 4px 4px 0 #485758, inset -4px -4px 0 #1a2425, 0 7px 0 rgba(0,0,0,.23); }
.join-pickaxe { width: 54px; height: 54px; display: grid; place-items: center; background: #192223; border: 3px solid #0a1011; font-size: 25px; color: #dff7f7; }
.join-strip small { display: block; color: #89a3a0; font: 700 9px/1 "Pixelify Sans", sans-serif; letter-spacing: .11em; }
.join-strip strong { display: block; margin-top: 4px; color: #efffff; font: 700 25px/1 "Pixelify Sans", sans-serif; }
.join-strip p { margin: 5px 0 0; color: #8fa19f; font-size: 11px; }

/* Ranks as inventory */
.ranks-section { background: linear-gradient(180deg, rgba(90,130,130,.045), transparent 20%, transparent 80%, rgba(90,130,130,.035)); border-top: 3px solid rgba(255,255,255,.025); border-bottom: 3px solid rgba(0,0,0,.18); }
.inventory-shell { padding: 20px; border: 5px solid #080d0e; background: #8b8f8d; box-shadow: inset 6px 6px 0 #b1b4b1, inset -6px -6px 0 #555a58, 0 9px 0 rgba(0,0,0,.3); }
.inventory-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding: 0 4px; color: #171b1b; font: 700 18px/1 "Pixelify Sans", sans-serif; text-shadow: 1px 1px 0 rgba(255,255,255,.3); }
.inventory-title small { color: #404746; font-size: 10px; }
.ranks-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.rank-card { position: relative; min-height: 350px; padding: 10px; border: 4px solid #373b3a; background: #a4a8a5; box-shadow: inset 4px 4px 0 #676b69, inset -4px -4px 0 #d0d2d0; transition: transform .15s ease; color: #171b1b; }
.rank-card:hover { transform: translateY(-4px); }
.rank-card.featured { outline: 4px solid var(--rank-accent, #8be6ee); outline-offset: -4px; }
.rank-inner { min-height: 322px; display: flex; flex-direction: column; }
.rank-slot { position: relative; height: 108px; display: grid; place-items: center; border: 4px solid #555a58; background: #707573; box-shadow: inset 4px 4px 0 #343837, inset -4px -4px 0 #aaaead; }
.rank-badge { position: absolute; right: 7px; bottom: 5px; color: #fff; font: 700 12px/1 "Pixelify Sans", sans-serif; text-shadow: 2px 2px 0 #222; }
.rank-crystal { position: relative; width: 52px; height: 52px; background: var(--rank-accent, #8be6ee); border: 4px solid #252b2a; transform: rotate(45deg) scale(.72); box-shadow: inset 8px 0 0 rgba(255,255,255,.23), inset -8px 0 0 rgba(0,0,0,.18), 4px 4px 0 rgba(0,0,0,.2); }
.rank-crystal i { position: absolute; width: 12px; height: 12px; left: 7px; top: 7px; background: rgba(255,255,255,.48); }
.rank-featured { position: absolute; left: 4px; top: 4px; padding: 4px 5px; background: #242b2a; color: #fff; font: 700 8px/1 "Pixelify Sans", sans-serif; }
.rank-label { margin: 14px 2px 3px; color: #575f5d; font: 700 8px/1 "Pixelify Sans", sans-serif; letter-spacing: .08em; }
.rank-card h3 { margin: 4px 2px 6px; min-height: 41px; color: #101414; font-size: 21px; line-height: .9; text-transform: uppercase; }
.rank-price { margin: 0 2px 12px; color: #1f4d51; font: 700 24px/1 "Pixelify Sans", sans-serif; }
.rank-price small { color: #535b59; font-size: 8px; }
.rank-benefits { list-style: none; padding: 0; margin: 0 2px 16px; }
.rank-benefits li { position: relative; padding-left: 16px; margin: 7px 0; color: #37403e; font-size: 10px; line-height: 1.35; }
.rank-benefits li::before { content: "■"; position: absolute; left: 0; top: 1px; color: var(--rank-accent, #4d8c91); font-size: 8px; }
.rank-card .btn { width: 100%; margin-top: auto; min-height: 42px; background: #48504f; color: #fff; font-size: 11px; }
.section-footnote { margin: 20px 0 0; color: #718381; font-size: 11px; }
.loading-card, .empty-state { grid-column: 1 / -1; padding: 34px; border: 3px dashed #53605f; background: rgba(19,29,30,.5); color: #a8b8b5; text-align: center; font: 700 13px/1.4 "Pixelify Sans", sans-serif; }
.inventory-shell .loading-card { background: #747977; color: #171b1b; border-color: #4b504f; }

/* Staff */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.staff-card { position: relative; padding: 18px; border: 4px solid #080d0e; background: #202b2c; box-shadow: inset 4px 4px 0 #354142, inset -4px -4px 0 #12191a, 0 6px 0 rgba(0,0,0,.2); }
.staff-avatar { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 18px; border: 4px solid #090e0f; background: linear-gradient(90deg, #77cdd5 50%, #64b9c2 50%); box-shadow: inset 9px 0 0 rgba(255,255,255,.09), inset -9px 0 0 rgba(0,0,0,.13); color: #fff; font: 700 22px/1 "Pixelify Sans", sans-serif; text-shadow: 2px 2px 0 #275a5f; }
.staff-card h3 { margin-bottom: 5px; font-size: 20px; }.staff-card p { margin: 0; color: #7f9693; font: 700 10px/1 "Pixelify Sans", sans-serif; letter-spacing: .07em; text-transform: uppercase; }

/* Support / Book UI */
.contact-section { padding-bottom: 132px; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.contact-copy h2 { margin: 10px 0 22px; font-size: clamp(50px, 6vw, 80px); line-height: .85; letter-spacing: -.04em; text-transform: uppercase; text-shadow: 4px 4px 0 #070c0d; }
.contact-copy > p { max-width: 470px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-links { margin-top: 34px; display: grid; gap: 9px; }
.contact-links a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 13px; padding: 12px; border: 3px solid #080d0e; background: #1d2829; box-shadow: inset 3px 3px 0 #303d3e, inset -3px -3px 0 #111718; transition: transform .12s ease; }
.contact-links a:hover { transform: translateX(4px); }
.link-icon { width: 34px; height: 34px; display: grid; place-items: center; background: #2d3a3b; border: 2px solid #0a1011; color: var(--ice); }
.contact-links span:not(.link-icon) { color: #8da3a0; font: 700 10px/1 "Pixelify Sans", sans-serif; letter-spacing: .08em; }
.contact-links strong { color: #e8f4f2; font-size: 11px; }
.contact-form { padding: 25px; border: 5px solid #3a281c; background: #d7c8a8; color: #29241c; box-shadow: inset 6px 6px 0 #eee1c4, inset -6px -6px 0 #aa9672, 9px 10px 0 rgba(0,0,0,.27); }
.book-title { margin: -5px 0 20px; padding-bottom: 13px; border-bottom: 3px solid rgba(91,71,47,.28); color: #5b472f; font: 700 18px/1 "Pixelify Sans", sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label, .admin-panel form > label, .admin-panel .form-row label, .admin-login label { display: block; margin-bottom: 15px; }
.contact-form label > span, .admin-panel label > span, .admin-login label > span { display: block; margin-bottom: 7px; color: #5f523f; font: 700 10px/1 "Pixelify Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea { width: 100%; outline: none; border: 3px solid #5c513f; border-radius: 0; background: #f1e9d6; color: #2f2b23; padding: 12px 13px; box-shadow: inset 3px 3px 0 rgba(78,64,45,.13); transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { border-color: #34747a; box-shadow: inset 3px 3px 0 rgba(78,64,45,.13), 0 0 0 3px rgba(104,186,196,.2); }
textarea { resize: vertical; min-height: 132px; }
select option { color: #27231d; background: #eee5d2; }
.form-footer { display: flex; align-items: center; gap: 15px; }.form-footer p { margin: 0; color: #5e533f; font-size: 11px; line-height: 1.4; }
.contact-form .btn-primary { background: #6fbec5; }

/* Footer */
.site-footer { border-top: 4px solid #080d0e; padding: 36px 0 24px; background: #090f10; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.footer-grid > p { margin: 0; color: #607573; font-size: 10px; text-align: center; }.footer-links { display: flex; justify-content: flex-end; gap: 18px; color: #78908d; font-size: 10px; }
.copyright { padding-top: 22px; margin-top: 24px; border-top: 2px solid #172020; color: #415250; font-size: 9px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 25px); opacity: 0; pointer-events: none; border: 3px solid #071012; background: #324041; color: #efffff; padding: 12px 16px; box-shadow: var(--pixel-shadow); font: 700 12px/1 "Pixelify Sans", sans-serif; transition: .2s ease; }.toast.show { transform: translate(-50%, 0); opacity: 1; }

.snow { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; opacity: .38; }.snowflake { position: absolute; top: -20px; color: rgba(226,255,255,.75); font-size: 8px; animation: snowfall linear infinite; }@keyframes snowfall { to { transform: translate3d(var(--drift), 105vh, 0) rotate(180deg); opacity: .04; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }

/* Admin keeps the same backend but follows the new Minecraft UI */
.admin-body { min-height: 100vh; padding: 120px 0 70px; }
.admin-shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.admin-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 30px; }
.admin-heading h1 { margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: .85; text-shadow: 4px 4px 0 #070c0d; }
.admin-card { border: 4px solid #080d0e; background: #222d2e; padding: 24px; box-shadow: inset 4px 4px 0 #364344, inset -4px -4px 0 #131a1b, 0 7px 0 rgba(0,0,0,.2); }
.admin-login { max-width: 520px; margin: 50px auto; }.admin-login h2 { font-size: 28px; }.admin-login .btn { width: 100%; margin-top: 7px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.admin-panel h2 { font-size: 24px; margin-bottom: 18px; }
.admin-panel label > span, .admin-login label > span { color: #8da09e; }
.admin-card input, .admin-card select, .admin-card textarea { border-color: #11191a; background: #121a1b; color: #edf8f6; box-shadow: inset 3px 3px 0 #090d0e; }.admin-card select option { background: #172122; color: #fff; }
.admin-list { display: grid; gap: 10px; margin-top: 14px; }.admin-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 3px solid #0c1213; background: #182223; }.admin-row strong { display: block; font-size: 13px; }.admin-row small { color: #718582; }.admin-actions { display: flex; gap: 7px; }
.mini-btn { border: 3px solid #0a1011; background: #2d3839; color: #e7f3f1; padding: 7px 9px; cursor: pointer; font: 700 10px/1 "Pixelify Sans", sans-serif; }.mini-btn.danger { color: #ffb5b5; }.admin-status { margin: 12px 0 0; color: #7f9491; font-size: 12px; }.hidden { display: none !important; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 430px; gap: 34px; }
  .ranks-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2) { border-right: 0; }.feature-card:nth-child(-n+2) { border-bottom: 3px solid #080d0e; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .join-steps { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 20px; right: 20px; top: 75px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border: 4px solid #070c0d; background: #152021; box-shadow: 0 7px 0 rgba(0,0,0,.3); }.nav.open { display: flex; }.nav a { padding: 14px 13px; }.nav-discord { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; padding-top: 130px; }.hero-grid, .contact-grid { grid-template-columns: 1fr; }.game-window { max-width: 600px; width: 100%; }.section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .contact-grid { gap: 48px; }.footer-grid { grid-template-columns: 1fr; text-align: left; }.footer-grid > p { text-align: left; }.footer-links { justify-content: flex-start; }.admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .admin-shell { width: min(100% - 26px, 1180px); }.section { padding: 82px 0; }.hero { padding-top: 120px; }
  h1 .title-ice, h1 .title-snow { font-size: clamp(60px, 20vw, 88px); }.hero-tagline { font-size: 16px; }.hero-actions, .hero-actions .btn { width: 100%; }.hero-actions .btn { justify-content: space-between; }
  .game-window-bar { font-size: 10px; }.voxel-scene { height: 250px; }.address-button { grid-template-columns: 45px 1fr; }.address-button .copy-icon { display: none; }.status-stats { grid-template-columns: 1fr; }
  .features-grid, .ranks-grid, .staff-grid, .form-row { grid-template-columns: 1fr; }.feature-card { border-right: 0 !important; border-bottom: 3px solid #080d0e !important; }.feature-card:last-child { border-bottom: 0 !important; }
  .inventory-shell { padding: 12px; }.inventory-title { align-items: flex-start; flex-direction: column; gap: 5px; }.join-strip { grid-template-columns: 52px 1fr; }.join-strip .btn { grid-column: 1 / -1; width: 100%; }.contact-form { padding: 18px; }.form-footer { align-items: stretch; flex-direction: column; }.form-footer .btn { width: 100%; }.contact-links a { grid-template-columns: 34px 1fr; }.contact-links strong { grid-column: 2; }.hero-meta span { font-size: 9px; }
}

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