@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');

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

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes rainbow {
  0%   { color: #ff0000; }
  16%  { color: #ff8800; }
  33%  { color: #ffff00; }
  50%  { color: #00ff00; }
  66%  { color: #0088ff; }
  83%  { color: #8800ff; }
  100% { color: #ff0000; }
}

@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 40px #0f0; }
  50%      { text-shadow: 0 0 20px #ff0, 0 0 40px #ff0, 0 0 80px #ff0, 0 0 120px #ff0; }
}

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

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

@keyframes cursor-trail {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes bg-scroll {
  from { transform: translate(0, 0); }
  to   { transform: translate(-200px, -200px); }
}

@keyframes hr-scroll {
  from { background-position: 0 0; }
  to   { background-position: -60px 0; }
}

#enter-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.splash-content {
  text-align: center;
  font-family: 'Comic Sans MS', 'Comic Neue', cursive;
}

.splash-warning {
  font-size: 2.5rem;
  color: #ff0000;
  animation: blink 0.4s step-end infinite;
  margin-bottom: 20px;
  text-shadow: 0 0 20px #ff0000;
}

.splash-title {
  font-size: 5rem;
  animation: rainbow 0.5s linear infinite, glow-pulse 0.8s ease-in-out infinite;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  margin-bottom: 20px;
}

.splash-sub {
  font-size: 1.5rem;
  color: #ff00ff;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #ff00ff;
  line-height: 2;
}

.splash-btn {
  font-family: 'Comic Sans MS', 'Comic Neue', cursive;
  font-size: 2rem;
  font-weight: bold;
  padding: 20px 60px;
  background: #00ff00;
  color: #000;
  border: 4px outset #00ff00;
  cursor: pointer;
  animation: zoom-pulse 1s ease-in-out infinite;
  text-transform: uppercase;
  box-shadow: 0 0 30px #00ff00, 0 0 60px #00ff00;
}

.splash-btn:hover {
  background: #ff00ff;
  color: #fff;
  box-shadow: 0 0 30px #ff00ff, 0 0 60px #ff00ff;
  border-color: #ff00ff;
}

.splash-tiny {
  margin-top: 25px;
  font-size: 1rem;
  color: #ffff00;
  animation: blink 0.8s step-end infinite;
}

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

html {
  cursor: url('swbf3.png') 16 16, crosshair;
}

input, textarea, select, [contenteditable] {
  cursor: text;
}

html, body {
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background-color: #ff00ff;
  font-family: 'Comic Sans MS', 'Comic Neue', cursive, sans-serif;
  color: #00ff00;
  text-align: center;
  padding: 20px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: -200px;
  right: -200px;
  bottom: -200px;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, #ff0, transparent),
    radial-gradient(2px 2px at 130px 80px, #fff, transparent),
    radial-gradient(1px 1px at 160px 20px, #ff0, transparent),
    radial-gradient(2px 2px at 60px 120px, #fff, transparent),
    radial-gradient(1px 1px at 10px 150px, #ff0, transparent),
    radial-gradient(2px 2px at 100px 160px, #fff, transparent),
    radial-gradient(1px 1px at 170px 140px, #ff0, transparent),
    radial-gradient(2px 2px at 50px 190px, #fff, transparent),
    radial-gradient(1px 1px at 140px 10px, #fff, transparent),
    radial-gradient(2px 2px at 180px 100px, #ff0, transparent),
    radial-gradient(1px 1px at 30px 85px, #fff, transparent),
    radial-gradient(2px 2px at 110px 55px, #ff0, transparent),
    radial-gradient(1px 1px at 75px 175px, #fff, transparent),
    radial-gradient(2px 2px at 195px 65px, #fff, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: bg-scroll 3s linear infinite;
  will-change: transform;
  z-index: -1;
  pointer-events: none;
}

.chaos-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-title {
  font-size: 4rem;
  animation: rainbow 0.5s linear infinite, glow-pulse 0.8s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin: 20px 0;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
}

.site-subtitle {
  font-size: 1.8rem;
  color: #ffff00;
  animation: blink 0.4s step-end infinite;
  text-shadow: 3px 3px 0 #ff0000, -3px -3px 0 #0000ff;
  margin-bottom: 20px;
}

.headshot-container {
  margin: 30px auto;
  position: relative;
  display: inline-block;
}

.headshot {
  width: 600px;
  height: auto;
  max-width: 90vw;
  border-radius: 0;
  border: none;
  filter: drop-shadow(0 0 20px #00ff00)
         drop-shadow(0 0 40px #ff00ff)
         drop-shadow(0 0 60px #00ff00)
         drop-shadow(0 0 80px #ff00ff);
  animation: zoom-pulse 2s ease-in-out infinite;
  image-rendering: auto;
}

.headshot-label {
  font-size: 2rem;
  color: #ffff00;
  animation: shake 0.15s linear infinite;
  margin-top: 10px;
  text-shadow: 3px 3px 0 #ff0000;
}

.marquee-bar {
  background: linear-gradient(90deg, #000000, #220022, #000000);
  border-top: 3px solid #00ff00;
  border-bottom: 3px solid #00ff00;
  padding: 8px 0;
  margin: 15px 0;
  font-size: 1.6rem;
  font-weight: bold;
  overflow: hidden;
}

.marquee-bar.alt {
  background: linear-gradient(90deg, #002200, #000000, #002200);
  border-color: #ff00ff;
  color: #ff00ff;
}

.marquee-bar.warning {
  background: #ff0000;
  border-color: #ffff00;
  color: #ffff00;
  font-size: 2rem;
  animation: blink 0.3s step-end infinite;
}

.marquee-text {
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
  letter-spacing: 4px;
}

.stats-section {
  margin: 30px auto;
  padding: 20px;
  background: #000000;
  border: 4px double #00ff00;
  box-shadow: 0 0 15px #00ff00, inset 0 0 15px rgba(0, 255, 0, 0.1);
  max-width: 500px;
}

.stats-section h2 {
  color: #ff00ff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 0 #000;
  animation: rainbow 1s linear infinite;
}

.visitor-counter {
  font-size: 2rem;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  background: #001100;
  padding: 10px 20px;
  border: 2px inset #00ff00;
  display: inline-block;
  margin: 10px 0;
  letter-spacing: 3px;
}

.stats-list {
  list-style: none;
  text-align: left;
  padding: 0 20px;
  color: #00ff00;
  font-size: 1rem;
}

.stats-list li {
  padding: 5px 0;
  border-bottom: 1px dashed #003300;
}

.stats-list li::before {
  content: '⚡ ';
}

.guestbook {
  margin: 30px auto;
  padding: 20px;
  background: #110011;
  border: 3px ridge #ff00ff;
  max-width: 500px;
}

.guestbook h2 {
  color: #00ff00;
  font-size: 1.5rem;
  margin-bottom: 10px;
  animation: glow-pulse 1s ease-in-out infinite;
}

.guestbook input,
.guestbook textarea {
  width: 90%;
  padding: 8px;
  margin: 5px 0;
  background: #000;
  color: #00ff00;
  border: 2px inset #00ff00;
  font-family: 'Comic Sans MS', cursive;
  font-size: 0.9rem;
}

.guestbook textarea {
  height: 60px;
  resize: none;
}

.guestbook button {
  background: #00ff00;
  color: #000;
  border: 3px outset #00ff00;
  padding: 8px 30px;
  font-family: 'Comic Sans MS', cursive;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  text-transform: uppercase;
}

.guestbook button:active {
  border-style: inset;
}

.under-construction {
  margin: 20px 0;
  padding: 15px;
  font-size: 1.5rem;
  color: #ffff00;
  animation: blink 0.6s step-end infinite;
  text-shadow: 2px 2px 0 #ff0000;
}

.under-construction span {
  font-size: 2rem;
}

.badges {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.badge {
  background: #000;
  border: 2px outset #808080;
  padding: 8px 15px;
  font-size: 0.8rem;
  color: #c0c0c0;
  font-family: 'Courier New', monospace;
  animation: zoom-pulse 2s ease-in-out infinite;
}

.badge:nth-child(2) { animation-delay: 0.3s; }
.badge:nth-child(3) { animation-delay: 0.6s; }
.badge:nth-child(4) { animation-delay: 0.9s; }

.webring {
  margin: 20px auto;
  padding: 10px;
  border: 2px solid #00ff00;
  background: #000;
  max-width: 400px;
  font-size: 0.9rem;
}

.webring a {
  color: #00ffff;
  text-decoration: underline;
  margin: 0 10px;
}

.webring a:hover {
  color: #ff00ff;
}

.site-footer {
  margin-top: 30px;
  padding: 15px;
  border-top: 3px double #00ff00;
  font-size: 0.8rem;
  color: #808080;
}

.site-footer .copyright {
  animation: rainbow 2s linear infinite;
  font-size: 1rem;
}

.sparkle {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  animation: cursor-trail 0.35s ease-out forwards;
  z-index: 9999;
  will-change: transform, opacity;
  border-radius: 50%;
  object-fit: cover;
}

.opgg-section {
  margin: 30px auto;
  padding: 20px;
  background: #000;
  border: 4px double #00ff00;
  box-shadow: 0 0 15px #00ff00, inset 0 0 15px rgba(0, 255, 0, 0.1);
  max-width: 800px;
}

.opgg-section h2 {
  color: #00ff00;
  font-size: 1.8rem;
  margin-bottom: 10px;
  animation: rainbow 1s linear infinite, glow-pulse 1.5s ease-in-out infinite;
}

.opgg-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #0a0a0a, #1a001a, #0a0a0a);
  border: 3px solid #00ff00;
  padding: 0;
  margin: 10px 0;
  transition: box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

.opgg-card:hover {
  border-color: #ff00ff;
  box-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff, inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.opgg-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-bottom: 2px dashed #003300;
  flex-wrap: wrap;
}

.opgg-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #00ff00;
  object-fit: cover;
  box-shadow: 0 0 10px #00ff00;
}

.opgg-card-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.opgg-name {
  font-size: 1.8rem;
  color: #00ff00;
  font-weight: bold;
  font-family: 'Comic Sans MS', 'Comic Neue', cursive;
  text-shadow: 0 0 10px #00ff00;
}

.opgg-tag {
  font-size: 1rem;
  color: #808080;
  font-family: 'Courier New', monospace;
}

.opgg-region {
  font-size: 0.7rem;
  color: #ffff00;
  letter-spacing: 3px;
  margin-top: 2px;
}

.opgg-rank-badge {
  margin-left: auto;
  background: linear-gradient(135deg, #ffcc00, #ff8800, #ffcc00);
  color: #000;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 8px 15px;
  border: 2px outset #ffcc00;
  font-family: 'Comic Sans MS', 'Comic Neue', cursive;
  animation: zoom-pulse 2s ease-in-out infinite;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.opgg-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 2px dashed #003300;
}

.opgg-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  border-right: 1px dashed #003300;
}

.opgg-stat:last-child {
  border-right: none;
}

.opgg-stat-val {
  font-size: 1.6rem;
  font-weight: bold;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 8px #00ff00;
}

.opgg-stat-label {
  font-size: 0.65rem;
  color: #808080;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
}

.opgg-card-footer {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.opgg-card-footer span:first-child {
  color: #00ffff;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: 'Comic Sans MS', 'Comic Neue', cursive;
}

.opgg-disclaimer {
  color: #555;
  font-size: 0.6rem;
  font-style: italic;
  font-family: 'Courier New', monospace;
}

hr.chaos-hr {
  border: none;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #ff0000 0px, #ff0000 10px,
    #ffff00 10px, #ffff00 20px,
    #00ff00 20px, #00ff00 30px,
    #00ffff 30px, #00ffff 40px,
    #0000ff 40px, #0000ff 50px,
    #ff00ff 50px, #ff00ff 60px
  );
  margin: 20px 0;
  animation: hr-scroll 1s linear infinite;
}

.fire-text {
  font-size: 1.2rem;
  color: #ffff00;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
  text-shadow:
    0 0 5px #ff0000,
    0 0 10px #ff4400,
    0 0 20px #ff8800,
    0 0 40px #ff0000;
  animation: shake 0.1s linear infinite;
}

.hidden-audio {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.mute-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
  background: #000000;
  color: #00ff00;
  border: 3px outset #00ff00;
  padding: 6px 12px;
  font-family: 'Comic Sans MS', cursive;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px #00ff00;
  animation: glow-pulse 2s infinite;
}

.mute-btn:hover {
  background: #111111;
  color: #ff00ff;
  border-color: #ff00ff;
  box-shadow: 0 0 15px #ff00ff;
}
