/*
   ==========================================================================
   RITUAL FM — Main Stylesheet
   ==========================================================================
   Table of Contents:
     1. Fonts & @font-face
     2. Design Tokens (Custom Properties)
     3. Reset & Base Styles
     4. Utilities
     5. Animations & Keyframes
     6. Shared Components (Tags, Buttons, Icons)
     7. Background Placeholders (Fake Images)
     8. Header & Navigation
     9. Hero Section
    10. News Section
    11. Músicas & Lançamentos
    12. Replays & Sets
    13. Events Section
    14. Mini Player
    15. Expanded Player
    16. Footer
    17. Photo Overlay Refinements
    18. Cookie Banner
    19. Responsive Breakpoints
   ==========================================================================
*/


/*
   ==========================================================================
   1. FONTS & @FONT-FACE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

@font-face {
  font-family: 'Monument Extended';
  src:
    local('Monument Extended Black'),
    local('MonumentExtended-Black'),
    url('../fonts/MonumentExtended-Black.woff2') format('woff2'),
    url('../fonts/MonumentExtended-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/*
   ==========================================================================
   2. DESIGN TOKENS (CUSTOM PROPERTIES)
   ========================================================================== */

:root {
  /* ── Color Palette ── */
  --bg:                #000000;
  --bg-secondary:      #050505;
  --bg-card:           #070707;
  --bg-card-active:    #0B0B0B;
  --color-black-low:   rgba(0, 0, 0, 0.98);
  --red:               #FF101A;
  --red-hover:         #FF2630;
  --red-dark:          #9B0008;
  --white:             #FFFFFF;
  --soft-white:        #EDEDED;
  --muted:             #A7A7A7;
  --muted-2:           #6F6F6F;
  --border:            rgba(255, 255, 255, 0.08);
  --border-red:        rgba(255, 16, 26, 0.65);
  --glow-red:          rgba(255, 16, 26, 0.35);

  /* ── Typography ── */
  --font-body:    'Inter', Helvetica, Arial, sans-serif;
  --font-ui:      'Montserrat', 'Inter', Helvetica, Arial, sans-serif;
  --font-display: 'Bebas Neue', 'Montserrat', 'Inter', Helvetica, Arial, sans-serif;
  --font-logo:    'Monument Extended', 'Montserrat', 'Inter', Helvetica, Arial, sans-serif;

  /* ── Layout ── */
  --container: 1440px;
  --px:        40px;

  /* ── Transitions ── */
  --transition-fast:   0.2s;
  --transition-medium: 0.4s;
  --transition-slow:   0.5s;
  --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back:     cubic-bezier(0.165, 0.84, 0.44, 1);
}


/*
   ==========================================================================
   3. RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

p, time, li {
  font-family: var(--font-body);
  font-weight: 400;
}

h1, .hero-program, .featured-news h2, .replay-copy h3 {
  font-family: var(--font-display);
}

h2, h3, .section-title, .nav a, .listen-btn, .language, .tag, .see-all {
  font-family: var(--font-ui);
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: var(--font-ui);
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}


/*
   ==========================================================================
   4. UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  margin-top: 62px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--soft-white);
}

.see-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  transition: color 0.25s ease;
}

.see-all:hover {
  color: var(--red-hover);
  text-decoration: underline;
}

.visually-hidden {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.transition {
  transition: all var(--transition-medium);
}

.link-underline {
  background: transparent linear-gradient(0deg, var(--white) 6.5%, transparent 0.0625rem) no-repeat 50% / 100% 100%;
  display: inline-block;
  text-decoration: none;
  transition: background-size var(--transition-fast) var(--ease-out-back),
              color var(--transition-fast) var(--ease-out-back);
}

.link-underline:hover {
  background-size: 0 100%;
}


/*
   ==========================================================================
   5. ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes hero-pulse-dot {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes waveMiniLive {
  0%   { height: 7px; }
  45%  { height: 18px; }
  100% { height: 11px; }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@keyframes soundBarBounce {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}

@keyframes channelWaveIdle {
  0%   { height: 9px; }
  45%  { height: 28px; }
  100% { height: 14px; }
}

/* ── Animation Utility Classes ── */

.fadeIn  { animation: fadeIn 0.3s ease-in-out; }
.fadeOut { opacity: 0; transition: opacity 0.3s ease-in-out; }


/*
   ==========================================================================
   6. SHARED COMPONENTS — Tags, Buttons, Icons
   ========================================================================== */

/* ── Tag ── */

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

/* ── Play Button (shared) ── */

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 28px rgba(255, 16, 26, 0.22);
  transition: 0.25s ease;
  flex: 0 0 auto;
}

.play-btn:hover {
  background: var(--red-hover);
  transform: scale(1.05);
  box-shadow: 0 0 34px rgba(255, 16, 26, 0.42);
}

/* ── Play Triangle ── */

.play-triangle {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
  margin-left: 4px;
}

/* ── Pause Icon ── */

.pause-icon {
  width: 14px;
  height: 16px;
  display: flex;
  gap: 4px;
}

.pause-icon::before,
.pause-icon::after {
  content: "";
  width: 5px;
  height: 16px;
  background: #fff;
  border-radius: 2px;
  display: block;
}

/* ── Dots Button ── */

.dots-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: 0.25s ease;
}

.dots-btn span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.75;
}

.dots-btn:hover {
  border-color: rgba(255, 16, 26, 0.45);
  box-shadow: 0 0 20px rgba(255, 16, 26, 0.18);
}

/* ── Focus Reset for Buttons ── */

button:focus,
button:focus-visible {
  outline: none;
  box-shadow: none;
}


/*
   ==========================================================================
   7. BACKGROUND PLACEHOLDERS (Fake Images)
   ========================================================================== */

.fake-img {
  position: relative;
  overflow: hidden;
  background-color: #090909;
}

.fake-img::before,
.fake-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fake-img::before {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 16, 26, 0.8), transparent 8%),
    radial-gradient(circle at 35% 42%, rgba(255, 16, 26, 0.45), transparent 14%),
    radial-gradient(circle at 70% 48%, rgba(255, 16, 26, 0.4), transparent 18%),
    linear-gradient(180deg, rgba(255, 16, 26, 0.15), rgba(0, 0, 0, 0.9));
  filter: saturate(1.25);
}



/*
   ==========================================================================
   8. HEADER & NAVIGATION
   ========================================================================== */

.header {
  height: 120px;
  background: #030303;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.header-inner {
  height: 120px;
  display: flex;
  align-items: center;
  width: 100%;
}

/* ── Brand / Logo ── */

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1;
  flex: 0 0 auto;
}

.brand-logo {
  width: 236px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 16, 26, 0.04));
}

.footer-brand .brand-logo {
  width: 206px;
  max-height: 62px;
}

/* ── Desktop Nav ── */

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
  min-width: 0;
  margin-left: 76px;
}

.nav a {
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: #fff;
  transition: color 0.25s ease;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.14);
}

.nav a.active,
.nav a:hover {
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 16, 26, 0.28);
}

/* ── Header Actions ── */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  margin-left: auto;
  flex: 0 0 auto;
}

/* ── Listen Button ── */

.listen-btn {
  height: 44px;
  min-width: 154px;
  padding: 0 18px;
  margin-right: 10px;
  border-radius: 4px;
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.25s ease;
  white-space: nowrap;
}

.listen-btn:hover {
  background: var(--red-hover);
  box-shadow: 0 0 28px rgba(255, 16, 26, 0.35);
}

/* ── Wave Mini (Listen Button Animation) ── */

.wave-mini {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.wave-mini i {
  width: 2px;
  border-radius: 4px;
  background: currentColor;
  display: block;
}

.wave-mini i:nth-child(1) { height: 8px; }
.wave-mini i:nth-child(2) { height: 15px; }
.wave-mini i:nth-child(3) { height: 11px; }
.wave-mini i:nth-child(4) { height: 17px; }

.listen-btn.is-live .wave-mini i {
  animation-name: waveMiniLive;
  animation-duration: 0.62s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform-origin: center;
  will-change: height;
}

.listen-btn.is-live .wave-mini i:nth-child(2) { animation-duration: 0.48s; }
.listen-btn.is-live .wave-mini i:nth-child(3) { animation-duration: 0.74s; }
.listen-btn.is-live .wave-mini i:nth-child(4) { animation-duration: 0.55s; }

/* ── Language Toggle ── */

.language-wrapper {
  position: relative;
}

.language {
  height: 36px;
  min-width: 56px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.language::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.language-wrapper.is-open .language {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06) inset;
}

.language-wrapper.is-open .language::after {
  transform: rotate(225deg) translateY(-2px);
}

/* ── Language Dropdown Menu ── */

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 148px;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}

.language-wrapper.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.language-option:hover {
  color: var(--soft-white);
  background: rgba(255, 255, 255, 0.045);
}

.language-option.is-active {
  color: var(--red);
}

.language-option.is-active:hover {
  color: var(--red-hover);
  background: rgba(255, 16, 26, 0.06);
}

.language-flag {
  font-size: 16px;
  line-height: 1;
}

/* ── Header Socials ── */

.socials {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  gap: 5px 6px;
  align-items: center;
  justify-items: center;
}

.socials a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.96;
  transition: 0.25s ease;
}

.socials a svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.socials a:hover {
  color: var(--red);
  opacity: 1;
  transform: translateY(-2px);
}

/* ── Mobile Menu Toggle ── */

.mobile-menu {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}

.mobile-menu span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}


/*
   ==========================================================================
   9. HERO SECTION
   ========================================================================== */

.hero {
  margin-top: 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr 330px;
  gap: 15px;
  align-items: center;
}

/* ── Album Card ── */

.album-card {
  height: 350px;
  border-radius: 7px;
  background: #050505;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.album-cover {
  position: absolute;
  inset: 0;
  isolation: isolate;
  z-index: 3;
  transition: opacity 0.3s ease-in;
}

