:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --background: #f5fbff;
  --foreground: #062e4b;
  --card: #ffffff;
  --card-foreground: #062e4b;
  --primary: #04bde6;
  --primary-foreground: #03243d;
  --border: rgba(5, 80, 126, 0.14);
  --ink: #062e4b;
  --muted-ink: #537085;
  --ice: #f5fbff;
  --surface: #ffffff;
  --surface-2: #e9f8ff;
  --cyan: #08cdeb;
  --blue: #087ad6;
  --navy: #032d50;
  --hero-overlay: rgba(2, 49, 88, 0.43);
  --shadow: 0 22px 60px rgba(3, 52, 87, 0.13);
}

.dark {
  --background: #031a2b;
  --foreground: #e9fbff;
  --card: #082b43;
  --card-foreground: #e9fbff;
  --primary: #26dbef;
  --primary-foreground: #031a2b;
  --border: rgba(126, 226, 246, 0.17);
  --ink: #e9fbff;
  --muted-ink: #9bb9ca;
  --ice: #031a2b;
  --surface: #082b43;
  --surface-2: #0a3450;
  --cyan: #2cdaee;
  --blue: #38a6f1;
  --navy: #020f1a;
  --hero-overlay: rgba(0, 22, 39, 0.66);
  --shadow: 0 22px 60px rgba(0, 7, 14, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Inter, Arial, sans-serif; overflow-x: hidden; transition: background .35s ease, color .35s ease; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cyan); color: var(--navy); }
.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 116px 0; }

