/*
   ==========================================================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* ── Color Palette ── */
  --color-black:           #000000;
  --color-black-low:       rgba(0, 0, 0, 0.98);
  --color-black-midi:      #010101;
  --color-dark-gray:       #1c1b1b;
  --color-gray:            #747474;
  --color-light-gray:      #b3b3b3;
  --color-red:             #ff0000;
  --color-white:           #ffffff;
  --color-red-hover:       #cc0000;
  --color-scrollbar-hover: #7b7b7b;
  --color-scrollbar-active:#a1a1a1;
  --color-stroke-circle:   #222222;
  --color-success:         #27ae60;

  /* ── Typography ── */
  --font-primary:          "Spartan", "League Spartan", system-ui, sans-serif;

  /* ── 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);

  /* ── Spacing Scale ── */
  --space-2xs:             0.125rem;
  --space-xs:              0.25rem;
  --space-sm:              0.5rem;
  --space-md:              1rem;
  --space-lg:              1.5rem;
  --space-xl:              2rem;
  --space-2xl:             3rem;
  --space-3xl:             4rem;

  /* ── Border Radius ── */
  --radius-sm:             0.25rem;
  --radius-md:             0.5rem;
  --radius-lg:             1rem;
  --radius-full:           50%;

  /* ── Z-index Scale ── */
  --z-base:                1;
  --z-cookie:              10;
  --z-toggle:              8;
  --z-player:              6;
  --z-menu:                7;
  --z-loader:              999;

  /* ── Layout ── */
  --header-height:         5rem;
  --mini-player-height:    60px;
  --max-content:           1450px;
  --drawer-max:            672px;

  /* ── Breakpoint-aware tokens (overridden in media queries) ── */
  --play-scale:            0.5;
  --play-left:             clamp(6rem, 25vw, 12rem);
  --stop-scale:            0.5;
  --stop-left:             -120px;
  --stop-top:              15%;
  --cover-max-w:           clamp(600px, 60vw, 1700px);
  --cover-width:           clamp(280px, 86vw, 1650px);
  --cover-transform:       translate(-20%, -50%);
  --song-left:             5vw;
  --song-right:            5vw;
  --song-max-w:            90vw;
  --song-bottom:           2rem;
  --volume-right:          clamp(2rem, 37vw, 27rem);
}


/*
   ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html,
body {
  font-size: 100%;
  height: 100%;
}

body {
  background: var(--color-black);
  display: flex;
  font-family: var(--font-primary);
  justify-content: center;
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

a {
  color: inherit;
  outline: none;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  color: var(--color-white);
  text-decoration: none;
}

li {
  list-style: none;
}

p {
  color: var(--color-white);
  font-size: 0.875rem;
  margin-bottom: 1.625rem;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}


/* ── Utilities ── */

.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);
}


/*
   ==========================================================================
   SCROLLBAR CUSTOMIZATION
   ========================================================================== */

::-webkit-scrollbar {
  width: 0.7rem;
}

::-webkit-scrollbar-thumb {
  background: var(--color-dark-gray);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-scrollbar-hover);
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--color-scrollbar-active);
}

::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 6.875rem 3.75rem;
}


/*
   ==========================================================================
   TYPOGRAPHY & FONTS
   ========================================================================== */

@font-face {
  font-display: swap;
  font-family: "Spartan";
  font-style: normal;
  font-weight: 200 900;
  src: url("https://fonts.gstatic.com/s/spartan/v18/l7gfbjR61M69yt8Z2QKtlA.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Spartan";
  font-style: normal;
  font-weight: 400 900;
  src: url("https://fonts.gstatic.com/s/spartan/v18/l7gfbjR61M69yt8Z2QytlBfK.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/*
   ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes growIn {
  from { transform: var(--base-transform) scale(0); }
  to   { transform: var(--base-transform) scale(var(--scale)); }
}

@keyframes clipIn {
  from { clip-path: circle(0 at 50% 50%); }
  to   { clip-path: circle(50% at 50% 50%); }
}

@keyframes clipOut {
  from { clip-path: circle(50% at 50% 50%); }
  to   { clip-path: circle(0 at 50% 50%); }
}

@keyframes slideInStopCustom {
  from { transform: translateX(-100%) translateY(-18%) rotate(var(--rotate)) scale(var(--scale)); }
  to   { transform: translateX(0) translateY(-55%) rotate(var(--rotate)) scale(var(--scale)); }
}

@keyframes loaderBars {
  0%, 100% { height: 10px; }
  50%      { height: 50px; }
}

@keyframes waveAnim {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.5); }
}


/* ── Animation Utility Classes ── */

.fadeIn  { animation: fadeIn 0.3s ease-in-out; }
.fadeOut { opacity: 0; transition: opacity 0s ease-in-out; }
.clipIn  { animation: clipIn 400ms var(--ease-out-back) forwards; will-change: clip-path; }
.clipOut { animation: clipOut 600ms var(--ease-out-back) forwards; will-change: clip-path; }


/*
   ==========================================================================
   GLOBAL COMPONENTS — Loader & Shared Buttons
   ========================================================================== */

/* ── Loader ── */

#loader {
  align-items: center;
  background: var(--color-black);
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: opacity var(--transition-slow);
  width: 100%;
  z-index: var(--z-loader);
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-bars {
  align-items: flex-end;
  display: flex;
  gap: 8px;
  height: 60px;
  z-index: var(--z-loader);
}

.loader-bars span {
  animation: loaderBars 0.6s infinite ease-in-out;
  background: var(--color-red);
  height: 15px;
  width: 15px;
}

.loader-bars span:nth-child(1) { animation-delay: 0s; }
.loader-bars span:nth-child(2) { animation-delay: 0.08s; }
.loader-bars span:nth-child(3) { animation-delay: 0.5s; }
.loader-bars span:nth-child(4) { animation-delay: 0.3s; }
.loader-bars span:nth-child(5) { animation-delay: 0.6s; }

.loader {
  animation: spin 1s linear infinite;
  border: 3px solid #f3f3f3;
  border-radius: var(--radius-full);
  border-top: 3px solid var(--color-red);
  display: inline-block;
  height: 15px;
  margin-right: 10px;
  width: 15px;
}


/* ── Shared Interactive Button Base ── */

.bt_play,
.bt_stop,
.menu-toggle,
.requests_bt,
.mini_play,
.mini_stop {
  backface-visibility: hidden;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  will-change: transform;
}

.bt_play:focus,
.bt_stop:focus,
.mini_play:focus,
.mini_stop:focus,
.menu-toggle:focus,
.requests_bt:focus {
  box-shadow: none;
  outline: none;
}


/*
   ==========================================================================
   LAYOUT & BACKGROUND
   ========================================================================== */

#row {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
}

