﻿:root {
  --bg: #040404;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f4e7b8;
  --muted: #a89a78;
  --gold: #f2c94c;
  --gold-dark: #d3a61a;
  --border: rgba(255, 255, 255, 0.14);
  --page-bg: linear-gradient(180deg, #050505 0%, #090909 100%);
  --hero-glow: rgba(242, 201, 76, 0.12);
  --panel-bg: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(242, 201, 76, 0.12);
}

:root[data-theme='gold'] {
  --bg: #fff8e1;
  --surface: rgba(20, 20, 20, 0.06);
  --surface-strong: rgba(20, 20, 20, 0.12);
  --text: #2d1d00;
  --muted: #7a5a15;
  --gold: #b18100;
  --gold-dark: #8f6700;
  --border: rgba(20, 20, 20, 0.12);
  --page-bg: linear-gradient(180deg, #fff8e1 0%, #f4e0a0 100%);
  --hero-glow: rgba(177, 129, 0, 0.16);
  --panel-bg: rgba(255, 255, 255, 0.72);
  --panel-border: rgba(177, 129, 0, 0.18);
}

:root[data-theme='day'] {
  --bg: #f5fbff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #15324c;
  --muted: #4f6477;
  --gold: #d9a10f;
  --gold-dark: #b67d00;
  --border: rgba(21, 50, 76, 0.14);
  --page-bg: linear-gradient(180deg, #f7fbff 0%, #e7f2ff 100%);
  --hero-glow: rgba(217, 161, 15, 0.16);
  --panel-bg: rgba(255, 255, 255, 0.86);
  --panel-border: rgba(21, 50, 76, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Figtree", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, var(--hero-glow), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 20%),
    var(--page-bg);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(242, 201, 76, 0.08), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 15%);
  z-index: 0;
}

.site-header,
.topbar,
.hero,
.info-panel,
.screens,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.78));
  border-bottom: 1px solid rgba(242, 201, 76, 0.14);
}

.site-navbar {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.site-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(242, 201, 76, 0.28), rgba(242, 201, 76, 0.08));
  border: 1px solid rgba(242, 201, 76, 0.35);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(242, 201, 76, 0.12);
}

.site-brand-text {
  display: grid;
  gap: 2px;
}

.site-brand-text strong {
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  color: var(--gold);
}

.site-brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.site-nav-links a:hover {
  color: var(--gold);
  background: rgba(242, 201, 76, 0.08);
}

.site-nav-links .nav-admin {
  border-color: rgba(242, 201, 76, 0.22);
}

.site-nav-links .nav-cta {
  color: #111;
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.95), rgba(211, 166, 26, 0.88));
  border-color: rgba(242, 201, 76, 0.4);
}

.site-nav-links .nav-cta:hover {
  color: #111;
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(242, 201, 76, 0.22);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.site-marquee {
  --marquee-duration: 40s;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(242, 201, 76, 0.1);
  background: linear-gradient(90deg, rgba(242, 201, 76, 0.08), rgba(255, 255, 255, 0.02), rgba(242, 201, 76, 0.08));
  height: 42px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  height: 100%;
  padding-left: 100%;
  animation: marquee-scroll var(--marquee-duration) linear infinite;
  will-change: transform;
}

.marquee-item {
  white-space: nowrap;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

.marquee-item::before {
  content: "✦";
  margin-right: 12px;
  color: rgba(242, 201, 76, 0.7);
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.95), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, rgba(5, 5, 5, 0.95), transparent);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* Footer nav layout adjustments */
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-right: 12px;
}

@media (max-width: 720px) {
  .footer-nav { flex-wrap: wrap; gap: 10px; }
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.logo-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.logo-card-large {
  padding: 24px 24px 22px;
  border-radius: 32px;
  border: 1px solid rgba(242, 201, 76, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.logo-icon {
  width: 98px;
  height: 98px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(242, 201, 76, 0.22), rgba(242, 201, 76, 0.08));
  border: 1px solid rgba(242, 201, 76, 0.25);
  position: relative;
}

.crown {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.3rem;
}

.mic {
  font-size: 2.2rem;
}

.logo-copy h1 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: 0.08em;
}

.logo-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-copy-strong {
  font-size: 1.1rem;
  line-height: 1.85;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 201, 76, 0.12);
  text-align: center;
}

