/* Danube Master Club — Offline pókerverseny médiaplatform */
:root {
  --bg: #0a0e12;
  --bg-elevated: #12181f;
  --surface: #171e27;
  --surface-hover: #1e2733;
  --line: rgba(212, 168, 75, 0.18);
  --line-soft: rgba(232, 228, 220, 0.08);
  --gold: #d4a84b;
  --gold-soft: #e8c878;
  --gold-dim: rgba(212, 168, 75, 0.12);
  --teal: #3d8b7a;
  --teal-soft: #5aaf9c;
  --text: #ece8e0;
  --text-muted: #9aa3ae;
  --text-dim: #6b7480;
  --danger: #c45c5c;
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(61, 139, 122, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(212, 168, 75, 0.08), transparent 50%),
    linear-gradient(180deg, #0a0e12 0%, #0c1118 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(10, 14, 18, 0.85);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}

.logo-mark span {
  color: var(--gold);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 0.45rem;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, 0.35) 0%, rgba(10, 14, 18, 0.75) 45%, rgba(10, 14, 18, 0.97) 100%),
    linear-gradient(105deg, rgba(10, 14, 18, 0.7) 0%, transparent 55%),
    url("../assets/hero-venue.svg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge--upcoming {
  background: var(--gold-dim);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 168, 75, 0.35);
}

.badge--stream {
  background: rgba(61, 139, 122, 0.15);
  color: var(--teal-soft);
  border: 1px solid rgba(61, 139, 122, 0.35);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.brand-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text);
}

.brand-hero em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-headline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.meta-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.meta-value .flag {
  margin-right: 0.4rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--gold);
  color: #0a0e12;
}

.btn--primary:hover {
  background: var(--gold-soft);
  color: #0a0e12;
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* —— Countdown —— */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 2rem;
  max-width: 420px;
  animation: fadeUp 1s 0.15s var(--ease) both;
}

.countdown-unit {
  background: rgba(23, 30, 39, 0.85);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.countdown-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* —— Notice block —— */
.notice {
  margin: 3rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
}

.notice-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(18, 24, 31, 0.6), transparent);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Calendar / event list —— */
.event-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background 0.25s, transform 0.25s var(--ease);
  text-decoration: none;
  color: inherit;
  animation: fadeUp 0.6s var(--ease) both;
}

.event-card:hover {
  border-color: rgba(212, 168, 75, 0.4);
  background: var(--surface-hover);
  transform: translateX(4px);
  color: inherit;
}

.event-card.is-featured {
  border-color: rgba(212, 168, 75, 0.45);
  background: linear-gradient(90deg, rgba(212, 168, 75, 0.08), var(--surface));
}

.event-date {
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding-right: 1rem;
}

.event-date-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold);
}

.event-date-mon {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.event-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.event-loc {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.event-status {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
  white-space: nowrap;
}

.flag {
  display: inline-block;
  width: 1.15em;
  height: 0.85em;
  border-radius: 1px;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.flag-hu { background: linear-gradient(180deg, #ce2939 33%, #fff 33% 66%, #477050 66%); }
.flag-at { background: linear-gradient(180deg, #ed2939 33%, #fff 33% 66%, #ed2939 66%); }
.flag-cz { background: linear-gradient(90deg, #11457e 38%, transparent 38%), linear-gradient(180deg, #fff 50%, #d7141a 50%); }
.flag-de { background: linear-gradient(180deg, #000 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag-fr { background: linear-gradient(90deg, #002395 33%, #fff 33% 66%, #ed2939 66%); }
.flag-gb { background: linear-gradient(180deg, #012169 0%, #012169 100%); position: relative; }
.flag-gb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(90deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(transparent 44%, #c8102e 44% 56%, transparent 56%),
    linear-gradient(90deg, transparent 44%, #c8102e 44% 56%, transparent 56%);
}
.flag-nl { background: linear-gradient(180deg, #ae1c28 33%, #fff 33% 66%, #21468b 66%); }
.flag-es { background: linear-gradient(180deg, #aa151b 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-it { background: linear-gradient(90deg, #009246 33%, #fff 33% 66%, #ce2b37 66%); }
.flag-mc { background: linear-gradient(180deg, #ce1126 50%, #fff 50%); }
.flag-pt { background: linear-gradient(90deg, #006600 40%, #ff0000 40%); }

/* —— Structure / info blocks —— */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-block {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  animation: fadeUp 0.7s var(--ease) both;
}

.info-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--gold-soft);
}

.info-block p,
.info-block li {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.info-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.info-block li::before {
  content: "—";
  color: var(--gold);
  margin-right: 0.5rem;
}

/* —— Responsible gaming —— */
.rg-block {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.rg-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.rg-block p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}

.rg-links a {
  font-size: 0.875rem;
  font-weight: 500;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.prose {
  max-width: 720px;
  padding: 3rem 0 4rem;
  position: relative;
  z-index: 1;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--gold-soft);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  margin: 0.5rem 0 1rem 1.1rem;
  list-style: disc;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-item {
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-item span,
.contact-item a {
  color: var(--text);
  font-size: 1rem;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  border-top: 1px solid var(--line-soft);
  background: #070a0d;
  padding: 3rem 0 2rem;
}

.footer-disclaimers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.disclaimer-chip {
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-mark {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer-bottom-links .age-pill {
  flex-shrink: 0;
}

/* —— Event detail —— */
.event-detail-hero {
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
}

.event-detail-hero .brand-hero {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.structure-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.structure-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.925rem;
}

.structure-item dt {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.structure-item dd {
  color: var(--text);
  font-weight: 500;
}

/* —— Cookie bar —— */
.cookie-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: min(100% - 2rem, 640px);
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 200;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease);
}

.cookie-bar.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-bar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.cookie-bar .cta-row {
  gap: 0.6rem;
}

.cookie-bar .btn {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .footer-disclaimers {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 80px 1fr;
  }

  .event-status {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(10, 14, 18, 0.97);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .header-inner .age-pill {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .structure-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .footer-disclaimers {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 1rem 1.5rem;
  }

  .countdown {
    max-width: none;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .event-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    border-right: none;
    padding-right: 0;
    text-align: left;
  }

  .event-date-day {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
