/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", sans-serif;
  background: #0a0f0d;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor - DJ Headphones */
.cursor {
  width: 30px;
  height: 30px;
  border: 2px solid #00ff88;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: difference;
}

.cursor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #00ff88;
  border-radius: 50%;
}

/* Background */
.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a0f0d 0%, #050807 100%);
  z-index: -1;
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.95;
  }
}

/* Header */
.header {
  padding: 4rem 2rem 2rem;
  text-align: center;
  animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-container {
  display: inline-block;
  position: relative;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 50%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 255, 136, 0.5), 0 0 80px rgba(0, 255, 136, 0.3);
  position: relative;
  animation: logoGlow 3s ease-in-out infinite, logoFloat 6s ease-in-out infinite;
}

.logo::after {
  content: "DJ HUNTER7";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 50%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.4;
  z-index: -1;
}

@keyframes logoGlow {
  0%,
  100% {
    filter: brightness(1);
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.5), 0 0 80px rgba(0, 255, 136, 0.3);
  }
  50% {
    filter: brightness(1.2);
    text-shadow: 0 0 60px rgba(0, 255, 136, 0.7), 0 0 100px rgba(0, 255, 136, 0.5);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Main Content */
.main-content {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Beats Grid */
.beats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 2rem 0;
}

/* Beat Card */
.beat-card {
  background: rgba(15, 25, 20, 0.6);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 255, 136, 0.2);
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease backwards;
  animation-delay: calc(var(--beat) * 0.05s);
}

.beat-card[data-beat="1"] {
  --beat: 1;
}
.beat-card[data-beat="2"] {
  --beat: 2;
}
.beat-card[data-beat="3"] {
  --beat: 3;
}
.beat-card[data-beat="4"] {
  --beat: 4;
}
.beat-card[data-beat="5"] {
  --beat: 5;
}
.beat-card[data-beat="6"] {
  --beat: 6;
}
.beat-card[data-beat="7"] {
  --beat: 7;
}
.beat-card[data-beat="8"] {
  --beat: 8;
}
.beat-card[data-beat="9"] {
  --beat: 9;
}
.beat-card[data-beat="10"] {
  --beat: 10;
}
.beat-card[data-beat="11"] {
  --beat: 11;
}
.beat-card[data-beat="12"] {
  --beat: 12;
}
.beat-card[data-beat="13"] {
  --beat: 13;
}
.beat-card[data-beat="14"] {
  --beat: 14;
}
.beat-card[data-beat="15"] {
  --beat: 15;
}
.beat-card[data-beat="16"] {
  --beat: 16;
}
.beat-card[data-beat="17"] {
  --beat: 17;
}
.beat-card[data-beat="18"] {
  --beat: 18;
}
.beat-card[data-beat="19"] {
  --beat: 19;
}
.beat-card[data-beat="20"] {
  --beat: 20;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.beat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3), 0 0 80px rgba(0, 255, 136, 0.1);
}

/* Beat Cover */
.beat-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 20px;
  filter: blur(30px);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.beat-visual {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  animation: beatPulse 2s ease-in-out infinite;
  z-index: 1;
}

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

.beat-card:hover .beat-visual {
  animation: beatPulseHover 0.8s ease-in-out infinite;
}

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