.icon-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(242, 201, 76, 0.18);
  color: var(--gold);
  font-size: 1.1rem;
}

.icon-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #f2c94c, #ddb623);
  color: #111;
  box-shadow: 0 18px 42px rgba(242, 201, 76, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-features {
  margin-top: 10px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 201, 76, 0.12);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(242, 201, 76, 0.15);
  font-size: 1.2rem;
  color: var(--gold);
}

.feature-card p {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.hero-right {
  display: grid;
  justify-items: center;
  align-items: center;
}

.hero-stage {
  position: relative;
  width: min(520px, 100%);
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.hero-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(232, 196, 90, 0.32), transparent 46%),
    linear-gradient(180deg, #1c1508 0%, #0b0b0b 72%);
}

.hero-stage-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(242, 201, 76, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
}

.hero-stage .phone-large {
  position: relative;
  z-index: 2;
  width: min(320px, 86%);
  max-width: 340px;
  margin: 0 auto;
  border-radius: 42px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  animation: phoneFloat 7s ease-in-out infinite;
}

/* eski yan yana düzeni kapat */
.photo-and-phone {
  display: contents;
}

.photo-card {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-stage {
    min-height: 520px;
    width: 100%;
  }
}

.room-live-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #111;
  background: linear-gradient(135deg, #f2c94c, #d3a61a);
  padding: 5px 8px;
  border-radius: 8px;
}

.room-live-tag.dim {
  color: var(--gold);
  background: rgba(242, 201, 76, 0.12);
  border: 1px solid rgba(242, 201, 76, 0.25);
}

.phone-nav button {
  display: grid;
  place-items: center;
}

.phone-nav button.active {
  border-color: rgba(242, 201, 76, 0.45);
  background: rgba(242, 201, 76, 0.12);
}

.nav-ico,
.ico-mic,
.ico-bell {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
}

.ico-bell::before {
  content: "";
  position: absolute;
  inset: 2px 4px 4px;
  border: 2px solid var(--gold);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.ico-bell::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 1px;
  width: 4px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.ico-mic::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #c9b4ff);
}
.ico-mic::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 12px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.nav-ico.home::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 14px;
  height: 9px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}
.nav-ico.home::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #e57373;
}

.nav-ico.mic::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 11px;
  border-radius: 6px;
  background: var(--gold);
}
.nav-ico.mic::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 12px;
  height: 7px;
  border: 2px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.nav-ico.chat::before {
  content: "";
  position: absolute;
  inset: 2px 1px 5px;
  border-radius: 6px;
  background: rgba(200, 180, 255, 0.9);
}
.nav-ico.chat::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 1px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 0 solid transparent;
  border-top: 6px solid rgba(200, 180, 255, 0.9);
}

.nav-ico.user::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 180, 255, 0.95);
}
.nav-ico.user::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 14px;
  height: 7px;
  border-radius: 8px 8px 2px 2px;
  background: rgba(200, 180, 255, 0.75);
}

@media (max-width: 1060px) {
  .hero-stage {
    min-height: 540px;
  }
}

.phone-large {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  max-width: 400px;
  border-radius: 62px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), #060606);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--gold);
  font-size: 0.95rem;
}

.phone-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ee59d;
}

.phone-title {
  letter-spacing: 0.22em;
  font-weight: 700;
}

.phone-screen {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.banner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.2), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(242, 201, 76, 0.18);
}

.banner-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold);
  font-size: 1.5rem;
}

.banner-card h2 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.banner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.room-tabs {
  display: flex;
  gap: 12px;
}

.tab {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.22), rgba(242, 201, 76, 0.1));
  color: #111;
  border-color: rgba(242, 201, 76, 0.28);
}

.room-list {
  display: grid;
  gap: 14px;
}

.room-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: visible;
}

.room-item::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 40%);
  filter: blur(12px);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 0;
  pointer-events: none;
}

