/* Urusat Dintorala — summer area. Nordic "aurora" palette on a polar-night base. */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-500.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-700.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-400.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-600.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(fonts/manrope-800.woff2) format("woff2"); }

:root {
  --bg: #06121f;
  --bg-2: #081a2c;
  --surface: #0d2238;
  --surface-2: #12304d;
  --line: rgba(150, 200, 255, .14);
  --text: #eaf4ff;
  --muted: #9db3c9;
  --primary: #2de2c4;
  --secondary: #5aa9ff;
  --tertiary: #9b7bff;
  --accent: #ff5c7a;
  --gold: #ffc857;
  --on-primary: #04131c;
  --radius: 18px;
  --head-h: 76px;
  --wrap: 1240px;
  --font-title: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 40px); }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background:
    radial-gradient(1200px 520px at 85% -120px, rgba(45, 226, 196, .14), transparent 60%),
    radial-gradient(900px 480px at -10% 10%, rgba(155, 123, 255, .12), transparent 60%),
    var(--bg);
  color: var(--text); font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: #7ff3df; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; font-weight: 700; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.ud-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ud-narrow { max-width: 860px; }
.ud-center { text-align: center; margin-top: 36px; }
.ud-muted { color: var(--muted); }
.ud-inline { display: inline; margin: 0; }
.ud-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 8px; }
.ud-skip:focus { left: 12px; }

