/* MoneyGod — Positive, High Energy, Neon Cyber Light */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Outfit:wght@400;600;800&display=swap');

:root {
  --neon-cyan: #00e5ff;
  --neon-pink: #ff007f;
  --neon-yellow: #ffe600;
  --neon-green: #39ff14;
  --bg-light: #f8faff;
  --text-dark: #0b0c10;
  --card-bg: rgba(255, 255, 255, 0.9);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scrolling Neon Grid Background */
.cyber-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-light);
  perspective: 1000px;
}

.cyber-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.4) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 0, 127, 0.15) 2px, transparent 2px);
  background-size: 60px 60px;
  transform: rotateX(60deg) translateY(0);
  transform-origin: center center;
  animation: gridScroll 4s linear infinite;
}

@keyframes gridScroll {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(60px); }
}

/* Floating Shapes */
.cyber-shape {
  position: absolute;
  filter: blur(50px);
  z-index: -1;
  border-radius: 50%;
  animation: floatPulse 6s ease-in-out infinite alternate;
}

.shape-1 { width: 300px; height: 300px; background: var(--neon-yellow); top: -10%; left: -10%; opacity: 0.3; }
.shape-2 { width: 400px; height: 400px; background: var(--neon-cyan); bottom: -10%; right: -10%; opacity: 0.2; animation-delay: -2s; }
.shape-3 { width: 250px; height: 250px; background: var(--neon-pink); top: 40%; left: 50%; opacity: 0.15; animation-delay: -4s; }

@keyframes floatPulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(30px, -30px); }
}

/* Layout */
.content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

nav a {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--neon-pink);
  text-shadow: 2px 2px 0px var(--neon-cyan);
}

nav .logo {
  font-size: 1.5rem;
  letter-spacing: 2px;
  position: relative;
}

nav .logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--neon-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

nav .logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Typography & Glitch */
.glitch-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  text-transform: uppercase;
  position: relative;
  color: var(--text-dark);
  text-shadow: 3px 3px 0px var(--neon-cyan), -3px -3px 0px var(--neon-pink);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: slightShake 3s infinite;
}

@keyframes slightShake {
  0%, 98% { transform: translate(0,0); }
  99% { transform: translate(-3px, 2px); }
  100% { transform: translate(3px, -2px); }
}

.subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  border-bottom: 4px solid var(--neon-yellow);
  display: inline-block;
  padding-bottom: 4px;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 3px solid var(--text-dark);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 8px 8px 0px var(--neon-cyan);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--neon-pink);
}

.card p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Lists */
.joke-list {
  list-style: none;
}

.joke-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  padding-left: 2rem;
  position: relative;
  font-weight: 500;
}

.joke-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--neon-pink);
}

/* Buttons */
.btn-neon {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--bg-light);
  background: var(--text-dark);
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 4px 4px 0px var(--neon-yellow);
  transition: all 0.15s;
}

.btn-neon:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--neon-cyan);
  background: var(--neon-pink);
  color: white;
  border-color: var(--neon-pink);
}

.btn-neon:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--neon-yellow);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px) rotate(-2deg); }
  50% { transform: translateX(5px) rotate(2deg); }
  75% { transform: translateX(-5px) rotate(-2deg); }
  100% { transform: translateX(0); }
}

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

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  border-top: 3px solid var(--text-dark);
}

footer p {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

footer .footer-legal {
  font-size: 0.85rem;
  font-weight: 600;
}

footer a {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

footer a:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}
