/* Yubo Premium Dark Theme - v2 */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --accent-red: #f4d03f;
  --accent-purple: #fdb913;
  --accent-purple-light: #f9e79f;
  --accent-red-hover: #e8c91f;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --text-primary: #121212;
  --text-secondary: #555555;
  --border-color: #ddd;
  --glass: rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar Premium Redesign */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -1px;
  transition: 0.3s;
}

.logo span {
  color: var(--accent-red);
  text-shadow: 0 0 15px rgba(244, 208, 63, 0.6);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #fdb913 0%, #f4d03f 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(253, 185, 19, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(253, 185, 19, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(244, 208, 63, 0.1);
  box-shadow: 0 0 15px rgba(244, 208, 63, 0.2);
  transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: rotate(15deg);
}

.theme-toggle {
  background: var(--glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: var(--border-color);
}

/* Hero */
/* Hero Section */
.hero {
  position: relative;
  padding: 260px 0 100px;
  /* Increased padding */
  overflow: hidden;
  /* Yellow-Orange Gradient Background */
  background: linear-gradient(
    180deg,
    rgba(50, 40, 10, 1) 0%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Yellow-Orange Glow from Top */
  background: radial-gradient(
    circle at top center,
    rgba(253, 185, 19, 0.3) 0%,
    rgba(244, 208, 63, 0.2) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  /* Added margin for safety */
}

.hero-text h1 {
  font-size: 5rem;
  /* Slightly Bigger */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  /* Solid White */
  letter-spacing: -1.5px;
  /* Removed text-fill transparent for solid look */
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.6;
}

/* Hero Buttons */
.btn-hero-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #fdb913 0%, #f4d03f 100%);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 30px rgba(253, 185, 19, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  font-size: 1rem;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(253, 185, 19, 0.4);
  color: #000;
}

.btn-hero-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  font-size: 1rem;
  text-decoration: none;
}

.btn-hero-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

/* Partners Section */
.partners-section {
  padding: 1.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-header {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

/* Poster Showcase Slider */
.poster-showcase {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  /* Smooth edge fade using mask */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.poster-slider {
  overflow: hidden;
  width: 100%;
}

.poster-track {
  display: flex;
  white-space: nowrap;
  gap: 30px;
  animation: poster-scroll 30s linear infinite;
  width: max-content;
}

.poster-track img {
  height: 240px;
  width: 160px;
  border-radius: 12px;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: all 0.3s;
  flex-shrink: 0;
}

.poster-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
  z-index: 2;
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.5);
}

/* Infinity Scroll Animation for Posters */
@keyframes poster-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Moves half the width (original set) */
  }
}

/* Overlay for extra depth */
.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, transparent 40%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: nowrap;
  margin-top: 2rem;
}

.partner-logo {
  height: 20px;
  max-width: 80px;
  width: auto;
  filter: none;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
}

/* Mockup */
.mockup-container {
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.mockup-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

/* Sections */
.section-padding {
  padding: 6rem 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 2rem;
  padding: 3rem;
  background: var(--glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.stat-item h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

/* Premium Nebula Animation (Yellow-Orange Theme) */
.hero-nebula-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, #2a2410 0%, #0a0a0a 100%);
}

.nebula-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: blob-float 15s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: screen;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: #fdb913;
  /* Main Orange */
  top: -20%;
  left: -10%;
  opacity: 0.25;
  animation-delay: 0s;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: #f4d03f;
  /* Yellow */
  bottom: -10%;
  right: -10%;
  opacity: 0.3;
  animation-delay: -5s;
}

.blob-3 {
  width: 500px;
  height: 500px;
  background: #f9e79f;
  /* Light Yellow Accent */
  top: 40%;
  left: 40%;
  opacity: 0.12;
  animation-delay: -8s;
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, -30px) scale(1.1);
  }
}

/* 3D Logo Styles */
#hero-visual-3d {
  perspective: 1000px;
  /* Red Glow Behind Logo Area */
  position: relative;
  z-index: 2;
}

#hero-visual-3d::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(253, 185, 19, 0.3) 0%,
    rgba(244, 208, 63, 0.2) 50%,
    transparent 70%
  );
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.logo-floater {
  animation: breathe 6s ease-in-out infinite;
  display: block;
  transform-style: preserve-3d;
}

