/* ==========================================================
   domi29.hu – Ülésrend verzióválasztó (fixált, középre igazított)
   ========================================================== */
:root {
  --bg-top: #0c1013;
  --bg-bottom: #090c0e;
  --footer-bg: #07090b;
  --muted: #9aa8b2;
  --text: #eaf1f6;
  --primary: #61e1d0;
  --primary-2: #6dd6ff;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter,
          'Segoe UI Variable', Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* fix: felesleges görgetés megszüntetése */
  color-scheme: dark;
}

body {
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: linear-gradient(120deg, var(--bg-top), var(--bg-bottom));
  animation: bgPulse 18s ease-in-out infinite alternate;
}

/* ==========================================================
   AMBIENT GLOW réteg
   ========================================================== */
#ambient-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(109,214,255,.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================
   CANVAS
   ========================================================== */
#trail-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* ==========================================================
   FEJLÉC
   ========================================================== */
.topbar {
  position: fixed;
  top: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  z-index: 10;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 18px rgba(109,214,255,.6);
}
.brand {
  font-weight: 700;
  letter-spacing: .3px;
}

/* ==========================================================
   TARTALOM
   ========================================================== */
.shell {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: min(920px, 92vw);
  background: rgba(12,17,19,0.7);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  animation: fadeUp .9s ease forwards;
  position: relative;
  text-align: center;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(109,214,255,.12);
  border: 1px solid rgba(109,214,255,.3);
  color: var(--primary-2);
  font-weight: 800;
}

h1 {
  margin: 18px 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
}
.accent {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hint {
  color: var(--muted);
  max-width: 60ch;
  margin: 1rem auto;
}

.only-desktop {
  margin: 1rem auto 2rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.1);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.only-desktop .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 10px var(--primary-2);
}

/* ==========================================================
   LINK STÍLUS
   ========================================================== */
a {
  color: var(--primary-2);
  text-decoration: none;
  position: relative;
  transition: color .25s ease;
}
a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
a:hover {
  color: var(--primary);
}
a:hover::after {
  transform: scaleX(1);
}

/* ==========================================================
   GOMBOK
   ========================================================== */
.choices {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn--choice {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 1.4rem 2rem;
  min-width: 280px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease;
}
.btn--choice:hover {
  transform: scale(1.05);
  border-color: rgba(109,214,255,.35);
}
.btn--choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(109,214,255,.25), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.btn--choice:hover::before {
  opacity: 1;
}

.btn__title {
  font-weight: 800;
  font-size: 1.05rem;
}
.btn__desc {
  color: var(--muted);
  font-size: .9rem;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  font-size: .95rem;
  color: var(--muted);
}
.footer a {
  color: var(--muted);
}
.footer a:hover {
  color: var(--primary);
}

/* ==========================================================
   ANIMÁCIÓK
   ========================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgPulse {
  0% { background: linear-gradient(120deg, #0c1013, #090c0e); }
  50% { background: linear-gradient(120deg, #0b1116, #070a0d); }
  100% { background: linear-gradient(120deg, #0c1013, #090c0e); }
}