.room-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.room-item:hover::before {
  opacity: 0.8;
  transform: scale(1.02);
}

.room-item.selected {
  border-color: rgba(242, 201, 76, 0.55);
  background: rgba(242, 201, 76, 0.2);
}

.room-item.gold {
  border-color: rgba(242, 201, 76, 0.35);
  background: rgba(242, 201, 76, 0.14);
}

.room-item > div,
.room-item > span {
  position: relative;
  z-index: 1;
}

/* Gold-specific glow */
.room-item.gold::before {
  background: radial-gradient(circle at center, rgba(242,201,76,0.18), rgba(242,201,76,0.06) 40%, transparent 65%);
  opacity: 0.9;
}

@keyframes glowPulse {
  0% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 0.75; }
}

.room-item.gold.pulse::before {
  animation: glowPulse 3.5s ease-in-out infinite;
}

.room-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.room-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.room-item span {
  font-size: 1.1rem;
}

/* Entrance animation for room items */
.room-item {
  opacity: 0;
  transform: translateY(8px);
}

.room-item.appear {
  animation: roomItemIn 320ms cubic-bezier(.22,.9,.32,1) forwards;
}

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

.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.phone-nav button {
  border: none;
  padding: 14px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 16px 24px;
  border-radius: 28px;
  background: rgba(18, 18, 18, 0.95);
  color: #f4e7b8;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  z-index: 999;
}

.toast-notice.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.room-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 1000;
}

.room-modal.visible {
  opacity: 1;
  pointer-events: all;
}

.room-entry-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 24px;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.room-entry-card {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  padding: 40px;
}

.room-entry-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.room-entry-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.room-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.room-chat-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}

.video-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(242, 201, 76, 0.2);
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
}

.video-placeholder {
  font-size: 3rem;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

#local-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
}

#local-video.active {
  display: block;
}

#video-placeholder.hidden {
  display: none;
}

.room-side-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.compact-card {
  margin-bottom: 0;
}

.participant-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.participant-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
}

.room-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.room-chat-header h3 {
  margin: 0;
  color: var(--gold);
}

.room-chat-header span {
  color: var(--text);
  font-size: 0.95rem;
}

.chat-messages {
  display: grid;
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 14px;
}

