﻿:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #0f172a;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.6);
}

/* alapok */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-mark {
  background: var(--accent);
  color: #020617;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
}

.logo-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    align-items: stretch;
  }
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text h1 span {
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--muted);
}

.hero-text p {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #1d283a, #020617);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.metric-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.metric-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.hero-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-list li + li {
  margin-top: 0.4rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.14s ease;
}

.btn.primary {
  background: var(--accent);
  color: #020617;
  font-weight: 600;
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
  background: rgba(15, 23, 42, 0.6);
}

/* SECTIONS */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 40%, #050816 100%);
}

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

.section-lead {
  margin: 0 0 2.1rem;
  max-width: 40rem;
  color: var(--muted);
}

/* CARDS */

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* RESULTS */

.results-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .results-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
    align-items: center;
  }
}

.results-highlight {
  background: radial-gradient(circle at top, #0ea5e9, #0369a1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  color: #e0f2fe;
}

.results-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.results-value {
  display: block;
  font-size: 2.3rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

.results-desc {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.results-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.results-list li + li {
  margin-top: 0.35rem;
}

/* ARCHITEKTÚRA */

.architecture {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.architecture-step {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  position: relative;
}

.architecture-step::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.architecture-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.architecture-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ABOUT */

.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-grid p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CONTACT */

.contact-line {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.contact-line a {
  color: var(--accent);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1.2rem 0 1.4rem;
  background: #020617;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* MOBILE NAV egyszerűsítés */

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .hero-card {
    order: -1;
  }
}

/* PORTAL GRID */

.portal-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .portal-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    align-items: flex-start;
  }
}

.portal-panel {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

/* PORTAL TABS & FORMS */

.portal-tabs {
  display: inline-flex;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
  margin-bottom: 1rem;
}

.portal-tab-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.portal-tab-btn.active {
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  transform: translateY(-1px);
}

.portal-form {
  display: none;
}

.portal-form.is-active {
  display: block;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-row input {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

.form-row input:focus {
  border-color: var(--accent);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* PORTAL STATUS */

.portal-text {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.status-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-label {
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4b5563;
}

.status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}

.status-dot.offline {
  background: #f97373;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.28);
}

.status-pill {
  font-size: 0.78rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  white-space: nowrap;
}

.status-offline {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
}

.status-online {
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.35);
}


/* PORTAL HINT */

.portal-hint {
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  padding: 0.8rem 0.9rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.11), transparent);
}

.portal-hint p {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.portal-mini {
  font-size: 0.78rem;
  opacity: 0.9;
}


.hidden {
  display: none;
}

/* ROBOT DETAILS */

.robot-details {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.robot-account-card {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.7rem 0.9rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent);
}

.robot-account-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.robot-account-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.robot-account-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.robot-badge-live {
  font-size: 0.75rem;
  padding: 0.06rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.6);
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.25);
}

.robot-badge-demo {
  font-size: 0.75rem;
  padding: 0.06rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.6);
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.25);
}

.robot-badge-balance {
  font-size: 0.78rem;
  padding: 0.06rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.robot-instance-list {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.robot-instance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.robot-instance-main {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.robot-instance-symbol {
  font-weight: 500;
}

.robot-instance-magic {
  color: var(--muted);
  font-size: 0.78rem;
}

.robot-instance-lastseen {
  color: var(--muted);
  font-size: 0.78rem;
}

/* USER PORTAL (bejelentkezés után) */

.user-portal {
  margin-top: 0.75rem;
}

.user-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-portal-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

#user-portal-name {
  font-size: 1.15rem;
  font-weight: 600;
}

.user-portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.user-portal-tab-btn {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.user-portal-tab-btn.active {
  background: var(--accent);
  color: #020617;
  font-weight: 600;
  transform: translateY(-1px);
}

.user-portal-sections {
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.92);
  padding: 0.85rem 0.95rem;
}

.user-portal-section {
  display: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.user-portal-section.is-active {
  display: block;
}

.download-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 800px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.download-card {
  border-radius: 12px;
  border: 1px solid rgba(30, 64, 175, 0.6);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  padding: 0.75rem 0.85rem;
}

.download-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.download-meta {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.9;
  margin-bottom: 0.45rem;
}

.download-note {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.user-portal-list {
  margin-top: 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.user-portal-list li + li {
  margin-top: 0.2rem;
}

.docs-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.docs-pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: rgba(15, 23, 42, 0.96);
}

.btn.ghost.small {
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
}

/* Általános hidden helper (ha még nem lenne) */
.hidden {
  display: none !important;
}

/* ADMIN PORTAL STYLES */

.admin-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

@media (min-width: 900px) {
  .admin-grid {
    grid-template-columns: 2fr 1.2fr;
  }
}

.admin-card {
  border-radius: 12px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.94));
  padding: 0.8rem 0.9rem;
}

.admin-card-secondary {
  border-style: dashed;
}

.admin-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.admin-card-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.admin-users-table-wrapper {
  max-height: 260px;
  overflow: auto;
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.admin-users-table th,
.admin-users-table td {
  padding: 0.3rem 0.35rem;
  text-align: left;
}

.admin-users-table thead {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.98);
  z-index: 1;
}

.admin-users-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.8);
}

.admin-empty {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.4rem;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.admin-pill-role-admin {
  border-color: rgba(59, 130, 246, 0.9);
}

.admin-pill-role-super {
  border-color: rgba(16, 185, 129, 0.9);
}

.admin-pill-status-active {
  border-color: rgba(22, 163, 74, 0.9);
}

.admin-pill-status-blocked {
  border-color: rgba(220, 38, 38, 0.9);
}

.admin-status-select {
  font-size: 0.75rem;
  padding: 0.1rem 0.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 6px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--muted);
}

.admin-status-until {
  font-size: 0.75rem;
  padding: 0.1rem 0.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 6px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--muted);
}