#content {
  color: var(--color-white);
  margin: 0 auto;
  max-width: var(--max-content);
}

#cover-site {
  aspect-ratio: 1 / 1;
  background-size: cover;
  border-radius: var(--radius-full);
  left: 0;
  max-width: var(--cover-max-w);
  position: fixed;
  top: 50%;
  transform: var(--cover-transform);
  width: var(--cover-width);
}


/*
   ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#header {
  align-items: center;
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  position: absolute;
  width: 100%;
}

.logo {
  background-size: contain;
  display: block;
  height: 2.9375rem;
  position: relative;
  width: 10rem;
}

#menu_top {
  align-items: center;
  background: linear-gradient(90deg, var(--color-black-low) 40%, transparent);
  display: flex;
  height: var(--header-height);
  justify-content: space-evenly;
  max-width: 126rem;
  padding-left: 2rem;
  padding-right: 4rem;
  width: auto;
  z-index: var(--z-menu);
}

.menu {
  float: left;
  height: var(--header-height);
  justify-content: flex-end;
  margin-left: 5rem;
  width: auto;
}

.menu ul {
  align-items: center;
  display: flex;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu ul > li {
  align-items: center;
  display: flex;
  height: 100%;
  margin-left: 0.625rem;
  position: relative;
}

.menu ul > li > a {
  align-items: center;
  color: var(--color-white);
  display: flex;
  font-size: 0.9375rem;
  font-weight: 700;
  height: 100%;
  padding: 0 0.875rem;
}

.menu ul > li.active > a {
  color: var(--color-red);
}

.menu ul > li::after {
  background: var(--color-red);
  bottom: 0;
  content: "";
  height: 0.125rem;
  left: 0;
  position: absolute;
  transition: width var(--transition-fast);
  width: 0;
}

.menu ul > li.active::after,
.menu ul > li:hover::after {
  width: 100%;
}


/* ── Mobile Default: Hidden Elements ── */

.menu,
.menu_conta,
.social-home,
.volumeButton.initial,
.historic,
#latest_news {
  display: none !important;
}

.menu_ico {
  display: inline-block;
  filter: drop-shadow(0.1em 0.1em 0.2em var(--color-black));
  height: 1.5rem;
  vertical-align: middle;
  width: 1.5rem;
}


/* ── Mobile Toggle (Hamburger) ── */

.menu-toggle {
  --size: 2.75rem;
  align-items: center;
  background: var(--color-red);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  height: var(--size);
  justify-content: center;
  position: fixed;
  right: 1rem;
  top: 0.6rem;
  width: var(--size);
  z-index: var(--z-toggle);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  background: white;
  content: "";
  display: block;
  height: 0.125rem;
  position: absolute;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease;
  width: 1.125rem;
}

.menu-toggle span::before { transform: translateY(-0.4375rem); }
.menu-toggle span::after  { transform: translateY(0.4375rem); }

.menu-toggle.active span         { background: transparent; }
.menu-toggle.active span::before { transform: rotate(45deg); }
.menu-toggle.active span::after  { transform: rotate(-45deg); }


/* ── User Account / Back Links ── */

.menu_conta,
.menu_voltar {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 140%;
  position: fixed;
  right: 5.9375rem;
  text-decoration: none;
  top: 1.75rem;
  transform-origin: center bottom;
}