.album-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('../images/cover.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
 
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
 
  transition:
    opacity  .55s cubic-bezier(.22, .61, .36, 1),
    transform .9s cubic-bezier(.22, .61, .36, 1),
    filter   .6s ease;
 
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  z-index: 0;
}
 
.album-bg-layer.is-changing {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(10px);
}

.album-bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.album-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.08),
      rgba(0,0,0,.42)
    );

  z-index: 1;
}



/* ── Hero Stage ── */

.hero-stage {
  min-height: 300px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: normal;
  padding: 30px 25px;
  isolation: isolate;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('../images/cover_prog-5.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
 
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
 
  transition:
    opacity  .55s cubic-bezier(.22, .61, .36, 1),
    transform .9s cubic-bezier(.22, .61, .36, 1),
    filter   .6s ease;
 
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  z-index: 0;
}
 
.hero-bg-layer.is-changing {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(10px);
}

.hero-bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.7) 35%,
      rgba(0,0,0,.24) 70%,
      rgba(0,0,0,.88) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.15),
      rgba(0,0,0,.9)
    );

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.62);
}

/* ── Live Label ── */

.live-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.live-dot {
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  animation: 1.5s ease-in-out infinite hero-pulse-dot;
}

/* ── Hero Typography ── */

.hero-program {
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 0.9;
  letter-spacing: 0.018em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px;
}

.hero-artist {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-transform: capitalize;
  text-overflow: ellipsis;
  max-width: 600px;
}

.hero-title {
  font-size: 18px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-transform: capitalize;
  text-overflow: ellipsis;
  max-width: 600px;
}

/* ── Hero Controls ── */

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-controls .listen-live {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 13px;
}



/*
   ==========================================================================
   9b. CHANNELS (Hero Sidebar)
   ========================================================================== */

.channels {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2px;
}

.channels-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}

.channels-head h3 {
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.channels-head .see-all {
  font-size: 12px;
  font-weight: 800;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Channel Item ── */

.channel-item {
  --channel-color: var(--red);
  position: relative;
  height: 74px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 54px 18px;
  gap: 14px;
  align-items: center;
  padding: 0 16px 0 18px;
  cursor: pointer;
  overflow: hidden;
  transition: 0.25s ease;
}

.channel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  opacity: 0.35;
  pointer-events: none;
}

.channel-item:nth-child(2) { --channel-color: #ff6500; }
.channel-item:nth-child(3) { --channel-color: #1787ff; }
.channel-item:nth-child(4) { --channel-color: #bb29ff; }

.channel-item.active {
  height: 75px;
  border: 2px solid rgba(255, 16, 26, 0.78);
  background:
    radial-gradient(circle at 17% 50%, rgba(255, 16, 26, 0.36), transparent 34%),
    linear-gradient(90deg, rgba(255, 16, 26, 0.18), rgba(20, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.45));
  box-shadow:
    inset 0 0 32px rgba(255, 16, 26, 0.18),
    0 0 20px rgba(255, 16, 26, 0.14);
}

.channel-item.active::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 16, 26, 0.23), rgba(255, 16, 26, 0.02) 58%, transparent);
}

.channel-item:hover {
  background: rgba(255, 255, 255, 0.018);
  transform: translateX(-2px);
}

.channel-item.active:hover {
  background:
    radial-gradient(circle at 17% 50%, rgba(255, 16, 26, 0.42), transparent 34%),
    linear-gradient(90deg, rgba(255, 16, 26, 0.22), rgba(20, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.45));
}

/* ── Channel Icon ── */

.channel-icon {
  width: 43px;
  height: 46px;
  background: transparent !important;
  clip-path: none;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--channel-color), transparent 45%));
}

.channel-icon::before,
.channel-icon::after {
  content: "";
  position: absolute;
  background: var(--channel-color);
  display: block;
}

.channel-item.active .channel-icon {
  width: 52px;
  height: 52px;
}

.channel-item.active .channel-icon::before {
  inset: 0;
  clip-path: polygon(0 0, 73% 0, 48% 27%, 94% 50%, 48% 73%, 73% 100%, 0 100%);
}

.channel-item.active .channel-icon::after {
  display: none;
}

.channel-item:not(.active) .channel-icon::before,
.channel-item:not(.active) .channel-icon::after {
  left: 14px;
  width: 14px;
  height: 30px;
  border-radius: 2px;
  transform-origin: center;
}

.channel-item:not(.active) .channel-icon::before {
  top: 0;
  transform: rotate(-38deg);
}

.channel-item:not(.active) .channel-icon::after {
  bottom: 0;
  transform: rotate(38deg);
}

/* ── Channel Info ── */

.channel-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.channel-info strong {
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.channel-item.active .channel-info strong {
  font-size: 16px;
}

.channel-info span {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.035em;
}

/* ── Channel Wave ── */

.channel-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--channel-color) !important;
  opacity: 0.95;
}

.channel-wave i {
  width: 2px;
  border-radius: 9999px;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.channel-wave i:nth-child(1) { height: 12px; }
.channel-wave i:nth-child(2) { height: 22px; }
.channel-wave i:nth-child(3) { height: 14px; }
.channel-wave i:nth-child(4) { height: 30px; }
.channel-wave i:nth-child(5) { height: 19px; }
.channel-wave i:nth-child(6) { height: 25px; }
.channel-wave i:nth-child(7) { height: 13px; }

.channel-item.is-playing .channel-wave i {
  animation-name: channelWaveIdle;
  animation-duration: 0.72s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform-origin: center;
  will-change: height;
}

.channel-item.is-playing .channel-wave.is-live i {
  animation: none;
  transition: height 0.075s linear;
}

.channel-item.is-playing .channel-wave i:nth-child(2n) { animation-duration: 0.58s; }
.channel-item.is-playing .channel-wave i:nth-child(3n) { animation-duration: 0.86s; }
.channel-item.is-playing .channel-wave i:nth-child(4n) { animation-duration: 0.66s; }

/* ── Channel Play ── */

.channel-play {
  position: relative;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.24));
}

.channel-item.is-playing .channel-play {
  width: 15px;
  height: 17px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.30));
}

.channel-item.is-playing .channel-play::before,
.channel-item.is-playing .channel-play::after {
  content: "";
  width: 5px;
  height: 17px;
  border-radius: 2px;
  background: #fff;
  display: block;
}


/*
   ==========================================================================
   10. NEWS SECTION
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: 1.95fr 0.95fr;
  gap: 24px;
}

.featured-news {
  min-height: 500px;
  border-radius: 7px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.featured-news::after,
.small-news::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 1;
}

.news-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 3;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.62);
}

.featured-news h2 {
  margin-top: 14px;
  max-width: 820px;
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 0.92;
  letter-spacing: 0.012em;
  font-weight: 700;
}

.featured-news time {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

/* ── Side News ── */

.side-news {
  display: grid;
  gap: 22px;
}

.small-news {
  min-height: 132px;
  border-radius: 7px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.small-news .news-content {
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.small-news h3 {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── News Link Overlay ── */

.news-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  cursor: pointer;
}

/* ── News Image Wrap ── */

.news-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.42s ease;
}

.featured-news:hover .news-img-wrap img,
.small-news:hover .news-img-wrap img {
  transform: scale(1.08);
}


/*
   ==========================================================================
   11. MÚSICAS & LANÇAMENTOS (Beatport Style)
   ========================================================================== */

.musicas-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.musicas-nav-btns {
  display: flex;
  gap: 6px;
}

.musicas-nav-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}

.musicas-nav-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.musicas-left {
  display: flex;
  flex-direction: column;
}

.musicas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

/* ── Chart Card ── */

.chart-card {
  cursor: pointer;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.chart-cover-img {
  aspect-ratio: 1 / 1;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.chart-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.chart-card:hover .chart-cover-img img {
  transform: scale(1.06);
}

.chart-cover-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.chart-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 10px 9px;
  z-index: 2;
}

.chart-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-artist {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.musicas-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

/* ── Promoted Banner Slot ── */

.promoted-banner {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #2c2c2c;
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promoted-banner-inner {
  text-align: center;
  color: #bbb;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
  user-select: none;
}



/*
   ==========================================================================
   12. REPLAYS & SETS
   ========================================================================== */

.replay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.replay-card {
  min-height: 468px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  background: #050505;
  position: relative;
  padding: 0 0 28px;
}

.replay-img {
  height: 100%;
  min-height: 468px;
  position: absolute;
  inset: 0;
}

.replay-img::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.52) 45%, #050505 83%),
    radial-gradient(circle at 50% 31%, transparent 0 12%, rgba(0, 0, 0, 0.5) 33%);
}

.replay-play {
  position: absolute;
  z-index: 3;
  top: 142px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.48);
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.replay-play:hover {
  border-color: var(--red);
  background: rgba(255, 16, 26, 0.15);
  box-shadow: 0 0 36px rgba(255, 16, 26, 0.35);
}

.replay-play .play-triangle {
  border-top-width: 14px;
  border-bottom-width: 14px;
  border-left-width: 21px;
  margin-left: 5px;
}

.replay-copy {
  position: absolute;
  left: 30px;
  right: 24px;
  bottom: 34px;
  z-index: 3;
}

.replay-copy h3 {
  font-size: 38px;
  line-height: 0.96;
  letter-spacing: 0.025em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.replay-copy p {
  font-size: 22px;
  line-height: 1.25;
  color: var(--muted);
  font-weight: 500;
}

.replay-copy time {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  color: var(--muted);
  font-weight: 500;
}

/* ── Carousel Dots ── */

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.carousel-dots span {
  width: 26px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.34);
}

.carousel-dots span.active {
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 16, 26, 0.55);
}