/* ---------- 18+ strip + header ---------- */
.ud-age-strip { position: fixed; inset: 0 0 auto 0; z-index: 101; height: 28px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #dfe9f5; background: linear-gradient(90deg, #0b2a3f, #1b1f4a, #0b2a3f); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.ud-age-strip b { background: var(--accent); color: #fff; border-radius: 4px; padding: 0 6px; }
.ud-head { position: fixed; top: 28px; left: 0; right: 0; z-index: 100; height: var(--head-h); display: flex; align-items: center; gap: 18px; padding: 0 24px;
  background: linear-gradient(160deg, rgba(6, 18, 31, .82) 60%, rgba(18, 48, 77, .7)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body { padding-top: calc(var(--head-h) + 28px); }
.ud-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.ud-logo span { font: 700 21px/1 var(--font-title); letter-spacing: -.01em; }
.ud-logo em { font-style: normal; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ud-head-panel { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ud-nav { display: flex; gap: 4px; }
.ud-nav a { white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.ud-nav a:hover, .ud-nav a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .06); }
.ud-head-tools { display: flex; align-items: center; gap: 8px; }
.ud-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.ud-lang a { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-decoration: none; color: var(--muted); padding: 4px 8px; border-radius: 999px; }
.ud-lang a.on { background: var(--primary); color: var(--on-primary); }
.ud-balance { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--text);
  background: rgba(255, 200, 87, .1); border: 1px solid rgba(255, 200, 87, .35); }
.ud-balance i { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c4, var(--gold) 55%, #c78a12); box-shadow: 0 0 10px rgba(255, 200, 87, .6); }
.ud-balance b { font-family: var(--font-title); font-size: 15px; }
.ud-balance small { color: var(--muted); font-size: 12px; }
.ud-burger { display: none; width: 44px; height: 44px; margin-left: auto; cursor: pointer; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.ud-burger span, .ud-burger span::before, .ud-burger span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; content: ""; transition: .25s; }
.ud-burger span { top: 21px; } .ud-burger span::before { top: -7px; left: 0; right: 0; } .ud-burger span::after { top: 7px; left: 0; right: 0; }

/* ---------- buttons ---------- */
.ud-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 800 14px/1 var(--font-body); letter-spacing: .03em; text-transform: uppercase; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; }
.ud-btn:hover { transform: translateY(-1px); }
.ud-btn-primary { color: var(--on-primary); background: linear-gradient(120deg, var(--primary), var(--secondary)); box-shadow: 0 10px 28px rgba(45, 226, 196, .28); }
.ud-btn-primary:hover { color: var(--on-primary); box-shadow: 0 14px 34px rgba(45, 226, 196, .42); }
.ud-btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line); }
.ud-btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .09); }
.ud-btn-outline { color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, .85); }
.ud-btn-outline:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.ud-btn-lg { padding: 16px 34px; font-size: 15px; }
.ud-btn-block { width: 100%; }
.ud-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.ud-hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.ud-hero-glow { position: absolute; top: 0; right: 0; width: 55%; height: 100%; background: linear-gradient(to left, rgba(45, 226, 196, .14), transparent); pointer-events: none; }
.ud-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.ud-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.ud-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(45, 226, 196, .7); animation: ud-pulse 2s infinite; }
@keyframes ud-pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 226, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 226, 196, 0); } }
.ud-hero h1 { margin: 24px 0 20px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.ud-hero h1 span { display: block; }
.ud-grad { background: linear-gradient(90deg, var(--primary), var(--tertiary) 50%, var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ud-lead { max-width: 580px; color: #c8d7e8; font-size: 17px; }
.ud-lead strong { color: var(--text); }
.ud-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ud-hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; display: grid; place-items: center; }
.ud-hero-art img { width: 62%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); animation: ud-float 6s ease-in-out infinite; position: relative; }
.ud-aurora { position: absolute; inset: 6%; border-radius: 50%; filter: blur(30px); opacity: .85;
  background: conic-gradient(from 200deg, var(--primary), var(--tertiary), var(--secondary), var(--accent), var(--primary)); animation: ud-spin 18s linear infinite; }
.ud-hero-chip { position: absolute; padding: 10px 14px; border-radius: 14px; background: rgba(8, 26, 44, .85); border: 1px solid var(--line); font: 700 15px var(--font-title); box-shadow: var(--shadow); }
.ud-chip-a { top: 10%; left: 0; } .ud-chip-b { top: 46%; right: -2%; color: var(--gold); } .ud-chip-c { bottom: 8%; left: 12%; }
@keyframes ud-float { 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes ud-spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.ud-section { padding: 72px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.ud-section-alt { background: linear-gradient(180deg, rgba(13, 34, 56, .55), rgba(8, 26, 44, .3)); }
.ud-section-tight { padding: 40px 0 56px; }
.ud-head-block { margin-bottom: 36px; }
.ud-head-block p { max-width: 760px; color: var(--muted); margin-top: 18px; }
.ud-bar { width: 96px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }

/* carousel */
.ud-carousel { position: relative; margin-bottom: 28px; }
.ud-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
.ud-track::-webkit-scrollbar { display: none; }
.ud-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 280px 1fr; min-height: 280px;
  background: radial-gradient(600px 300px at 80% 0, rgba(255, 255, 255, .08), transparent), var(--tint); }
.ud-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.ud-slide-body { padding: 30px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ud-slide-body h3 { font-size: clamp(24px, 3vw, 36px); }
.ud-slide-body p { max-width: 640px; color: #dbe6f3; }
.ud-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.ud-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .25s, background .25s; }
.ud-dots button.on { width: 30px; background: var(--primary); }

/* grid + cards */
.ud-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ud-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ud-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ud-card:hover { transform: translateY(-4px); border-color: rgba(45, 226, 196, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); color: var(--text); }
.ud-card-img { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.ud-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ud-card:hover .ud-card-img img { transform: scale(1.07); }
.ud-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ud-card-body strong { font: 700 15px/1.25 var(--font-title); }
.ud-card-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.ud-score { color: var(--gold); font-weight: 800; }

/* tokens */
.ud-token-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ud-token-card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ud-token-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.ud-token-card li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.ud-token-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.ud-token-member { background: linear-gradient(140deg, rgba(45, 226, 196, .16), rgba(155, 123, 255, .14)), var(--surface); border-color: rgba(45, 226, 196, .45); }
.ud-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--on-primary); background: linear-gradient(120deg, var(--gold), #ff9f43); }
.ud-token-member .ud-badge { position: absolute; top: 18px; right: 18px; }

/* steps + features */
.ud-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.ud-steps li { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ud-step-no { display: block; font: 700 44px/1 var(--font-title); margin-bottom: 14px; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ud-steps p { color: var(--muted); margin: 0; }
.ud-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ud-feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.ud-feature p { color: var(--muted); }
.ud-feature .ud-badge { margin-top: auto; }
.ud-code { width: 100%; overflow-x: auto; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #030b14; border: 1px solid var(--line); color: var(--primary); font-size: 12px; }

/* faq */
.ud-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.ud-faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font: 700 17px var(--font-title); position: relative; }
.ud-faq summary::-webkit-details-marker { display: none; }
.ud-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--primary); transition: transform .2s; }
.ud-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ud-faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* news */
.ud-news { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ud-news > li { display: flex; }
.ud-news-card { display: flex; flex-direction: column; width: 100%; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.ud-news-img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ud-news-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ud-news-body time { font-size: 12px; color: var(--muted); }
.ud-news-body h3 { font-size: 18px; margin-top: 6px; }
.ud-news-body h3 a { color: var(--text); text-decoration: none; }
.ud-news-body p { color: var(--muted); font-size: 14px; }
.ud-more { margin-top: auto; font-weight: 800; text-decoration: none; }
.ud-news-hero { border-radius: var(--radius); margin-bottom: 24px; width: 100%; }

/* pages */
.ud-page-head { padding: 48px 0 32px; background: linear-gradient(180deg, rgba(45, 226, 196, .08), transparent); }
.ud-page-head h1 { font-size: clamp(32px, 5vw, 52px); text-transform: uppercase; }
.ud-page-head p { color: var(--muted); max-width: 760px; }
.ud-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ud-crumbs a { color: var(--muted); }
.ud-doc h2 { font-size: 22px; text-transform: none; margin-top: 32px; }
.ud-doc p, .ud-doc li { color: #c9d7e6; }
.ud-doc ul { padding-left: 22px; }
.ud-doc li { margin-bottom: 6px; }
.ud-doc address { font-style: normal; }

/* filter */
.ud-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ud-filter button { cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 700 14px var(--font-body); }
.ud-filter button.on { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.ud-grid li[hidden] { display: none; }

/* game page + slot */
.ud-game { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.ud-game-art img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); }
.ud-slot { padding: 28px; border-radius: 22px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid rgba(45, 226, 196, .35); box-shadow: var(--shadow); }
.ud-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 10px; }
.ud-reel { display: grid; place-items: center; aspect-ratio: 1; font-size: clamp(40px, 7vw, 64px); border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, #173a5c, #071726); border: 1px solid var(--line); box-shadow: inset 0 -10px 24px rgba(0, 0, 0, .45); }
.ud-reel.spin { animation: ud-reel .12s linear infinite; }
@keyframes ud-reel { 0% { transform: translateY(-6px); filter: blur(2px); } 100% { transform: translateY(6px); filter: blur(2px); } }
.ud-slot-msg { min-height: 1.6em; text-align: center; font-weight: 800; }
.ud-slot-msg.win { color: var(--gold); } .ud-slot-msg.err { color: var(--accent); }
.ud-bets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--muted); font-weight: 700; }
.ud-bets button { cursor: pointer; min-width: 56px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font: 800 14px var(--font-body); }
.ud-bets button.on { border-color: var(--gold); color: var(--gold); background: rgba(255, 200, 87, .1); }
.ud-slot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.ud-slot-bal b { font: 700 22px var(--font-title); color: var(--gold); }
.ud-daily { margin-top: 16px; width: 100%; }
.ud-hint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.ud-paytable { margin-top: 16px; font-size: 14px; }
.ud-paytable summary { cursor: pointer; color: var(--muted); font-weight: 700; }
.ud-paytable ul { list-style: none; padding: 0; margin: 10px 0 0; }
.ud-paytable li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ud-rating { list-style: none; padding: 0; margin: 0; }
.ud-rating li { display: grid; grid-template-columns: 160px 1fr 48px; align-items: center; gap: 14px; padding: 10px 0; }
.ud-rating i { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.ud-rating i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 10px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.ud-rating b { text-align: right; font-family: var(--font-title); }
.ud-rating-total { border-top: 1px solid var(--line); margin-top: 6px; font-size: 18px; }
.ud-rating-total i::after { background: linear-gradient(90deg, var(--gold), #ff9f43); }

/* 18+ */
.ud-age-notice { display: flex; gap: 14px; align-items: center; margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; background: rgba(255, 92, 122, .08); border: 1px solid rgba(255, 92, 122, .35); }
.ud-age-notice p { margin: 0; font-size: 14px; color: #e5d3d8; }
.ud-age-badge { flex-shrink: 0; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--accent); color: #fff; font: 700 20px var(--font-title); background: rgba(255, 92, 122, .15); }
.ud-age-badge-sm { width: 40px; height: 40px; font-size: 13px; border-width: 2px; }

/* auth */
.ud-auth { display: grid; place-items: center; }
.ud-auth-card { width: 100%; max-width: 520px; margin: 0 20px; padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.ud-auth-card > img { margin: 0 auto 12px; }
.ud-auth-card h1 { font-size: 30px; }
.ud-auth-card form { text-align: left; margin-top: 18px; display: grid; gap: 14px; }
.ud-auth-card label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.ud-auth-card small { color: var(--muted); font-weight: 600; }
.ud-auth-card input[type=email], .ud-auth-card input[type=password], .ud-auth-card input[type=text] {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: #071726; color: var(--text); font: 600 15px var(--font-body); }
.ud-auth-card input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.ud-check { grid-template-columns: 22px 1fr !important; align-items: start; font-weight: 600 !important; }
.ud-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.ud-terms-box { max-height: 180px; overflow-y: auto; padding: 14px 16px; border-radius: 12px; background: #071726; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ud-terms-box h4 { font-size: 13px; margin: 10px 0 4px; color: var(--text); }
.ud-terms-box p { margin: 0 0 6px; }
.ud-error { padding: 10px 14px; border-radius: 12px; background: rgba(255, 92, 122, .12); border: 1px solid rgba(255, 92, 122, .45); color: #ffd3dc; font-weight: 700; }
.ud-auth-switch { margin-top: 18px; color: var(--muted); }
.ud-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ud-perks li { padding: 6px 12px; border-radius: 999px; background: rgba(45, 226, 196, .1); border: 1px solid rgba(45, 226, 196, .35); font-size: 13px; font-weight: 700; }
.ud-account-bal { margin: 22px 0; padding: 22px; border-radius: 18px; background: linear-gradient(140deg, rgba(255, 200, 87, .14), rgba(255, 159, 67, .08)); border: 1px solid rgba(255, 200, 87, .35); display: grid; gap: 2px; }
.ud-account-bal span, .ud-account-bal small { color: var(--muted); font-weight: 700; }
.ud-account-bal b { font: 700 44px/1.1 var(--font-title); color: var(--gold); }

/* footer */
.ud-foot { padding: 48px 0 40px; border-top: 1px solid var(--line); background: #040d17; }
.ud-foot-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; }
.ud-foot-copy { margin-top: 16px; font-weight: 700; }
.ud-foot-small { font-size: 13px; color: var(--muted); }
.ud-foot address { font-style: normal; }
.ud-foot-cols { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 20px; }
.ud-foot-cols strong { font: 700 14px var(--font-title); text-transform: uppercase; letter-spacing: .06em; }
.ud-foot-cols ul { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 3px solid var(--line); }
.ud-foot-cols a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; }
.ud-foot-cols a:hover { color: var(--text); }
.ud-age-box { align-self: start; display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: rgba(255, 92, 122, .06); border: 1px solid rgba(255, 92, 122, .3); }
.ud-age-box p { font-size: 14px; color: #d8c7cc; margin: 8px 0 0; }
.ud-help-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ud-help-links a { font-weight: 700; }

/* error page */
.ud-error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.ud-error-card { width: 100%; max-width: 560px; text-align: center; padding: 40px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ud-error-card img { margin: 0 auto; }
.ud-error-code { font: 700 clamp(64px, 14vw, 110px)/1 var(--font-title); background: linear-gradient(90deg, var(--primary), var(--tertiary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 10px 0; }
.ud-error-links { margin: 18px 0; font-size: 14px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .ud-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ud-news { grid-template-columns: repeat(2, 1fr); }
  .ud-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1360px) { .ud-nav a { padding: 8px 8px; font-size: 14px; } .ud-balance small { display: none; } }
@media (max-width: 1180px) {
  .ud-burger { display: block; }
  .ud-head-panel { position: fixed; top: calc(var(--head-h) + 28px); right: 0; bottom: 0; width: min(380px, 100vw); flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 18px; padding: 22px; background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .ud-menu-toggle:checked ~ .ud-head-panel { transform: none; box-shadow: var(--shadow); }
  .ud-menu-toggle:checked ~ .ud-burger span { background: transparent; }
  .ud-menu-toggle:checked ~ .ud-burger span::before { top: 0; transform: rotate(45deg); }
  .ud-menu-toggle:checked ~ .ud-burger span::after { top: 0; transform: rotate(-45deg); }
  .ud-nav { flex-direction: column; }
  .ud-nav a { font-size: 17px; padding: 12px 14px; }
  .ud-head-tools { flex-wrap: wrap; }
  .ud-head-tools .ud-btn, .ud-head-tools form { flex: 1 1 40%; }
  .ud-head-tools form .ud-btn { width: 100%; }
  .ud-hero-grid, .ud-game, .ud-foot-grid { grid-template-columns: minmax(0, 1fr); }
  .ud-hero-art { max-width: 320px; order: -1; }
  .ud-features, .ud-token-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --head-h: 64px; }
  .ud-head { padding: 0 14px; }
  .ud-logo span { font-size: 18px; }
  .ud-logo img { width: 34px; height: 34px; }
  .ud-age-strip { font-size: 11px; justify-content: flex-start; padding: 0 12px; }
  .ud-wrap { padding: 0 16px; }
  .ud-grid, .ud-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ud-news, .ud-steps { grid-template-columns: minmax(0, 1fr); }
  .ud-slide { grid-template-columns: minmax(0, 1fr); }
  .ud-slide-img img { aspect-ratio: 16 / 10; }
  .ud-slide-body { padding: 22px; }
  .ud-section { padding: 52px 0; }
  .ud-hero { padding: 28px 0 48px; }
  .ud-rating li { grid-template-columns: 110px 1fr 40px; }
  .ud-auth-card { padding: 26px 18px; }
  .ud-age-box { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

main, .ud-section, .ud-wrap { min-width: 0; }
.ud-game > *, .ud-hero-grid > * { min-width: 0; }