.menu_conta {
  text-shadow: 0.1em 0.1em 0.2em var(--color-black);
  z-index: var(--z-base);
}


/* ── Side Navigation Drawer ── */

#main-menu {
  background-color: var(--color-black-low);
  height: 100dvh;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transform-origin: right center;
  transition: transform var(--transition-slow) var(--ease-out-expo);
  width: 100vw;
  will-change: transform;
  z-index: var(--z-menu);
}

#main-menu.active {
  transform: translateX(0) scale(1);
}

#container-menu {
  height: 100%;
  margin-inline: auto;
  max-width: 84rem;
  padding-inline: var(--space-md);
  position: relative;
  width: 100%;
}

.nav-menu {
  display: grid;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  margin-top: clamp(3rem, 6vw, 6.25rem);
  padding-left: clamp(1.5rem, 5vw, 5rem);
  position: relative;
}

.nav-menu a {
  color: var(--color-white);
  display: block;
  line-height: 170%;
  text-decoration: none;
  width: fit-content;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-red);
}

.nav-menu_main {
  font-size: clamp(2.9rem, 1.92vw + 2.45rem, 4.75rem);
  font-weight: 800;
}

.nav-menu_second {
  font-size: clamp(2.1rem, 2.5vw, 2.4375rem);
  font-weight: 200;
}


/*
   ==========================================================================
   MAIN PLAYER CONTROLS
   ========================================================================== */

/* ── Play Button ── */

.bt_play {
  --base-transform: translate(-40%, -50%);
  --scale: var(--play-scale);
  animation: growIn 590ms var(--ease-out-back) 200ms both;
  background-color: var(--color-red);
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
  height: clamp(12rem, 10vw + 12rem, 20.9375rem);
  left: var(--play-left);
  position: absolute;
  top: 50%;
  transform: var(--base-transform) scale(var(--scale));
  transform-origin: center;
  width: clamp(10rem, 9vw + 10rem, 17.625rem);
}

.bt_play.initial,
.volumeButton.initial {
  animation: none;
  transform: var(--base-transform) scale(0);
}

.animate-in {
  animation: growIn 590ms var(--ease-out-back) 600ms both !important;
}


/* ── Stop Button ── */

.bt_stop {
  --rotate: 60deg;
  --scale: var(--stop-scale);
  animation: slideInStopCustom 800ms var(--ease-out-back) forwards;
  background-color: transparent;
  left: var(--stop-left);
  position: absolute;
  top: var(--stop-top);
  transform: translate(var(--translate-x), var(--translate-y)) rotate(var(--rotate)) scale(var(--scale));
  transform-origin: left bottom;
}


/* ── Sound Waves ── */

.sound-bars {
  align-items: flex-end;
  display: flex;
  gap: 0.8rem;
}

.sound-bars span {
  animation: waveAnim 0.6s infinite ease-in-out;
  background-color: var(--color-red);
  display: block;
  transform-origin: bottom;
  width: 3.5rem;
}

.sound-bars span:nth-child(1) { animation-delay: 0ms;   height: 25rem; }
.sound-bars span:nth-child(2) { animation-delay: 800ms;  height: 30rem; }
.sound-bars span:nth-child(3) { animation-delay: 500ms;  height: 25rem; }
.sound-bars span:nth-child(4) { animation-delay: 300ms;  height: 26rem; }
.sound-bars span:nth-child(5) { animation-delay: 600ms;  height: 32rem; }


/* ── Volume Control ── */

.volumeButton {
  --base-transform: translateY(-50%);
  --scale: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  text-align: center;
}

#row .volumeButton {
  position: absolute;
  right: var(--volume-right);
  top: 50%;
}

.volumeButton:hover .levels {
  margin-top: -5.625rem;
  transform: matrix(1, 0, 0, 1, 0, 0);
  visibility: visible;
}

.levels {
  border-radius: 0.3125rem 0.3125rem 0 0;
  height: 1.875rem;
  margin-top: -0.625rem;
  position: absolute;
  transform: translate(1.54375rem, 1.54375rem) scale(0.35);
  transition: var(--transition-medium);
  visibility: hidden;
  width: 3.75rem;
  z-index: -1;
}

.mega {
  fill: var(--color-red);
  stroke: var(--color-red);
}

circle {
  stroke: var(--color-stroke-circle);
}

circle.active {
  stroke: var(--color-red);
}


/*
   ==========================================================================
   SONG INFO & HISTORIC
   ========================================================================== */

#Song {
  background: transparent;
  bottom: var(--song-bottom);
  color: var(--color-white);
  left: var(--song-left);
  max-width: var(--song-max-w);
  position: absolute;
  right: var(--song-right);
  text-transform: uppercase;
  width: 100%;
}

#currentArtist {
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: clamp(0.9rem, 1.5vw + 0.8rem, 1.75rem);
  font-weight: 900;
  line-height: 120%;
  padding: 0.4rem 0.6rem;
  transform: scaleX(0);
  transform-origin: left bottom;
  transition: transform 460ms 800ms;
  width: fit-content;
}