/*
   ==========================================================================
   13. EVENTS SECTION
   ========================================================================== */

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.event-card {
  min-height: 328px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  background: #050505;
}

.event-card .event-bg {
  height: 148px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.event-date {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 70px;
  min-height: 74px;
  border-radius: 7px;
  background: linear-gradient(180deg, #ff101a, #650005);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(255, 16, 26, 0.3);
  z-index: 2;
}

.event-date strong {
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}

.event-date span {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.event-body {
  padding: 30px 28px 25px;
  position: relative;
  min-height: 180px;
}

.event-body h3 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.event-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.event-arrow {
  position: absolute;
  right: 26px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.event-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 4px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  margin-left: -5px;
}

.event-arrow:hover {
  background: var(--red-hover);
  transform: scale(1.05);
  box-shadow: 0 0 26px rgba(255, 16, 26, 0.4);
}


/*
   ==========================================================================
   14. MINI PLAYER
   ========================================================================== */

.player-section {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 1020px;
  background: #030303;
  border-radius: 7px;
  border: 1px solid var(--border);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.player-section.is-visible {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
}

.player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 72px;
  min-height: 72px;
  padding: 0 20px;
}

/* ── Player Left (cover + meta) ── */

.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
}

.player-cover {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  flex: 0 0 52px;
  background: #151515;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.player-cover img,
.expanded-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition:
    opacity .55s cubic-bezier(.22,.61,.36,1),
    transform .9s cubic-bezier(.22,.61,.36,1),
    filter .6s ease;

  will-change:
    opacity,
    transform,
    filter;

  transform: scale(1);
  filter: blur(0px);
  opacity: 1;

  backface-visibility: hidden;
}

.player-cover img.is-changing,
.expanded-cover img.is-changing {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(10px);
}

.player-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.player-meta span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

.player-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.player-meta strong {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

/* ── Player Center (play button) ── */

.player-center {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.player-main-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.player-main-btn:hover {
  background: var(--red-hover);
  transform: scale(1.05);
  box-shadow: 0 0 34px rgba(255, 16, 26, 0.42);
}

.player-main-btn .play-triangle {
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 12px;
  margin-left: 4px;
}

/* ── Player Right (volume + icons) ── */

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1 1 0;
}

/* ── Volume Control ── */

.volume {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.volume-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  flex: 0 0 auto;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
}

.volume-icon:hover { color: #fff; }
.volume-icon.is-muted { color: var(--red); }

.volume-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Volume Slider — oculto, aparece ao hover ── */

.volume .volume-range {
  position: absolute;
  bottom: calc(100% + 25px);
  left: 40%;
  transform: translateX(-50%) translateY(14px) rotate(-90deg) scale(0.96);
  transform-origin: center;
  width: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.volume:hover .volume-range {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) rotate(-90deg) translateY(0px);
}

/* ── Volume Range Slider ── */

#volumeRange,
#heroVolumeRange {
  outline: none;
  border: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background: #030303;
  border-radius: 4px;
  padding: 5px;
  border: 1px solid var(--border);
}

#volumeRange:focus,
#volumeRange:active,
#volumeRange:focus-visible,
#heroVolumeRange:focus,
#heroVolumeRange:active,
#heroVolumeRange:focus-visible {
  outline: none;
  box-shadow: none;
}

#volumeRange::-webkit-slider-thumb,
#heroVolumeRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  box-shadow: none;
}

#volumeRange::-webkit-slider-runnable-track,
#heroVolumeRange::-webkit-slider-runnable-track {
  border: none;
  outline: none;
  box-shadow: none;
}

#volumeRange::-moz-range-thumb,
#volumeRange::-moz-range-track,
#heroVolumeRange::-moz-range-thumb,
#heroVolumeRange::-moz-range-track {
  border: none;
  outline: none;
  box-shadow: none;
}

.volume-range {
  --volume-percent: 50%;
  width: 80px;
  height: 30px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.volume-range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--red) 0 var(--volume-percent), #2a2a2a var(--volume-percent) 100%);
}

.volume-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  margin-top: -5px;
  box-shadow: 0 0 0 3px rgba(255, 16, 26, 0.2);
  transition: transform 0.15s ease;
}

.volume-range:hover::-webkit-slider-thumb { transform: scale(1.2); }

.volume-range::-moz-range-track {
  height: 3px;
  border-radius: 9999px;
  background: #2a2a2a;
}

.volume-range::-moz-range-progress {
  height: 3px;
  border-radius: 9999px;
  background: var(--red);
}

.volume-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 16, 26, 0.2);
}

/* ── Player Action Icons ── */

.player-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.player-icons button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.player-icons button svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-icons button:hover {
  color: #fff;
}


/*
   ==========================================================================
   15. EXPANDED PLAYER
   ========================================================================== */

.player-expanded {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 118px;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}


.player-expanded.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

body.player-expanded-open { overflow: hidden; }

.player-expanded-close {
  position: fixed;
  top: 24px;
  right: 30px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.player-expanded-close:hover {
  color: #fff;
  transform: scale(1.1);
}

.player-expanded-content {
  width: min(92vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s ease;
}

.player-expanded.is-open .player-expanded-content {
  transform: translateY(0) scale(1);
}

.expanded-cover {
  width: 280px;
  height: 280px;
  border-radius: 7px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
}

.expanded-title {
  max-width: 420px;
  color: #fff;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 0.92;
  font-weight: 900;
  text-transform: none;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.expanded-artist {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.expanded-player-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  margin-bottom: 36px;
}

.expanded-player-play:hover {
  background: var(--red-hover);
  transform: scale(1.05);
  box-shadow: 0 0 34px rgba(255, 16, 26, 0.42);
}

.expanded-player-play .play-triangle {
  border-top-width: 11px;
  border-bottom-width: 11px;
  border-left-width: 17px;
  margin-left: 5px;
}

.expanded-player-play .pause-icon::before,
.expanded-player-play .pause-icon::after {
  background: #fff;
}

/* ── Expanded Controls ── */

.expanded-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.expanded-volume {
  display: flex;
  align-items: center;
  gap: 14px;
}

.expanded-volume .volume-icon {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.expanded-volume .volume-icon svg {
  width: 22px;
  height: 22px;
}

.expanded-volume-range {
  --volume-percent: 50%;
  width: 130px;
  height: 26px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.expanded-volume-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--red) 0 var(--volume-percent), rgba(255, 255, 255, 0.15) var(--volume-percent) 100%);
}

.expanded-volume-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  margin-top: -5px;
  box-shadow: 0 0 0 4px rgba(255, 16, 26, 0.2);
}

.expanded-volume-range::-moz-range-track {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
}

.expanded-volume-range::-moz-range-progress {
  height: 4px;
  border-radius: 9999px;
  background: var(--red);
}

.expanded-volume-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 16, 26, 0.2);
}

/* ── Expanded Share ── */

.expanded-share {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.expanded-share svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expanded-share:hover {
  color: var(--red);
  border-color: rgba(255, 16, 26, 0.4);
  background: rgba(255, 16, 26, 0.07);
  transform: translateY(-2px);
}


/*
   ==========================================================================
   16. FOOTER
   ========================================================================== */

.footer {
  background: #030303;
  margin-top: 30px;
}

.footer-box {
  padding: 72px 90px 62px;
  display: grid;
  grid-template-columns: 1.6fr 0.75fr 0.9fr 0.9fr;
  gap: 64px;
}

.footer-brand .brand {
  margin-bottom: 32px;
}

.footer-brand p {
  max-width: 385px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.105);
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.footer-socials a svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.footer-socials a:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(255, 16, 26, 0.25);
}

.footer-col h4 {
  font-size: 14px;
  line-height: normal;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  transition: 0.25s ease;
}

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

/* ── Footer App Links ── */

.footer-app-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.25s ease;
}

.footer-app-link:hover {
  color: var(--red);
}

.footer-app-link:hover .footer-app-icon {
  fill: var(--red);
}

.footer-app-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: var(--muted-2);
  transition: fill 0.25s ease;
}

.copyright {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}


/*
   ==========================================================================
   17. PHOTO OVERLAY REFINEMENTS
   ========================================================================== */

.fake-img.has-photo {
  --channel-accent: 255, 16, 26;
  background-image:
    linear-gradient(180deg, rgba(var(--channel-accent), 0.08), rgba(0, 0, 0, 0.42)),
    var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.fake-img.has-photo::before {
  z-index: 0;
  opacity: 0.34;
  background:
    radial-gradient(circle at 50% 26%, rgba(var(--channel-accent), 0.30), transparent 17%),
    radial-gradient(circle at 70% 44%, rgba(var(--channel-accent), 0.14), transparent 24%),
    linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.30) 100%);
  mix-blend-mode: screen;
  filter: saturate(1.12) contrast(1.04);
}

.album-cover.has-photo::before {
  background: none;
}

.featured-news.has-photo::after,
.small-news.has-photo::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.62) 100%);
}


.replay-img.has-photo::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(5, 5, 5, 0.72) 86%),
    radial-gradient(circle at 50% 30%, transparent 0 15%, rgba(0, 0, 0, 0.28) 38%);
}


/*
   ==========================================================================
   17b. IMAGE URL CLASSES (fake-img / has-photo)
   ========================================================================== */

