@charset "UTF-8";

:root {
  --primary-color: #dc0000;
  --secondary-color: #800000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* remover feedback visual padrão de cliques em navegadores móveis */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

body {
  font-family: 'Montserrat', monospace;
  background: #0a0a0a;
  color: #eee;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  transition: padding 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--primary-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo img {
  transition: all 0.3s ease;
  height: 60px;
  width: auto;
}

header.shrink {
  padding: 8px 20px; /* diminui o padding */
}

header.shrink .logo img {
  height: 45px; /* reduz o logo */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #eee;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}

/* Quando ativo (X com desdobramento) */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg); /* linha de cima desce */
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* linha do meio some */
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg); /* linha de baixo sobe */
}

/* Navigation */
nav {
  display: flex;
  gap: 50px;
}

nav a {
  color: #eee;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1582719478218-0f8f1d64a6a1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.hero-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1rem;
  color: #eee;
  margin: 0 20px 0 20px;
}

.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%); /* preto e branco */
  z-index: -1; /* envia o vídeo para trás do conteúdo do hero */
}

.hero-content {
  position: fixed;
  z-index: 1; /* garante que o conteúdo fique acima do vídeo */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Overlay com retícula CSS */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* não bloqueia clique */
  z-index: 0;

  /* Gradiente preto semitransparente + retícula */
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* escurecimento */
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),  /* linhas horizontais brancas */
    linear-gradient(90deg, rgba(255,0,0,0.1) 1px, transparent 1px); /* linhas verticais vermelhas */

  background-size:
    auto,   /* gradiente preto cobre tudo */
    4px 4px, /* linhas horizontais */
    4px 4px; /* linhas verticais */
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  background: #0a0a0a;
  padding: 100px 20px;
  width: 100%;
  margin: auto;
}

.section:last-of-type {
  padding-bottom: 200px;
}

.section-content {
  max-width: 900px;
  margin: auto; /* centraliza conteúdo */
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.section p {
  font-size: 1rem;
}

/* Store Section */
#store {
  background: #111;
}

.store-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  cursor: grab;
  scroll-behavior: smooth; /* rolagem suave */
  padding: 20px 0;
  scrollbar-width: none; /* esconder scrollbar no Firefox */
}

/* esconder scrollbar no Chrome/Safari/Edge */
.store-carousel::-webkit-scrollbar {
  display: none;
}

.store-carousel.dragging {
  cursor: grabbing; /* enquanto arrasta */
  scroll-behavior: auto; /* evita "travamento" no drag */
}

.store-card {
  flex: 0 0 auto;
  width: 280px;
  height: 310px;
  background: #222;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  scroll-snap-align: start;
}

.store-card p {
  font-size: 0.9rem;
}

.store-wrapper {
  position: relative;
}

/* Fade direita sobre o carrossel */
.store-wrapper {
  position: relative;
}

.store-fade-text {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  color: #eee;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 15; /* acima do fade */
  padding-right: 20px;
  font-size: 0.9rem;
  text-shadow: 2px 5px 5px rgba(0,0,0,0.7);
  padding: 10px;
}

.store-fade-text .material-symbols-outlined {
  font-size: 20px;
  animation: arrowMove 1.6s ease-in-out infinite;
}

@keyframes arrowMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px); /* desliza um pouco pra direita */
  }
}

.fade-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px; /* largura do fade */
  height: 100%;
  pointer-events: none; /* não bloqueia clique */
  background: linear-gradient(to left, #111 0%, rgba(17,17,17,0) 100%);
  z-index: 10;
  transition: opacity 0.5s ease;
}

.image-mask {
  width: 100%;
  height: 250px; /* altura fixa para a máscara da imagem */
  overflow: hidden; /* garante que o zoom fique dentro da máscara */
  border-radius: 6px;
  margin-bottom: 10px;
  position: relative;
}

.image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém proporção e cobre toda a máscara */
  transition: transform 0.4s ease; /* zoom suave */
}

.store-card:hover .image-mask img {
  transform: scale(1.05); /* zoom da imagem */
}