#currentSong {
  background-color: var(--color-red);
  color: var(--color-white);
  display: inline-block;
  font-size: clamp(0.75rem, 0.8vw + 0.5rem, 1.2rem);
  font-weight: 900;
  line-height: 140%;
  margin-left: 0.625rem;
  overflow: hidden;
  padding: 0.3rem 0.5rem;
  position: relative;
  transform: scaleX(0);
  transform-origin: left bottom;
  transition: transform 460ms 1100ms;
  width: fit-content;
}

.songs_txt {
  transform: scale(1) !important;
}


/* ── Historic Section ── */

.historic {
  bottom: clamp(1.5rem, 5vh, 2.125rem);
  left: clamp(55rem, 72vw, 81.25rem);
  max-width: clamp(15rem, 20vw, 22.5rem);
  padding: 0 1rem;
  position: absolute;
  z-index: var(--z-base);
}

.historic_txt {
  background: var(--color-white);
  color: var(--color-black);
  font-size: clamp(0.5rem, 0.8vw, 0.6875rem);
  font-weight: 500;
  line-height: 110%;
  padding: 0.25rem 0.3125rem 0.125rem;
  text-align: left;
  width: fit-content;
}

#historicSong {
  display: grid;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 160ms 1300ms;
}

.historic .music-info {
  background: var(--color-white);
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 900;
  line-height: 130%;
  padding: 0.5rem 0.3125rem 0.125rem;
  text-transform: uppercase;
  width: fit-content;
}

.historic .music-info .artist {
  font-size: 1.1875rem;
  font-weight: 900;
  width: 100%;
}


/*
   ==========================================================================
   MINI PLAYER
   ========================================================================== */

#mini_player {
  align-items: center;
  background: var(--color-black-low);
  bottom: 0;
  display: flex;
  height: var(--mini-player-height);
  justify-content: flex-start;
  left: 0;
  position: fixed;
  transform: translateY(100%);
  transition: transform 400ms var(--ease-out-expo) 300ms;
  width: 100%;
  will-change: transform;
  z-index: var(--z-player);
}

#mini_player.active {
  transform: translateY(0);
  transition: transform 400ms var(--ease-out-expo) 1500ms;
}

.mini_play,
.mini_stop {
  align-items: center;
  background-color: var(--color-red);
  border: none;
  display: flex;
  height: 3.75rem;
  justify-content: center;
  width: 3.75rem;
}

.mini_play::before,
.mini_stop::before {
  background-color: white;
  content: "";
}

.mini_play::before {
  clip-path: polygon(15% 0%, 15% 100%, 100% 50%);
  height: 30%;
  width: 30%;
}

.mini_stop::before {
  height: 25%;
  width: 25%;
}

#mini_player .volumeButton {
  left: auto;
  position: relative;
  right: auto;
  top: auto;
}

.volumeplayer {
  background-color: var(--color-black-midi);
  height: 3.75rem;
  width: 3.75rem;
}

.controlplayer {
  background-color: var(--color-black-midi);
  position: absolute;
  transform: none;
  visibility: hidden;
}

#artist-song {
  color: var(--color-white);
  display: flex;
  font-size: 0.875rem;
  font-weight: 900;
  height: 0.9375rem;
  overflow: hidden;
  text-transform: uppercase;
  white-space: nowrap;
}

.cover-album {
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
  height: 3.75rem;
  margin-bottom: 0;
  margin-right: 0.625rem;
  transition: background-image 100ms;
  width: 3.75rem;
}

#currentCoverArt {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}


/*
   ==========================================================================
   NEWS & HEADLINES
   ========================================================================== */

#latest_news {
  height: 98%;
  margin-bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 5.625rem;
  position: absolute;
  right: 0;
  width: 23.875rem;
}

.headline-cover {
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  margin-top: 1.4rem;
}

.headline {
  display: inline-block;
  filter: brightness(0.8);
  height: 10.25rem;
  width: 22.25rem;
}

.headline:hover {
  filter: brightness(1.2);
}

.headline-img {
  display: block;
  height: 11.25rem;
  object-fit: cover;
  width: 100%;
}

.headline-title {
  bottom: 0;
  font-size: 0.9125rem;
  font-weight: 900;
  left: 0;
  line-height: 1.3;
  padding: 0 0 0 0.9375rem;
  position: absolute;
  width: 88%;
}

.headline-title h2 {
  background: var(--color-black);
  box-decoration-break: clone;
  color: var(--color-white);
  display: inline;
  letter-spacing: 0.07em;
  padding: 0.3125rem 0.3125rem 0.0625rem;
}

#plus {
  height: 3.125rem;
  margin: 4.875rem auto;
  transition: transform var(--transition-medium) var(--ease-out-back);
  width: 3.125rem;
}

#plus:hover {
  transform: scale(1.2);
}


/*
   ==========================================================================
   SOCIAL MEDIA
   ========================================================================== */