.img-replay-1  { --img: url('https://images.unsplash.com/photo-1520170350707-b2da59970118?auto=format&fit=crop&w=900&q=80');  background-position: center top; }
.img-replay-2  { --img: url('https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=900&q=80');  background-position: center; }
.img-replay-3  { --img: url('https://images.unsplash.com/photo-1504680177321-2e6a879aac86?auto=format&fit=crop&w=900&q=80');  background-position: center; }
.img-replay-4  { --img: url('https://images.unsplash.com/photo-1499364615650-ec38552f4f34?auto=format&fit=crop&w=900&q=80');  background-position: center; }
.img-event-1   { --img: url('https://images.unsplash.com/photo-1508973379184-7517410fb0bc?auto=format&fit=crop&w=900&q=80');  background-position: center; }
.img-event-2   { --img: url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=900&q=80');  background-position: center; }
.img-event-3   { --img: url('https://images.unsplash.com/photo-1429962714451-bb934ecdc4ec?auto=format&fit=crop&w=900&q=80');  background-position: center; }
.img-event-4   { --img: url('https://images.unsplash.com/photo-1519671482749-fd09be7ccebf?auto=format&fit=crop&w=900&q=80');  background-position: center; }


/*
   ==========================================================================
   18. COOKIE BANNER
   ========================================================================== */

#cookie-title {
  margin: 20px 0 0 20px;
}

.CookieMessage {
  animation: fadeIn 0.25s ease 4s forwards;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--color-black-low);
  bottom: 1.25rem;
  color: var(--white);
  left: 0.9375rem;
  max-width: 24.375rem;
  opacity: 0;
  position: fixed;
  width: calc(100% - 1.875rem);
  z-index: 10;
}

.CookieMessage-content p {
  float: right;
  line-height: 1.5;
  margin: 1.25rem;
}

.CookieMessage button {
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: 10px;
  padding: 0.75rem 2rem 0.625rem;
  text-decoration: none;
  text-transform: uppercase;
}

.CookieMessage button:hover {
  opacity: 0.8;
}

#accept-cookies {
  background: var(--red);
  color: var(--white);
}

#reject-cookies {
  background: none;
  color: var(--white);
  border: 1px solid var(--border);
}


/*
   ==========================================================================
   19. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   Large Tablet / Small Desktop  (≤ 1280px)
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1280px) {
  :root {
    --px: 28px;
  }

  .brand-logo {
    width: 210px;
  }

  .nav {
    margin-left: 42px;
    gap: 26px;
  }

  .nav a {
    font-size: 13px;
  }

  .listen-btn {
    min-width: 146px;
    height: 40px;
    padding: 0 15px;
    margin-right: 0;
    font-size: 12px;
  }

  .header-actions {
    gap: 13px;
  }

  .socials {
    grid-template-columns: repeat(3, 21px);
    gap: 4px 5px;
  }

  .socials a {
    width: 21px;
    height: 21px;
  }

  .socials a svg {
    width: 17px;
    height: 17px;
  }

  .hero-grid {
    grid-template-columns: 260px 1fr 310px;
    gap: 24px;
  }

  .album-card {
    height: 260px;
  }

  .replay-grid,
  .events-grid {
    gap: 22px;
  }

  .replay-copy h3 {
    font-size: 26px;
  }

  .footer-box {
    padding-inline: 52px;
    gap: 40px;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Tablet  (≤ 1024px)
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 280px 1fr;
  }

  .channels {
    grid-column: 1 / -1;
  }

  .channel-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

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

  .side-news {
    grid-template-columns: repeat(3, 1fr);
  }

  .replay-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-section.is-visible {
    transform: translateX(-50%) translateY(0);
    width: calc(100% - 32px);
    bottom: 16px;
  }

  .player {
    height: auto;
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
  }

  .player-left {
    flex: 1 1 100%;
    justify-content: center;
  }

  .player-right {
    width: 100%;
    justify-content: center;
  }

  .footer-box {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Mobile  (≤ 720px)
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  :root {
    --px: 18px;
  }

  .header,
  .header-inner {
    height: 74px;
  }

  .brand-logo {
    width: 150px;
  }

  .footer-brand .brand-logo {
    width: 178px;
  }

  .hero {
    margin-top: 22px;
  }

  .hero-grid,
  .news-grid,
  .replay-grid,
  .events-grid,
  .side-news,
  .channel-list {
    grid-template-columns: 1fr;
  }

  .album-card {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-stage {
    min-height: 360px;
    padding: 38px 26px;
  }

  .hero-program {
    font-size: 48px;
  }

  .hero-artist {
    font-size: 22px;
  }

  .featured-news {
    min-height: 420px;
  }

  .featured-news h2 {
    font-size: 40px;
  }

  .small-news {
    min-height: 170px;
  }


  .replay-card,
  .replay-img {
    min-height: 430px;
  }

  .events-grid {
    gap: 20px;
  }

  /* ── Player Mobile ── */

  .player-section.is-visible {
	  display:none;
  }


  /* ── Footer Mobile ── */

  .footer-box {
    padding: 48px 28px;
    grid-template-columns: 1fr;
    gap: 44px;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Small Mobile  (≤ 420px)
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 420px) {
  .brand-logo {
    width: 134px;
  }

  .section-title {
    font-size: 17px;
  }

  .hero-program {
    font-size: 40px;
  }

  .featured-news h2 {
    font-size: 34px;
  }

  .news-content {
    left: 20px;
    right: 20px;
  }

  .channel-item {
    grid-template-columns: 40px 1fr 42px 18px;
    padding: 0 10px;
  }

  .replay-copy h3 {
    font-size: 24px;
  }
}

/* ========================================================================== */
/* MVC RitualFM - complementos para páginas dinâmicas                         */
/* ========================================================================== */

.header { position: relative; }
.brand-logo { object-fit: contain; }
.nav a.is-active { color: var(--red); }
.auth-mini { display: flex; gap: 8px; align-items: center; }
.auth-mini a {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.auth-mini a:hover,
.auth-mini .auth-primary {
  color: #fff;
  border-color: rgba(255, 16, 26, .62);
  background: linear-gradient(135deg, rgba(255, 16, 26, .92), rgba(122, 0, 8, .88));
  box-shadow: 0 16px 36px rgba(255, 16, 26, .18);
}
.page-shell {
  padding: 56px 0 96px;
}
.page-heading {
  margin-bottom: 26px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 16, 26, .20), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: var(--shadow-soft);
}
.page-heading .eyebrow,
.detail-eyebrow,
.form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.page-heading h1,
.detail-article h1,
.auth-card h1 {
  font-size: clamp(32px, 4vw, 64px);
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-heading p,
.detail-lead,
.auth-card p,
.text-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 860px;
}
.dynamic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dynamic-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dynamic-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow-soft);
}
.dynamic-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.dynamic-card:hover img { transform: scale(1.06); }
.dynamic-card-body { padding: 20px; }
.dynamic-card h3 {
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.dynamic-card p,
.dynamic-card small { color: var(--muted); line-height: 1.65; }
.dynamic-card .tag { margin-bottom: 12px; }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.schedule-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
}
.schedule-card strong { display:block; font-size:20px; text-transform:uppercase; margin-bottom:8px; }
.schedule-card span { color: var(--red); font-weight: 900; }
.detail-article {
  max-width: 980px;
  margin: 56px auto 96px;
}
.detail-cover {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid var(--border);
  margin: 24px 0;
  box-shadow: var(--shadow-soft);
}
.detail-text {
  color: var(--text);
  font-size: 18px;
  line-height: 1.85;
}
.comment-box,
.auth-card,
.text-panel {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255,255,255,.045);
  box-shadow: var(--shadow-soft);
}
.form-grid { display:grid; gap:14px; margin-top:20px; }
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,.42);
  color: #fff;
  padding: 15px 16px;
  outline: none;
}
.form-grid textarea { min-height: 150px; resize: vertical; }
.form-grid button,
.detail-actions a {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255, 16, 26, .98), rgba(122, 0, 8, .96));
  cursor: pointer;
}
.alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 18px 0;
  border: 1px solid var(--border);
}
.alert-success { color:#d8ffe8; background: rgba(28, 169, 91, .16); }
.alert-error { color:#ffe2e2; background: rgba(255, 16, 26, .16); }
.comment-item {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.comment-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.comment-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.comment-actions a,
.comment-actions button {
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding:8px 12px;
  cursor:pointer;
}
.reply-list { margin-left: 22px; padding-left: 18px; border-left:1px solid var(--border); }
.mobile-nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  padding: 18px 24px 24px;
  background: rgba(0,0,0,.96);
}
.mobile-nav-panel a {
  display:block;
  padding:12px 0;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
}
body.mobile-menu-open .mobile-nav-panel { display: block; }
.home-only-hidden { display: none !important; }
@media (max-width: 1024px) {
  .auth-mini { display:none; }
}
@media (max-width: 840px) {
  .dynamic-grid,
  .dynamic-grid.two,
  .schedule-grid { grid-template-columns: 1fr; }
  .page-heading { padding: 24px; }
  .detail-article { margin-top: 34px; }
}

/* ========================================================================== */
/* Ajustes RitualFM — player persistente, músicas e painel do usuário          */
/* ========================================================================== */

html.is-soft-loading body::after {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10000;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: ritualSoftLoad 0.85s linear infinite;
}

@keyframes ritualSoftLoad {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

body.mini-player-active {
  padding-bottom: 118px;
}

.player-section {
  max-width: 1180px;
}

.chart-cover-img {
  display: block;
  min-height: 100%;
  background-color: #121212;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.chart-cover-img img {
  position: absolute;
  inset: 0;
}

.chart-card:hover .chart-cover-img img,
.chart-card:hover .chart-cover-img {
  transform: none;
}

.chart-card:hover .chart-cover-img img {
  transform: scale(1.06);
}

.dynamic-card img {
  background: #121212 url('../images/cover.webp') center/cover no-repeat;
}

/* ── Painel do usuário ───────────────────────────────────────────────────── */
.user-body-premium {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 16, 26, 0.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #050505 0%, #0c0c0d 44%, #020202 100%);
}

.user-body-premium::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}

.user-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.user-topbar-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.station-thumb {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.station-thumb-logo {
  display: block;
  width: 178px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 16, 26, 0.18));
}

.station-thumb-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.station-thumb-bars i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 16, 26, .75);
  animation: userBars 0.8s ease-in-out infinite alternate;
}

