/* Rikiki Landing — Old Money (szinkron: src/css/core.css tokenek) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --bg: #0B1524;
  --bg-dark: #0B1524;
  --surf: #162030;
  --surf2: #0F1A2A;
  --acc: #C2A878;
  --om-gold: #E2C98F;
  --om-ivory: #F5F1E8;
  --om-hunter-green: #1A3C34;
  --om-burgundy: #5A2A2A;
  --bg-card: rgba(15, 26, 42, 0.88);
  --bg-card-hover: rgba(22, 32, 48, 0.96);
  --gold-primary: #C2A878;
  --gold-light: #E2C98F;
  --gold-dark: #6b5230;
  --gold-glow: rgba(194, 168, 120, 0.42);
  --emerald-felt: #1A3C34;
  --emerald-glow: rgba(26, 60, 52, 0.55);
  --ruby-accent: #5A2A2A;
  --ruby-glow: rgba(90, 42, 42, 0.45);
  --text-main: #F5F1E8;
  --text-muted: #C9C4B8;
  --border-gold: rgba(194, 168, 120, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.65);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(26, 60, 52, 0.45), transparent 55%),
    radial-gradient(circle at 88% 18%, rgba(194, 168, 120, 0.1), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(90, 42, 42, 0.08), transparent 45%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar for Smooth Touch Carousels */
::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(4, 7, 10, 0.8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

/* Ambient Particles */
.bg-ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 30px 40px, rgba(194, 168, 120, 0.22), transparent),
    radial-gradient(2px 2px at 70px 110px, rgba(226, 201, 143, 0.18), transparent),
    radial-gradient(3px 3px at 140px 60px, rgba(194, 168, 120, 0.25), transparent);
  background-size: 240px 240px;
  animation: floatParticles 35s linear infinite;
  opacity: 0.55;
}

@keyframes floatParticles {
  from { background-position: 0 0; }
  to { background-position: 240px 480px; }
}

/* Header Navigation & Top-Left 3D Scaled Logo */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.65rem 1.75rem;
  background: rgba(11, 21, 36, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  height: 64px;
}

.nav-brand-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-crown-mark {
  width: 30px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--om-gold);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  background: rgba(15, 26, 42, 0.85);
  color: var(--om-gold);
  font-size: 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-menu-toggle:hover {
  border-color: var(--gold-light);
  background: rgba(22, 32, 48, 0.95);
}

.u-hidden {
  display: none !important;
}

.locale-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.75rem;
  margin-left: auto;
  margin-right: 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(15, 26, 42, 0.85);
  color: var(--om-gold);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.locale-chip:hover {
  border-color: var(--gold-light);
  background: rgba(22, 32, 48, 0.95);
}

.locale-chip-caret {
  font-size: 0.75rem;
  opacity: 0.75;
}