.hero-logo-img {
  transition: transform 0.1s ease-out;
  /* Smooth JS tilt */
  will-change: transform;
  /* Ensure 3D depth */
  transform-style: preserve-3d;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-logo-img {
  animation: floatLogo 6s ease-in-out infinite;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
}

.marquee-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

.partner-logo {
  height: 40px;
  margin: 0 3rem;
  opacity: 1;
  filter: none;
  transition: 0.3s;
}

.partner-logo:hover {
  opacity: 1;
  filter: brightness(1.2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease;
  z-index: 99999;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification.error {
  background: rgba(244, 208, 63, 0.15);
  border: 1px solid rgba(244, 208, 63, 0.5);
  color: #ffd700;
}

.notification.warning {
  background: rgba(244, 208, 63, 0.15);
  border: 1px solid rgba(244, 208, 63, 0.5);
  color: #ffd700;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Room Cards */
.room-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.room-image-wrapper {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.room-card:hover .room-image {
  transform: scale(1.05);
}

.room-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
}

.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.badge-live {
  background: #f4d03f;
  color: #000;
  animation: pulse 2s infinite;
}

.badge-viewers {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  color: white;
}

.room-content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.room-host {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.btn-room-action {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-room-action {
  display: block;
  width: 100%;
  background-color: var(--accent-red);
  color: #000;
  text-align: center;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.2s;
  font-size: 0.9rem;
}

.btn-room-action:hover {
  background-color: #e8c91f;
}

.avatar-pile {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.avatar-pile img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #141414;
  /* Match card bg */
  margin-left: -8px;
}

.avatar-pile img:first-child {
  margin-left: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  /* Align center for scale effect */
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  /* Softer black */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 24px;
  position: relative;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 500px;
}

.pricing-card.premium {
  background: linear-gradient(145deg, #3d3d1a, #2a2410);
  /* Yellow tint */
  border: 1px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(253, 185, 19, 0.2);
  transform: scale(1.05);
  /* Make it pop */
  z-index: 2;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.price {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  margin: 2rem 0;
  color: white;
  letter-spacing: -1px;
}

.price span {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.features-list li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ccc;
  font-size: 1rem;
}

.features-list i {
  color: var(--accent-red);
  font-size: 0.9rem;
}

/* Specific Badge for Popular */
.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(90deg, #fdb913 0%, #f4d03f 100%);
  color: #000;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(253, 185, 19, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card.premium {
    transform: none;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 2rem;
  }

  .btn-group {
    justify-content: center;
  }

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

/* Create Room Modal Styles */
.glass-panel {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  padding: 0;
  overflow: hidden;
  color: var(--text-primary);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all;
  background: rgba(0, 0, 0, 0.85);
  /* Darker overlay for focus */
}

.modal-overlay.active .glass-panel {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  background: rgba(255, 255, 255, 0.03);
  /* Subtle header bg */
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  font-size: 0.9rem;
  z-index: 2;
}

.input-wrapper input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: 0.3s;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--accent-red);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

/* Privacy Radio Cards */
.privacy-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  user-select: none;
}

.radio-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.radio-card.selected {
  background: rgba(244, 208, 63, 0.15);
  /* Yellow tint */
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.2);
}

.radio-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.radio-card.selected .radio-icon {
  color: var(--accent-red);
  /* Yellow icon when selected */
}

.radio-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.radio-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* Sep line */
  padding-top: 1.5rem;
}

.modal-actions .btn {
  padding: 0.7rem 1.8rem;
}

/* Modal Overlay Animation Helper */
.modal-overlay {
  /* Base styles are inline in HTML for initial hidden state, but we reinforce flex here for .active */
  justify-content: center;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Profile Customization UI Mockup */
.profile-ui-wrapper {
  perspective: 1000px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.profile-ui-card {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 208, 63, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(244, 208, 63, 0.15),
    inset 0 0 20px rgba(244, 208, 63, 0.05);
  /* Inner gold glow */
  transform: rotateY(5deg);
  transition: transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.profile-ui-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(244, 208, 63, 0.1),
    transparent 60%
  );
  pointer-events: none;
}

.profile-ui-wrapper:hover .profile-ui-card {
  transform: rotateY(0deg) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(244, 208, 63, 0.2);
}

/* Auth Modal Styles - Redesigned */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  /* Solid black background per screenshot suggestion, or dark overlay */
  background: rgba(0, 0, 0, 0.9);
  /* Very dark overlay */
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-card {
  background: #0a0a0a;
  /* Very dark card */
  border: 1px solid #222;
  width: 100%;
  max-width: 420px;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.auth-form {
  display: none;
  text-align: center;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.auth-form h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.auth-subtitle {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.input-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.input-group label {
  display: block;
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-left: 0.2rem;
}

.input-group input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #121212;
  border: 1px solid #333;
  border-radius: 12px;
  color: white;
  font-size: 0.95rem;
  transition: 0.2s;
}

.input-group input:focus {
  border-color: #444;
  outline: none;
  background: #181818;
}

.input-group input::placeholder {
  color: #444;
}

.btn-auth-action {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #fdb913 0%, #f4d03f 100%);
  /* Yellow gradient */
  border: none;
  border-radius: 50px;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 1.5rem;
  box-shadow: 0 5px 20px rgba(253, 185, 19, 0.4);
  /* Yellow glow */
}

.btn-auth-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253, 185, 19, 0.6);
}

.auth-footer-links {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.auth-footer-links a {
  color: #f4d03f;
  text-decoration: none;
  font-weight: 600;
}

.back-to-home {
  color: #666 !important;
  font-size: 0.85rem;
  font-weight: 500 !important;
  transition: 0.2s;
}

.back-to-home:hover {
  color: white !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.profile-header h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.profile-input-group {
  margin-bottom: 1.5rem;
}

.profile-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.profile-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 8px;
  color: white;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  outline: none;
  display: flex;
  align-items: center;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--accent-red);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.profile-avatars-row {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  justify-content: center;
}

.profile-avatar-mock {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  opacity: 0.5;
  transition: all 0.3s;
  filter: grayscale(100%);
}

.profile-avatar-mock.active {
  width: 60px;
  height: 60px;
  border-color: var(--accent-red);
  opacity: 1;
  filter: grayscale(0%);
  box-shadow: 0 0 15px rgba(244, 208, 63, 0.5);
  transform: translateY(-5px);
}

.profile-save-btn {
  width: 100%;
  background: linear-gradient(90deg, #f4d03f 0%, #fdb913 100%);
  border: none;
  padding: 1rem;
  color: #000;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(244, 208, 63, 0.3);
  transition: transform 0.2s;
}

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

/* Missing Bottom Section Styles */
.section-padding {
  padding: 100px 0;
}

#download {
  position: relative;
  overflow: hidden;
}

footer {
  background: #050505;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.footer-logo-center {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: white;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--accent-red);
  /* Gold hover */
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--accent-red);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(244, 208, 63, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-weight: 700;
  color: white;
}

.footer-legal a:hover {
  color: var(--accent-red);
}

.footer-lang a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Pricing Card Styles (Ensuring they look good if missed) */
.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.premium {
  border-color: var(--accent-red);
  box-shadow: 0 10px 40px rgba(244, 208, 63, 0.15);
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.9),
    rgba(10, 10, 10, 0.95)
  );
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-red);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 1px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  display: block;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.features-list li {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.features-list li i {
  color: var(--accent-red);
}

/* Ensure container works in footer/download if needed */
#download .container {
  position: relative;
  z-index: 2;
}

/* Restored Missing Grid Layouts */
.features-grid,
.pricing-grid {
  display: grid;
  gap: 2rem;
}

/* Enhanced Gradient Effects */
.profile-section-glow {
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #2a2410 100%);
  /* Black to Dark Yellow */
  overflow: hidden;
}

.text-gradient-gold {
  background: linear-gradient(90deg, #ffffff 0%, #f4d03f 50%, #ffffff 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Room Card Styles */
/* Room Card Styles - Updated for Alignment */
.room-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  /* Flex column for equal height buttons */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.room-image-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-image {
  transform: scale(1.05);
}

.room-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 0.5rem;
}

.badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.badge-live {
  background: #f4d03f;
  animation: pulse 1.5s infinite;
}

.room-content {
  padding: 1.5rem;
  /* Flex column to push button down */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: white;
}

.room-host {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.room-participants {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  /* Consistent spacing */
}

.avatar-pile {
  display: flex;
}

.avatar-pile img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  margin-left: -8px;
}

.avatar-pile img:first-child {
  margin-left: 0;
}

.btn-room-action {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, #f4d03f 0%, #fdb913 100%);
  padding: 1rem;
  border-radius: 50px;
  /* Push to bottom */
  margin-top: auto;
  color: #000;
  font-weight: 700;
  transition: 0.2s;
  box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.5px;
  /* Prevent wrapping distortion */
  white-space: nowrap;
}

.btn-room-action:hover {
  transform: translateY(-3px);
  /* Slightly more lift */
  box-shadow: 0 10px 30px rgba(244, 208, 63, 0.5);
  /* Stronger shadow */
  background: linear-gradient(90deg, #e8c91f 0%, #fdb913 100%);
}

/* User Dropdown Style Fix */
.user-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  width: 180px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 1000;
}

.user-dropdown.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.user-dropdown a {
  padding: 1rem;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-dropdown a:last-child {
  border-bottom: none;
}

.user-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: 0.3s;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.testimonial-stars {
  color: var(--accent-red);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  object-fit: cover;
}
.testimonial-author h4 {
  margin: 0;
  font-size: 1rem;
}
.testimonial-author span {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