.chat-message {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-message.self {
  background: rgba(242, 201, 76, 0.14);
  border-color: rgba(242, 201, 76, 0.22);
}

.chat-author {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}

.chat-text {
  color: var(--text);
  line-height: 1.6;
}

.chat-time {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

.chat-form {
  display: flex;
  gap: 10px;
}

.chat-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.chat-form button {
  padding: 12px 18px;
}

.room-entry-panel {
  display: grid;
  gap: 22px;
}

.room-entry-panel .card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.room-entry-panel .card h3 {
  margin: 0 0 12px;
}

.room-entry-panel .card p {
  margin: 0;
}

.modal-action-row .btn {
  padding: 14px 20px;
}

.room-modal.visible {
  opacity: 1;
  pointer-events: all;
}

.room-modal-card {
  width: min(460px, 100%);
  border-radius: 28px;
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid rgba(242, 201, 76, 0.22);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
  padding: 28px;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

.room-modal-content {
  margin-top: 16px;
}

.room-modal-label {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.modal-room-title {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.modal-room-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-action-row .btn {
  padding: 14px 20px;
}

.info-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--gold);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.screens {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mini-phone {
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mini-header {
  color: var(--gold);
  font-weight: 700;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.footer-text {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .info-panel,
  .screen-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(242, 201, 76, 0.2);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    z-index: 60;
  }

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

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
  }

  .feature-grid,
  .info-panel,
  .screen-row {
    grid-template-columns: 1fr;
  }

  .phone-large {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Auth / login styles */
.auth-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}
.auth-card {
  width: min(520px, 96%);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.auth-card h1 { margin: 0 0 8px; font-size: 1.8rem; }
.auth-card p { margin: 0 0 18px; color: var(--muted); }
.auth-card label { display:block; margin-top: 10px; margin-bottom:6px; font-weight:700; }
.auth-card input { width:100%; padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,0.06); background:rgba(0,0,0,0.35); color:var(--text); }
.auth-actions { display:flex; gap:12px; margin-top:16px; }
.social-row { display:flex; gap:10px; margin-top:16px; flex-wrap:wrap; }
.social-btn { flex:1; }
.auth-note { margin-top:14px; color:var(--muted); font-size:0.92rem; }

/* Rooms grid (info-panel converted to rooms) */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.room-card {
  padding: 36px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.35));
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  color: var(--text);
}

.room-card h3 { margin: 0 0 8px; color: var(--gold); font-size: 1.2rem; }
.room-card p { margin: 0; color: var(--muted); }

.room-card .room-meta { margin-top: 12px; color: var(--muted); font-weight: 700; }
.room-card .live-dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:#2ee59d; margin-right:8px; vertical-align:middle; }

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  border-color: rgba(242,201,76,0.18);
}

/* Subtle glow behind card */
.room-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: scale(0.98);
  background: radial-gradient(circle at 50% 20%, rgba(242,201,76,0.06), transparent 25%);
}

.room-card.live::before {
  opacity: 1;
  transform: scale(1.02);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* Icon float & live pulse */
.room-icon {
  font-size: 2.4rem;
  display: inline-block;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
  animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.room-card.live .room-icon {
  animation: floaty 2s ease-in-out infinite, beat 1.2s ease-in-out infinite;
}

@keyframes beat {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* slight 3D tilt on hover for depth */
.room-card:hover { transform: translateY(-8px) rotateX(3deg); }

/* Ripple effect */
.room-card { position: relative; overflow: hidden; }
.room-card .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(242,201,76,0.18);
  animation: ripple 600ms linear;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(8); opacity: 0; }
}

/* Particle canvas sits behind content but above backdrop */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Audio pulse */
.room-card.audio-active { box-shadow: 0 40px 90px rgba(242,201,76,0.25); transform: translateY(-10px) rotateX(4deg); }
.room-card.audio-active .room-icon { transform: scale(1.12); }

/* small badge for live + audio */
.room-card .live-badge { display:inline-flex; align-items:center; gap:8px; margin-top:10px; }
.room-card .live-badge .dot { width:10px; height:10px; border-radius:50%; background:#2ee59d; box-shadow:0 0 6px rgba(46,229,157,0.9); }

@media (max-width:720px) {
  .room-card { min-height: 180px; padding: 20px; }
}

/* ========== ACAR LIVE Motion System ========== */

.site-brand-text strong,
.logo-copy h1,
.phone-title {
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.12em;
}

.backdrop {
  animation: ambienceDrift 18s ease-in-out infinite alternate;
}

@keyframes ambienceDrift {
  from { transform: scale(1) translate(0, 0); opacity: 0.85; }
  to { transform: scale(1.08) translate(-2%, 1%); opacity: 1; }
}

.site-header {
  animation: headerDrop 0.7s cubic-bezier(.22,.9,.32,1) both;
}

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

.site-brand-mark {
  animation: brandPulse 3.2s ease-in-out infinite;
  position: relative;
}

.site-brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 1px solid rgba(242, 201, 76, 0.35);
  animation: brandRing 3.2s ease-out infinite;
  pointer-events: none;
}

@keyframes brandPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(242, 201, 76, 0); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(242, 201, 76, 0.28); transform: scale(1.04); }
}

@keyframes brandRing {
  0% { opacity: 0.55; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.25); }
}

.site-nav-links a {
  position: relative;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

.site-nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.site-nav-links .nav-cta {
  position: relative;
  overflow: hidden;
}

.site-nav-links .nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: ctaShine 4.5s ease-in-out infinite;
}

@keyframes ctaShine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.hero-left > *,
.hero-right,
.info-panel .room-card,
.screens .mini-phone,
.footer > * {
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.8s cubic-bezier(.22,.9,.32,1) forwards;
}

