@import url('fonts/Montserrat-VariableFont_wght.ttf');

body {
  background: #000;
  margin: 0;
  padding: 0;
  font-family: 'Times New Roman', Times, serif;
}

img {
  max-width: 100%;
  height: auto;
}

a{
  color: #fff;
  text-decoration: none;
}

.container {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(252, 185, 0, 0.4);
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #FCB900;
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

.yes-age-gate{  
  position: absolute;
  background:#FFFFFF00;
  border:none;
  width: 23%;
  height: 20%;
  z-index: 3000;
  top: 50%;
  left: 25%;
}

/* Nav fixo no topo com z-index mais alto */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  padding: 30px 0px 20px 0px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #fff;
  background-color: #000;
  z-index: 99999;
}

.menu-item {
  padding-left: 20px;
  display: inline;
  font-size: 14px;
  cursor: pointer;
}

.menu-item:last-child {
  padding-left: 3em;
}

.menu-item a {
  position: relative;
  transition: color 0.3s ease;
}

.menu-item a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 15%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #fcb900a6;
  transition: width 0.3s ease;
}

.menu-item.active a::after {
  width: 50%;
}

/* Container da imagem do header - fixo como fundo */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1010;
}

.header img {
  width: 100%;
  height: auto; /* Mantém proporção natural da imagem */
  display: block;
  z-index: 1010;
}

/* Content que passará por cima da imagem */
.content {
  position: relative;
  display: block;    
  width: 100%;
  margin: auto;
  margin-top: 35vw; /* Volta ao valor original baseado na altura da imagem */
  text-align: center;
  background-image: url('img/bgPlaylist.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-color: #fff;
  z-index: 1020;
}

.title {
  width: 60%;
  text-align: center;
  margin: auto;
  padding-top: 10px;
}

.playlist-container {
  display: flex;
  flex-direction: row;
  padding: 4vw 3vw;
  align-items: flex-start;
  width: 80%;
  max-width: 1000px;
  margin: 20px auto;
  gap: 5vw;
  height: 20vh;
  min-height: 320px;
  box-sizing: border-box;
  
}

.playlist-cover {
  background: #fcb900;
  aspect-ratio: 1/1;
  width: clamp(120px, 18vw, 220px);
  min-width: 100px;
  max-width: 212px;
  border-radius: 1.2rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.playlist-cover-image {
  width: 100%;
  height: auto;
}

.playlist-index-count {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: bold;
  color: #fcb900;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

.playlist-tracks {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  min-width: 0;
  height: 25vh;
  overflow-y: auto; 
  scrollbar-width: thin;
  scrollbar-color: #fcb900 #181818;
}
/* Chrome, Edge, Safari */
.playlist-tracks::-webkit-scrollbar {
  width: 12px;
  background: transparent;
}

.playlist-tracks::-webkit-scrollbar-track {
  background: transparent;
}

.playlist-tracks::-webkit-scrollbar-thumb {
  background: #fcb900;
  border-radius: 11px;
  border: 4px solid transparent;
  background-clip: padding-box;
  min-height: 32px;
  position: relative;
}

.playlist-track {
  display: flex;
  align-items: center;
  padding: 0vw 0 1vw 0;
  border-bottom: 1px solid #ffaa01;
  min-width: 0;
}

.playlist-track-play {
  background: none;
  border: none;
  margin-right: 1.3vw;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  min-width: clamp(30px, 3vw, 46px);
}

.playlist-track-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 0.3vw;
  min-width: 0;
  text-align: left;
}

.playlist-track-subtitle {
  font-size: clamp(0.5rem, 0.8vw, 0.85rem);
  letter-spacing: 0.12em;
  color: #fff8;
  text-transform: uppercase;
}

.playlist-track-title {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-track-progress {
  display: flex;
  align-items: center;
  margin-top: 0.5vw;
  gap: 0.4vw;
}

.track-time-current,
.track-time-total {
  font-size: clamp(0.65rem, 1vw, 0.93rem);
  color: #fff8;
  flex-shrink: 0;
}

.progress-bar {
  background: #252423;
  height: 0.3em;
  width: clamp(65px, 16vw, 120px);
  border-radius: 0.5em;
  overflow: hidden;
  margin: 0 0.4vw;
  flex-shrink: 1;
}

.progress-bar-fill {
  background: #ffaa01;
  height: 100%;
  width: 40%;
  transition: width 0.4s;
  min-width: 0;
}

.disclaimer {
  margin-bottom: 20px;
}

.content-bar {
  position: relative;
  display: block;    
  width: 100%;
  margin: auto;
  margin-top: 31vw; /* Volta ao valor original baseado na altura da imagem */
  text-align: center;
  background-image: url('img/bgThebar.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-color: #fff;
  z-index: 1020;
  min-height: 100vh;
}
.recipes{
  margin-top: 50px;
}
.drink{
  display: flex;
  justify-content: center;
  width: 80%;
  max-width: 1200px;
  margin: auto;
}

.drink-img {
  width: 55%; 
  margin: 30px;
}
.drink-recipe {
  width: 45%; 
  margin: 30px;
}

/* Responsividade tablet */
@media screen and (max-width: 960px) {
  .nav {
    padding: 10px 0px 10px 0px;
    font-size: 0.9em;
  }
}

/* Responsividade mobile */
@media (max-width: 700px) {
  .title {
  width: 70%;
}

  .playlist-container {
    flex-direction: column;
    gap: 6vw;
    padding: 3vw 2vw;
    height: 70vh;
    min-height: 240px;
    width: 94vw;
    max-width: 98vw;
  }
  
  .playlist-cover {
    margin: 0 auto;
    width: clamp(120px, 40vw, 200px);
    min-width: 100px;
    max-width: 250px;
    aspect-ratio: 1/1;
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
  }
  
  .playlist-cover-image {
    width: 100%;
    height: auto;
  }
  
  .playlist-index-count {
    right: -13vw;
    font-size: clamp(1.4rem, 8vw, 2.4rem);
  }
  
  .playlist-tracks {
    margin-left: 0;
    width: 70%;
    max-height: 35vh;
    overflow-y: auto;
    margin-left: 12vw;
  }

  .playlist-track-subtitle {
  font-size: clamp(0.5rem, 0.8vw, 0.85rem);
}

.playlist-track-title {
  font-size: clamp(0.8rem, 1.3vw, 1.3rem);
}

.recipes{
  margin-top: 10px;
}
.drink{
  width: 80%;
  flex-wrap: wrap;
}
.drink-img {
  width: 100%; 
  margin: 10px;
}
.drink-recipe {
  width: 100%; 
  margin: 10px;
}
}


@media screen and (max-width: 600px) {
  .content {
    margin-top: 40vw; /* Valor original para mobile */
  }
  .content-bar {
    width: 100vw;
    margin-top: 35vw; /* Valor original para mobile */
  }
  .playlist-cover {
    max-width: 124px;
  }
  
}

@media screen and (orientation: portrait) {
  .playlist-tracks {
    height: 20vh;
  }
}


.download-btn {
    background: transparent;
    border: 2px solid #FCB900;
    border-radius: 8px;
    padding: 8px 12px;
    margin-right: 20px;
    color: #FCB900;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    flex-shrink: 0;
}

.download-btn:hover {
    background: #FCB900;
    color: #1a1a1a;
    transform: translateY(-1px);
}

.download-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 480px) {
    .download-btn {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .download-btn span {
        display: none;
    }
}