/* =========================================================
   VYRENIX 4.0 - ULTRA-LUXURY LANDING PAGE STYLES
   ========================================================= */

.landing-screen {
  position: relative;
  min-height: 100vh;
  background-color: #08080a;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(239, 75, 84, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(120, 50, 200, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(30, 100, 220, 0.08) 0%, transparent 50%);
  color: #f4f1f7;
  overflow-x: hidden;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Grid Overlay */
.landing-grid-bg {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: blur(20px);
  background: rgba(8, 8, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
}

.landing-brand .brand-badge {
  font-size: 9px;
  background: rgba(239, 75, 84, 0.15);
  border: 1px solid rgba(239, 75, 84, 0.4);
  color: #ef4b54;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 1px;
}

.landing-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-menu a {
  color: #a5a5b0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.landing-menu a:hover {
  color: #fff;
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-btn-login {
  color: #ddd;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.landing-btn-login:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.landing-btn-cta {
  background: linear-gradient(135deg, #ef4b54, #d82b35);
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(239, 75, 84, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.landing-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 75, 84, 0.5);
}

/* Hero Section */
.landing-hero {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: #ef4b54;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(239, 75, 84, 0.1);
}

.landing-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4b54;
  box-shadow: 0 0 8px #ef4b54;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.landing-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 auto 24px;
  max-width: 900px;
}

.landing-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-title .accent-text {
  background: linear-gradient(135deg, #ef4b54, #ff8a93);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: #9f9fae;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 36px;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.landing-hero-actions .hero-cta {
  padding: 14px 34px;
  font-size: 15px;
  border-radius: 12px;
}

.landing-hero-actions .hero-secondary {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eee;
  text-decoration: none;
  transition: all 0.2s ease;
}

.landing-hero-actions .hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Interactive Showcase Demo */
.landing-demo-container {
  position: relative;
  max-width: 540px;
  margin: 0 auto 100px;
}

.landing-demo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(239, 75, 84, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.demo-card-frame {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(239, 75, 84, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.demo-card-body {
  background: rgba(14, 12, 18, 0.85);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.demo-header-banner {
  height: 90px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f0b24, #ef4b54, #0b1a2f);
  margin-bottom: -45px;
  position: relative;
  opacity: 0.85;
}

.demo-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
}

.demo-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #0e0c12;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  background: #1e1b26 url('/favicon.svg') center/50% no-repeat;
}

.demo-status-pill {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #23a55a;
  border: 2px solid #0e0c12;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 10px #23a55a;
}

.demo-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.demo-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.demo-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(239, 75, 84, 0.15);
  color: #ef4b54;
  border: 1px solid rgba(239, 75, 84, 0.3);
}

.demo-badge.og {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
}

.demo-bio {
  font-size: 13px;
  color: #a8a4b2;
  margin: 0 0 18px;
  line-height: 1.5;
}

/* Demo Spotify Box */
.demo-spotify-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(29, 185, 84, 0.08);
  border: 1px solid rgba(29, 185, 84, 0.25);
  border-radius: 12px;
  margin-bottom: 18px;
  text-align: left;
}

.demo-spotify-box .spot-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1db954;
  display: grid;
  place-items: center;
  color: #000;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.demo-spotify-box .spot-track {
  flex: 1;
  min-width: 0;
}

.demo-spotify-box strong {
  display: block;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-spotify-box small {
  font-size: 10px;
  color: #a0a0a5;
}

.demo-links-list {
  display: grid;
  gap: 10px;
}

.demo-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #eee;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.demo-link-btn:hover {
  background: rgba(239, 75, 84, 0.1);
  border-color: rgba(239, 75, 84, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* Theme Switcher Bar */
.demo-theme-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.demo-theme-bar span {
  font-size: 11px;
  color: #7d7d8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 6px;
}

.demo-theme-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #bbb;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-theme-btn:hover, .demo-theme-btn.active {
  background: #ef4b54;
  border-color: #ef4b54;
  color: #fff;
}

/* Bento Grid */
.landing-section {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-kicker {
  color: #ef4b54;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #9292a0;
  font-size: 16px;
  max-width: 600px;
  margin: 0 0 48px;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: rgba(239, 75, 84, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card .bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(239, 75, 84, 0.1);
  border: 1px solid rgba(239, 75, 84, 0.25);
  color: #ef4b54;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 22px;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}

.bento-card p {
  font-size: 14px;
  color: #9595a4;
  line-height: 1.6;
  margin: 0;
}

/* Leaderboard Section */
.landing-leaderboard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.leaderboard-creator-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(20, 20, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.leaderboard-creator-card:hover {
  background: rgba(30, 30, 42, 0.8);
  border-color: rgba(239, 75, 84, 0.3);
  transform: translateY(-2px);
}

.creator-rank {
  font-size: 13px;
  font-weight: 800;
  color: #ef4b54;
  width: 28px;
}

.creator-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #191622;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.creator-info {
  flex: 1;
  min-width: 0;
}

.creator-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-handle {
  display: block;
  font-size: 11px;
  color: #888896;
}

.creator-views {
  font-size: 11px;
  color: #a4a4b2;
  font-weight: 500;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: #7a7a88;
}

@media (max-width: 768px) {
  .landing-nav { padding: 14px 20px; }
  .landing-menu { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .landing-footer { flex-direction: column; gap: 16px; text-align: center; }
}

/* ========================================================
   LANDING PAGE LUXURY POLISH & AMBIENT MESH
   ======================================================== */

.landing-screen::before {
  content: '';
  position: fixed;
  top: -15%;
  left: 15%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(239, 75, 84, 0.12) 0%, rgba(168, 85, 247, 0.08) 35%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: landing-orb-drift 22s ease-in-out infinite alternate;
}

@keyframes landing-orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.1); }
  100% { transform: translate(-4vw, 4vh) scale(0.95); }
}

/* Glass Navbar */
.landing-nav {
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(8, 8, 10, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Showcase Card */
.hero-card-preview {
  box-shadow: 
    0 30px 100px -20px rgba(0, 0, 0, 0.9),
    0 0 60px -10px rgba(239, 75, 84, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-preview:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 40px 120px -20px rgba(0, 0, 0, 0.95),
    0 0 80px -5px rgba(239, 75, 84, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* Bento Cards Glow Hover */
.bento-card {
  position: relative;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(22, 22, 28, 0.75), rgba(12, 12, 16, 0.9)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 75, 84, 0.4) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 75, 84, 0.15) !important;
}

/* Leaderboard Ranking Badges */
.leaderboard-row:nth-child(1) .leaderboard-rank {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #111;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.leaderboard-row:nth-child(2) .leaderboard-rank {
  background: linear-gradient(135deg, #e0e0e0, #a0a0a0);
  color: #111;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(224, 224, 224, 0.4);
}

.leaderboard-row:nth-child(3) .leaderboard-rank {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.4);
}

/* Primary CTA Glow */
.landing-btn-primary {
  background: linear-gradient(135deg, #ef4b54, #d82b35) !important;
  box-shadow: 0 8px 24px rgba(239, 75, 84, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.landing-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(239, 75, 84, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}


/* Landing Stats Pill, Avatar Support & 3D Demo Tilt */
.landing-stats-badge {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-weight: 600;
}
.demo-card-frame {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.demo-card-body.liquid-glass {
  backdrop-filter: blur(28px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}
.creator-avatar {
  overflow: hidden;
}
.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
