/* Royal Table Series — Offline pókerverseny média platform */

:root {
  --ink: #071018;
  --ink-soft: #0e1a24;
  --panel: #122230;
  --panel-lift: #183041;
  --line: rgba(212, 184, 122, 0.18);
  --line-strong: rgba(212, 184, 122, 0.35);
  --cream: #f3e8d6;
  --cream-muted: #c9bda8;
  --brass: #d4b87a;
  --brass-deep: #a8894a;
  --emerald: #1f7a5c;
  --emerald-bright: #2ea87a;
  --signal: #e8a23a;
  --danger-soft: #c45c4a;
  --radius: 2px;
  --max: 1120px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --shadow-glow: 0 0 60px rgba(46, 168, 122, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(31, 122, 92, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(212, 184, 122, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(14, 40, 55, 0.9), transparent 60%),
    linear-gradient(180deg, #061018 0%, #0a1520 40%, #071018 100%);
}

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

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

a:hover {
  color: #f0d9a4;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--cream);
}

.logo-mark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

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

.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brass);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brass);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  padding: 2rem 0 1.75rem;
  overflow: hidden;
}

@media (min-width: 700px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 16, 24, 0.88) 0%, rgba(7, 16, 24, 0.55) 48%, rgba(7, 16, 24, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.35) 0%, rgba(7, 16, 24, 0.92) 100%),
    url("../assets/hero-casino.jpg") center / cover no-repeat;
  animation: heroPulse 14s ease-in-out infinite alternate;
}

.hero-bg img {
  display: none;
}

@keyframes heroPulse {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.04); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .hero-content {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 0.55rem;
  animation: fadeUp 0.8s ease both;
}

.brand-hero span {
  display: inline;
  color: var(--brass);
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream-muted);
  max-width: 42ch;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-cta .btn {
  padding: 0.7rem 1.15rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: #e4c990;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cream);
}

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

/* ——— Badges ——— */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-upcoming {
  color: var(--signal);
  border-color: rgba(232, 162, 58, 0.4);
  background: rgba(232, 162, 58, 0.08);
}

.badge-stream {
  color: var(--emerald-bright);
  border-color: rgba(46, 168, 122, 0.4);
  background: rgba(46, 168, 122, 0.08);
}

.badge-media {
  color: var(--brass);
  border-color: var(--line-strong);
  background: rgba(212, 184, 122, 0.08);
}

/* ——— Featured event strip ——— */
.featured-strip {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

@media (min-width: 800px) {
  .featured-card {
    grid-template-columns: 1.2fr 1fr;
  }
}

.featured-main {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .featured-main {
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding: 2rem;
  }
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.featured-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.featured-loc {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--cream-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.featured-loc strong {
  color: var(--cream);
  font-weight: 600;
}

.featured-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.countdown-panel {
  padding: 1.75rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(31, 122, 92, 0.15), transparent 60%),
    var(--ink-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 800px) {
  .countdown-panel {
    padding: 2rem;
  }
}

.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.countdown-unit {
  text-align: center;
  padding: 0.75rem 0.35rem;
  background: rgba(7, 16, 24, 0.55);
  border: 1px solid var(--line);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

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

/* ——— Disclaimer ——— */
.disclaimer {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--brass);
  background: rgba(212, 184, 122, 0.07);
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-left-color: var(--brass);
}

.disclaimer p {
  font-size: 0.92rem;
  color: var(--cream-muted);
}

.disclaimer strong {
  color: var(--cream);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ——— Sections ——— */
.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.section-desc {
  color: var(--cream-muted);
  max-width: 42ch;
  font-size: 0.95rem;
}

/* ——— Calendar grid ——— */
.calendar-grid {
  display: grid;
  gap: 0.75rem;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem;
  background: var(--panel);
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.event-row:hover {
  border-color: var(--line-strong);
  background: var(--panel-lift);
  transform: translateX(3px);
  color: inherit;
}

@media (min-width: 700px) {
  .event-row {
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 1.25rem;
  }
}

.event-date-block {
  font-family: var(--font-display);
}

.event-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brass);
}

.event-month {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--cream-muted);
}

.event-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.event-info p {
  font-size: 0.88rem;
  color: var(--cream-muted);
}

.event-flag {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 1rem;
}

.event-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

@media (min-width: 700px) {
  .event-side {
    align-items: flex-end;
  }
}

/* ——— Structure / info blocks ——— */
.info-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-block {
  padding: 1.4rem;
  background: var(--ink-soft);
  border-top: 2px solid var(--emerald);
}

.info-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--brass);
}

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

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

.info-block li::before {
  content: "— ";
  color: var(--emerald-bright);
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0.35;
}

.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--cream-muted);
  max-width: 55ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--cream-muted);
}

.breadcrumb a:hover {
  color: var(--brass);
}

/* ——— Prose ——— */
.prose {
  max-width: 70ch;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 2rem 0 0.75rem;
  color: var(--brass);
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  text-transform: none;
}

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

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

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

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

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-item {
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.contact-item h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--cream-muted);
  font-size: 0.95rem;
}

/* ——— Responsible gaming ——— */
.rg-box {
  padding: 1.5rem;
  background: rgba(196, 92, 74, 0.08);
  border: 1px solid rgba(196, 92, 74, 0.3);
  margin: 2rem 0;
}

.rg-box h2,
.rg-box h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.rg-box p {
  color: var(--cream-muted);
  margin-bottom: 0.6rem;
}

.rg-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.rg-links a {
  font-weight: 600;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  flex-shrink: 0;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 12, 18, 0.9);
}

.footer-plaques {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.5rem 0 0;
}

@media (min-width: 700px) {
  .footer-plaques {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-plaques {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plaque {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream-muted);
  line-height: 1.4;
}

.footer-main {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
}

@media (min-width: 800px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo-mark {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--cream-muted);
  max-width: 36ch;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--cream-muted);
  font-size: 0.88rem;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--cream-muted);
}

.footer-rg {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-rg a {
  font-weight: 600;
  font-size: 0.8rem;
}

/* ——— Stream info ——— */
.stream-info {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(31, 122, 92, 0.2), rgba(14, 26, 36, 0.8));
  border: 1px solid rgba(46, 168, 122, 0.3);
  margin: 1.5rem 0;
}

.stream-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--emerald-bright);
}

.stream-info p {
  color: var(--cream-muted);
  font-size: 0.92rem;
}

/* ——— Legal notice bar ——— */
.legal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-muted);
  border-bottom: 1px solid var(--line);
}

.legal-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legal-bar span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--emerald);
  border-radius: 50%;
}

/* ——— Utility ——— */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.text-muted { color: var(--cream-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Mobile nav ——— */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(7, 16, 24, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

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

  .nav-badge {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
