:root {
  --bg-main: #020716; /* azul bem escuro */
  --bg-card: #07172a;
  --bg-card-soft: rgba(7, 23, 42, 0.92);
  --accent-green: #14c46b;
  --accent-green-soft: rgba(20, 196, 107, 0.18);
  --accent-green-strong: #06e58e;
  --text-primary: #f4f7fb;
  --text-muted: #a0b3c6;
  --border-soft: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 20px;
  --radius-md: 14px;
  --nav-height: 60px;
}

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

html, 
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at top left, #0b2733 0%, #020716 55%, #01030a 100%);
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: linear-gradient(90deg, rgba(2, 7, 22, 0.96), rgba(7, 23, 42, 0.98));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  border: none;
  background: rgba(7, 23, 42, 0.7);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: background 0.2s ease, transform 0.1s ease;
}

.menu-toggle:active {
  transform: scale(0.96);
  background: rgba(7, 23, 42, 0.95);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 196, 107, 0.12) 0%, rgba(2, 7, 22, 0.95) 55%, rgba(0, 0, 0, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green-strong);
  box-shadow:
    0 0 0 1px rgba(20, 196, 107, 0.25),
    0 10px 26px rgba(0, 0, 0, 0.6);
}

.logo-icon svg {
  width: 70%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 14px;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--accent-green-strong);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Side menu */

.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: rgba(2, 7, 22, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
  padding-top: var(--nav-height);
  padding-inline: 16px;
  z-index: 40;
  transition: left 0.3s ease;
}

.side-menu.open {
  left: 0;
}

/* side-menu version badge */
.side-menu .side-version {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.03);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-link {
  padding: 11px 12px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

/* removed decorative "›" to avoid back icon showing */
/* no ::after content for side-link anymore */

.side-link:hover {
  background: rgba(7, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Side cover inside side-menu */
.side-cover {
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  margin-bottom: 8px;
}
.side-cover-image {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-image: url('https://images.pexels.com/photos/302899/pexels-photo-302899.jpeg?auto=compress&cs=tinysrgb&w=800'); /* decorative cover */
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.side-cover-info {
  display:flex;
  flex-direction:column;
}
.side-name {
  font-size: 13px;
  font-weight:700;
}
.side-email {
  font-size: 12px;
  color: var(--accent-green-strong);
  text-decoration: none;
  margin-top:4px;
}

/* Ads section */
.ads-section {
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(2,7,22,0.92);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}
.ads-section h2 {
  margin: 0 0 8px;
  font-size: 15px;
}
.ads-carousel {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:72px;
}
.ad-slide {
  display:none;
  align-items:center;
  gap:10px;
}
.ad-card {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:8px;
  border-radius:8px;
  background: linear-gradient(90deg, rgba(20,196,107,0.04), rgba(2,7,22,0.96));
  border: 1px solid rgba(255,255,255,0.03);
}
.ad-art {
  width:64px;
  height:64px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

/* Main layout */

.main-content {
  flex: 1;
  padding: 12px 14px 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hero / Slider */

.hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider {
  position: relative;
  height: 260px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.9s ease;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide-image {
  position: absolute;
  inset: 0;
  /* force cover and centered positioning for consistent background behavior */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.08);
  /* gentle darkening so foreground text stays readable */
  box-shadow: inset 0 0 120px rgba(0,0,0,0.45);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 7, 22, 0.85) 0%,
    rgba(7, 23, 42, 0.92) 40%,
    rgba(20, 196, 107, 0.12) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slide-content h2 {
  font-size: 18px;
  margin: 0 0 6px;
}

.slide-content p {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--text-muted);
}

.slide-tag {
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(2, 7, 22, 0.85);
  border: 1px solid rgba(20, 196, 107, 0.4);
  color: var(--accent-green-strong);
  font-size: 11px;
}

/* Player */

.player-section {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.primary-button {
  border: none;
  outline: none;
  background: linear-gradient(120deg, var(--accent-green), var(--accent-green-strong));
  color: #020816;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.1s ease;
}

.primary-button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.6);
  filter: brightness(0.97);
}

.player-status {
  font-size: 12px;
  color: var(--text-muted);
}

/* Plans / Cards */

.plans-section {
  margin-top: 2px;
  padding: 16px 12px 18px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(20, 196, 107, 0.08), rgba(7, 23, 42, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.plans-header h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.plans-header p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.plan-card {
  position: relative;
  padding: 12px 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(2, 7, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(20, 196, 107, 0.7);
  background: rgba(4, 14, 30, 0.98);
}

.plan-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.plan-card h3 {
  margin: 0;
  font-size: 15px;
}

.plan-price {
  margin: 2px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-price span {
  color: var(--accent-green-strong);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding-left: 16px;
  margin: 4px 0 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.plan-features li {
  margin-bottom: 3px;
  position: relative;
}

.plan-features li::before {
  content: "•";
  position: absolute;
  left: -10px;
  color: var(--accent-green-strong);
}

.secondary-button {
  border: 1px solid rgba(20, 196, 107, 0.7);
  background: transparent;
  color: var(--accent-green-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.secondary-button:hover {
  background: rgba(20, 196, 107, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.secondary-button:active {
  transform: scale(0.97);
}

.plan-card.popular {
  border-color: rgba(20, 196, 107, 0.85);
  background: radial-gradient(circle at top, rgba(20, 196, 107, 0.16), rgba(2, 7, 22, 0.96));
}

.plan-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(20, 196, 107, 0.16);
  border: 1px solid rgba(20, 196, 107, 0.8);
  color: var(--accent-green-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Pedido de música */

.request-section {
  margin-top: 2px;
  padding: 16px 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-card-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.request-section h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-group label {
  font-size: 12px;
  color: var(--text-muted);
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(2, 7, 22, 0.95);
  color: var(--text-primary);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(20, 196, 107, 0.8);
  box-shadow: 0 0 0 1px rgba(20, 196, 107, 0.25);
  background: rgba(1, 5, 16, 0.98);
}

textarea {
  resize: vertical;
}

.request-note {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

/* WhatsApp Floating Button */

.whatsapp-floating {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle, #1ad15f 0%, #0e9b47 55%, #006b30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  z-index: 45;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.whatsapp-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.85);
  filter: brightness(1.05);
}

.whatsapp-floating:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.whatsapp-icon {
  font-size: 26px;
}

/* Footer */

.footer {
  padding: 10px 16px 14px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(1, 4, 12, 0.96);
}

/* Desktop refinements */

@media (min-width: 768px) {
  .app-container {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.02),
      0 30px 80px rgba(0, 0, 0, 0.9);
  }

  body {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 20px 6px;
  }

  .navbar {
    border-radius: 24px 24px 0 0;
  }

  .main-content {
    padding: 16px 18px 90px;
  }

  .slider {
    height: 300px;
  }

  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-menu {
    width: 280px;
  }
}

/* Online viewers badge */
.online-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(20,196,107,0.06), rgba(2,7,22,0.95));
  border: 1px solid rgba(20,196,107,0.12);
  padding: 8px 10px;
  border-radius: 12px;
  min-width:120px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  color: var(--text-primary);
  font-size: 13px;
}

.online-icon {
  font-size:20px;
  flex:0 0 28px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.online-count {
  font-weight:700;
  color: var(--accent-green-strong);
  font-size:14px;
}

.online-label {
  color: var(--text-muted);
  font-size:10.5px;
  display:block;
  margin-top:2px;
}