.locale-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(4, 8, 14, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.locale-picker-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.locale-picker-sheet {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 1101;
  min-width: 200px;
  max-width: min(92vw, 280px);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(11, 21, 36, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.locale-picker-sheet.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.locale-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.locale-option:hover {
  background: rgba(194, 168, 120, 0.08);
  color: var(--gold-light);
}

.locale-option.is-active {
  color: var(--om-gold);
  background: rgba(194, 168, 120, 0.12);
}

html.landing-cjk body {
  font-family: 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', var(--font-sans), sans-serif;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 12px var(--gold-glow);
}

.btn-nav-play {
  background: linear-gradient(145deg, rgba(50, 20, 25, 0.95) 0%, var(--surf2) 100%);
  color: var(--om-gold) !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  box-shadow: inset 0 0 16px rgba(226, 201, 143, 0.06), 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease !important;
  border: 1px solid var(--border-gold);
  white-space: nowrap;
}

.btn-nav-play:hover {
  transform: translateY(-1px);
  border-color: var(--gold-light);
  box-shadow: inset 0 0 22px rgba(226, 201, 143, 0.1), 0 8px 24px var(--gold-glow);
  color: var(--gold-light) !important;
}

/* Container */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 108px 0 48px;
  text-align: center;
  overflow: hidden;
}

.hero-felt-orb {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(920px, 130vw);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(26, 60, 52, 0.5) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-logo-stage {
  position: relative;
  width: min(360px, 88vw);
  height: 168px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-logo-stage .majestic-aura {
  top: 50%;
  left: 50%;
}

.premium-logo-scaler-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.section-avatars {
  padding-top: 48px;
  padding-bottom: 72px;
}

.section-title-wrap--tight {
  margin-bottom: 28px;
}

.rules-summary-grid {
  margin-bottom: 36px;
}

.rules-open-btn {
  font-size: 1.05rem;
  padding: 0.95rem 2.2rem;
  cursor: pointer;
  border: none;
}

.rules-open-wrap {
  text-align: center;
}

.rules-open-btn i {
  vertical-align: middle;
  margin-right: 8px;
}

.premium-logo-scaler-hero .logo-scene {
  transform: scale(0.34);
  transform-origin: center center;
  filter: brightness(0.96) saturate(0.92);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.hero-kicker i {
  color: var(--acc);
  font-size: 1rem;
}

/* Sunburst Aura */
.majestic-aura {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  z-index: 0;
  pointer-events: none;
}

.sunburst-elegant {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 8deg,
    rgba(194, 168, 120, 0.04) 12deg,
    transparent 16deg
  );
  border-radius: 50%;
  animation: spin-slow 120s linear infinite;
  mask-image: radial-gradient(circle, black 5%, transparent 50%);
  -webkit-mask-image: radial-gradient(circle, black 5%, transparent 50%);
}

@keyframes spin-slow {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 3D Bevel Logo Text Architecture */
.logo-text-wrapper {
  position: relative;
  z-index: 20;
  display: inline-block;
}

.logo-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 130px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 5px;
  white-space: nowrap;
  line-height: 1;
}

.cap {
  font-size: 160px;
  vertical-align: baseline;
}

/* Ri | Ki | King — fél szóközös szótagelválasztás (landing preview) */
.logo-word-gap {
  display: inline-block;
  width: 0.22em;
  vertical-align: baseline;
}

.front-text {
  background: linear-gradient(
    to bottom, 
    #fff6cc 0%, 
    #d4af37 35%, 
    #5a3d05 48%, 
    #ffe699 52%, 
    #d4af37 80%,
    #5a3d05 100%
  );
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 246, 204, 0.85);
  position: relative;
  z-index: 20;
}

.back-text {
  position: absolute;
  top: 0; left: 0;
  color: #2b1c03; 
  -webkit-text-stroke: 4px #0a0400; 
  text-shadow: 
    0 1px 0 #3b2704,
    0 2px 0 #2b1c03,
    0 3px 0 #1c1101,
    0 4px 0 #0a0400,
    0 15px 25px rgba(0,0,0,0.95), 
    0 5px 15px rgba(0,0,0,1),
    0 0 50px rgba(212, 175, 55, 0.4);
  z-index: 10;
  pointer-events: none;
}

/* In-Game Ornaments Layer */
.ornaments-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 30;
}

.ruby-wrapper {
  position: absolute;
  bottom: 145px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: initial;
  letter-spacing: normal;
  z-index: 30;
}

.ruby-glow {
  position: absolute;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(255, 30, 30, 0.8), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  animation: heartbeat 3s infinite ease-in-out;
}

.crown-wrapper {
  position: absolute; 
  bottom: 120px;
  transform-origin: 50% 89%;
  transform: translateX(-50%) scale(0.32) rotate(12deg);
  z-index: 30; 
  pointer-events: none;
  font-size: initial;
  letter-spacing: normal;
}

.crown-backglow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.7), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  mix-blend-mode: screen;
  animation: heartbeat 4s infinite ease-in-out;
}

@keyframes heartbeat {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.hero-stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 26, 42, 0.65);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.hero-stat i {
  color: var(--acc);
  font-size: 1rem;
}

.hero-stat strong {
  color: var(--gold-light);
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--om-ivory);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  font-weight: 400;
  line-height: 1.75;
}

/* Download CTA Buttons */
.download-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  scroll-margin-top: 88px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: linear-gradient(145deg, var(--surf) 0%, var(--surf2) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--om-ivory);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: inset 0 0 18px rgba(226, 201, 143, 0.04), 0 10px 28px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.store-btn:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold-light);
  background: rgba(22, 38, 58, 0.98);
  box-shadow: 0 18px 45px var(--gold-glow);
}