.station-thumb-bars i:nth-child(1) { height: 9px; }
.station-thumb-bars i:nth-child(2) { height: 17px; animation-delay: .16s; }
.station-thumb-bars i:nth-child(3) { height: 12px; animation-delay: .3s; }

@keyframes userBars {
  from { transform: scaleY(.62); opacity: .58; }
  to { transform: scaleY(1); opacity: 1; }
}

.user-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.user-topbar-actions a,
.user-actions a,
.user-section-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.user-topbar-actions a {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: .22s ease;
}

.user-topbar-actions a:hover {
  border-color: rgba(255, 16, 26, .55);
  background: rgba(255, 16, 26, .12);
  transform: translateY(-1px);
}

.user-topbar-actions .logout {
  background: linear-gradient(135deg, rgba(255,16,26,.95), rgba(146,0,8,.95));
  border-color: rgba(255,16,26,.65);
  box-shadow: 0 12px 35px rgba(255,16,26,.18);
}

.user-topbar-actions svg,
.user-actions svg,
.user-stat-icon svg,
.user-section-head svg,
.user-avatar svg,
.user-news-cards svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 18px;
}

.user-hero-premium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  margin-top: 26px;
}

.user-hero-copy,
.user-profile-card,
.user-stats-grid article,
.user-content-premium {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.user-hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(28px, 4vw, 54px);
  border-radius: 30px;
}

.user-hero-copy::after {
  content: "RITUAL";
  position: absolute;
  right: -22px;
  bottom: -35px;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(74px, 13vw, 158px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.08em;
  pointer-events: none;
}

.user-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffccd0;
  background: rgba(255, 16, 26, .12);
  border: 1px solid rgba(255, 16, 26, .26);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.user-hero-copy h1 {
  margin: 24px 0 14px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .92;
  letter-spacing: -.07em;
}

.user-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.7;
}

.user-actions-premium {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.user-actions .btn-primary,
.user-actions .admin-link {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: .22s ease;
}

.user-actions .btn-primary {
  background: #fff;
  color: #050505;
}

.user-actions .btn-dark {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.user-actions .admin-link {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #8e0007);
  box-shadow: 0 18px 44px rgba(255, 16, 26, .22);
}

.user-actions a:hover {
  transform: translateY(-2px);
}

.user-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 34px 24px;
  border-radius: 30px;
  text-align: center;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin-bottom: 22px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.3), transparent 32%),
    linear-gradient(135deg, #ff101a, #650006);
  box-shadow: 0 24px 60px rgba(255, 16, 26, .25);
}

.user-avatar svg {
  width: 48px;
  height: 48px;
}

.user-profile-card strong {
  max-width: 100%;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  word-break: break-word;
}

.user-profile-card span {
  margin-top: 8px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  word-break: break-all;
}

.user-profile-card small {
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.user-stats-grid article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
  border-radius: 24px;
}

.user-stat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255,16,26,.14);
  border: 1px solid rgba(255,16,26,.22);
}

.user-stats-grid span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.user-stats-grid strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.user-stats-grid small {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.46);
  font-size: 12px;
}

.user-content-premium {
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
}

.user-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.user-section-head span,
.user-news-cards a span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb9bd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.user-section-head h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.045em;
}

.user-section-head a {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  font-size: 13px;
  font-weight: 800;
}

.user-news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.user-news-cards a,
.user-empty-state {
  display: block;
  min-height: 180px;
  padding: 20px;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
  transition: .22s ease;
}

.user-news-cards a:hover {
  transform: translateY(-3px);
  border-color: rgba(255,16,26,.45);
  background: rgba(255,16,26,.08);
}

.user-news-cards strong,
.user-empty-state strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.user-news-cards p,
.user-empty-state p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.55;
}

.user-empty-state {
  grid-column: 1 / -1;
  min-height: auto;
}

@media (max-width: 980px) {
  .user-hero-premium,
  .user-stats-grid,
  .user-news-cards {
    grid-template-columns: 1fr;
  }

  .user-profile-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  body.mini-player-active {
    padding-bottom: 138px;
  }

  .user-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 14px;
  }

  .user-topbar-premium,
  .user-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .user-topbar-actions,
  .user-actions-premium {
    width: 100%;
  }

  .user-topbar-actions a,
  .user-actions a,
  .user-section-head a {
    flex: 1 1 auto;
  }

  .user-hero-copy,
  .user-profile-card,
  .user-content-premium {
    border-radius: 22px;
  }

  .user-hero-copy {
    min-height: auto;
    padding: 28px 20px;
  }
}