.social-home {
  bottom: 2.5rem;
  left: 2.1rem;
  position: absolute;
}

.social {
  align-items: center;
  display: flex;
}

.socialplayer {
  margin-left: auto;
  margin-right: 1.25rem;
  position: static;
}

.social a {
  display: inline-flex;
  margin: auto 0.75rem 0 0;
  position: relative;
  transition: transform var(--transition-medium) var(--ease-out-back);
}

.social a:hover {
  transform: scale(1.2);
}

.social svg {
  color: var(--color-white);
  fill: currentColor;
  height: 1.875rem;
  width: 1.875rem;
}


/* ── Social Tooltips ── */

.social a::after {
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  background: var(--color-red);
  border-radius: 0.3125rem;
  bottom: 140%;
  color: var(--color-white);
  content: attr(data-tooltip);
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  left: 50%;
  line-height: 1;
  opacity: 0;
  padding: 0.35rem 0.6rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transform: translateX(-50%) translateY(6px) translateZ(0);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.social a::before {
  bottom: 125%;
  content: "";
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.social a:hover::after,
.social a:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(0.01deg);
}


/*
   ==========================================================================
   PARTNER & LOGOS
   ========================================================================== */

.ico_logica {
  background: url("/images/ico_logica.png") no-repeat;
  bottom: 0.3rem;
  float: right;
  height: 0.5625rem;
  margin-bottom: 0;
  position: absolute;
  right: 0.625rem;
  width: 9.4375rem;
}


/*
   ==========================================================================
   CONTACT & FORMS
   ========================================================================== */

.contact-container {
  color: var(--color-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 3.375rem;
  padding-inline: 20.0625rem;
}

.contact-info h1 {
  font-size: clamp(2.5rem, 4vw, 4.75rem);
  margin-bottom: 0.625rem;
}

.contact-info p {
  font-size: 1.125rem;
  line-height: 140%;
}

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.contact-line {
  align-items: flex-start;
  border-bottom: 0.125rem solid var(--color-white);
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.875rem;
  text-align: right;
}

.contact-line span {
  font-size: 1.375rem;
  font-weight: bold;
}

.contact-line a {
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-line a:not(:disabled):hover {
  background: var(--color-red);
}

.contact-write {
  margin: 80px auto 0;
}

.write-text h2 {
  font-size: clamp(2.5rem, 4vw, 4.75rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 130%;
  margin: 0;
  text-transform: none;
}

.write-flex {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.write-text {
  flex: 1;
  min-width: 200px;
}

.right-form {
  align-items: flex-start;
  display: flex;
  justify-content: center;
}

.form-box {
  background: var(--color-white);
  border-radius: 10px;
  color: var(--color-black);
  padding: 1.875rem;
  width: min(39rem);
}

.form-info {
  color: var(--color-black);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

input,
textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #999;
  font-family: var(--font-primary);
  font-size: 14px;
  margin-bottom: 1.25rem;
  outline: none;
  padding: 0.625rem;
}

textarea {
  height: 6.25rem;
  resize: none;
}

#btnsend {
  align-items: center;
  background: var(--color-red);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  font-weight: bold;
  justify-content: center;
  margin: auto;
  min-height: 2.8125rem;
  padding: 0.75rem;
  transition: all var(--transition-medium);
  width: min(31.25rem, 100%);
}

#btnsend.success {
  background: var(--color-success) !important;
}

.form-button {
  background: var(--color-red);
  border: none;
  color: white;
  cursor: pointer;
  display: block;
  font-weight: bold;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
  transition: var(--transition-fast);
  width: min(500px, 100%);
}

#formPedido {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  max-width: 500px;
  width: 100%;
}

#formPedido input,
#formPedido textarea,
#formPedido {
  box-sizing: border-box;
  color: var(--color-white);
  margin-bottom: 35px;
  max-width: 500px;
  width: 100%;
}

.error-message {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 1.625rem;
  position: relative;
  text-align: center;
  top: 40%;
}

.error-message button {
  background-color: var(--color-red);
  border: 0;
  border-radius: 0.625rem;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.625rem;
}


/*
   ==========================================================================
   INTERNAL PAGES & CONTENT
   ========================================================================== */

#main-nav {
  background-color: var(--color-black);
  bottom: 0;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  transform: translateY(100%);
  transition: transform 1000ms var(--ease-out-expo);
  width: 100%;
  z-index: var(--z-base);
}

#main-nav.active {
  transform: translateY(0);
}

#container-nav {
  height: 100%;
  overflow-y: auto;
  padding-top: 6.375rem;
  padding-bottom: 4.375rem;
}


/* ── News Section ── */

.news-base {
  margin-right: 25px;
  width: min(62.5rem, 100%);
}

.news-section {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 2.5rem;
}

.section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 2.8125rem;
}

.news-feature {
  background-position: center;
  background-size: cover;
  height: 37.5rem;
  margin-bottom: 2.1875rem;
  position: relative;
  width: min(62.5rem, 100%);
}

