/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #ff0033;
  --yellow: #ffe600;
  --green: #00ff88;
  --bg: #0a0a0a;
  --white: #ffffff;
}

html {
  cursor: none;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Comic Neue', cursive;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== CUSTOM CURSOR ===== */
#cursor {
  position: fixed;
  font-size: 28px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

/* ===== STARFIELD ===== */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  animation: twinkle var(--dur) infinite alternate;
  opacity: 0.6;
}

@keyframes twinkle {
  from { opacity: 0.1; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.4); }
}

/* ===== CONTAINER ===== */
.container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* ===== TOP BANNER ===== */
.top-banner {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: 4px;
  background: repeating-linear-gradient(
    45deg,
    #ff0033,
    #ff0033 10px,
    #000 10px,
    #000 20px
  );
  color: var(--yellow);
  padding: 12px 40px;
  width: 100%;
  animation: bannerPulse 1s infinite;
  border: 3px solid var(--yellow);
}

@keyframes bannerPulse {
  0%, 100% { box-shadow: 0 0 10px var(--yellow), 0 0 30px var(--red); }
  50%       { box-shadow: 0 0 30px var(--yellow), 0 0 60px var(--red); }
}

/* ===== MAIN TITLE ===== */
.main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 13vw, 130px);
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow:
    4px 4px 0 var(--red),
    8px 8px 0 #ff006688;
  animation: titleWobble 3s ease-in-out infinite;
}

@keyframes titleWobble {
  0%, 100% { transform: rotate(-1deg) scale(1); }
  25%       { transform: rotate(1deg) scale(1.01); }
  50%       { transform: rotate(-0.5deg) scale(0.99); }
  75%       { transform: rotate(0.8deg) scale(1.02); }
}

.highlight {
  color: var(--yellow);
  display: inline-block;
  text-shadow:
    4px 4px 0 var(--red),
    0 0 40px var(--yellow);
  animation: mutterGlow 0.8s infinite alternate, mutterShake 0.15s infinite;
}

@keyframes mutterGlow {
  from { text-shadow: 4px 4px 0 var(--red), 0 0 20px var(--yellow); }
  to   { text-shadow: 4px 4px 0 var(--red), 0 0 80px var(--yellow), 0 0 120px #ff8800; }
}

@keyframes mutterShake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-2px); }
  75%  { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

/* ===== SUBTEXT ===== */
.sub-text {
  font-size: clamp(18px, 4vw, 32px);
  color: var(--green);
  animation: subBounce 1.5s ease-in-out infinite;
  text-shadow: 0 0 20px var(--green);
}

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

/* ===== MEME ROW ===== */
.meme-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.meme-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--red));
  animation: imgSpin 8s linear infinite;
  border: 3px solid var(--red);
  border-radius: 12px;
  background: #111;
}

.meme-img:hover {
  animation: imgSpinFast 0.5s linear infinite;
  filter: drop-shadow(0 0 25px var(--yellow)) hue-rotate(180deg);
  transform: scale(1.15);
}

.meme-img.flip {
  transform: scaleX(-1);
  animation: imgSpinReverse 8s linear infinite;
}

@keyframes imgSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes imgSpinReverse {
  0%   { transform: scaleX(-1) rotate(0deg); }
  100% { transform: scaleX(-1) rotate(-360deg); }
}

@keyframes imgSpinFast {
  0%   { transform: scale(1.15) rotate(0deg); }
  100% { transform: scale(1.15) rotate(360deg); }
}

/* ===== COUNTER BOX ===== */
.counter-box {
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 700;
  background: #111;
  border: 3px dashed var(--red);
  border-radius: 16px;
  padding: 20px 40px;
  color: var(--white);
  line-height: 1.6;
  animation: borderDash 1s linear infinite;
}

@keyframes borderDash {
  from { border-color: var(--red); }
  50%  { border-color: var(--yellow); }
  to   { border-color: var(--red); }
}

#counter {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 7vw, 72px);
  color: var(--yellow);
  display: block;
  text-shadow: 0 0 20px var(--yellow);
  animation: counterPop 0.2s ease;
}

@keyframes counterPop {
  0%   { transform: scale(1.5); color: var(--green); }
  100% { transform: scale(1);   color: var(--yellow); }
}

/* ===== BUTTON ===== */
.big-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 5vw, 48px);
  letter-spacing: 3px;
  padding: 18px 60px;
  background: var(--red);
  color: var(--yellow);
  border: 4px solid var(--yellow);
  border-radius: 12px;
  cursor: none;
  transition: all 0.1s;
  text-shadow: 2px 2px 0 #000;
  box-shadow: 6px 6px 0 #000, 0 0 40px #ff003388;
  animation: btnFloat 2s ease-in-out infinite;
}

@keyframes btnFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-6px) rotate(1deg); }
}

.big-btn:hover {
  background: var(--yellow);
  color: var(--red);
  transform: scale(1.08) rotate(2deg) !important;
  box-shadow: 10px 10px 0 #000, 0 0 60px var(--yellow);
  animation: none;
}

.big-btn:active {
  transform: scale(0.95) !important;
  box-shadow: 2px 2px 0 #000;
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--red);
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  padding: 10px 0;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(16px, 3vw, 26px);
  letter-spacing: 2px;
  color: var(--yellow);
  text-shadow: 2px 2px 0 #000;
  animation: scroll 18s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
.footer {
  font-size: 13px;
  color: #555;
  padding-bottom: 30px;
}

/* ===== EXPLOSION PARTICLES ===== */
.particle {
  position: fixed;
  pointer-events: none;
  font-size: 24px;
  animation: particleFly var(--dur) ease-out forwards;
  z-index: 9998;
}

@keyframes particleFly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}