/* ========================================================================== */
/* Ajustes RitualFM — footer da conta, admin e player nos painéis              */
/* ========================================================================== */
.footer-account .footer-auth-actions { display: grid; gap: 10px; margin-top: 16px; }
.footer-auth-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); transition: .22s ease; }
.footer-auth-btn:hover { transform: translateY(-2px); border-color: rgba(255,16,26,.5); background: rgba(255,16,26,.11); }
.footer-auth-btn-primary, .footer-auth-btn-danger { border-color: rgba(255,16,26,.65); background: linear-gradient(135deg, #ff101a, #8c0008); box-shadow: 0 16px 36px rgba(255,16,26,.18); }
.panel-player-page .panel-player { z-index: 80; }
.panel-player-page.mini-player-active { padding-bottom: 122px; }
.user-panel-footer, .admin-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; color: #fff; background: rgba(255,255,255,.045); box-shadow: 0 18px 55px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.user-panel-footer strong, .admin-panel-footer strong { display: block; font-size: 15px; }
.user-panel-footer span, .admin-panel-footer span { display: block; margin-top: 4px; color: rgba(255,255,255,.55); font-size: 12px; }
.user-panel-footer nav, .admin-panel-footer nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.user-panel-footer a, .admin-panel-footer a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 14px; color: #fff; text-decoration: none; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); font-size: 13px; font-weight: 800; transition: .22s ease; }
.user-panel-footer a:hover, .admin-panel-footer a:hover { transform: translateY(-1px); border-color: rgba(255,16,26,.5); background: rgba(255,16,26,.11); }
.user-panel-footer a.danger, .admin-panel-footer a.danger { border-color: rgba(255,16,26,.62); background: linear-gradient(135deg, #ff101a, #850007); box-shadow: 0 14px 34px rgba(255,16,26,.18); }
.user-panel-footer svg, .admin-panel-footer svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 18px; }

.admin-body { --admin-border: rgba(255,255,255,.09); --admin-muted: rgba(255,255,255,.58); min-height: 100vh; margin: 0; color: #fff; font-family: var(--font-body); background: radial-gradient(circle at 10% -6%, rgba(255,16,26,.22), transparent 32%), radial-gradient(circle at 92% 10%, rgba(255,255,255,.08), transparent 25%), linear-gradient(135deg, #050505 0%, #0b0b0d 52%, #020203 100%); }
.admin-body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 82%); }
.admin-sidebar { position: fixed; z-index: 20; inset: 18px auto 18px 18px; width: 286px; overflow: hidden; border: 1px solid var(--admin-border); border-radius: 28px; background: linear-gradient(180deg, rgba(18,18,20,.9), rgba(8,8,9,.88)); box-shadow: 0 24px 90px rgba(0,0,0,.45); backdrop-filter: blur(18px); }
.admin-brand-radio { display: flex; align-items: center; min-height: 92px; padding: 20px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle at 30% 0%, rgba(255,16,26,.18), transparent 48%); }
.admin-brand-radio .station-thumb-logo { width: 176px; max-width: 100%; }
.admin-menu { display: grid; gap: 6px; height: calc(100vh - 148px); padding: 16px 12px 22px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,16,26,.45) rgba(255,255,255,.05); }
.admin-menu a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 13px; color: rgba(255,255,255,.72); text-decoration: none; border: 1px solid transparent; border-radius: 16px; font-size: 13px; font-weight: 700; transition: .22s ease; }
.admin-menu a:hover, .admin-menu a.is-active { color: #fff; border-color: rgba(255,16,26,.34); background: rgba(255,16,26,.12); }
.admin-menu-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 11px; color: #fff; background: rgba(255,255,255,.07); }
.admin-menu-icon svg, .metric-icon svg, .shortcut-icon svg, .admin-resource-icon svg, .admin-hero-kicker svg, .admin-dashboard-orb svg, .admin-user-chip svg, .admin-top-btn svg { width: 18px; height: 18px; fill: currentColor; }
.admin-main { position: relative; z-index: 1; min-height: 100vh; margin-left: 322px; padding: 18px 22px 54px 0; }
.admin-top { position: sticky; top: 14px; z-index: 18; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 16px 18px; border: 1px solid var(--admin-border); border-radius: 24px; background: rgba(10,10,11,.78); box-shadow: 0 18px 60px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.admin-top span { display: inline-flex; color: rgba(255,255,255,.54); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.admin-top h1 { margin: 6px 0 0; color: #fff; font-size: clamp(24px, 3vw, 38px); line-height: 1; letter-spacing: -.055em; }
.admin-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.admin-user-chip, .admin-top-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; }
.admin-user-chip strong { color: #fff; font-size: 13px; text-transform: none; letter-spacing: 0; }
.admin-dashboard-hero, .admin-metrics-grid article, .admin-quick-actions, .admin-card, .admin-table-card, .admin-form-card, .admin-list-card, .admin-panel, .admin-resource-card { border: 1px solid var(--admin-border); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.028)); box-shadow: 0 24px 75px rgba(0,0,0,.32); backdrop-filter: blur(16px); }
.admin-dashboard-hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; min-height: 280px; padding: clamp(26px, 4vw, 46px); overflow: hidden; border-radius: 30px; }
.admin-hero-kicker, .admin-section-kicker { display: inline-flex; align-items: center; gap: 8px; color: #ffb7bb; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.admin-dashboard-hero h2 { max-width: 820px; margin: 18px 0 12px; color: #fff; font-size: clamp(38px, 5.8vw, 74px); line-height: .91; letter-spacing: -.07em; }
.admin-dashboard-hero p { max-width: 700px; margin: 0; color: var(--admin-muted); font-size: 15px; line-height: 1.75; }
.admin-dashboard-orb { display: grid; place-items: center; align-self: center; justify-self: center; width: 182px; height: 182px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.25), transparent 30%), linear-gradient(135deg, #ff101a, #6d0007); box-shadow: 0 28px 80px rgba(255,16,26,.24); }
.admin-dashboard-orb svg { width: 38px; height: 38px; } .admin-dashboard-orb strong { font-size: 42px; line-height: .9; } .admin-dashboard-orb span { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.admin-metrics-grid, .admin-shortcut-grid, .admin-grid-premium { display: grid; gap: 16px; margin-top: 18px; }
.admin-metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .admin-shortcut-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .admin-grid-premium { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-metrics-grid article { display: flex; align-items: center; gap: 16px; min-height: 128px; padding: 22px; border-radius: 24px; }
.metric-icon, .shortcut-icon, .admin-resource-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 18px; color: #fff; background: rgba(255,16,26,.14); border: 1px solid rgba(255,16,26,.25); }
.admin-metrics-grid article span:not(.metric-icon), .admin-card span { display: block; color: rgba(255,255,255,.56); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.admin-metrics-grid article strong { display: block; margin-top: 5px; color: #fff; font-size: 32px; line-height: 1; }
.admin-metrics-grid article small, .admin-shortcut-grid small { display: block; margin-top: 7px; color: rgba(255,255,255,.46); font-size: 12px; line-height: 1.4; }
.admin-quick-actions { padding: 22px; border-radius: 28px; }
.admin-panel-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.admin-panel-head h2 { margin: 6px 0 0; color: #fff; font-size: 30px; letter-spacing: -.05em; }
.admin-shortcut-grid a, .admin-card-actions a, .btn-primary, .admin-link { color: #fff; text-decoration: none; }
.admin-shortcut-grid a { display: block; min-height: 150px; padding: 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.22); transition: .22s ease; }
.admin-shortcut-grid a:hover, .admin-card:hover { transform: translateY(-3px); border-color: rgba(255,16,26,.45); background: rgba(255,16,26,.08); }
.admin-shortcut-grid strong { display: block; margin-top: 16px; color: #fff; font-size: 18px; line-height: 1.2; }
.admin-card { min-height: 222px; padding: 22px; border-radius: 26px; transition: .22s ease; }
.admin-card h2 { margin: 12px 0 22px; color: #fff; font-size: 24px; letter-spacing: -.045em; }
.admin-card-actions, .form-actions, .admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-card-actions a, .btn-primary, .admin-link, .admin-actions a, .form-actions button, .form-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; text-decoration: none; transition: .22s ease; }
.btn-primary, .form-actions button, .admin-card-actions .btn-primary { color: #050505; background: #fff; }
.admin-link, .admin-card-actions .admin-link, .admin-actions a, .form-actions a { color: #fff; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.06); }
.admin-actions a[href*="excluir"] { border-color: rgba(255,16,26,.48); background: rgba(255,16,26,.12); }
.btn-primary:hover, .admin-link:hover, .admin-actions a:hover, .form-actions button:hover, .form-actions a:hover { transform: translateY(-1px); }
.admin-table, .admin-table table, .admin-list-table table { width: 100%; border-collapse: collapse; }
.admin-table-card, .admin-form-card, .admin-list-card, .admin-panel { margin-top: 18px; padding: 20px; border-radius: 26px; overflow: auto; }
.admin-table th, .admin-table td, .admin-list-table th, .admin-list-table td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.075); color: rgba(255,255,255,.72); font-size: 13px; text-align: left; vertical-align: top; }
.admin-table th, .admin-list-table th { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.04); }
.admin-table tr:hover td, .admin-list-table tr:hover td { background: rgba(255,255,255,.025); }
.admin-form, .admin-form form, .form-grid { display: grid; gap: 16px; }
.admin-form label, .form-grid label { display: grid; gap: 8px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 800; }
.admin-form input, .admin-form textarea, .admin-form select, .form-grid input, .form-grid textarea, .form-grid select { width: 100%; min-height: 46px; padding: 0 14px; color: #fff; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(0,0,0,.28); outline: none; font: inherit; }
.admin-form textarea, .form-grid textarea { min-height: 160px; padding-top: 14px; resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus, .form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: rgba(255,16,26,.62); box-shadow: 0 0 0 4px rgba(255,16,26,.12); }
.alert { margin: 14px 0 18px; padding: 13px 16px; border-radius: 16px; color: #fff; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); }
.alert-success { border-color: rgba(29, 209, 161, .45); background: rgba(29, 209, 161, .12); } .alert-error { border-color: rgba(255, 16, 26, .48); background: rgba(255, 16, 26, .12); }
@media (max-width: 1180px) { .admin-sidebar { position: relative; inset: auto; width: min(100% - 28px, 1180px); margin: 14px auto 0; } .admin-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); height: auto; max-height: none; } .admin-main { width: min(100% - 28px, 1180px); margin: 0 auto; padding: 18px 0 54px; } .admin-metrics-grid, .admin-grid-premium { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-shortcut-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .admin-top, .user-panel-footer, .admin-panel-footer { flex-direction: column; align-items: stretch; } .admin-dashboard-hero, .admin-metrics-grid, .admin-shortcut-grid, .admin-grid-premium { grid-template-columns: 1fr; } .admin-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-panel-footer nav, .user-panel-footer nav, .admin-top-actions { justify-content: flex-start; } }
@media (max-width: 560px) { .admin-menu { grid-template-columns: 1fr; } .admin-dashboard-orb { width: 150px; height: 150px; } .panel-player-page.mini-player-active { padding-bottom: 152px; } }

/* ── Ajustes de integração: topo/footer globais + painéis ─────────────────── */
.nav a.is-active {
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 16, 26, 0.28);
}

.user-body .header,
.admin-body .header {
  flex: 0 0 auto;
}

.user-body .footer,
.admin-body .footer {
  position: relative;
  z-index: 2;
  margin-top: 34px;
}

.user-body .footer-box,
.admin-body .footer-box {
  border-top: 1px solid rgba(255,255,255,.06);
}

.admin-layout {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-layout .admin-sidebar {
  position: sticky;
  top: 18px;
  inset: auto;
  width: auto;
  max-height: calc(100vh - 36px);
  overflow: hidden;
}

.admin-layout .admin-menu {
  height: auto;
  max-height: calc(100vh - 148px);
}

.admin-layout .admin-main {
  min-width: 0;
  min-height: auto;
  margin-left: 0;
  padding: 0 0 54px;
}

.admin-layout .admin-top {
  top: 18px;
}

.admin-body .admin-panel,
.admin-body .admin-dashboard-hero,
.admin-body .admin-quick-actions,
.admin-body .admin-card,
.admin-body .admin-metrics-grid article {
  scroll-margin-top: 120px;
}

.footer-account ul li a[data-no-pjax="true"] {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: auto;
}

.footer-account ul li a[data-no-pjax="true"]:hover {
  color: var(--red);
  transform: none;
}

@media (max-width: 1180px) {
  .admin-layout {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1180px);
    margin-top: 18px;
  }

  .admin-layout .admin-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    max-height: none;
    margin: 0;
  }

  .admin-layout .admin-main {
    width: 100%;
    margin: 0;
    padding: 0 0 54px;
  }

  .admin-layout .admin-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: none;
  }
}

@media (max-width: 820px) {
  .admin-layout .admin-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .admin-layout .admin-menu {
    grid-template-columns: 1fr;
  }

  .user-body .header,
  .admin-body .header {
    height: 96px;
  }
}


/* ── Ajustes 2026: navegação sem reload + autenticação/painéis refinados ───── */
html.is-soft-loading body {
  cursor: progress;
}

body[data-current-page="login"] main,
body[data-current-page="cadastro"] main {
  min-height: calc(100vh - 410px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 0;
}

body[data-current-page="login"] .page-shell,
body[data-current-page="cadastro"] .page-shell {
  width: 100%;
  max-width: 560px;
  padding: 0 var(--px);
}

body[data-current-page="login"] .auth-card,
body[data-current-page="cadastro"] .auth-card {
  width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 16, 26, .18), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.072), rgba(255,255,255,.026));
  box-shadow: 0 26px 90px rgba(0,0,0,.42);
}

body[data-current-page="login"] .auth-card h1,
body[data-current-page="cadastro"] .auth-card h1 {
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-transform: none;
}

body[data-current-page="login"] .auth-card p,
body[data-current-page="cadastro"] .auth-card p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.66);
}

body[data-current-page="login"] .form-grid,
body[data-current-page="cadastro"] .form-grid {
  gap: 12px;
  margin-top: 24px;
}

body[data-current-page="login"] .form-grid input,
body[data-current-page="cadastro"] .form-grid input {
  min-height: 50px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 400;
}

body[data-current-page="login"] .form-grid button,
body[data-current-page="cadastro"] .form-grid button {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.user-body-premium,
.admin-body {
  font-family: var(--font-body);
  font-weight: 400;
}

.user-hero-copy h1 {
  font-family: var(--font-ui);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.user-hero-copy p,
.user-news-cards p,
.user-empty-state p,
.user-profile-card span,
.user-profile-card small,
.user-stats-grid small {
  font-weight: 400;
}

.user-eyebrow,
.user-section-head span,
.user-news-cards a span,
.user-stats-grid span {
  font-weight: 700;
  letter-spacing: .075em;
}

.user-actions .btn-primary,
.user-actions .admin-link,
.user-section-head a {
  font-weight: 600;
}

.user-profile-card strong,
.user-news-cards strong,
.user-empty-state strong,
.user-stats-grid strong {
  font-weight: 700;
  letter-spacing: -.025em;
}

.admin-layout .admin-top {
  position: sticky !important;
  top: 14px;
  z-index: 70;
}

.admin-top span,
.admin-hero-kicker,
.admin-section-kicker,
.admin-metrics-grid article span:not(.metric-icon),
.admin-card span,
.admin-table th,
.admin-list-table th {
  font-weight: 700;
  letter-spacing: .07em;
}

.admin-top h1 {
  font-family: var(--font-ui);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.admin-dashboard-hero h2 {
  font-family: var(--font-ui);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
}

.admin-dashboard-hero p,
.admin-metrics-grid article small,
.admin-shortcut-grid small,
.admin-table td,
.admin-list-table td,
.admin-form label,
.form-grid label {
  font-weight: 400;
}

.admin-menu a,
.admin-user-chip,
.admin-top-btn,
.admin-card-actions a,
.btn-primary,
.admin-link,
.admin-actions a,
.form-actions button,
.form-actions a {
  font-weight: 600;
}

.admin-shortcut-grid strong,
.admin-card h2,
.admin-panel-head h2,
.admin-metrics-grid article strong {
  font-weight: 700;
  letter-spacing: -.035em;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.form-grid input,
.form-grid textarea,
.form-grid select {
  font-size: 14px;
  font-weight: 400;
}

.footer-account ul li a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: auto;
}

.footer-account ul li a:hover {
  color: var(--red);
  transform: none;
}

@media (max-width: 560px) {
  body[data-current-page="login"] .page-shell,
  body[data-current-page="cadastro"] .page-shell {
    padding: 0 16px;
  }
}

/* ============================================================================
   Ajustes RitualFM — Replays on-demand e aplicativos no footer
   ============================================================================ */

.footer-apps .footer-app-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.footer-apps .footer-app-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.footer-apps .footer-app-list a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-apps .footer-app-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: rgba(255,255,255,.55);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .22s ease;
}

.footer-apps .footer-app-list a:hover svg {
  color: var(--red);
}

.ondemand-page {
  --ondemand-card-bg: rgba(255,255,255,.045);
}

.ondemand-heading {
  overflow: hidden;
  position: relative;
}

.ondemand-heading::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,16,26,.28), transparent 68%);
  pointer-events: none;
}