.news-feature .title {
  background: var(--color-red);
  bottom: 6.25rem;
  font-size: 1.25rem;
  font-weight: bold;
  left: 0;
  max-width: 80%;
  padding: 0.625rem;
  position: absolute;
}

.news-feature .description {
  bottom: 1.25rem;
  font-size: 1.125rem;
  left: 0;
  position: absolute;
  width: 100%;
}

.news-text {
  bottom: 0;
  height: 210px;
  line-height: 1.3;
  margin-left: 30px;
  opacity: 1;
  position: absolute;
  width: 69%;
}

.news .text h3 {
  font-weight: bold;
  line-height: 1.4em;
  margin: 0;
  text-transform: none;
}

.news-text span {
  background: var(--color-red);
  box-decoration-break: clone;
  color: var(--color-white);
  font-size: 1.875rem;
  font-weight: 900;
  padding: 0.75rem 0.9125rem 0.625rem;
  text-transform: uppercase;
}

.news-bg {
  background: linear-gradient(to top, var(--color-black), transparent);
  bottom: 0;
  height: 200px;
  opacity: 1;
  position: absolute;
  width: 100%;
}

.news {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: min(400px, 100%) 1fr;
  margin-bottom: 45px;
}

.news img {
  height: 225px;
  margin-right: 17px;
  object-fit: cover;
  width: min(400px, 100%);
}

.news .text p {
  font-size: 15px;
  line-height: 1.6em;
  margin: 25px 0 0;
  opacity: 0.5;
}

#news,
#events,
#music {
  scroll-margin-top: 6.375rem;
}

.news-button  { bottom: -25px; }
.events-button { bottom: 35px; }

.author_box {
  bottom: -55px;
  color: var(--color-light-gray);
  position: relative;
}

.author {
  font-size: 0.7rem;
  line-height: 2;
  text-transform: uppercase;
}

.date {
  color: var(--color-white);
  font-size: 0.6rem;
}

.side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 18.75rem;
}

.text {
  width: min(580px, 100%);
}


/* ── Cards (Music & Events) ── */

.card-music-bg {
  background: linear-gradient(to top, var(--color-black), transparent);
  bottom: 200px;
  height: 200px;
  opacity: 1;
  position: relative;
  width: 100%;
}

.card-music-text {
  bottom: -135px;
  height: 200px;
  line-height: 1.3;
  margin: 0 auto;
  opacity: 1;
  padding: 10px;
  position: relative;
  width: 93%;
}

.card-music-text span {
  background: var(--color-red);
  box-decoration-break: clone;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 900;
  padding: 0.4rem;
  text-transform: uppercase;
}

.card-music-text .description {
  bottom: -20px;
  font-size: 16px;
  left: 0;
  position: relative;
  width: 100%;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 3.125rem 0;
}

.card_music {
  height: 31.25rem;
  width: 18.75rem;
}

.card_music img {
  height: 18.75rem;
  object-fit: cover;
  width: 18.75rem;
}

.card_music p {
  font-size: 15px;
  line-height: 1.6em;
  margin-bottom: 0;
  margin-top: 5px;
  padding: 10px;
}

.card_event img {
  height: 25rem;
  object-fit: cover;
  width: 18.75rem;
}

.card_event h2,
.card_music h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.9px;
  margin-bottom: 10px;
}

.title-section {
  cursor: default;
  font-size: clamp(2.5rem, 5vw, 70px);
  font-weight: bold;
  margin-right: 25px;
  margin-top: 70px;
  opacity: 0.1;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.sticky-news {
  align-self: flex-start;
  height: 440px;
  margin-top: unset;
  position: sticky;
  top: 1.25rem;
}

.horizontal-section {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
}


/* ── Institutional Content ── */

#title_inst {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 700;
  margin-bottom: 3.125rem;
  margin-inline: auto;
  max-width: 98rem;
  padding-top: 3.375rem;
  text-align: center;
  text-transform: uppercase;
}

.content-inst {
  font-weight: 400;
  line-height: 1.4;
  list-style: none;
  margin-bottom: 3.125rem;
  margin-inline: auto;
  max-width: 56.25rem;
  padding: 0;
  width: 100%;
}

.content-inst a,
.link-underline {
  background: transparent linear-gradient(0deg, var(--color-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);
}

.content-inst a:hover,
.link-underline:hover {
  background-size: 0 100%;
}


/*
   ==========================================================================
   MISCELLANEOUS — Copyright, Cookies, Ads, Requests
   ========================================================================== */

/* ── Copyright ── */

#copyright {
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  color: var(--color-gray);
  font-size: clamp(0.4rem, 1vw + 0.2rem, 0.75rem);
  letter-spacing: clamp(0.05rem, 0.2vw, 0.125rem);
  position: absolute;
  right: clamp(0.5rem, 1.5vw, 1.25rem);
  top: 50%;
  transform: translate(50%, -50%) rotate(-90deg);
  white-space: nowrap;
}

#copyright a {
  color: var(--color-gray);
  margin: 0 15px;
}

#copyright a:hover {
  color: var(--color-red);
}