.store-btn--soon {
  position: relative;
  cursor: default;
  opacity: 0.9;
}

.store-btn--soon:hover {
  transform: none;
  border-color: var(--border-gold);
  background: linear-gradient(145deg, var(--surf) 0%, var(--surf2) 100%);
  box-shadow: inset 0 0 18px rgba(226, 201, 143, 0.04), 0 10px 28px rgba(0, 0, 0, 0.5);
}

.store-soon-badge {
  position: absolute;
  top: -9px;
  right: -6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--om-ivory);
  background: linear-gradient(145deg, rgba(50, 20, 25, 0.98), rgba(26, 60, 52, 0.95));
  border: 1px solid rgba(194, 168, 120, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.store-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.store-btn-text {
  text-align: left;
}

.store-btn-subtitle {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.store-btn-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

/* ==========================================================================
   GAME-EXACT OVAL FRAME & METALLIC SEAT PLAQUES (.seat-plaque-wrap)
   ========================================================================== */
.game-seats-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 15px; /* prevents frame crown clipping on hover */
  overflow: visible;
}

.seat-avatar-card {
  background: rgba(13, 23, 36, 0.92);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 18px 20px 18px;
  width: 240px;
  text-align: center;
  box-shadow: var(--shadow-premium);
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(14px);
  overflow: visible; /* ensures frame crowns and fire canvas never get cut off */
}

.seat-avatar-card:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: var(--gold-light);
  box-shadow: 0 22px 50px var(--gold-glow);
  z-index: 10;
}

/* Oval Frame Preview Component */
.oval-frame-preview {
  position: relative;
  display: block;
  width: 140px;
  height: 140px;
  aspect-ratio: 1/1;
  margin: 0 auto 16px auto;
  border: 0;
  background: transparent;
  overflow: visible;
}

.oval-frame-preview .oval-preview-portrait {
  position: absolute;
  left: var(--oval-slot-left, 23.05%);
  top: var(--oval-slot-top, 12.7%);
  width: var(--oval-slot-width, 54.1%);
  height: var(--oval-slot-height, 76.37%);
  z-index: 1;
  overflow: hidden;
  clip-path: ellipse(50% 50% at 50% 50%);
  background: radial-gradient(ellipse at 38% 22%, rgba(72,96,140,.38), rgba(8,14,24,.94) 68%);
}

.oval-frame-preview .oval-preview-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  object-position: 50% 50%;
}

.oval-frame-preview .oval-preview-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)) contrast(1.05);
}

/* Metallic Seat Plaque Wrapper */
.seat-plaque-wrap {
  position: relative;
  width: 100%;
  margin: 8px auto 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  overflow: visible;
}

.seat-plaque-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Plaque Name Box - Centered Avatar Name Overlay */
.seat-plaque-name-box {
  position: absolute;
  top: 12%;
  left: 4%;
  width: 92%;
  height: 37%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.seat-plaque-name-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  line-height: 1;
}

/* Game-Exact Metallic Plaque Themes (02_init.js mapping) */
.plaque-stem-13 {
  --seat-frame: #4f423b;
  --plaque-fill-top: #14100e;
  --plaque-fill-bottom: #070504;
}

.plaque-stem-07 {
  --seat-frame: #81614c;
  --plaque-fill-top: #1d1610;
  --plaque-fill-bottom: #0a0705;
}

.plaque-stem-02 {
  --seat-frame: #614330;
  --plaque-fill-top: #160f0b;
  --plaque-fill-bottom: #070403;
}

.plaque-stem-08 {
  --seat-frame: #5a533c;
  --plaque-fill-top: #15130d;
  --plaque-fill-bottom: #070604;
}

/* Apex Canvas Fire Animation Slot */
.apex-plaque-fire-slot {
  position: absolute;
  left: 2%;
  width: 96%;
  top: 12%;
  height: 90px;
  transform: translateY(-100%);
  z-index: 2;
  pointer-events: none;
}