.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hero-right { animation-delay: 0.28s; }
.info-panel .room-card:nth-child(1) { animation-delay: 0.05s; }
.info-panel .room-card:nth-child(2) { animation-delay: 0.12s; }
.info-panel .room-card:nth-child(3) { animation-delay: 0.19s; }
.info-panel .room-card:nth-child(4) { animation-delay: 0.26s; }
.info-panel .room-card:nth-child(5) { animation-delay: 0.33s; }

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,.9,.32,1);
}

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

.logo-card {
  position: relative;
  overflow: hidden;
}

.logo-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 40%, rgba(242,201,76,0.14) 50%, transparent 60%);
  animation: logoSheen 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoSheen {
  0%, 40% { transform: translateX(-30%) rotate(12deg); }
  70%, 100% { transform: translateX(30%) rotate(12deg); }
}

.logo-icon .crown {
  display: inline-block;
  animation: crownFloat 2.8s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary {
  animation: goldBreath 3.6s ease-in-out infinite;
}

@keyframes goldBreath {
  0%, 100% { box-shadow: 0 18px 42px rgba(242, 201, 76, 0.18); }
  50% { box-shadow: 0 22px 54px rgba(242, 201, 76, 0.34); }
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-3px) scale(1.02);
}

.feature-card {
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 201, 76, 0.35);
  background: rgba(242, 201, 76, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.feature-card:hover .feature-icon {
  animation: iconPop 0.45s ease;
}

@keyframes iconPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14) rotate(-6deg); }
  100% { transform: scale(1); }
}

.phone-large {
  animation: phoneFloat 7s ease-in-out infinite;
  transform-origin: center top;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-dot {
  animation: liveBlink 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.55);
}

@keyframes liveBlink {
  0% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46, 229, 157, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0); }
}

.banner-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(242, 201, 76, 0.12);
}

.tab {
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tab:hover {
  transform: translateY(-2px);
}

.tab.active {
  animation: tabGlow 2.4s ease-in-out infinite;
}

@keyframes tabGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(242, 201, 76, 0); }
  50% { box-shadow: 0 0 18px rgba(242, 201, 76, 0.22); }
}

.room-item {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.room-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(242, 201, 76, 0.35);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.auth-card,
.admin-login-card,
.room-entry-card {
  animation: riseIn 0.75s cubic-bezier(.22,.9,.32,1) both;
}

.auth-page {
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: "";
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.12), transparent 68%);
  top: -18%;
  left: -12%;
  animation: ambienceDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.auth-page > * {
  position: relative;
  z-index: 1;
}

.room-entry-page {
  position: relative;
  overflow: hidden;
}

.room-entry-page::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 201, 76, 0.14), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(46, 229, 157, 0.08), transparent 45%);
  animation: ambienceDrift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.room-entry-page > * {
  position: relative;
  z-index: 1;
}

.room-entry-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.room-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 201, 76, 0.38);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.room-chat-card {
  animation: riseIn 0.85s cubic-bezier(.22,.9,.32,1) 0.12s both;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.room-chat-card:hover {
  border-color: rgba(242, 201, 76, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

#room-status,
.live-dot {
  animation: liveBlink 1.6s ease-in-out infinite;
}

.feature-grid .feature-card {
  opacity: 0;
  animation: riseIn 0.7s cubic-bezier(.22,.9,.32,1) forwards;
}

.feature-grid .feature-card:nth-child(1) { animation-delay: 0.08s; }
.feature-grid .feature-card:nth-child(2) { animation-delay: 0.16s; }
.feature-grid .feature-card:nth-child(3) { animation-delay: 0.24s; }
.feature-grid .feature-card:nth-child(4) { animation-delay: 0.32s; }
.feature-grid .feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-grid .feature-card:nth-child(6) { animation-delay: 0.48s; }

.feature-icon {
  display: inline-block;
  animation: crownFloat 3s ease-in-out infinite;
}

.video-stage {
  position: relative;
  overflow: hidden;
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(242, 201, 76, 0.1) 50%, transparent 60%);
  animation: logoSheen 6s ease-in-out infinite;
  pointer-events: none;
}

.chat-messages .chat-bubble,
.chat-messages .msg {
  animation: riseIn 0.35s ease both;
}

.room-action-row .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-action-row .btn:hover {
  transform: translateY(-3px);
}

.admin-stat {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.admin-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 201, 76, 0.4);
}

.admin-card {
  animation: riseIn 0.55s cubic-bezier(.22,.9,.32,1) both;
}

.admin-view.active .admin-card:nth-child(1) { animation-delay: 0.05s; }
.admin-view.active .admin-card:nth-child(2) { animation-delay: 0.12s; }

/* —— Login play layer —— */
.auth-body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}

