/* Ragnarok Offline — public website (bright "launch page" style) */
:root {
  --blue-1: #4f86f0;
  --blue-2: #6ea6ff;
  --blue-3: #a8d8ff;
  --blue-4: #dff1ff;
  --deep: #3f74e6;
  --ink: #23315e;
  --ink-2: #4a5a8c;
  --cream: #fff8e1;
  --gold: #ffd36b;
  --gold-2: #f2a91f;
  --gold-ink: #6b4000;
  --white: #ffffff;
  --radius: 26px;
  --font: 'Kanit', system-ui, sans-serif;
  --font-head: 'Mitr', 'Kanit', sans-serif;
  --font-en: 'Nunito', 'Mitr', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--blue-2); line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1060px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }
.ico { width: 24px; height: 24px; flex: none; }
.ico.sm { width: 18px; height: 18px; display: inline-block; vertical-align: -2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 500 16px/1 var(--font-head); text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-lg { padding: 16px 34px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, #ffe597, var(--gold) 50%, var(--gold-2)); color: var(--gold-ink); box-shadow: inset 0 -4px 0 rgba(160, 90, 0, .25), 0 8px 18px -8px rgba(200, 120, 0, .7); }
.btn-line { background: #fff; border-color: var(--blue-3); color: var(--ink); }
.btn-disabled { background: var(--blue-4); color: var(--ink-2); cursor: default; }
.btn-disabled:hover { transform: none; }
:focus-visible { outline: 3px solid #ffb84d; outline-offset: 3px; }

/* ---------- right rail ---------- */
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rail-social { position: relative; width: 78px; padding: 46px 8px 22px; border-radius: 40px; text-align: center; color: #fff;
  background: linear-gradient(180deg, #6fa8ff, #4a7fe8); border: 3px solid #fff; box-shadow: 0 8px 20px -8px rgba(30, 60, 150, .6); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rail-mascot { position: absolute; top: -34px; width: 66px; animation: bob 2.4s ease-in-out infinite; }
.rail-social b { font: 600 14px var(--font-head); line-height: 1.1; }
.rail-social small { font-size: 10px; opacity: .85; margin-top: -6px; }
.rail-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--deep); display: grid; place-items: center; transition: transform .15s; }
.rail-ico:hover { transform: scale(1.1); }
.rail-ico .ico { width: 22px; height: 22px; }
.rail-soon { font-size: 11px; opacity: .8; }
.rail-tip { position: absolute; bottom: -10px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.rail-nav { display: flex; flex-direction: column; gap: 10px; }
.rail-nav a { position: relative; display: block; width: 116px; padding: 7px 4px; border-radius: 999px; text-align: center; font: 500 13px var(--font-head); text-decoration: none;
  color: #fff; background: linear-gradient(180deg, #7db3ff, #4f86f0); border: 2px solid #fff; box-shadow: 0 4px 10px -4px rgba(30, 60, 150, .5); transition: transform .15s; }
.rail-nav a::before, .rail-nav a::after { content: "✦"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 9px; color: #fff; }
.rail-nav a::before { left: -6px; } .rail-nav a::after { right: -6px; }
.rail-nav a:hover { transform: translateX(-3px); }
.rail-nav a.active { background: linear-gradient(180deg, #fff1c2, #ffd36b); color: var(--gold-ink); }
.menu-btn { display: none; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; background: #9fd3ff center / cover no-repeat; }
.scene { width: 100%; height: 100%; }
.scene .float { animation: floaty 7s ease-in-out infinite; }
.scene .float.slow { animation-duration: 9s; animation-delay: -3s; }
.scene .drift { animation: driftc 40s linear infinite alternate; }
.scene .hop { animation: hop 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.scene .hop.d2 { animation-delay: -.6s; } .scene .hop.d3 { animation-delay: -1.2s; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
@keyframes driftc { to { transform: translateX(80px); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1.08, .92); } 40%, 60% { transform: translateY(-30px) scale(.96, 1.05); } 85% { transform: translateY(0) scale(1.03, .97); } }

.hero-logo { position: absolute; top: 22px; left: 34px; z-index: 3; text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: .9; transform: rotate(-4deg); }
.hl-top { font: 900 20px var(--font-en); letter-spacing: .12em; color: #fff; text-shadow: 0 2px 0 #3b5fc0, 0 0 10px rgba(59, 95, 192, .5); }
.hl-main { font: 900 40px var(--font-en); letter-spacing: .02em; color: #fff; -webkit-text-stroke: 2px #3b5fc0; paint-order: stroke fill;
  background: linear-gradient(180deg, #fff, #ffe08a 60%, #ffb84d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #3b5fc0) drop-shadow(0 6px 10px rgba(30, 50, 120, .35)); }

.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px 130px; text-align: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; font-size: 14px; color: #fff; background: rgba(35, 49, 94, .55); backdrop-filter: blur(6px); }
.status-pill b { color: var(--gold); }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.status-pill.on .dot { background: #4be38a; box-shadow: 0 0 0 4px rgba(75, 227, 138, .3); }
.headline { font: 600 clamp(32px, 6vw, 64px)/1.15 var(--font-head); color: #fff; letter-spacing: .01em;
  -webkit-text-stroke: 6px #3555b8; paint-order: stroke fill; text-shadow: 0 6px 0 #2a4596, 0 12px 26px rgba(20, 40, 110, .45); }
.ribbon { display: inline-flex; align-items: center; gap: 12px; padding: 6px 28px; border-radius: 999px; font: 500 17px var(--font-head); color: #fff;
  background: linear-gradient(90deg, transparent, #3555b8 15%, #3555b8 85%, transparent); }
.ribbon span { color: var(--gold); font-size: 12px; }
.dl-big { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 10px; padding: 10px 26px 10px 14px; min-width: min(460px, 100%); border-radius: 22px; text-decoration: none;
  background: linear-gradient(180deg, #fffdf2, #ffeec2); border: 3px solid #fff; box-shadow: 0 0 0 3px #f2b84a, 0 10px 0 -2px #d9962a, 0 20px 30px -10px rgba(120, 70, 0, .5); transition: transform .15s; }
.dl-big::before, .dl-big::after { content: "✦"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 22px; color: #f2b84a; }
.dl-big::before { left: -26px; } .dl-big::after { right: -26px; }
.dl-big:hover { transform: translateY(-3px) scale(1.02); }
.dl-win { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(180deg, #6fb0ff, #3d7ae6); color: #fff; flex: none; }
.dl-win .ico { width: 32px; height: 32px; }
.dl-txt { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.dl-txt b { font: 600 24px/1.2 var(--font-head); color: #4a3a8c; }
.dl-txt small { font-size: 14px; color: #7a5a2c; }
.dl-gift .ico { width: 52px; height: 52px; animation: bob 2s ease-in-out infinite; }
.reg-link { color: #fff; text-decoration: none; font-size: 15px; text-shadow: 0 1px 6px rgba(20, 40, 110, .6); }
.reg-link b { color: var(--gold); font-weight: 500; }
.reg-link:hover b { text-decoration: underline; }

/* ---------- wave dividers (the original's curved section edges) ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 110px; z-index: 1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.wave-hero { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 110' preserveAspectRatio='none'%3E%3Cpath d='M0 40C300 110 600 0 900 30s500 70 700 0v110H0Z' fill='%23fff3c4'/%3E%3Cpath d='M0 60C300 120 600 20 900 50s500 60 700 0v60H0Z' fill='%236ea6ff'/%3E%3C/svg%3E"); }
.wave-white { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 110' preserveAspectRatio='none'%3E%3Cpath d='M0 20C400 100 800 0 1100 30s400 40 500 10v70H0Z' fill='%23ffffff'/%3E%3Cpath d='M0 50C400 110 800 30 1100 55s400 30 500 10v45H0Z' fill='%234f86f0'/%3E%3C/svg%3E"); }
.wave-deep { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 110' preserveAspectRatio='none'%3E%3Cpath d='M0 30C300 0 500 20 800 40s600 60 800 0v70H0Z' fill='%23fff3c4'/%3E%3Cpath d='M0 45C300 15 500 35 800 55s600 50 800 0v55H0Z' fill='%233f74e6'/%3E%3C/svg%3E"); }
.wave-light { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 110' preserveAspectRatio='none'%3E%3Cpath d='M0 50C400 0 900 100 1600 30v80H0Z' fill='%23ffffff'/%3E%3Cpath d='M0 65C400 15 900 110 1600 45v65H0Z' fill='%23a8d8ff'/%3E%3C/svg%3E"); }

/* ---------- sections ---------- */
.sec { position: relative; padding: 90px 0 170px; overflow: hidden; }
.sec-light { background: linear-gradient(180deg, var(--blue-2), var(--blue-3) 70%, var(--blue-4)); }
.sec-blue { background: linear-gradient(180deg, var(--blue-1), var(--blue-2) 50%, var(--blue-3)); }
.sec-deep { background: linear-gradient(180deg, var(--deep), #5b93f5); color: #fff; }
.sec-features { padding-top: 40px; background: linear-gradient(180deg, #5b93f5, #7fb4ff 80%, var(--blue-3)); }
#register { background: linear-gradient(180deg, var(--blue-3), var(--blue-4)); padding-bottom: 80px; }
.sec-dl { background: var(--blue-4); padding: 30px 0 90px; }
.sec::before { content: "RAGNAROK"; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); font: 900 clamp(60px, 14vw, 180px) var(--font-en); letter-spacing: .05em;
  color: rgba(255, 255, 255, .08); white-space: nowrap; pointer-events: none; }

.stitle { text-align: center; margin-bottom: 30px; }
.stitle h2 { display: inline-flex; align-items: center; gap: 14px; font: 600 clamp(34px, 5.5vw, 58px)/1.2 var(--font-head); color: #fff; text-shadow: 0 4px 14px rgba(30, 60, 150, .35); }
.stitle h2 em { font-style: normal; color: #fff1b8; }
.stitle h2::before, .stitle h2::after { content: ""; width: clamp(40px, 12vw, 140px); height: 2px; background: linear-gradient(90deg, transparent, #fff); }
.stitle h2::after { transform: scaleX(-1); }
.stitle small { display: block; margin-top: 2px; font: 800 11px var(--font-en); letter-spacing: .5em; color: rgba(255, 255, 255, .6); }
.pill-note { width: fit-content; margin: -10px auto 36px; padding: 6px 20px; border-radius: 999px; background: rgba(53, 85, 184, .45); color: #fff; font: 500 17px var(--font-head); }

/* ---------- ticket cards (rewards) ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.tcard { --c1: #6f8df5; --c2: #eef1ff; --c3: #5a6fe0; position: relative; padding: 26px 26px 24px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(180deg, #fff, var(--c2)); border: 3px solid #fff; box-shadow: 0 0 0 4px var(--c1), 0 0 0 10px rgba(255, 255, 255, .45), 0 18px 30px -12px rgba(30, 60, 150, .45); }
.tcard::before, .tcard::after { content: ""; position: absolute; top: 50%; width: 20px; height: 34px; background: var(--c1); transform: translateY(-50%); }
.tcard::before { left: -7px; border-radius: 0 20px 20px 0; } .tcard::after { right: -7px; border-radius: 20px 0 0 20px; }
.tc-cyan { --c1: #3cc2ef; --c2: #e5f8ff; --c3: #1a9cd0; }
.tc-gold { --c1: #f5b54a; --c2: #fff6df; --c3: #d98a12; }
.tc-pink { --c1: #f57d9e; --c2: #fff0f4; --c3: #e04f78; }
.pin { position: absolute; top: 12px; left: 14px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c8, #f5c242 60%, #c98f12); box-shadow: 0 3px 4px rgba(0, 0, 0, .2); }
.tc-art { height: 150px; display: grid; place-items: center; margin-bottom: 8px; }
.tc-art img { max-height: 150px; width: auto; }
.badge-art { position: relative; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #fff 30%, color-mix(in srgb, var(--c1, #6f8df5) 22%, #fff) 70%); }
.badge-art .ico { width: 84px; height: 84px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .15)); animation: bob 3s ease-in-out infinite; }
.spk { position: absolute; font-style: normal; color: #ffd36b; text-shadow: 0 0 6px #fff; animation: twinkle 2s ease-in-out infinite; }
.spk.s1 { top: 8px; right: 6px; font-size: 26px; } .spk.s2 { bottom: 18px; left: 0; font-size: 18px; animation-delay: -.7s; } .spk.s3 { top: 26px; left: 12px; font-size: 14px; animation-delay: -1.3s; }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7); } }
.tcard h3 { font: 600 clamp(22px, 2.6vw, 28px)/1.25 var(--font-head); color: var(--c3); margin-bottom: 8px; }
.tcard p { font: 500 16px var(--font-head); color: color-mix(in srgb, var(--c3) 75%, #333); }
.perk-row { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left; }
.perk-tag { flex: none; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, #8a7af5, #5a4ad8); color: #fff; font: 500 15px var(--font-head); }
.perk-row ul { margin: 0; padding: 0; list-style: none; font: 500 15px/1.5 var(--font-head); color: #5a4ad8; }
.peek { position: absolute; width: 64px; bottom: -18px; animation: bob 2.6s ease-in-out infinite; }
.peek.l { left: -20px; } .peek.r { right: -18px; }

/* ---------- event cards ---------- */
.ev-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.ev-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ecard { --c1: #6b7cf0; --c2: #8a9af7; position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #fff, #f2f6ff);
  border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), 0 18px 30px -12px rgba(30, 60, 150, .5); transition: transform .2s; }
.ecard:hover { transform: translateY(-4px); }
.ec-cyan { --c1: #2fb4e0; --c2: #66d3f5; }
.ec-orange { --c1: #f5932f; --c2: #ffb35a; }
.ec-pink { --c1: #f2668e; --c2: #ff93b0; }
.ec-green { --c1: #4cc46a; --c2: #7fe08f; }
.ec-art { height: 200px; display: grid; place-items: center; background: radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--c2) 25%, #fff), #fff 70%); }
.ec-art img { max-height: 100%; width: 100%; object-fit: cover; }
.ecard .badge-art { --c1: var(--c2); }
.ec-foot { position: relative; padding: 26px 18px 18px; text-align: center; color: #fff; background: linear-gradient(180deg, var(--c2), var(--c1)); }
.ec-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px; background: var(--c2); clip-path: ellipse(60% 100% at 50% 100%); }
.ec-foot h3 { font: 600 clamp(20px, 2.4vw, 26px)/1.25 var(--font-head); text-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.ec-foot p { font: 500 15px var(--font-head); opacity: .95; margin-top: 4px; }
.ec-badge { display: inline-block; vertical-align: middle; padding: 1px 10px; border-radius: 999px; background: #ff4f7b; color: #fff; font: 500 12px var(--font-head); border: 2px solid #fff; text-shadow: none; }
.ecard.sm .ec-art { height: 170px; }
.ecard.sm .ec-badge { margin-bottom: 4px; }

/* ---------- class showcase ---------- */
.cls { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; min-height: 520px; }
.cls-pane { display: none; animation: fadeUp .35s ease; }
.cls-pane.active { display: block; }
.cls-en { font: 800 12px var(--font-en); letter-spacing: .3em; opacity: .85; }
.cls-pane h3 { display: flex; align-items: center; gap: 12px; font: 600 clamp(44px, 6vw, 68px)/1.15 var(--font-head); }
.cls-mini { width: 40px; height: 40px; color: var(--gold); }
.cls-bar { display: block; width: 50px; height: 4px; border-radius: 2px; background: var(--gold); margin: 14px 0 18px; }
.cls-pane p { font-size: 17px; font-weight: 300; line-height: 1.8; max-width: 420px; }
.cls-pick { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 26px; margin-top: 36px; }
.cls-pick button { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; color: #fff; padding: 0; }
.cp-ico { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #b9c2d6, #7d889f); border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2); transition: transform .15s, background .15s; }
.cp-ico .ico { width: 34px; height: 34px; color: #fff; }
.cp-name { font: 500 15px var(--font-head); text-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.cls-pick button:hover .cp-ico { transform: scale(1.08); }
.cls-pick button.active .cp-ico { background: var(--c); box-shadow: 0 0 0 4px rgba(255, 255, 255, .4), 0 6px 14px rgba(0, 0, 0, .25); }
.cls-stage { position: relative; height: 520px; }
.cls-art { position: absolute; inset: 0; display: none; place-items: center; animation: fadeIn .4s ease; }
.cls-art.active { display: grid; }
.cls-art img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(20, 40, 110, .35)); }
.emblem { width: min(340px, 80%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 70%); border: 8px solid rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .15), 0 30px 50px -20px rgba(10, 20, 80, .6); animation: bob 4s ease-in-out infinite; }
.emblem .ico { width: 46%; height: 46%; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .15)); }
.cls-ghost { position: absolute; bottom: 30px; font: 900 clamp(40px, 7vw, 86px) var(--font-en); letter-spacing: .06em; color: rgba(255, 255, 255, .14); }
.stage-slime { position: absolute; bottom: 10px; width: 56px; animation: hop 1.8s ease-in-out infinite; transform-origin: 50% 100%; }
.stage-slime.a { left: 18%; } .stage-slime.b { right: 20%; width: 44px; animation-delay: -.8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- features slider ---------- */
.feat { max-width: 860px; margin: 0 auto; }
.feat-view { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 5px solid #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .3), 0 24px 40px -16px rgba(10, 30, 100, .6); overflow: hidden; background: #2b4fae; }
.feat-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s; }
.feat-slide.active { opacity: 1; }
.feat-img, .feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-ph { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #5b8ff0 0 22px, #6699f2 22px 44px); }
.feat-ph span { font: 900 120px var(--font-en); color: rgba(255, 255, 255, .25); }
.feat-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 24px; background: linear-gradient(180deg, transparent, rgba(20, 35, 90, .85)); }
.feat-slide h3 { font: 600 28px var(--font-head); }
.feat-slide p { font-size: 16px; opacity: .9; max-width: 600px; }
.feat-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; background: rgba(79, 134, 240, .85); color: #fff; font: 600 28px/1 var(--font-head); cursor: pointer; }
.feat-nav.prev { left: 14px; } .feat-nav.next { right: 14px; }
.feat-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.feat-dots button { width: 12px; height: 12px; padding: 0; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s; }
.feat-dots button.active { width: 34px; background: var(--gold); }
.rates { display: grid; grid-template-columns: repeat(5, 1fr); margin: 50px auto 0; max-width: 860px; border-radius: 22px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(10, 30, 100, .5); }
.rate { padding: 16px 8px; text-align: center; }
.rate + .rate { border-left: 1px dashed #c9d8f5; }
.rate b { display: block; font: 900 28px var(--font-en); color: var(--deep); }
.rate span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- register ---------- */
.reg { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.reg-side { text-align: left; padding: 40px 30px 30px; }
.reg-side h3 { font-size: 24px; }
.rules { margin: 16px 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.rules li { position: relative; padding-left: 26px; color: var(--ink-2); }
.rules li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-2); }
.stat { display: inline-block; padding: 8px 16px; border-radius: 12px; background: #fff; border: 2px dashed var(--c1); font-weight: 500; }
.stat b { color: var(--c3); }
.reg-card { padding: 32px; border-radius: var(--radius); background: #fff; border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .5), 0 20px 36px -14px rgba(30, 60, 150, .45); }
.reg-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font: 500 15px var(--font-head); color: var(--ink-2); padding: 0; }
.field input { width: 100%; padding: 12px 16px; border: 2px solid #d5e3fb; border-radius: 14px; font: 400 16px var(--font); background: #f7fbff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--blue-1); box-shadow: 0 0 0 4px rgba(79, 134, 240, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sex { display: flex; flex-wrap: wrap; gap: 10px; }
.sex legend { width: 100%; margin-bottom: 6px; }
.sex-opt { flex: 1; }
.sex-opt input { position: absolute; opacity: 0; }
.sex-opt span { display: block; text-align: center; padding: 11px; border: 2px solid #d5e3fb; border-radius: 14px; cursor: pointer; transition: all .15s; }
.sex-opt input:checked + span { border-color: var(--blue-1); background: #eaf2ff; color: var(--deep); font-weight: 500; }
.sex-opt input:focus-visible + span { outline: 3px solid #ffb84d; outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.agree input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue-1); flex: none; }
.alert { padding: 12px 16px; border-radius: 14px; background: #fff0f3; border: 2px solid #ffc5d2; color: #c22a4f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 10px 0; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e3f9ec; color: #1f9d55; }
.success-icon .ico { width: 40px; height: 40px; }
.success h3 { font: 600 26px var(--font-head); margin-bottom: 8px; }
.success p { color: var(--ink-2); }
.success-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* ---------- download ---------- */
.sec-dl::before { display: none; }
.sec-dl .stitle h2 { color: var(--deep); text-shadow: none; }
.sec-dl .stitle h2 em { color: var(--gold-2); }
.sec-dl .stitle h2::before, .sec-dl .stitle h2::after { background: linear-gradient(90deg, transparent, var(--deep)); }
.sec-dl .stitle small { color: var(--ink-2); }
.dl-card { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--blue-3), 0 16px 30px -14px rgba(30, 60, 150, .4); }
.dl-info { flex: 1; }
.dl-info h3 { font: 600 22px var(--font-head); }
.dl-info p { color: var(--ink-2); font-size: 15px; }

/* ---------- footer ---------- */
.footer { background: #2b4596; color: rgba(255, 255, 255, .7); text-align: center; padding: 40px 0 46px; font-size: 13px; }
.ft-logo { display: inline-flex; flex-direction: column; align-items: center; line-height: .9; margin-bottom: 14px; }
.ft-logo .hl-main { font-size: 30px; }
.ft-logo .hl-top { font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .rail { right: 10px; }
  .wrap { width: min(1060px, 100% - 200px); }
}
@media (max-width: 960px) {
  .wrap { width: min(1060px, 100% - 32px); }
  .rail { top: 0; right: 0; bottom: 0; transform: translateX(100%); justify-content: center; padding: 70px 18px 20px; background: rgba(43, 69, 150, .96); transition: transform .25s; }
  .menu-open .rail { transform: none; }
  .menu-btn { display: block; position: fixed; top: 14px; right: 14px; z-index: 70; width: 48px; height: 48px; padding: 12px; border-radius: 50%; border: 3px solid #fff; background: var(--blue-1); cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
  .menu-btn span { display: block; height: 2.5px; margin: 4px 0; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .rail-nav a { width: 180px; padding: 10px; font-size: 15px; }
  .cls { grid-template-columns: 1fr; }
  .cls-stage { height: 360px; order: -1; }
  .reg { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-logo { left: 16px; top: 14px; }
  .hl-main { font-size: 30px; } .hl-top { font-size: 15px; }
  .hero-copy { padding-bottom: 100px; }
  .grid-2, .ev-wide, .ev-small { grid-template-columns: 1fr; }
  .grid-2 { gap: 34px; }
  .perk-row { flex-direction: column; text-align: center; }
  .dl-big { padding: 8px 16px 8px 10px; gap: 12px; }
  .dl-big::before, .dl-big::after { display: none; }
  .dl-txt b { font-size: 19px; }
  .dl-txt small { font-size: 12px; }
  .dl-win { width: 48px; height: 48px; }
  .dl-gift { display: none; }
  .sec { padding: 70px 0 140px; }
  .rates { grid-template-columns: repeat(3, 1fr); }
  .rate:nth-child(4) { border-left: 0; }
  .rate:nth-child(n+4) { border-top: 1px dashed #c9d8f5; }
  .cls-pick { grid-template-columns: repeat(3, 1fr); justify-content: stretch; }
  .feat-slide figcaption { padding: 40px 16px 14px; }
  .feat-slide h3 { font-size: 20px; } .feat-slide p { font-size: 14px; }
  .feat-nav { width: 38px; height: 38px; font-size: 22px; }
  .dl-card { flex-direction: column; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .reg-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- fixes after visual check ---------- */
.ecard { display: flex; flex-direction: column; }
.ec-foot { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rail-social { width: 88px; }
.rail-social b, .rail-social small { white-space: nowrap; }
#classes { padding-bottom: 40px; }
#register .stitle h2, .sec-dl .stitle h2 { color: var(--deep); text-shadow: 0 2px 0 #fff; }
#register .stitle h2 em { color: var(--gold-2); }
#register .stitle h2::before, #register .stitle h2::after { background: linear-gradient(90deg, transparent, var(--deep)); }
#register .stitle small { color: var(--ink-2); }
#register::before { color: rgba(255, 255, 255, .35); }
.ec-foot { align-items: center; }

/* ---------- with the downloaded artwork ---------- */
.hero-art.has-img { background-position: center 22%; }
.hero-art.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30, 50, 120, .35) 80%, rgba(30, 50, 120, .55)); }
.hero-logo.img { transform: none; top: 6px; left: 10px; }
.hero-logo.img img { width: clamp(150px, 16vw, 260px); height: auto; filter: drop-shadow(0 4px 10px rgba(20, 40, 110, .3)); }
.headline .hl2 { color: #fff3b0; }
.tc-art { height: 190px; }
.tc-art img { max-height: 190px; max-width: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 60%, transparent 100%); }
.ec-art img { height: 100%; object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.ev-wide .ec-art { height: 230px; }
.ecard.sm .ec-art { height: 210px; }
.cls-pick { grid-template-columns: repeat(4, auto); }
.cls-art img { max-height: 520px; }
@media (max-width: 720px) {
  .cls-pick { grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
  .cp-ico { width: 54px; height: 54px; }
  .cls-art img { max-height: 360px; }
  .hero-art.has-img { background-position: 58% 20%; }
}
.hero-logo.img { top: -30px; left: -20px; } .hero-logo.img img { width: clamp(220px, 22vw, 400px); }

/* ---------- play in browser ---------- */
.play-web { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 26px; border-radius: 999px; text-decoration: none;
  font: 600 17px var(--font-head); color: #fff; background: linear-gradient(180deg, #ff8fb5, #e2557f); border: 3px solid #fff;
  box-shadow: 0 6px 0 -1px #b8325b, 0 14px 24px -10px rgba(120, 20, 60, .6); transition: transform .15s; }
.play-web:hover { transform: translateY(-2px) scale(1.03); }
.rail-nav a.rail-play { background: linear-gradient(180deg, #ff9fc0, #e2557f); }