.apex-plaque-fire-slot canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(0.5px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

/* ==========================================================================
   FRAMELESS UNIFORM MOBILE DEVICE MOCKUPS
   ========================================================================== */
.mobile-gameplay-section {
  padding: 40px 0 90px 0;
  overflow: visible;
}

.mobile-phones-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 35px;
}

/* Clean Frameless Mobile Chassis */
.mobile-device-chassis {
  width: 250px;
  height: 560px;
  flex: 0 0 250px;
  background: #090e15;
  border: 3px solid var(--border-gold);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-premium), 0 0 35px rgba(212, 175, 55, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-device-chassis:hover {
  transform: translateY(-10px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-premium), 0 0 55px rgba(212, 175, 55, 0.45);
}

/* Screen container */
.mobile-device-screen {
  width: 100%;
  height: 480px;
  aspect-ratio: 393 / 852;
  border-radius: 20px;
  overflow: hidden;
  background: #05090e;
  position: relative;
  border: 1.5px solid rgba(255,255,255,0.12);
}

.mobile-device-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.mobile-device-meta {
  width: 100%;
  text-align: center;
  padding-top: 8px;
}

.mobile-device-caption {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.25;
}

.mobile-device-caption i {
  color: var(--acc);
}

.mobile-device-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}

/* Sections & Cards */
.section {
  padding: 90px 0;
  overflow: visible;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--om-ivory);
  margin-bottom: 12px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 10px;
}

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

/* Features Grid (6 Cards 3x2 Grid) */
.features-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .features-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: linear-gradient(145deg, var(--surf) 0%, var(--surf2) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 18px rgba(226, 201, 143, 0.03), 0 12px 30px rgba(0, 0, 0, 0.45);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-premium);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.14);
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 24px;
  color: var(--gold-primary);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--om-gold);
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Interactive Official Rules Modal Component */
.rules-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 4, 7, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.rules-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.rules-modal-card {
  background: rgba(10, 18, 28, 0.97);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.rules-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-gold);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.rules-modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-light);
  font-weight: 900;
}

.rules-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15, 26, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rules-modal-close:hover {
  color: var(--gold-light);
  border-color: var(--border-gold);
}

.rules-section-block {
  margin-bottom: 28px;
}

.rules-section-block h3 {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rules-section-block p, .rules-section-block ul {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
}

.rules-section-block ul {
  padding-left: 22px;
}

.rules-section-block li {
  margin-bottom: 8px;
}

.rules-callout {
  background: rgba(194, 168, 120, 0.12);
  padding: 14px;
  border-left: 3px solid var(--gold-primary);
  border-radius: 8px;
  margin-top: 10px;
}

/* Legal Documents Layout */
.legal-page {
  padding: 165px 0 90px 0;
  max-width: 940px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 55px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-premium);
}

.legal-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--border-gold);
  padding-bottom: 20px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 35px;
}

.legal-lang-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.legal-lang-btn {
  min-width: 44px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  background: rgba(11, 21, 36, 0.55);
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  cursor: pointer;
}
.legal-lang-btn.is-active {
  color: var(--gold-light);
  background: rgba(194, 168, 120, 0.18);
  box-shadow: 0 0 0 1px rgba(194, 168, 120, 0.35);
}

.legal-body {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.75;
}

.legal-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.48rem;
  color: var(--gold-primary);
  margin: 34px 0 14px 0;
}

.legal-body p, .legal-body ul {
  margin-bottom: 18px;
}

.legal-body ul {
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 10px;
}

/* Form Styles for Delete Account */
.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 0.98rem;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(5, 9, 14, 0.9);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 18px var(--gold-glow);
}