/* ── Cookies ── */

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

.CookieMessage {
  animation: fadeIn 0.25s ease 4s forwards;
  background: var(--color-black-low);
  bottom: 1.25rem;
  color: var(--color-white);
  left: 0.9375rem;
  max-width: 24.375rem;
  opacity: 0;
  position: fixed;
  width: calc(100% - 1.875rem);
  z-index: var(--z-cookie);
}

.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;
  padding: 0.75rem 2rem 0.625rem;
  text-decoration: none;
  text-transform: uppercase;
}

.CookieMessage button:hover {
  opacity: 0.8;
}

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

#reject-cookies {
  background: none;
  color: var(--color-white);
}


/* ── Ads ── */

.ads_300x250 {
  float: right;
  height: 15.625rem;
  position: relative;
  right: 1.25rem;
  top: 13.125rem;
  width: 18.75rem;
}

.ads_300x600 {
  background-image: repeating-linear-gradient(-55deg, #f1f1f1, #f1f1f1 1px, transparent 0, transparent 5px);
  height: 37.5rem;
  width: 18.75rem;
}

.ads_970x250 {
  background-image: repeating-linear-gradient(-55deg, #f1f1f1, #f1f1f1 1px, transparent 0, transparent 5px);
  height: 15.625rem;
  margin: 0 auto;
  width: min(60.625rem, 100%);
}


/* ── Requests Widget ── */

#request {
  --base-transform: translateY(0);
  --scale: 1;
  animation: growIn 590ms var(--ease-out-back) 2.8s both;
  bottom: 6.375rem;
  position: fixed;
  right: 2rem;
  transform: var(--base-transform) scale(var(--scale));
  transform-origin: center;
  z-index: var(--z-player);
}

#requests {
  bottom: 4.5rem;
  height: 29.5rem;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(15px) scale(0.95);
  transition: 0.3s ease;
  width: 37.875rem;
}

#request.active #requests {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.requests_widget {
  animation: fadeIn 0.25s;
  background-color: var(--color-black-low);
  border-radius: 0.3125rem;
  box-shadow: 0 0 0.2rem var(--color-black);
  color: var(--color-white);
  font-weight: 900;
  height: 100%;
  overflow: hidden;
  padding-top: 50px;
  text-align: center;
  width: 100%;
}

.requests_bt {
  --menu-size: 3.5rem;
  align-items: center;
  background: var(--color-red);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  height: var(--menu-size);
  justify-content: center;
  position: relative;
  transition: var(--transition-fast);
  width: var(--menu-size);
}

.requests_bt:hover {
  transform: scale(1.1);
}

.icon-open,
.icon-close {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-fast);
}

.icon-open  { opacity: 1; }
.icon-close { opacity: 0; }

#request.active .icon-open  { opacity: 0; }
#request.active .icon-close { opacity: 1; }


/*
   ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   Mobile Small  (≥ 480px) — Adjust mini-player & basic layout
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 480px) {
  :root {
    --play-left: clamp(6rem, 25vw, 12rem);
  }

  #mini_player .cover-album {
    flex-shrink: 0;
  }

  #artist-song {
    font-size: 0.9rem;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Tablet Portrait  (≥ 576px)
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 576px) {
  :root {
    --song-bottom: 2.5rem;
  }

}


/* ──────────────────────────────────────────────────────────────────────────
   Tablet Landscape / Small Desktop  (≥ 768px)
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
  :root {
    --play-left: clamp(6rem, 22vw, 36.25rem);
    --cover-transform: translateX(clamp(-25vw, -18vw, -12vw)) translateY(-50%);
    --cover-max-w: clamp(600px, 60vw, 1700px);
  }

  /* News grid adapts to wider viewports */
  .news {
    grid-template-columns: min(400px, 40%) 1fr;
  }

  .cards {
    justify-content: flex-start;
  }

  #latest_news {
    width: min(23.875rem, 35vw);
  }

  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Small Desktop  (≥ 1024px)
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 1024px) {
  :root {
    --play-scale: 0.7;
    --stop-scale: 0.7;
    --song-left: clamp(8vw, 25vw, 35vw);
    --song-right: auto;
    --song-max-w: 28.75rem;
    --song-bottom: 3rem;
  }

  /* Show desktop nav elements progressively */
  .social-home {
    display: flex !important;
  }

  #cover-site {
    max-width: clamp(600px, 80vw, 1700px);
  }

  .nav-menu_main {
    font-size: clamp(2.5rem, 4.5vw, 4.75rem);
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Desktop  (≥ 1140px) — Full desktop experience
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 1140px) {
  :root {
    --play-left: clamp(20rem, 27vw, 36.25rem);
    --play-scale: 0.9;
    --stop-left: clamp(-18vw, -12vw, -12vw);
    --stop-top: clamp(18%, 20vw, 25%);
    --stop-scale: 0.9;
    --cover-transform: translateX(-28%) translateY(-50%);
    --cover-max-w: clamp(600px, 86vw, 1700px);
    --song-left: clamp(10vw, 30vw, 40vw);
    --song-right: auto;
    --song-max-w: 28.75rem;
    --song-bottom: 3.125rem;
    --volume-right: clamp(2rem, 37vw, 25rem);
  }

  /* ── Desktop: Show hidden elements ── */
  #menu_top,
  .menu,
  .menu_conta,
  .social-home,
  .volumeButton.initial,
  .historic {
    display: flex !important;
  }

  #latest_news {
    display: block !important;
  }

  /* ── Drawer shrinks on desktop ── */
  #main-menu {
    height: 100%;
    width: clamp(320px, 90vw, var(--drawer-max));
  }

  #container-menu {
    padding-inline: clamp(1rem, 3vw, 1.5rem);
  }

  .nav-menu {
    gap: 0;
    margin-top: 6.25rem;
    padding-left: 5rem;
  }

  .nav-menu a {
    display: inline;
  }

  /* ── Player adjustments ── */
  #currentArtist {
    padding: 0.5rem 0.75rem 0.3125rem;
  }

  #currentSong {
    display: block;
    padding: 0.375rem 0.625rem 0.1875rem;
  }

}


