/* Extreme Games Hero Section */
@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");

@font-face {
  font-family: "PPSupplyMono";
  src: url("https://assets.codepen.io/7558/PPSupplyMono-Variable.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
}

.extreme-hero-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  padding: 0;
}

.extreme-hero {
  position: relative;
  width: 100%;
  height: 110%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #e0e0e0;
  overflow: hidden;
  z-index: 5;
}

/* Games section inside the container */
.extreme-games-section {
  position: relative;
  z-index: 10;
  padding: 24px;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
}

.extreme-games-section .nft-grid {
  position: relative;
  z-index: 11;
}

.extreme-games-section .nft-card {
  background: rgba(30, 30, 30, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 69, 0, 0.2);
  transition: all 0.3s ease;
}

.extreme-games-section .nft-card:hover {
  border-color: rgba(255, 69, 0, 0.5);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.2);
}

/* Animated background gradient */
.extreme-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255, 0, 64, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(148, 0, 211, 0.1) 0%, transparent 50%);
  animation: gradientPulse 8s ease-in-out infinite;
  z-index: 1;
}

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

/* Scanlines effect - covers entire container */
.extreme-hero-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 20;
  border-radius: 16px;
}

/* Noise overlay - covers entire container */
.extreme-hero-container > .extreme-hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
  animation: noiseAnimation 0.5s steps(10) infinite;
}

@keyframes noiseAnimation {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(5%, 5%); }
  30% { transform: translate(-5%, 5%); }
  40% { transform: translate(5%, -5%); }
  50% { transform: translate(-5%, 0); }
  60% { transform: translate(5%, 0); }
  70% { transform: translate(0, 5%); }
  80% { transform: translate(0, -5%); }
  90% { transform: translate(5%, 5%); }
  100% { transform: translate(0, 0); }
}

/* Ghost loader */
.extreme-ghost-loader {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.extreme-ghost-svg {
  filter: drop-shadow(0 0 30px rgba(255, 69, 0, 0.5)) drop-shadow(0 0 60px rgba(255, 0, 64, 0.3));
  animation: ghostFloat 3s ease-in-out infinite;
}

.extreme-ghost-body {
  fill: white;
  opacity: 0.95;
}

.extreme-ghost-eye {
  animation: eyePulseExtreme 2s ease-in-out infinite;
  transform-origin: center;
}

.extreme-ghost-eye line {
  stroke: #ff0040;
  transition: stroke 0.3s ease;
}

.extreme-ghost-eye.left-eye {
  animation-delay: 0s;
}

.extreme-ghost-eye.right-eye {
  animation-delay: 0.1s;
}

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

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


/* Content */
.extreme-hero-content {
  position: relative;
  z-index: 5;
  max-width: 90%;
}

.extreme-hero-title {
  font-family: "Boldonse", system-ui;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff4500 50%, #ff0040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(255, 0, 64, 0.8));
  }
}

.extreme-hero-subtitle {
  font-family: "PPSupplyMono", monospace;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 24px;
  letter-spacing: 0.2em;
  color: #ff4500;
  animation: textPulseExtreme 2s ease-in-out infinite;
}

@keyframes textPulseExtreme {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

.extreme-hero-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* RTP Badge */
.extreme-rtp-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 69, 0, 0.15);
  border: 1px solid rgba(255, 69, 0, 0.3);
  border-radius: 50px;
  padding: 12px 24px;
  font-family: "PPSupplyMono", monospace;
  font-size: 18px;
  color: #ff4500;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.6);
  }
}

.extreme-rtp-badge .rtp-value {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

/* Floating particles - covers entire container */
.extreme-hero-container > .extreme-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.extreme-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ff4500;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.extreme-particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 12s; }
.extreme-particle:nth-child(2) { left: 15%; animation-delay: 1.2s; animation-duration: 10s; }
.extreme-particle:nth-child(3) { left: 25%; animation-delay: 2.4s; animation-duration: 14s; }
.extreme-particle:nth-child(4) { left: 35%; animation-delay: 0.8s; animation-duration: 11s; }
.extreme-particle:nth-child(5) { left: 45%; animation-delay: 3s; animation-duration: 13s; }
.extreme-particle:nth-child(6) { left: 55%; animation-delay: 1.5s; animation-duration: 10s; }
.extreme-particle:nth-child(7) { left: 65%; animation-delay: 4s; animation-duration: 12s; }
.extreme-particle:nth-child(8) { left: 75%; animation-delay: 2s; animation-duration: 14s; }
.extreme-particle:nth-child(9) { left: 85%; animation-delay: 0.5s; animation-duration: 11s; }
.extreme-particle:nth-child(10) { left: 95%; animation-delay: 3.5s; animation-duration: 13s; }

@keyframes particleFloat {
  0% {
    transform: translateY(1000px);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-50px);
    opacity: 0;
  }
}

/* Vignette effect - covers entire container */
.extreme-hero-container > .extreme-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 4;
}

/* Bottom fade transition - between hero and games */
.extreme-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.98) 100%);
  z-index: 6;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .extreme-hero {
    height: auto;
    padding-top: 30px;
  }
  
  .extreme-ghost-loader {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
  }
  
  .extreme-ghost-svg {
    width: 60px !important;
    height: 60px !important;
  }
  
  .extreme-glow-ring {
    width: 140px;
    height: 140px;
  }
}