.auth-orb-a {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 12%;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.35), transparent 70%);
  animation: authFloatA 9s ease-in-out infinite;
}

.auth-orb-b {
  width: 360px;
  height: 360px;
  right: -80px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.22), transparent 70%);
  animation: authFloatB 11s ease-in-out infinite;
}

.auth-orb-c {
  width: 180px;
  height: 180px;
  left: 42%;
  top: 58%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: authFloatC 7s ease-in-out infinite;
}

@keyframes authFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 28px) scale(1.08); }
}

@keyframes authFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-36px, -24px) scale(1.06); }
}

@keyframes authFloatC {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  50% { transform: translate(18px, -30px); opacity: 0.6; }
}

.auth-spark {
  position: absolute;
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.55;
  animation: authSpark 4.5s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(242, 201, 76, 0.45);
}

.auth-spark.s1 { left: 12%; top: 22%; animation-delay: 0s; }
.auth-spark.s2 { left: 78%; top: 18%; animation-delay: 0.7s; font-size: 0.85rem; }
.auth-spark.s3 { left: 18%; top: 72%; animation-delay: 1.2s; }
.auth-spark.s4 { left: 86%; top: 64%; animation-delay: 1.8s; font-size: 1.15rem; }
.auth-spark.s5 { left: 48%; top: 12%; animation-delay: 0.4s; font-size: 0.75rem; }

@keyframes authSpark {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(0.9); opacity: 0.25; }
  50% { transform: translateY(-14px) rotate(18deg) scale(1.15); opacity: 0.85; }
}

.auth-eq {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 42px;
  opacity: 0.7;
}

.auth-eq i {
  display: block;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(242, 201, 76, 0.2));
  animation: authBar 1.1s ease-in-out infinite;
  height: 40%;
}

.auth-eq i:nth-child(1) { animation-delay: 0s; }
.auth-eq i:nth-child(2) { animation-delay: 0.12s; }
.auth-eq i:nth-child(3) { animation-delay: 0.24s; }
.auth-eq i:nth-child(4) { animation-delay: 0.08s; }
.auth-eq i:nth-child(5) { animation-delay: 0.32s; }
.auth-eq i:nth-child(6) { animation-delay: 0.18s; }
.auth-eq i:nth-child(7) { animation-delay: 0.28s; }

@keyframes authBar {
  0%, 100% { height: 28%; }
  50% { height: 100%; }
}

.auth-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.auth-card-play {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.28);
  background: linear-gradient(160deg, rgba(24, 18, 8, 0.94), rgba(8, 8, 8, 0.96));
  animation: authCardIn 0.75s cubic-bezier(.22,.9,.32,1) both;
}

.auth-card-play::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -30%;
  width: 70%;
  height: 70%;
  background: linear-gradient(120deg, transparent 40%, rgba(242, 201, 76, 0.12) 50%, transparent 60%);
  animation: logoSheen 5s ease-in-out infinite;
  pointer-events: none;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-brand strong {
  display: block;
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 1.05rem;
}

.auth-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.auth-crown {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(242, 201, 76, 0.28), rgba(242, 201, 76, 0.08));
  border: 1px solid rgba(242, 201, 76, 0.35);
  animation: crownFloat 2.8s ease-in-out infinite, authCrownPulse 3.2s ease-in-out infinite;
}

@keyframes authCrownPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(242, 201, 76, 0); }
  50% { box-shadow: 0 0 24px rgba(242, 201, 76, 0.35); }
}

@keyframes authCardIn {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card-play input:focus {
  outline: none;
  border-color: rgba(242, 201, 76, 0.55);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-card-play .btn-primary {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.auth-card-play .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
}

.remote-audio-box {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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