.watermark { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border: 1px solid rgba(52,89,128,.14); border-radius: 999px; background: linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.42)); box-shadow: 0 12px 30px rgba(24,39,58,.12); color: #11253f; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: Inter,Arial,sans-serif; opacity: .9; transition: transform .2s ease,box-shadow .2s ease,opacity .2s ease,background .2s ease,border-color .2s ease; }
.watermark:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(31,111,255,.18); opacity: 1; background: linear-gradient(135deg,rgba(31,111,255,.12),rgba(50,212,255,.14)); border-color: rgba(31,111,255,.25); }
.watermark:hover .watermark__text { color: #1f6fff; }
.watermark__logo { width: 22px; height: 22px; flex-shrink: 0; display: block; object-fit: contain; border-radius: 7px; filter: drop-shadow(0 2px 5px rgba(31,111,255,.18)); }
.watermark__text { color: #11253f; font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 0 rgba(255,255,255,.4); }

.site-header { position: absolute; z-index: 40; top: 0; left: 0; width: 100%; height: 88px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 950; letter-spacing: -.045em; font-size: 18px; }
.brand img { width: 42px; height: 42px; object-fit: cover; border: 2px solid rgba(255,255,255,.7); clip-path: polygon(0 0, 100% 0, 100% 82%, 82% 100%, 0 100%); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
.desktop-nav a { opacity: .75; transition: opacity .2s, transform .2s; }
.desktop-nav a:hover { opacity: 1; transform: translateY(-2px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.09); cursor: pointer; transition: background .2s, transform .2s; }
.icon-button:hover, .menu-button:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.discord-button { height: 42px; padding: 0 18px; display: flex; align-items: center; gap: 8px; background: white; color: #073859; font-size: 13px; font-weight: 850; }
.menu-button { display: none; }
.mobile-nav { display: none; }

.hero { min-height: 790px; height: min(900px, 100svh); position: relative; overflow: hidden; color: white; background: #087bd3; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--hero-overlay), rgba(1,42,78,.22)), linear-gradient(0deg, rgba(0,36,68,.62), transparent 55%), url('public/LaBanquise.png'); background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 14s ease-out both; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(to top, var(--background), transparent); pointer-events: none; }
.hero-content { min-height: 100%; position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; padding-top: 92px; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; font-size: 11px; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 0 5px rgba(41,225,245,.18); transform: rotate(45deg); }
.hero h1 { margin: 0; text-transform: uppercase; font-size: clamp(50px, 6.1vw, 92px); line-height: .9; letter-spacing: -.075em; font-weight: 950; text-shadow: 0 8px 40px rgba(0,38,70,.22); }
.hero h1 span { display: block; }
.hero h1 .accent-line { color: #78efff; -webkit-text-stroke: 1px rgba(255,255,255,.15); }
.hero-copy > p { max-width: 610px; margin: 28px 0 32px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.server-ip { min-width: 285px; height: 64px; padding: 0 19px; display: flex; align-items: center; gap: 14px; color: #062e4b; background: white; border: 0; box-shadow: 8px 8px 0 rgba(3,42,74,.38); cursor: pointer; text-align: left; transition: transform .2s, box-shadow .2s; }
.server-ip:hover { transform: translate(-2px,-2px); box-shadow: 11px 11px 0 rgba(3,42,74,.38); }
.server-ip span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.server-ip small { color: #668296; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.server-ip strong { font-size: 15px; margin-top: 3px; }
.status-pulse { width: 10px; height: 10px; background: #39e491; box-shadow: 0 0 0 6px rgba(57,228,145,.17); border-radius: 50%; animation: pulse 1.8s ease infinite; }
.watch-button { height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.5); background: rgba(3, 48, 83, .22); backdrop-filter: blur(8px); font-size: 13px; font-weight: 800; transition: background .2s; }
.watch-button:hover { background: rgba(255,255,255,.15); }
.hero-badge { justify-self: end; width: min(350px, 100%); padding: 13px; position: relative; transform: rotate(2deg); border: 1px solid rgba(255,255,255,.35); background: rgba(1, 36, 67, .23); box-shadow: 24px 28px 0 rgba(0,44,78,.2); backdrop-filter: blur(12px); }
.hero-badge::before { content: ''; position: absolute; width: 72px; height: 10px; top: -17px; left: calc(50% - 36px); background: rgba(198,247,255,.68); transform: rotate(-4deg); }
.hero-badge__logo { height: 318px; overflow: hidden; background: #1499e8; }
.hero-badge__logo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.hero-badge:hover img { transform: scale(1.07) rotate(-2deg); }
.hero-badge__status { display: flex; gap: 10px; align-items: center; margin-top: 13px; padding: 13px 12px; background: white; color: #0a3a58; font-size: 12px; }
.hero-badge__status strong { color: #05a76a; }
.hero-badge__version { position: absolute; right: -16px; top: 28px; padding: 9px 12px; background: #6ef0ff; color: #062e4b; font-family: var(--font-geist-mono); font-size: 10px; font-weight: 800; transform: rotate(-2deg); }
.scroll-cue { position: absolute; z-index: 3; bottom: 36px; left: 50%; display: flex; align-items: center; gap: 9px; transform: translateX(-50%); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.scroll-cue svg { animation: bob 1.5s infinite; }
.snow-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.snow-field i { position: absolute; top: -20px; display: block; background: white; opacity: .72; animation: snow linear infinite; box-shadow: 11px 7px 0 rgba(255,255,255,.38); }

.features-section { background: var(--background); }
.split-heading { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 70px; margin-bottom: 64px; }
.dark-eyebrow { color: var(--blue); }
.section-heading h2, .story-copy h2, .join-strip h2 { margin: 0; font-size: clamp(43px,5.2vw,72px); line-height: .92; letter-spacing: -.065em; font-weight: 950; text-transform: uppercase; }
.section-heading h2 span, .links-heading h2 span { color: var(--blue); }
.section-heading > p, .story-copy > p { color: var(--muted-ink); font-size: 15px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 390px; padding: 30px; position: relative; display: flex; flex-direction: column; color: white; background-color: #07385c; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; transition: transform .3s, border-color .3s, background-size .7s; }
.feature-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(1,25,44,.14) 0%,rgba(2,31,53,.72) 62%,rgba(1,23,40,.94) 100%); }
.feature-card--survival { background-image: url('public/fond-survie.jpg'); }
.feature-card--economy { background-image: url('public/economie-fond.jpg'); }
.feature-card--events { background-image: url('public/evenement-fond.jpg'); }
.feature-card:hover { transform: translateY(-8px); border-color: var(--cyan); background-size: 108% auto; }
.feature-number { align-self: flex-end; color: rgba(255,255,255,.7); font-family: var(--font-geist-mono); font-size: 11px; }
.feature-icon { width: 76px; height: 76px; margin: 42px 0 auto; display: grid; place-items: center; background: rgba(3,38,64,.42); border: 1px solid rgba(255,255,255,.35); box-shadow: 8px 8px 0 rgba(1,24,40,.22); backdrop-filter: blur(5px); clip-path: polygon(0 0, 100% 0, 100% 76%, 76% 100%, 0 100%); }
.feature-icon img { width: 66px; height: 66px; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.feature-card--events .feature-icon img { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; }
.feature-card:hover .feature-icon img { transform: scale(1.12) rotate(-5deg); }
.feature-card h3 { margin: 27px 0 10px; font-size: 22px; letter-spacing: -.035em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.feature-card p { margin: 0; color: rgba(236,250,255,.82); font-size: 13px; line-height: 1.7; }
.feature-line { position: absolute; bottom: 0; left: 0; height: 5px; width: 32%; background: var(--cyan); transition: width .4s ease; }
.feature-card:hover .feature-line { width: 100%; }

.story-section { background: var(--surface-2); }
.story-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.story-visual { height: 570px; position: relative; overflow: hidden; box-shadow: 18px 18px 0 rgba(10,132,194,.16); }
.story-visual::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.42); pointer-events: none; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s cubic-bezier(.2,.7,.1,1); }
.story-visual:hover img { transform: scale(1.08); }
.story-visual__tag { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: #062f50; color: white; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.story-copy h2 { margin-bottom: 31px; }
.story-copy h2 span { display: block; }
.story-copy p { margin: 0 0 17px; }
.story-stats { margin-top: 38px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); padding-top: 28px; }
.story-stats div { display: flex; flex-direction: column; }
.story-stats strong { color: var(--blue); font-size: 27px; letter-spacing: -.05em; }
.story-stats span { margin-top: 4px; color: var(--muted-ink); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.team-section { background: var(--background); }
.centered-heading { text-align: center; max-width: 720px; margin: 0 auto 62px; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading > p { max-width: 530px; margin: 22px auto 0; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.team-card { background: var(--surface); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-avatar { height: 265px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#9beeff,#248cd7); }
.team-avatar::before, .team-avatar::after { content: ''; position: absolute; background: rgba(255,255,255,.18); }
.team-avatar::before { width: 80px; height: 80px; top: 20px; left: 20px; box-shadow: 110px 95px 0 rgba(255,255,255,.12); }
.team-avatar::after { width: 170px; height: 45px; right: -30px; bottom: 20px; transform: rotate(-24deg); }
.team-avatar span { position: relative; z-index: 2; font-family: var(--font-geist-mono); font-size: 44px; font-weight: 950; color: white; text-shadow: 6px 6px 0 rgba(2,45,78,.28); }
.team-avatar i { position: absolute; width: 94px; height: 94px; border: 3px solid rgba(255,255,255,.35); transform: rotate(45deg); }
.team-avatar--image::before, .team-avatar--image::after { display: none; }
.team-avatar--image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s cubic-bezier(.2,.7,.1,1); }
.team-card:hover .team-avatar--image img { transform: scale(1.06); }
.team-avatar--blue { background: linear-gradient(145deg,#58baff,#075fae); }
.team-avatar--violet { background: linear-gradient(145deg,#aeb6ff,#604bc7); }
.team-avatar--mint { background: linear-gradient(145deg,#8cf7dc,#099eaa); }
.team-card__body { padding: 21px 22px 23px; }
.team-card h3 { margin: 0; font-size: 17px; }
.team-card p { margin: 6px 0 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.links-section { background: #042f50; color: white; position: relative; overflow: hidden; }
.links-section::before { content: ''; position: absolute; width: 460px; height: 460px; top: -220px; right: -80px; border: 80px solid rgba(29,214,236,.05); transform: rotate(18deg); }
.links-heading .eyebrow { color: #78edfb; }
.links-heading h2 span { color: #6eeafb; }
.links-heading > p { color: #9fc2d8; }
.link-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.portal-card { min-height: 300px; padding: 30px; display: flex; flex-direction: column; border: 1px solid rgba(147,224,240,.2); background: #082843; transition: transform .3s, border-color .3s, background .3s; }
.portal-card:hover { transform: translateY(-7px); border-color: #5ee8f6; background: #0a3555; }
.portal-card--featured { background: linear-gradient(145deg,#087dc7,#09bfd7); color: white; border-color: transparent; }
.portal-card--featured:hover { background: linear-gradient(145deg,#078bd8,#0bd3df); }
.portal-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 38px; background: rgba(255,255,255,.1); }
.portal-card h3 { margin: 0 0 10px; font-size: 21px; }
.portal-card p { margin: 0; color: #a9c6d8; font-size: 13px; line-height: 1.7; }
.portal-card--featured p { color: rgba(255,255,255,.8); }
.portal-card > span { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }

.legal-section { background: var(--surface-2); }
.legal-heading { margin-bottom: 46px; }
.mojang-notice { margin-bottom: 20px; padding: 24px 28px; display: flex; align-items: flex-start; gap: 18px; color: white; background: #063553; border-left: 6px solid var(--cyan); box-shadow: var(--shadow); }
.mojang-notice__icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; background: var(--cyan); color: #052d49; font-family: var(--font-geist-mono); font-size: 20px; font-weight: 950; }
.mojang-notice strong { font-size: 11px; letter-spacing: .13em; }
.mojang-notice p { margin: 7px 0 0; color: #b6d2e1; font-size: 13px; line-height: 1.65; }
.legal-grid { display: grid; gap: 12px; }
.legal-card { background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(3,52,87,.06); }
.legal-card summary { min-height: 76px; padding: 0 25px; display: grid; grid-template-columns: 42px 1fr 30px; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.legal-card summary::-webkit-details-marker { display: none; }
.legal-card summary span { color: var(--blue); font-family: var(--font-geist-mono); font-size: 10px; }
.legal-card summary strong { font-size: 16px; letter-spacing: -.02em; }
.legal-card summary b { width: 28px; height: 28px; display: grid; place-items: center; color: var(--blue); background: var(--surface-2); font-size: 20px; transition: transform .25s; }
.legal-card[open] summary b { transform: rotate(45deg); }
.legal-card__content { margin: 0 25px 25px 81px; padding: 23px 25px; color: var(--muted-ink); background: var(--surface-2); border-left: 3px solid var(--cyan); }
.legal-card__content p { margin: 0 0 12px; font-size: 13px; line-height: 1.68; }
.legal-card__content p:last-of-type { margin-bottom: 0; }
.legal-card__content strong { color: var(--ink); }
.legal-card__content a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-card__content small { display: block; margin-top: 18px; color: var(--muted-ink); font-size: 11px; line-height: 1.6; }

.join-strip { padding: 58px 0; background: var(--cyan); color: #052d49; }
.join-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.join-strip small { font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.join-strip h2 { margin-top: 8px; font-size: clamp(33px,4vw,54px); }
.server-ip--light { min-width: 310px; box-shadow: 8px 8px 0 rgba(3,64,91,.18); }

footer { background: #021d31; color: white; }
.footer-main { padding: 72px 0 60px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.footer-brand p { max-width: 340px; margin: 22px 0 0; color: #8fb2c9; font-size: 13px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 5px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { color: #8fb2c9; font-size: 12px; transition: color .2s; }
.footer-links a:hover { color: #6ce9f7; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: #63859d; font-size: 8px; font-weight: 700; letter-spacing: .1em; }

.ice-intro { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: #dffaff; overflow: hidden; transition: opacity .55s ease .15s, visibility .55s ease .15s; }
.ice-intro--hidden { opacity: 0; visibility: hidden; }
.ice-intro::before { content: ''; position: absolute; inset: 0; background-image: var(--intro-scene, url('public/LaBanquise.png')); background-size: cover; background-position: center; filter: blur(11px) saturate(.7); transform: scale(1.08); opacity: .36; }

.status-pulse--offline { background: #ef6464; box-shadow: 0 0 0 6px rgba(239,100,100,.17); animation: none; }
.status-pulse--unknown { background: #f3b84a; box-shadow: 0 0 0 6px rgba(243,184,74,.17); animation: none; }
.load-error { min-height: 100vh; display: grid; place-content: center; padding: 30px; text-align: center; }

.glyph { font-size: 24px; line-height: 1; font-weight: 900; }
.text-icon { flex: 0 0 auto; font-size: 18px; line-height: 1; }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translate(3px,-3px); }
.ice-intro__noise { position: absolute; inset: 0; background: linear-gradient(120deg,rgba(255,255,255,.7),transparent 40%), repeating-linear-gradient(45deg,transparent 0 38px,rgba(0,116,180,.04) 39px 40px); }
.ice-intro__mark { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; color: #063655; animation: introMark 1.65s cubic-bezier(.16,.75,.25,1) both; }
.ice-intro__mark img { width: 125px; height: 125px; object-fit: cover; box-shadow: 12px 12px 0 rgba(4,86,132,.15); }
.ice-intro__mark span { margin-top: 24px; font-size: 25px; font-weight: 950; letter-spacing: -.04em; }
.ice-intro__mark small { margin-top: 7px; color: #2681ad; font-size: 8px; font-weight: 850; letter-spacing: .24em; }
.ice-intro__shard { position: absolute; background: rgba(255,255,255,.32); border: 1px solid rgba(1,98,153,.12); transform: rotate(45deg); animation: shardOut 1.9s cubic-bezier(.3,.8,.2,1) both; }
.ice-intro__shard--one { width: 34vw; height: 34vw; left: -12vw; top: -14vw; }
.ice-intro__shard--two { width: 25vw; height: 25vw; right: -5vw; bottom: -8vw; animation-delay: .08s; }
.ice-intro__shard--three { width: 14vw; height: 14vw; right: 12vw; top: 8vw; animation-delay: .16s; }

@keyframes snow { to { transform: translate3d(60px, calc(100vh + 60px), 0) rotate(180deg); } }
@keyframes bob { 50% { transform: translateY(7px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(57,228,145,0); } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
@keyframes introMark { 0% { opacity: 0; transform: scale(.72); filter: blur(13px); } 50% { opacity: 1; filter: blur(0); } 80% { transform: scale(1); } 100% { transform: scale(.97); } }
@keyframes shardOut { from { transform: rotate(45deg) scale(.4); opacity: 0; } 40% { opacity: 1; } to { transform: rotate(45deg) scale(1.2); opacity: .1; } }

@media (max-width: 960px) {
  .desktop-nav, .discord-button { display: none; }
  .menu-button { display: grid; }
  .mobile-nav { position: absolute; top: 88px; left: 24px; right: 24px; padding: 14px; display: flex; flex-direction: column; background: #052d4a; border: 1px solid rgba(255,255,255,.16); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .mobile-nav--open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 13px; font-weight: 750; }
  .hero { height: auto; min-height: 900px; }
  .hero-content { grid-template-columns: 1fr; gap: 42px; padding-top: 145px; padding-bottom: 110px; }
  .hero-badge { justify-self: start; width: 310px; }
  .hero-badge__logo { height: 240px; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .split-heading > p { max-width: 580px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { height: 470px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .link-grid { grid-template-columns: 1fr 1fr; }
  .portal-card--featured { grid-column: 1 / -1; }
  .legal-card__content { margin-left: 25px; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 30px, 1180px); }
  .watermark { right: 12px; bottom: 12px; padding: 9px 12px 9px 10px; }
  .watermark__logo { width: 20px; height: 20px; }
  .watermark__text { font-size: 10px; letter-spacing: .1em; }
  .section-pad { padding: 82px 0; }
  .site-header { height: 74px; padding: 0 15px; }
  .site-header .brand span { display: none; }
  .mobile-nav { top: 74px; left: 15px; right: 15px; }
  .hero { min-height: 920px; }
  .hero-content { padding-top: 120px; align-content: center; }
  .hero h1 { font-size: clamp(44px,14.5vw,66px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions, .server-ip { width: 100%; }
  .watch-button { flex: 1; }
  .hero-badge { width: calc(100% - 15px); margin: 0; }
  .hero-badge__logo { height: 230px; }
  .scroll-cue { display: none; }
  .split-heading { margin-bottom: 42px; }
  .section-heading h2, .story-copy h2 { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 295px; }
  .story-grid { gap: 58px; }
  .story-visual { height: 340px; }
  .story-stats { gap: 12px; }
  .story-stats strong { font-size: 23px; }
  .team-grid, .link-grid { grid-template-columns: 1fr; }
  .portal-card--featured { grid-column: auto; }
  .mojang-notice { padding: 21px 18px; }
  .legal-card summary { padding: 0 18px; grid-template-columns: 30px 1fr 28px; }
  .legal-card__content { margin: 0 14px 14px; padding: 20px 18px; }
  .team-avatar { height: 230px; }
  .join-strip__inner { align-items: stretch; flex-direction: column; }
  .server-ip--light { min-width: 0; }
  .footer-main { gap: 48px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 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; }
  .ice-intro { display: none; }
}