/* Visual Variations */
.beat-visual-1 {
  background: linear-gradient(135deg, #00ff88 0%, #00e676 100%);
}
.beat-visual-2 {
  background: linear-gradient(135deg, #00e676 0%, #00d968 100%);
}
.beat-visual-3 {
  background: linear-gradient(135deg, #00d968 0%, #00cc5a 100%);
}
.beat-visual-4 {
  background: linear-gradient(135deg, #00cc5a 0%, #00bf4c 100%);
}
.beat-visual-5 {
  background: linear-gradient(135deg, #00bf4c 0%, #00b23e 100%);
}
.beat-visual-6 {
  background: linear-gradient(135deg, #00b23e 0%, #00a530 100%);
}
.beat-visual-7 {
  background: linear-gradient(135deg, #00a530 0%, #009822 100%);
}
.beat-visual-8 {
  background: linear-gradient(135deg, #009822 0%, #008b14 100%);
}
.beat-visual-9 {
  background: linear-gradient(135deg, #008b14 0%, #007e06 100%);
}
.beat-visual-10 {
  background: linear-gradient(135deg, #007e06 0%, #00ff88 100%);
}
.beat-visual-11 {
  background: linear-gradient(135deg, #00ff88 0%, #00e676 100%);
}
.beat-visual-12 {
  background: linear-gradient(135deg, #00e676 0%, #00d968 100%);
}
.beat-visual-13 {
  background: linear-gradient(135deg, #00d968 0%, #00cc5a 100%);
}
.beat-visual-14 {
  background: linear-gradient(135deg, #00cc5a 0%, #00bf4c 100%);
}
.beat-visual-15 {
  background: linear-gradient(135deg, #00bf4c 0%, #00b23e 100%);
}
.beat-visual-16 {
  background: linear-gradient(135deg, #00b23e 0%, #00a530 100%);
}
.beat-visual-17 {
  background: linear-gradient(135deg, #00a530 0%, #009822 100%);
}
.beat-visual-18 {
  background: linear-gradient(135deg, #009822 0%, #008b14 100%);
}
.beat-visual-19 {
  background: linear-gradient(135deg, #008b14 0%, #007e06 100%);
}
.beat-visual-20 {
  background: linear-gradient(135deg, #007e06 0%, #00ff88 100%);
}

/* Beat Visual Patterns */
.beat-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.1) 10px,
    rgba(0, 0, 0, 0.1) 20px
  );
  opacity: 0.3;
}

.beat-name {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

/* Beat Player */
.beat-player {
  width: 100%;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.beat-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Buy Button */
.buy-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  border: none;
  border-radius: 12px;
  color: #000000;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buy-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.buy-button:hover::before {
  width: 300px;
  height: 300px;
}

.buy-button span {
  position: relative;
  z-index: 1;
}

.buy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.4);
}

/* Checkout Page */
.checkout-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.checkout-card {
  background: rgba(15, 25, 20, 0.8);
  border-radius: 30px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  border: 1px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 30px 80px rgba(0, 255, 136, 0.2);
  animation: fadeInScale 0.6s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.checkout-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.logo-small {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checkout-content {
  text-align: center;
}

.beat-info {
  margin-bottom: 2rem;
}

.beat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 2s ease-in-out infinite;
}

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

.beat-icon svg {
  width: 40px;
  height: 40px;
  color: #000000;
}

.selected-beat {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #00ff88;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.beat-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.pricing {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.price-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: #00ff88;
  font-weight: 600;
}

.amount {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: #00ff88;
  line-height: 1;
}

.period {
  font-size: 2rem;
  color: #00ff88;
  font-weight: 600;
}

.price-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  border: none;
  border-radius: 16px;
  color: #000000;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.checkout-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.checkout-button:hover::before {
  width: 500px;
  height: 500px;
}

.checkout-button span {
  position: relative;
  z-index: 1;
}

.checkout-button svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.checkout-button:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.4);
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 16px;
  color: #00ff88;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.back-button:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.6);
  transform: scale(1.02);
}

/*  Added redeem button styles */
.redeem-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInScale 0.6s ease;
}

.redeem-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.redeem-button:hover::before {
  width: 500px;
  height: 500px;
}

.redeem-button span {
  position: relative;
  z-index: 1;
}

.redeem-button svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.redeem-button:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 2rem 1rem 1rem;
  }

  .logo {
    font-size: 2.5rem;
  }

  .beats-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .beat-name {
    font-size: 1.5rem;
  }

  .checkout-card {
    padding: 2rem;
  }

  .selected-beat {
    font-size: 2rem;
  }

  .amount {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .beats-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 2rem;
  }
}