.ondemand-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: var(--shadow-soft);
}

.ondemand-toolbar strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.ondemand-toolbar span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.ondemand-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.ondemand-toolbar-actions a,
.ondemand-refresh,
.ondemand-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.ondemand-refresh:hover,
.ondemand-toolbar-actions a:hover,
.ondemand-play:hover {
  transform: translateY(-1px);
  border-color: rgba(255,16,26,.5);
  background: rgba(255,16,26,.13);
}

.ondemand-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 400;
}

.ondemand-status[data-type="success"] {
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.12);
}

.ondemand-status[data-type="error"] {
  color: #fff;
  border-color: rgba(255,16,26,.38);
  background: rgba(255,16,26,.09);
}

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

.ondemand-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--ondemand-card-bg);
  box-shadow: var(--shadow-soft);
}

.ondemand-card.is-playing {
  border-color: rgba(255,16,26,.48);
  box-shadow: 0 24px 70px rgba(255,16,26,.16);
}

.ondemand-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,16,26,.24), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.ondemand-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.62));
  pointer-events: none;
}

.ondemand-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
}

.ondemand-card:hover .ondemand-cover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.ondemand-card-body {
  padding: 20px;
}

.ondemand-card-body h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.ondemand-card-body p,
.ondemand-card-body small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.ondemand-card-body small {
  display: inline-flex;
  margin-top: 6px;
  color: rgba(255,255,255,.48);
}

.ondemand-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.ondemand-play {
  min-height: 44px;
  padding-inline: 18px;
  border-color: rgba(255,16,26,.5);
  background: linear-gradient(135deg, rgba(255,16,26,.88), rgba(120,0,8,.86));
  box-shadow: 0 16px 36px rgba(255,16,26,.16);
}

.ondemand-play:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  box-shadow: none;
}

