:root {
  --color-primary: #8311d4;
  --color-bg-dark: #1a1022;
  --color-white: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.8);
  --font-main: "Be Vietnam Pro", sans-serif;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-main);
  line-height: 1.5;
}

.navbar {
  position: fixed;
  top: 16px;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  padding: 0 1.5rem;
  pointer-events: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  cursor: pointer;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-icon {
  width: 40px;
  height: 40px;
}

.nav-menu {
  pointer-events: auto;
  display: none;
  align-items: center;
  gap: 3rem;
  background: rgba(17, 15, 19, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 2rem;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  pointer-events: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
  background-color: var(--color-primary);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

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

.nav-btn-icon {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn-icon:hover {
  background-color: var(--color-primary);
  transform: scale(1.05);
}

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

/* Hero section */

.hero {
  min-height: 800px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.hero-content {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.hero-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.7s ease;
  max-width: 12ch;
}

.hero-title:hover {
  transform: scale(1.05) skewY(1deg);
}

.text-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  color: transparent;
  transition: all 0.3s ease;
}

.text-stroke:hover {
  -webkit-text-stroke: 0px;
  color: #fff;
  text-shadow: 0 0 30px rgba(131, 17, 212, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-badges {
  display: grid;
  gap: 0.6rem;
}

.trust-badges h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  border: none;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 0 40px -10px rgba(131, 17, 212, 0.6);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 0 0 60px -10px rgba(255, 255, 255, 0.5);
}

.link-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.25rem;
  transition: all 0.3s;
}

.link-secondary:hover {
  color: #fff;
  border-color: var(--color-primary);
}

/* Floating player widget */

.glass-panel {
  background: rgba(26, 16, 34, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.player-widget {
  position: absolute;
  bottom: -2rem;
  left: 2rem;
  z-index: 50;
  padding: 1rem;
  display: none;
  border-radius: 1rem;
  width: 340px;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .player-widget {
    display: flex;
  }
}

.player-art {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  position: relative;
}

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

.player-art-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-art:hover .player-art-overlay {
  opacity: 1;
}

.player-info {
  overflow: hidden;
}

.player-label {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.player-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  width: 45%;
  background-color: var(--color-primary);
  border-radius: 8px;
}

.btn-play-pause {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2 ease,
    background-color 0.2s;
}

.btn-play-pause:hover {
  transform: scale(1.1);
  background-color: var(--color-primary);
  color: #fff;
}

/* Social widget */

.social-widget {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .social-widget {
    display: flex;
  }
}

.social-link {
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.social-link:hover .social-text {
  color: var(--color-primary);
}

.social-link:hover {
  transform: translateY(-4px);
}

.text-primary {
  color: var(--color-primary);
}

/* Store section */

.store-section {
  width: 100%;
  max-width: 1400px;
  padding: 6rem 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.btn-view-all {
  display: flex;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  text-transform: uppercase;
  font-size: 0.875rem;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.btn-view-all:hover {
  color: white;
  border-color: var(--color-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.beat-card.is-hidden {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.product-image:hover {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-overlay {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  transform: translateY(1rem);
  transition: transform 0.3s;
  cursor: pointer;
}

.btn-play-card {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2 ease,
    background-color 0.2s;
  padding: 0; /* Override padding from btn-overlay */
  transform: translateY(0); /* Override transform from btn-overlay */
}

.btn-play-card:hover {
  transform: scale(1.1);
  background-color: #fff;
  color: #000;
}

.beat-card.is-playing .product-overlay {
  opacity: 1;
}

.progress-bar-card {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-top: 8px;
}

.progress-fill-card {
  height: 100%;
  width: 0%;
  background-color: var(--color-primary);
  border-radius: 8px;
  transition: width 0.1s linear;
}

.product-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.btn-buy {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: all 0.25s ease;
}

.btn-buy:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.product-details {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.product-price {
  color: var(--color-primary);
  font-weight: 700;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tour Section */

.tour-section {
  background-color: #150d1c;
  padding: 6rem 0;
}

.tour-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tour-header {
  text-align: center;
  margin-bottom: 5rem;
}

.tour-header h2 {
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.tour-header p {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3em;
  font-size: 0.875rem;
}

.tour-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mood-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.mood-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mood-btn:hover,
.mood-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.tour-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s;
}

.tour-item:hover {
  border-color: rgba(131, 17, 212, 0.5);
}

.tour-info-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.tour-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tour-date-main {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
}

.tour-date-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tour-city {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 0.3s;
}

.tour-city:hover {
  color: var(--color-primary);
}

.tour-venue {
  color: rgba(255, 255, 255, 0.6);
}

.btn-tickets {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(1rem);
}

.tour-item:hover .btn-tickets {
  opacity: 1;
  background-color: #fff;
  color: #000;
  transform: translateX(0);
}

.btn-sold-out {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: not-allowed;
  font-size: 0.875rem;
}

@media (min-width: 786px) {
  .tour-section {
    padding: 8rem 0;
  }

  .tour-header h2 {
    font-size: 4.5rem;
  }

  .tour-item {
    flex-direction: row;
  }

  .tour-info-group {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .tour-date-block {
    align-items: flex-start;
  }

  .tour-city {
    font-size: 2.25rem;
  }

  .btn-tickets,
  .btn-sold-out {
    margin-top: 0;
  }
}

/* Newsletter section */

.newsletter-section {
  padding: 8rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.newsletter-icon {
  font-size: 3.75rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.newsletter-title {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.6);
  max-width: 28rem;
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
  width: 100%;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  color: #fff;
  outline: none;
  flex: 1;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.newsletter-submit {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition:
    color 0.3s,
    background-color 0.3s;
}

.newsletter-submit:hover {
  background-color: #fff;
  color: #000;
}

.service-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: left;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.service-card h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

/* Footer */

footer {
  padding: 3rem 0;
  background-color: #0f0a14;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  padding: 0 1.5rem;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .newsletter-title {
    font-size: 3rem;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

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

/* Mobile Drawer */

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 10, 20, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.drawer-close {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.drawer-close:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.drawer-link {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: color 0.3s;
  position: relative;
}

.drawer-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-primary);
  width: 0;
  overflow: hidden;
  transition: width 0.4s ease-out;
}

.drawer-link:hover {
  color: #fff;
}

.drawer-link:hover::before {
  width: 100%;
}

.drawer-footer {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.social-widget-mobile {
  display: flex;
  gap: 2rem;
}

@media (min-width: 768px) {
  .mobile-drawer {
    display: none;
  }
}
