@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

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

body {
  background-color: #06000f;
  background-image: url('./images/extreme-cereal-blue-nb.png');
  background-repeat: repeat;
  background-size: 150px auto;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Fredoka One', sans-serif;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext y='24' font-size='24'%3E%F0%9F%A5%A3%3C/text%3E%3C/svg%3E"), auto;
  overflow-x: hidden;
  color: #e0d0ff;
}

.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px;
}

/* PANEL */
.window {
  background: rgba(8, 0, 22, 0.92);
  border: 1px solid #8b00ff;
  box-shadow: 0 0 16px rgba(139, 0, 255, 0.3), inset 0 0 30px rgba(139, 0, 255, 0.03);
  margin: 10px auto;
}

.title-bar {
  background: linear-gradient(90deg, #0d0025 0%, #2a005a 50%, #0d0025 100%);
  color: #ff00cc;
  font-family: Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 7px 14px;
  text-shadow: 0 0 10px #ff00cc, 0 0 20px rgba(255, 0, 204, 0.3);
  border-bottom: 1px solid #8b00ff;
}

.window-content { padding: 10px; }

/* NAV */
.nav-bar {
  background: rgba(8, 0, 22, 0.97);
  border: 1px solid #ff00cc;
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.35), inset 0 0 30px rgba(255, 0, 204, 0.03);
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.nav-bar a {
  color: #00ffff;
  text-decoration: none;
  padding: 10px 26px;
  font-family: Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #00ffff;
  border-right: 1px solid #4400aa;
  transition: background 0.2s, color 0.2s;
}

.nav-bar a:last-child { border-right: none; }

.nav-bar a:hover, .nav-bar a.active {
  background: rgba(255, 0, 204, 0.08);
  color: #ff00cc;
  text-shadow: 0 0 14px #ff00cc;
}

/* LOGO */
.logo-window {
  border-color: #ff00cc;
  box-shadow: 0 0 40px rgba(255, 0, 204, 0.4), inset 0 0 60px rgba(139, 0, 255, 0.05);
}

.logo-window .window-content {
  background: #000;
  text-align: center;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

/* star dots */
.logo-window .window-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 8%, rgba(0,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 35%, rgba(255,0,204,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 12%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 82% 65%, rgba(0,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 85%, rgba(255,255,255,0.4) 0%, transparent 100%);
  pointer-events: none;
}

.retro-sun {
  width: 140px;
  height: 70px;
  background: linear-gradient(to bottom, #FFE000, #FFB000, #FF6600, #FF2200, #FF0066);
  border-radius: 70px 70px 0 0;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 0 50px rgba(255, 140, 0, 0.8), 0 0 100px rgba(255, 80, 0, 0.4);
  overflow: hidden;
}

.sun-stripe {
  position: absolute;
  left: 0; right: 0;
  height: 7px;
  background: #000;
}

.logo-text {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-size: 80px;
  color: #ff00cc;
  text-shadow:
    4px 4px 0 #8b00ff,
    8px 8px 0 #4400aa,
    0 0 30px #ff00cc,
    0 0 60px rgba(255, 0, 204, 0.35);
  letter-spacing: -2px;
  line-height: 1;
  animation: logoFlash 4s infinite;
  position: relative;
}

.logo-sub {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 12px;
  color: #00ffff;
  margin-top: 12px;
  text-shadow: 0 0 12px #00ffff, 0 0 24px rgba(0, 255, 255, 0.3);
  letter-spacing: 3px;
  animation: blink 2s step-end infinite;
}

.neon-row {
  font-size: 24px;
  line-height: 1.4;
  display: block;
  margin: 10px 0;
  animation: fireWave 0.7s ease-in-out infinite alternate;
  position: relative;
}

/* ANIMATIONS */
@keyframes logoFlash {
  0%, 100% { color: #ff00cc; text-shadow: 4px 4px 0 #8b00ff, 8px 8px 0 #4400aa, 0 0 30px #ff00cc; }
  50% { color: #00ffff; text-shadow: 4px 4px 0 #0055ff, 8px 8px 0 #002288, 0 0 30px #00ffff; }
}

@keyframes fireWave {
  from { transform: scaleX(1.02) skewX(-1deg); }
  to { transform: scaleX(0.98) skewX(1deg); }
}

@keyframes blink { 50% { opacity: 0; } }

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

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

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(139, 0, 255, 0.3); border-color: #8b00ff; }
  50% { box-shadow: 0 0 32px rgba(255, 0, 204, 0.55); border-color: #ff00cc; }
}

@keyframes marqueeScroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* MARQUEE */
.marquee-bar {
  background: #000;
  color: #FFD700;
  padding: 7px 0;
  font-size: 13px;
  font-weight: bold;
  border-top: 2px solid #ff00cc;
  border-bottom: 2px solid #ff00cc;
  box-shadow: 0 0 16px rgba(255, 0, 204, 0.45);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-inner span { text-shadow: 0 0 8px #FFD700; letter-spacing: 1px; }

/* SECTION HEADING */
.section-heading {
  font-family: Impact, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #1a0040, #3d0080, #1a0040);
  color: #ff00cc;
  padding: 5px 12px;
  margin-bottom: 12px;
  text-shadow: 0 0 8px #ff00cc;
  border-left: 3px solid #ff00cc;
}

/* LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 8px;
  align-items: start;
}

/* CREW FAVORITES */
.crew-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.crew-card {
  background: rgba(15, 0, 40, 0.9);
  border: 1px solid #8b00ff;
  box-shadow: 0 0 12px rgba(139, 0, 255, 0.2);
  padding: 16px 10px;
  text-align: center;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.crew-card:hover {
  box-shadow: 0 0 28px rgba(255, 0, 204, 0.5);
  border-color: #ff00cc;
}

.crew-name {
  font-family: Impact, sans-serif;
  font-size: 20px;
  color: #00ffff;
  text-shadow: 0 0 12px #00ffff, 0 0 24px rgba(0, 255, 255, 0.3);
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}

.crew-cereal-emoji {
  font-size: 48px;
  display: block;
  animation: bounce 1.2s ease-in-out infinite;
  line-height: 1.3;
}

.crew-card:nth-child(2) .crew-cereal-emoji { animation-delay: 0.2s; }
.crew-card:nth-child(3) .crew-cereal-emoji { animation-delay: 0.4s; }

.crew-cereal-name {
  font-family: Impact, sans-serif;
  font-size: 14px;
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
  margin: 8px 0 4px;
  display: block;
  letter-spacing: 1px;
}

.crew-note {
  font-size: 11px;
  color: #9070b0;
  font-style: italic;
  line-height: 1.5;
  margin-top: 6px;
}

.crew-rating {
  color: #FFD700;
  font-size: 14px;
  text-shadow: 0 0 6px #FFD700;
  margin-top: 4px;
}

/* CEREAL CARDS */
.cereal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cereal-card {
  background: rgba(15, 0, 40, 0.8);
  border: 1px solid #8b00ff;
  padding: 12px 10px;
  text-align: center;
  font-size: 12px;
  color: #c0b0e0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cereal-card:hover {
  border-color: #ff00cc;
  box-shadow: 0 0 16px rgba(255, 0, 204, 0.35);
}

.cereal-emoji {
  font-size: 44px;
  display: block;
  animation: bounce 1s ease-in-out infinite;
  line-height: 1.2;
}

.cereal-card:nth-child(2) .cereal-emoji { animation-delay: 0.15s; }
.cereal-card:nth-child(3) .cereal-emoji { animation-delay: 0.3s; }
.cereal-card:nth-child(4) .cereal-emoji { animation-delay: 0.45s; }

.cereal-name {
  font-family: Impact, sans-serif;
  font-size: 15px;
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
  margin: 6px 0 4px;
  display: block;
}

.cereal-rating { color: #FFD700; font-size: 14px; text-shadow: 0 0 4px #FFD700; }

.extreme-badge {
  background: linear-gradient(135deg, #ff00cc, #8b00ff);
  color: #fff;
  font-family: Impact, sans-serif;
  font-size: 10px;
  padding: 2px 8px;
  display: inline-block;
  margin-top: 5px;
  letter-spacing: 1px;
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.4);
}

/* RANKING LIST */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 0, 40, 0.8);
  border: 1px solid #8b00ff;
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ranking-row:hover {
  border-color: #ff00cc;
  box-shadow: 0 0 16px rgba(255, 0, 204, 0.3);
}

.rank-number {
  font-family: Impact, sans-serif;
  font-size: 28px;
  min-width: 44px;
  text-align: center;
  line-height: 1;
}

.rank-gold   { color: #FFD700; text-shadow: 0 0 12px #FFD700; }
.rank-silver { color: #c0c0c0; text-shadow: 0 0 10px #c0c0c0; }
.rank-bronze { color: #cd7f32; text-shadow: 0 0 10px #cd7f32; }
.rank-plain  { color: #6644aa; }

.rank-emoji { font-size: 36px; line-height: 1; }

.rank-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  image-rendering: auto;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
}

.rank-note {
  font-size: 10px;
  color: #7055aa;
  margin-top: 2px;
}

/* NEWS */
.news-box {
  background: rgba(0, 5, 20, 0.8);
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.12);
  padding: 10px 14px;
  font-size: 12px;
  color: #aadde8;
}

.news-box ul { padding-left: 16px; }
.news-box li { margin: 4px 0; }

.new-badge {
  background: #ff0066;
  color: white;
  font-size: 9px;
  font-weight: bold;
  padding: 0 4px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  box-shadow: 0 0 6px #ff0066;
}

/* SIDEBAR */
.sidebar-widget .window-content {
  text-align: center;
  font-size: 11px;
  color: #9070b0;
}

.counter-display {
  font-family: 'Courier New', monospace;
  font-size: 26px;
  font-weight: bold;
  background: #000;
  color: #00ff88;
  padding: 4px 10px;
  letter-spacing: 4px;
  border: 1px solid #00ff88;
  display: inline-block;
  margin: 6px 0;
  text-shadow: 0 0 12px #00ff88;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
}

/* POLL */
.poll-option {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0;
  font-size: 11px;
  cursor: pointer;
}

.poll-bar-wrap {
  height: 10px;
  background: rgba(139, 0, 255, 0.12);
  border: 1px solid #4400aa;
  flex: 1;
}

.poll-bar {
  height: 100%;
  background: linear-gradient(to right, #8b00ff, #ff00cc);
  box-shadow: 0 0 6px rgba(255, 0, 204, 0.5);
}

/* BUTTONS & INPUTS */
.xp-button {
  background: transparent;
  border: 1px solid #8b00ff;
  box-shadow: 0 0 8px rgba(139, 0, 255, 0.4);
  font-family: Impact, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 14px;
  cursor: pointer;
  color: #c0a0e8;
  transition: box-shadow 0.2s, color 0.2s, border-color 0.2s;
}

.xp-button:hover {
  box-shadow: 0 0 18px rgba(255, 0, 204, 0.7);
  color: #ff00cc;
  border-color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
}

.xp-input {
  width: 100%;
  border: 1px solid #4400aa;
  background: rgba(5, 0, 15, 0.8);
  font-family: 'Comic Sans MS', 'Fredoka One', sans-serif;
  font-size: 12px;
  padding: 4px 8px;
  margin: 3px 0;
  color: #c0b0e0;
}

.xp-input:focus {
  outline: none;
  border-color: #ff00cc;
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.35);
}

/* GUESTBOOK */
.guestbook-entry {
  background: rgba(15, 0, 40, 0.7);
  border: 1px solid #2d0060;
  border-left: 3px solid #ff00cc;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #b09ccc;
}

.gb-name {
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 6px #00ffff;
  font-size: 13px;
}

.gb-date { font-size: 10px; color: #5533aa; }

/* AWARDS */
.awards-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px;
}

.award-badge {
  background: linear-gradient(135deg, #FFD700, #FF8800);
  border: 1px solid #ff00cc;
  box-shadow: 0 0 10px rgba(255, 0, 204, 0.35);
  padding: 6px 8px;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  width: 75px;
  font-family: Impact, sans-serif;
  color: #1a0040;
  line-height: 1.3;
}

/* FOOTER */
.footer-bar {
  background: rgba(0, 0, 8, 0.97);
  color: #5533aa;
  text-align: center;
  padding: 16px;
  font-size: 11px;
  font-family: 'Comic Sans MS', 'Fredoka One', sans-serif;
  margin-top: 8px;
  border-top: 2px solid #ff00cc;
  box-shadow: 0 -4px 30px rgba(255, 0, 204, 0.25);
}

.webring {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: rgba(139, 0, 255, 0.12);
  border: 1px solid #ff00cc;
  padding: 5px 12px;
  font-size: 11px;
  color: #ff00cc;
  margin: 4px;
  text-decoration: none;
  text-shadow: 0 0 6px #ff00cc;
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.3);
  font-family: Impact, sans-serif;
  letter-spacing: 1px;
}

/* UTILITY */
a { color: #00ffff; }
a:hover { color: #ff00cc; text-shadow: 0 0 6px #ff00cc; }

.rainbow-text {
  background: linear-gradient(to right, #ff00cc, #8b00ff, #00ffff, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 16px;
  font-family: Impact, sans-serif;
  letter-spacing: 3px;
}

.construction {
  font-size: 28px;
  animation: spin 2s linear infinite;
  display: inline-block;
}

.ie-notice { font-size: 10px; color: #3d2266; margin-top: 8px; font-family: 'Trebuchet MS', sans-serif; }

/* REVIEW PAGE */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.review-card {
  background: rgba(15, 0, 40, 0.8);
  border: 1px solid #8b00ff;
  padding: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  border-color: #ff00cc;
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.35);
}

.review-cereal-emoji { font-size: 42px; display: block; line-height: 1.2; margin-bottom: 6px; }

.review-cereal-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
}

.review-title {
  font-family: Impact, sans-serif;
  font-size: 22px;
  color: #ff00cc;
  text-shadow: 0 0 10px #ff00cc;
  letter-spacing: 1px;
}

.review-rating {
  color: #FFD700;
  font-size: 16px;
  text-shadow: 0 0 5px #FFD700;
  margin: 4px 0;
}

.review-score {
  font-family: Impact, sans-serif;
  font-size: 34px;
  color: #00ffff;
  text-shadow: 0 0 14px #00ffff;
  line-height: 1;
}

.review-score span { font-size: 16px; color: #4d2299; }

.review-body { font-size: 12px; color: #b09ccc; line-height: 1.6; margin: 10px 0; }

.review-verdict {
  font-family: Impact, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ff00cc, #8b00ff);
  color: #fff;
  padding: 3px 10px;
  display: inline-block;
  margin-top: 6px;
  box-shadow: 0 0 10px rgba(255, 0, 204, 0.4);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
}

.pros { color: #00ff88; }
.cons { color: #ff0066; }
.pros h4, .cons h4 {
  font-family: Impact, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* ABOUT PAGE */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.member-card {
  background: rgba(15, 0, 40, 0.85);
  border: 1px solid #8b00ff;
  padding: 18px 14px;
  text-align: center;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.member-card:hover {
  box-shadow: 0 0 28px rgba(255, 0, 204, 0.45);
  border-color: #ff00cc;
}

.member-avatar { font-size: 56px; display: block; margin-bottom: 10px; }

.member-name {
  font-family: Impact, sans-serif;
  font-size: 24px;
  color: #ff00cc;
  text-shadow: 0 0 12px #ff00cc;
  letter-spacing: 3px;
  display: block;
}

.member-title {
  font-family: Impact, sans-serif;
  font-size: 11px;
  color: #00ffff;
  text-shadow: 0 0 6px #00ffff;
  letter-spacing: 1px;
  margin: 5px 0 10px;
  display: block;
}

.member-bio { font-size: 11px; color: #9878bb; line-height: 1.6; }

.member-stat {
  background: rgba(139, 0, 255, 0.1);
  border: 1px solid #2d0060;
  border-left: 2px solid #8b00ff;
  padding: 6px 10px;
  margin-top: 10px;
  font-size: 11px;
  text-align: left;
  color: #9878bb;
  line-height: 1.8;
}

.member-stat strong { color: #FFD700; text-shadow: 0 0 4px #FFD700; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .two-col {
    display: flex;
    flex-direction: column;
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .nav-bar a {
    padding: 8px 14px;
    font-size: 13px;
    letter-spacing: 1px;
    flex: 1 1 auto;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #4400aa;
  }

  .nav-bar a:last-child { border-bottom: none; }

  .crew-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cereal-grid {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    gap: 8px;
    padding: 8px 10px;
  }

  .rank-number {
    font-size: 22px;
    min-width: 34px;
  }

  .logo-window .window-content {
    padding: 12px 8px;
  }

  .title-bar {
    font-size: 11px;
    letter-spacing: 1px;
    padding: 6px 10px;
  }

  .awards-row {
    gap: 4px;
  }

  .award-badge {
    width: 65px;
    font-size: 8px;
    padding: 4px 6px;
  }

  .page-wrap {
    padding: 4px;
  }
}