.form-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--ruby-accent), #660000);
  border: 1px solid rgba(255,100,100,0.4);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 800;
  font-size: 1.12rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.form-btn:hover {
  background: linear-gradient(135deg, #c40000, #880000);
  box-shadow: 0 6px 25px var(--ruby-glow);
}

/* Footer */
.site-footer {
  border-top: 1.5px solid var(--border-gold);
  padding: 65px 0 40px 0;
  background: rgba(3, 5, 8, 0.98);
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

/* ==========================================================================
   RESPONSIVE MOBILE CAROUSELS & COMPACT HEADER NAV
   ========================================================================== */
@media (max-width: 768px) {
  .header-nav {
    padding: 0.55rem 1rem;
    height: 58px;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .locale-chip {
    margin-right: 0.35rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    min-height: 38px;
    min-width: 38px;
    justify-content: center;
    touch-action: manipulation;
  }

  .locale-chip #locale-chip-label {
    display: none;
  }

  .locale-picker-sheet {
    top: 62px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .nav-links {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: rgba(11, 21, 36, 0.98);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

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

  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links a:last-child {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
  }

  .nav-links a:not(.btn-nav-play) {
    display: block;
  }

  .btn-nav-play {
    padding: 0.65rem 1.1rem !important;
    font-size: 0.9rem !important;
  }

  .hero-section {
    padding-top: 88px;
  }

  .premium-logo-scaler-hero {
    height: 140px;
  }

  .premium-logo-scaler-hero .logo-scene {
    transform: scale(0.28);
  }

  .hero-stats-strip {
    gap: 8px;
  }

  .hero-stat {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  .store-btn {
    padding: 12px 20px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .legal-page {
    padding: 110px 1rem 60px 1rem;
  }

  .legal-card {
    padding: 28px 18px;
  }

  .legal-title {
    font-size: 1.8rem;
  }

  .rules-modal-card {
    padding: 24px 18px;
    max-height: 90vh;
  }

  /* 1. Mobilos Játékmenet Képek — Oldalra lapozható Touch Carousel */
  .mobile-phones-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 15px 1.2rem 20px 1.2rem;
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    gap: 18px;
  }

  .mobile-device-chassis {
    flex: 0 0 230px;
    height: 520px;
    scroll-snap-align: center;
  }

  .mobile-device-screen {
    height: 440px;
  }

  /* 2. Díszes Keretek & Avatárok — Oldalra lapozható Touch Carousel */
  .game-seats-showcase {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 1.2rem 20px 1.2rem;
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    gap: 18px;
  }

  .seat-avatar-card {
    flex: 0 0 215px;
    scroll-snap-align: center;
  }

  /* 3. Szalon & Gardrób Boxok — Oldalra lapozható Touch Carousel */
  .features-grid-6 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 15px 1.2rem 20px 1.2rem;
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    gap: 18px;
  }

  .features-grid-6 .feature-card {
    flex: 0 0 260px;
    scroll-snap-align: center;
    padding: 28px 22px;
  }

  /* 4. Játékmódok & Szabályok — Oldalra lapozható Touch Carousel */
  .features-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 15px 1.2rem 20px 1.2rem;
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    gap: 18px;
  }

  .features-grid .feature-card {
    flex: 0 0 260px;
    scroll-snap-align: center;
    padding: 28px 22px;
  }

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

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--acc);
  margin-bottom: 14px;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .bg-ambient-particles,
  .sunburst-elegant,
  .ruby-glow,
  .crown-backglow {
    animation: none !important;
  }
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 380px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-links-list a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-imprint {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  opacity: 0.85;
}

/* Article & Rules Guide Enhancements */
.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  background: rgba(11, 21, 36, 0.45);
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
}
.article-table th {
  background: rgba(194, 168, 120, 0.12);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-gold);
}
.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.article-table tr:last-child td {
  border-bottom: none;
}
.article-table tr:hover {
  background: rgba(194, 168, 120, 0.05);
}
.article-flag {
  font-size: 1.2rem;
  margin-right: 8px;
  vertical-align: middle;
}
.article-callout {
  margin: 28px 0;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: rgba(16, 44, 39, 0.5);
  border-left: 4px solid var(--gold-primary);
  border-top: 1px solid rgba(194, 168, 120, 0.2);
  border-right: 1px solid rgba(194, 168, 120, 0.2);
  border-bottom: 1px solid rgba(194, 168, 120, 0.2);
  color: var(--text-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.article-callout-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-cta-box {
  margin: 45px 0 20px 0;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(16, 44, 39, 0.9) 0%, rgba(11, 21, 36, 0.95) 100%);
  border: 1.5px solid var(--gold-primary);
  text-align: center;
  box-shadow: var(--shadow-premium);
}
.article-cta-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.article-cta-desc {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 24px auto;
  font-size: 1.05rem;
}
.article-cta-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