@media (max-width: 1080px) {
  .ondemand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ondemand-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ondemand-toolbar-actions {
    justify-content: flex-start;
  }

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

/* ============================================================================
   Ajustes RitualFM — Administração de Replays
   ============================================================================ */
.admin-replays-panel,
.admin-replays-preview {
  margin-bottom: 22px;
}

.admin-replay-helper {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.admin-replay-helper strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.admin-replay-helper p {
  max-width: 880px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.admin-replay-helper code {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.4;
}

.admin-replay-form .field-full {
  grid-column: 1 / -1;
}

.admin-replay-form .field small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.admin-replay-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.6);
  font-size: 13px;
  line-height: 1.4;
}

.admin-replay-meta span {
  font-weight: 600;
  color: rgba(255,255,255,.74);
}

.admin-replay-meta a {
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.admin-replay-meta a:hover {
  color: var(--red);
}

.admin-replays-preview .ondemand-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .admin-replays-preview .ondemand-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   RitualFM 2026 — camada responsiva universal
   Smartphones, tablets, notebooks e desktops fora de Full HD
   ============================================================================ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overscroll-behavior-x: none;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

@media (max-width: 1600px) {
  :root {
    --container: 1320px;
    --px: 34px;
  }

  .hero-grid {
    grid-template-columns: 300px minmax(0, 1fr) 310px;
  }

  .album-card {
    height: 310px;
  }

  .hero-stage {
    min-height: 310px;
  }

  .footer-box {
    padding-inline: 64px;
  }
}

@media (max-width: 1366px) {
  :root {
    --container: 1210px;
    --px: 30px;
  }

  .header,
  .header-inner {
    height: 104px;
  }

  .brand-logo {
    width: 196px;
  }

  .nav {
    margin-left: 34px;
    gap: 22px;
  }

  .nav a {
    font-size: 12px;
  }

  .listen-btn {
    min-width: 136px;
    height: 40px;
    padding-inline: 13px;
  }

  .hero-grid {
    grid-template-columns: 260px minmax(0, 1fr) 292px;
    gap: 18px;
  }

  .album-card {
    height: 270px;
  }

  .hero-stage {
    min-height: 270px;
  }

  .hero-program {
    max-width: 500px;
  }

  .replay-grid,
  .events-grid {
    gap: 18px;
  }
}

@media (max-width: 1180px) {
  :root {
    --container: 100%;
    --px: 24px;
  }

  .header,
  .header-inner {
    height: 86px;
  }

  .nav,
  .header-actions {
    display: none !important;
  }

  .mobile-menu {
    display: inline-flex !important;
    position: relative;
    z-index: 1002;
  }

  .mobile-menu span {
    transition: transform .22s ease, opacity .22s ease;
  }

  body.mobile-menu-open .mobile-menu span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-menu-open .mobile-menu span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-menu-open .mobile-menu span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav-panel {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    z-index: 1001;
    display: block;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    padding: 18px max(24px, env(safe-area-inset-left)) calc(26px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-right));
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(2,2,2,.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 34px 80px rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }

  body.mobile-menu-open .mobile-nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .mobile-nav-panel a:last-child {
    border-bottom: 0;
  }

  .hero-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }

  .channels {
    grid-column: 1 / -1;
  }

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

  .musicas-layout {
    grid-template-columns: 1fr;
  }

  .promoted-banner {
    min-height: 190px;
  }

  .footer-box {
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 58px 42px 50px;
    gap: 42px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 980px) {
  :root {
    --px: 22px;
  }

  .section {
    margin-top: 46px;
  }

  .section-head {
    align-items: flex-start;
    gap: 14px;
  }

  .hero-grid,
  .news-grid,
  .side-news,
  .replay-grid,
  .events-grid,
  .dynamic-grid,
  .dynamic-grid.two,
  .schedule-grid,
  .ondemand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stage {
    grid-column: 1 / -1;
    order: 1;
    min-height: 390px;
  }

  .album-card {
    order: 2;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .channels {
    order: 3;
    grid-column: auto;
  }

  .channel-list {
    grid-template-columns: 1fr;
  }

  .featured-news {
    min-height: 430px;
  }

  .small-news {
    min-height: 210px;
  }

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

  .admin-layout {
    grid-template-columns: 1fr !important;
    width: min(100% - 32px, 920px);
    margin-top: 18px;
  }

  .admin-layout .admin-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .admin-layout .admin-menu,
  .admin-menu {
    display: flex;
    grid-template-columns: none !important;
    gap: 10px;
    height: auto;
    max-height: none;
    padding: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .admin-layout .admin-menu a,
  .admin-menu a {
    flex: 0 0 auto;
    min-width: 154px;
    scroll-snap-align: start;
  }

  .admin-layout .admin-main,
  .admin-main {
    width: 100%;
    margin: 0;
    padding: 0 0 48px;
  }

  .admin-dashboard-hero,
  .admin-metrics-grid,
  .admin-shortcut-grid,
  .admin-grid-premium,
  .user-hero-premium,
  .user-stats-grid,
  .user-news-cards {
    grid-template-columns: 1fr 1fr;
  }

  .admin-dashboard-hero {
    align-items: center;
  }

  .admin-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-table-card,
  .admin-list-card,
  .admin-panel,
  .admin-form-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table table,
  .admin-list-table table {
    min-width: 720px;
  }
}

@media (max-width: 760px) {
  :root {
    --px: 18px;
  }

  .header,
  .header-inner,
  .user-body .header,
  .admin-body .header {
    height: 72px !important;
  }

  .mobile-nav-panel {
    top: 72px;
    max-height: calc(100dvh - 72px);
  }

  .brand-logo {
    width: min(154px, 44vw);
    max-height: 42px;
  }

  .mobile-menu {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.035);
  }

  .section {
    margin-top: 38px;
  }

  .section-head {
    flex-direction: column;
    margin-bottom: 18px;
  }

  .hero {
    margin-top: 18px;
  }

  .hero-grid,
  .news-grid,
  .side-news,
  .replay-grid,
  .events-grid,
  .dynamic-grid,
  .dynamic-grid.two,
  .schedule-grid,
  .ondemand-grid,
  .admin-dashboard-hero,
  .admin-metrics-grid,
  .admin-shortcut-grid,
  .admin-grid-premium,
  .user-hero-premium,
  .user-stats-grid,
  .user-news-cards {
    grid-template-columns: 1fr !important;
  }

  .hero-stage {
    min-height: min(76dvh, 430px);
    padding: 34px 22px;
    border-radius: 16px;
  }

  .hero-program {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: clamp(42px, 15vw, 74px);
    line-height: .88;
  }

  .hero-artist,
  .hero-title {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .hero-artist {
    font-size: 22px;
    line-height: 1.15;
  }

  .hero-title {
    margin-bottom: 34px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-controls {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-controls .listen-live {
    margin-right: 0;
  }

  .album-card {
    border-radius: 16px;
  }

  .channel-item {
    min-height: 72px;
    height: auto;
    grid-template-columns: 48px minmax(0, 1fr) 46px 16px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .featured-news {
    min-height: 390px;
    border-radius: 16px;
  }

  .featured-news h2,
  .featured-news h3 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: .98;
  }

  .news-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .small-news {
    min-height: 190px;
    border-radius: 16px;
  }

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

  .chart-card,
  .promoted-banner,
  .replay-card,
  .event-card,
  .dynamic-card,
  .schedule-card,
  .ondemand-card {
    border-radius: 18px;
  }

  .replay-card,
  .replay-img {
    min-height: 370px;
  }

  .replay-play {
    top: 118px;
    width: 66px;
    height: 66px;
  }

  .replay-copy {
    left: 22px;
    right: 22px;
    bottom: 26px;
  }

  .replay-copy h3 {
    font-size: 30px;
  }

  .replay-copy p,
  .replay-copy time {
    font-size: 16px;
  }

  .event-body {
    padding: 24px 22px 82px;
  }

  .event-arrow {
    right: 22px;
    bottom: 22px;
  }

  .page-shell {
    padding: 32px 0 70px;
  }

  .page-heading,
  .comment-box,
  .auth-card,
  .text-panel,
  .admin-form-card,
  .admin-list-card,
  .admin-panel,
  .admin-table-card,
  .user-content-premium {
    border-radius: 20px;
  }

  .page-heading {
    padding: 24px 20px;
  }

  .page-heading h1,
  .detail-article h1,
  .auth-card h1 {
    font-size: clamp(30px, 11vw, 44px);
    line-height: 1;
  }

  .auth-card {
    width: min(100%, 440px) !important;
    padding: 24px 20px !important;
  }

  .form-grid input,
  .form-grid textarea,
  .form-grid select,
  .admin-form input,
  .admin-form textarea,
  .admin-form select {
    min-height: 48px;
    font-size: 16px;
  }

  .form-grid button,
  .detail-actions a,
  .form-actions button,
  .form-actions a,
  .admin-actions a,
  .btn-primary,
  .admin-link {
    width: 100%;
    min-height: 46px;
  }

  .footer-box {
    grid-template-columns: 1fr;
    padding: 44px 22px 38px;
    gap: 34px;
  }

  .footer-brand .brand-logo {
    width: 176px;
  }

  .footer-socials {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
  }

  .footer-socials a {
    width: 40px;
    height: 40px;
  }

  .footer-col h4 {
    margin-bottom: 18px;
  }

  .footer-col ul {
    gap: 11px;
  }

  .ondemand-toolbar {
    padding: 18px;
    border-radius: 20px;
  }

  .ondemand-toolbar-actions,
  .ondemand-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ondemand-toolbar-actions a,
  .ondemand-refresh,
  .ondemand-play {
    width: 100%;
  }

  .user-shell {
    width: min(100% - 24px, 1180px);
  }

  .user-hero-copy,
  .user-profile-card,
  .user-stats-grid article,
  .user-news-cards a,
  .user-empty-state {
    border-radius: 20px;
  }

  .user-actions-premium,
  .admin-card-actions,
  .form-actions,
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-layout {
    width: min(100% - 24px, 1180px) !important;
    gap: 14px;
  }

  .admin-brand-radio {
    min-height: 76px;
    padding: 16px;
  }

  .admin-brand-radio .station-thumb-logo {
    width: 154px;
  }

  .admin-layout .admin-menu a,
  .admin-menu a {
    min-width: 142px;
    min-height: 44px;
    padding-inline: 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .admin-top,
  .admin-layout .admin-top {
    top: 10px !important;
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
    border-radius: 18px;
  }

  .admin-top h1 {
    font-size: clamp(22px, 8vw, 30px);
  }

  .admin-user-chip {
    justify-content: flex-start;
    width: 100%;
  }

  .admin-dashboard-hero {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .admin-dashboard-hero h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .admin-dashboard-orb {
    width: 140px;
    height: 140px;
  }

  .admin-metrics-grid article,
  .admin-shortcut-grid a,
  .admin-card {
    min-height: auto;
    border-radius: 20px;
  }

  .admin-panel-head,
  .user-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-article {
    width: min(100% - 36px, 980px);
    margin: 32px auto 72px;
  }

  .detail-cover {
    border-radius: 20px;
    max-height: 420px;
  }

  .detail-text {
    font-size: 16px;
    line-height: 1.75;
  }

  body.mini-player-active,
  .panel-player-page.mini-player-active {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }

  .player-section,
  .player-section.is-visible {
    display: block !important;
    width: calc(100% - 20px) !important;
    max-width: none;
    bottom: calc(10px + env(safe-area-inset-bottom));
    border-radius: 18px;
    background: rgba(3,3,3,.94);
    backdrop-filter: blur(18px);
  }

  .player {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    gap: 10px;
    min-height: 70px;
    height: auto;
    padding: 10px 12px;
  }

  .player-left {
    min-width: 0;
    justify-content: flex-start;
    gap: 10px;
  }

  .player-cover {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 10px;
  }

  .player-meta {
    min-width: 0;
  }

  .player-meta-row {
    min-width: 0;
    gap: 6px;
  }

  .player-meta strong,
  .player-meta span {
    max-width: 44vw;
  }

  .player-meta strong {
    font-size: 13px;
  }

  .player-meta span {
    font-size: 11px;
  }

  .player-main-btn {
    width: 42px;
    height: 42px;
  }

  .player-right {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .volume .volume-range {
    display: none;
  }

  .volume-icon {
    width: 38px;
    height: 38px;
  }

  .volume-icon svg {
    width: 24px;
    height: 24px;
  }

  .player-icons button {
    width: 38px;
    height: 38px;
  }

  .player-expanded-content {
    width: min(100% - 28px, 420px);
    padding: 22px 18px 26px;
  }

  .expanded-cover {
    width: min(72vw, 280px);
    height: min(72vw, 280px);
  }

  .expanded-title {
    font-size: clamp(28px, 10vw, 40px);
  }
}

@media (max-width: 480px) {
  :root {
    --px: 14px;
  }

  .container {
    padding-inline: var(--px);
  }

  .brand-logo {
    width: min(142px, 48vw);
  }

  .hero-stage {
    min-height: 370px;
    padding: 28px 18px;
  }

  .hero-program {
    font-size: clamp(38px, 16vw, 58px);
  }

  .play-btn {
    width: 52px;
    height: 52px;
  }

  .hero-controls .volume {
    display: none;
  }

  .channel-item {
    grid-template-columns: 42px minmax(0, 1fr) 38px 14px;
    gap: 10px;
  }

  .channel-info strong,
  .channel-item.active .channel-info strong {
    font-size: 14px;
  }

  .channel-wave {
    gap: 2px;
  }

  .musicas-grid {
    gap: 10px;
  }

  .chart-copy {
    padding: 9px;
  }

  .chart-title,
  .chart-artist {
    font-size: 11px;
  }

  .featured-news {
    min-height: 340px;
  }

  .small-news {
    min-height: 160px;
  }

  .tag {
    min-height: 22px;
    font-size: 10px;
  }

  .event-date {
    width: 60px;
    min-height: 64px;
  }

  .event-date strong {
    font-size: 24px;
  }

  .event-date span {
    font-size: 12px;
  }

  .page-heading,
  .comment-box,
  .auth-card,
  .text-panel {
    padding: 20px 16px;
  }

  .footer-box {
    padding-inline: 18px;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .admin-layout {
    width: min(100% - 18px, 1180px) !important;
  }

  .admin-layout .admin-menu a,
  .admin-menu a {
    min-width: 132px;
  }

  .admin-menu-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .admin-metrics-grid article {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-replay-helper code {
    width: 100%;
  }

  .player {
    grid-template-columns: minmax(0, 1fr) 42px 38px;
    gap: 8px;
    padding: 9px 10px;
  }

  .player-cover {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .player-meta strong,
  .player-meta span {
    max-width: 40vw;
  }

  .player-meta-row span {
    display: none;
  }

  .volume {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 126px;
  }

  .mobile-menu {
    width: 38px;
    height: 38px;
  }

  .hero-stage {
    min-height: 340px;
  }

  .hero-program {
    font-size: 36px;
  }

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

  .player-meta strong,
  .player-meta span {
    max-width: 38vw;
  }
}

@media (hover: none) and (pointer: coarse) {
  .card-hover:hover,
  .dynamic-card:hover,
  .admin-shortcut-grid a:hover,
  .admin-card:hover,
  .user-news-cards a:hover,
  .footer-socials a:hover,
  .listen-btn:hover,
  .play-btn:hover {
    transform: none;
  }
}

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