.btn.small {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
}

.admin-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.96);
}

.admin-action-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.admin-action-text {
  font-size: 0.75rem;
  color: var(--muted);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ADMIN LAYOUT TWEAK – kártyák egymás alatt, teljes szélességben */
.admin-grid {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* mindkét admin kártya húzódjon ki teljes szélességig */
.admin-card {
  width: 100%;
}

/* ne vágjuk el a user táblát túl kicsi magasságnál */
.admin-users-table-wrapper {
  max-height: none;
}
/* USER PORTAL – szélesebb kártya, mint a sima login box */

#user-portal {
  width: 100%;
}

/* ha a user-portal is ugyanazt a "portal-auth-card" klasszt használja,
   akkor itt felülírjuk a max-width-et csak erre az elemre */
#user-portal.portal-auth-card {
  max-width: 1100px;      /* kb. akkora, mint az alatta lévő BETA státusz panel */
  margin-left: auto;
  margin-right: auto;
}
/* PORTAL LAYOUT OVERRIDE – minden panel teljes szélességen, egymás alatt */
.portal-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* ADMIN FELTÖLTŐ FORMOK */

.admin-upload-form {
  margin-top: 0.8rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(55, 65, 81, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.admin-upload-row label {
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 120px;
}

.admin-upload-row input[type="text"],
.admin-upload-row textarea,
.admin-upload-row select {
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  flex: 1 1 200px;
}

.admin-upload-row textarea {
  min-height: 60px;
  resize: vertical;
}

.admin-upload-row input[type="file"] {
  font-size: 0.8rem;
}
/* COUNTDOWN BANNER (nyílt BETA) */

.countdown-banner {
  margin-bottom: 2.2rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.96);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.countdown-text {
  min-width: 220px;
}

.countdown-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.countdown-title {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.3rem;
}

.countdown-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.countdown-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(60px, 1fr);
  gap: 0.4rem;
}

.countdown-unit {
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(30, 64, 175, 0.8);
  background: rgba(15, 23, 42, 0.96);
  text-align: center;
}

.countdown-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.countdown-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .countdown-banner {
    padding: 0.8rem 0.9rem;
  }
  .countdown-grid {
    width: 100%;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ROADMAP – idővonal */

.portal-roadmap {
  margin-top: 1.8rem;
}

.portal-roadmap-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.portal-roadmap-intro {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.roadmap-timeline {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.roadmap-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.96);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.roadmap-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.roadmap-dot {
  margin-top: 0.2rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at center, var(--accent), #0ea5e9);
  flex-shrink: 0;
}

.roadmap-content {
  flex: 1;
}

.roadmap-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.roadmap-date {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.roadmap-status {
  font-weight: 500;
}

/* Elkészült állomások – élénkebb */
.roadmap-item-done {
  border-color: rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.98);
}

/* Jövőbeli állomások – kicsit tompább, „inaktív” */
.roadmap-item-upcoming {
  opacity: 0.85;
  border-style: dashed;
  border-color: rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), transparent 55%),
    rgba(15, 23, 42, 0.96);
}

.roadmap-item-upcoming .roadmap-label {
  color: var(--muted);
}

/* KÖSZÖNETFAL */

.portal-thanks {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(31, 41, 55, 0.9);
}

.portal-thanks-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.portal-thanks-intro {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.thanks-grid {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.thanks-pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  white-space: nowrap;
}