/* ──────────────────────────────────────────────────────────────────────────
   Large Desktop  (≥ 1440px)
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 1440px) {
  :root {
    --volume-right: clamp(2rem, 37vw, 27rem);
  }

  .logo {
    width: 12rem;
  }

  .menu-toggle {
    right: 1.5rem;
  }

  #cover-site {
    max-width: clamp(600px, 65vw, 2100px);
  }

  /* News list has more room */
  .news-base {
    width: 62.5rem;
  }

  .news-feature {
    width: 62.5rem;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Ultra-Wide  (≥ 1920px)
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 1920px) {
  :root {
    --play-left: clamp(20rem, 30vw, 36.25rem);
    --play-scale: 1;
    --stop-scale: 1;
    --cover-max-w: clamp(1650px, 65vw, 2600px);
    --cover-transform: translateX(-15%) translateY(-50%);
  }

  .logo {
    background-size: auto;
    width: 13.6875rem;
  }

  .menu-toggle {
    right: 2rem;
    top: auto;
  }

  #cover-site {
    max-width: var(--cover-max-w);
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   4K+  (≥ 2560px) — Extra large screens
   ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 2560px) {
  :root {
    --play-scale: 1;
    --stop-scale: 1;
    --cover-max-w: clamp(1650px, 55vw, 3200px);
    --cover-width: clamp(280px, 70vw, 2800px);
  }

  .logo {
    width: 16rem;
    height: 3.5rem;
  }

  .nav-menu_main {
    font-size: clamp(4rem, 3vw, 6rem);
  }

  .nav-menu_second {
    font-size: clamp(2.5rem, 2vw, 3.5rem);
  }

  #Song {
    bottom: 5rem;
  }

  #currentArtist {
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2.5rem);
  }

  #currentSong {
    font-size: clamp(1rem, 0.8vw + 0.8rem, 1.8rem);
  }

  #mini_player {
    height: 80px;
  }

  .mini_play,
  .mini_stop,
  .cover-album,
  .volumeplayer {
    height: 5rem;
    width: 5rem;
  }

  #artist-song {
    font-size: 1.1rem;
    height: 1.2rem;
  }

  .sound-bars span {
    width: 4.5rem;
  }

  .social svg {
    height: 2.5rem;
    width: 2.5rem;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Orientation: Landscape on short devices (phones rotated)
   ────────────────────────────────────────────────────────────────────────── */

@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --header-height: 3.5rem;
    --song-bottom: 1rem;
  }

  #header {
    height: var(--header-height);
  }

  #menu_top {
    height: var(--header-height);
  }

  .menu {
    height: var(--header-height);
  }

  .menu ul > li {
    height: var(--header-height);
  }

  #Song {
    bottom: var(--song-bottom);
  }

  #mini_player {
    height: 45px;
  }

  .mini_play,
  .mini_stop,
  .cover-album,
  .volumeplayer {
    height: 2.8125rem;
    width: 2.8125rem;
  }

  .bt_play {
    height: clamp(8rem, 15vh, 20.9375rem);
    width: clamp(6rem, 12vw, 17.625rem);
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Reduced Motion — Accessibility preference
   ────────────────────────────────────────────────────────────────────────── */

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

  .clipIn,
  .clipOut,
  .fadeIn,
  .fadeOut,
  .animate-in {
    animation: none !important;
  }
}


/* ──────────────────────────────────────────────────────────────────────────
   Print Styles
   ────────────────────────────────────────────────────────────────────────── */

@media print {
  body {
    background: white;
    color: black;
    overflow: visible;
    position: static;
  }

  #loader,
  #mini_player,
  .bt_play,
  .bt_stop,
  .sound-bars,
  #cover-site,
  .menu-toggle,
  #main-menu,
  .CookieMessage,
  #request,
  .ads_300x250,
  .ads_300x600,
  .ads_970x250 {
    display: none !important;
  }
}