/* === Latest Album === */
#latest-album {
  background: #0a0a0a;
  color: #eee;
  padding: 80px 0;
}

.latest-album-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.album-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 20px;
}

.album-cover img {
  width: 340px;
  height: auto;
}

.album-tracks {
  text-align: left;
}

.album-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  text-align: center;
}

.album-tracks ol {
  list-style: decimal;
  margin-left: 60px;
  color: #eee;
}

.album-tracks li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.listen-btn-wrapper {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Modal */
.modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: block;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #111;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  color: #eee;
  position: relative;
}

.modal-album-cover {
  margin-bottom: 20px;
}

.modal-album-cover img {
  width: 150px; /* tamanho da capa */
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto; /* centraliza */
}

.modal-content h3 {
  margin-bottom: 25px;
  color: var(--primary-color);
}

.modal-content .platforms {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content .platforms a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #222;
  border-radius: 5px;
  text-decoration: none;
  color: #eee;
  font-weight: 500;
  transition: background 0.3s;
}

.modal-content .platforms a:hover {
  background: var(--primary-color);
  color: #fff;
}

.modal-content .platforms img {
  width: 30px;
  height: 30px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #eee;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--primary-color);
}

/* Watch Now */
.watch-now {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.watch-now-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
  z-index: -2;
}

.watch-now .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),  
    linear-gradient(90deg, rgba(255,0,0,0.1) 1px, transparent 1px);

  background-size: auto, 4px 4px, 4px 4px;
  z-index: -1;
}

.watch-now-content {
  position: relative;
  color: #eee;
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.watch-now-content h2 {
  font-size: 1.5rem;
  color: #fff;
}

.watch-now-content .btn {
  border: 2px solid var(--primary-color);
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.watch-now-content .btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* EPK */
.epk-icon {
  text-align: center;
}

.epk-icon .material-symbols-outlined {
  font-size: 60px;
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background: var(--primary-color);
  color: #eee;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--secondary-color);
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form textarea {
  padding: 10px;
  background: #111;
  border: 1px solid #444;
  color: #eee;
}

form textarea {
  min-height: 150px;
  resize: vertical
}

form input::placeholder,
form textarea::placeholder {
  color: #999;
}

form button {
  padding: 10px;
  background: var(--primary-color);
  border: none;
  color: #eee;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: var(--secondary-color);
}

/* Footer */
footer {
  background: #111;
  color: #777;
  text-align: center;
  padding: 20px 0;
  position: relative;
  z-index: 2000;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-symbol {
  width: 60px;
  height: 60px;
}

.social-icons {
  display: flex;
  gap: 25px;
}

.social-icons a img {
  width: 25px;
  height: 25px;
  transition: filter 0.3s ease;
}

.social-icons a img:hover {
  filter: grayscale(100%) brightness(80%);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* === Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a; /* mesma cor do fundo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader img {
  width: 120px;
  height: auto;
  animation: zoomPulse 2s ease-in-out infinite;
}

@keyframes zoomPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: scaleY(0);        /* começa fechado */
    transform-origin: top;       /* abre de cima para baixo */
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 100px 0;
    background: rgba(0,0,0,0.4);
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
  }

  nav.active {
    display: flex;
    transform: scaleY(1);   /* abre menu */
    opacity: 1;
  }

  nav a {
    font-size: 1.2rem;
  }

  .hero-logo {
    width: 80%;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .album-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .album-tracks {
    text-align: center;
  }

  .album-tracks ol {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
  }

  .watch-now {
    height: 25vh; /* menor no mobile */
  }

  .watch-now-content h2 {
    font-size: 1rem; /* título menor no mobile */
  }
}

@media (max-height: 560px) {
  .hero-content {
    margin-top: 40px;
  }

  .hero-logo {
    margin-bottom: 10px;
  }
}

@media (max-height: 470px) {
  .hero-logo {
    max-width: 270px;
    margin-bottom: 5px;
  }

  .hero p {
    font-size: 0.7rem;
  }
}