/* ==========================================================================
   SERTRA — LIGHT PINK UGLY GOOFY FUN 90s WEB ZONE (NOW WITH MORE UGLY)
   ========================================================================== */

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

@keyframes rainbow-text {
  0%   { color: #ff0099; }
  14%  { color: #ff6600; }
  28%  { color: #ffcc00; }
  42%  { color: #00cc00; }
  57%  { color: #0066ff; }
  71%  { color: #9900cc; }
  85%  { color: #ff0099; }
  100% { color: #ff6600; }
}

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

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

body {
  background-color: #ffd6ec;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(255,153,204,0.35) 18px,
      rgba(255,153,204,0.35) 20px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(255,204,230,0.2) 18px,
      rgba(255,204,230,0.2) 20px
    );
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  font-size: 15px;
  color: #4a0026;
  line-height: 1.5;
  width: 100%;
  padding-bottom: 40px;
}

a { color: #cc0066; text-decoration: underline; }
a:hover { color: #ff0099; background: #ffccee; }

/* --------------------------------------------------------------------------
   MARQUEE STRIPS
   -------------------------------------------------------------------------- */
.top-strip {
  width: 100%;
  background: #ff99cc;
  border-top: 3px solid #ff0077;
  border-bottom: 3px solid #ff0077;
  padding: 5px 0;
}
.top-strip marquee {
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: #4a0026;
  letter-spacing: 1px;
}

.mid-strip {
  width: 100%;
  background: #ffe0f0;
  border-top: 2px dotted #ff99cc;
  border-bottom: 2px dotted #ff99cc;
  padding: 4px 0;
  margin: 14px 0;
}
.mid-strip marquee {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: #cc0066;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
  width: 100%;
  background: #ffb3d6;
  border-top: 4px solid #cc0066;
  border-bottom: 4px solid #cc0066;
  text-align: center;
  padding: 18px 10px 14px;
}

.header-blink {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: #cc0066;
  letter-spacing: 2px;
}

.header-blink span {
  animation: blink-star 0.9s step-start infinite;
}

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

.site-title {
  font-family: 'VT323', monospace;
  font-size: 96px;
  animation: rainbow-text 1.4s linear infinite;
  text-shadow:
    3px 3px 0 #ffffff,
    6px 6px 0 #ff99cc,
    -2px -2px 0 #ffff00;
  line-height: 0.85;
  letter-spacing: 4px;
}

.site-subtitle {
  font-family: 'Comic Neue', cursive;
  font-size: 14px;
  font-weight: 700;
  color: #880044;
  margin-top: 6px;
}

/* ugly nav */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.site-nav a {
  font-family: 'VT323', monospace;
  font-size: 20px;
  background: #ffffff;
  color: #cc0066;
  border: 2px solid #cc0066;
  padding: 4px 14px;
  text-decoration: none;
  box-shadow: 3px 3px 0 #ff99cc;
}

.site-nav a:hover,
.site-nav a.active {
  background: #cc0066;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   FULL-WIDTH LAYOUT: 3 COLUMNS
   -------------------------------------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: 230px 1fr 220px;
  gap: 14px;
  width: 100%;
  padding: 0 14px;
  align-items: start;
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   UGLY OLD-SCHOOL BOXES — CHAOTIC & WOBBLY
   -------------------------------------------------------------------------- */

.box {
  background: #fff0f7;
  border: 3px solid #ff99cc;
  margin-bottom: 14px;
  width: 100%;
}

/* chaotic rotations & border mismatches */
.box:nth-child(1) { border-style: ridge;  border-color: #ff66aa; transform: rotate(-0.5deg); }
.box:nth-child(2) { border-style: double; border-color: #cc0066; border-width: 5px; transform: rotate(0.8deg); }
.box:nth-child(3) { border-style: groove; border-color: #ff99cc; transform: rotate(-1deg) skewX(0.3deg); }
.box:nth-child(4) { border-style: outset; border-color: #ffaacc; transform: rotate(0.4deg); }
.box:nth-child(5) { border-style: dotted; border-color: #cc0066; border-width: 4px; transform: rotate(-0.7deg); }
.box:nth-child(6) { border-style: dashed; border-color: #ff0077; transform: rotate(1.1deg) skewX(-0.5deg); }

.box-title {
  background: #ff99cc;
  color: #4a0026;
  font-family: 'VT323', monospace;
  font-size: 22px;
  padding: 5px 10px;
  border-bottom: 2px solid #cc0066;
  letter-spacing: 1px;
}

.box-body {
  padding: 12px 14px;
}

/* --------------------------------------------------------------------------
   RAW FLOATING YELLOW ASCII ART — NO BOX, JUST VIBES
   -------------------------------------------------------------------------- */
.ascii-art-float {
  color: #ffe600;
  font-family: 'VT323', monospace;
  font-size: 13px;
  line-height: 1.05;
  white-space: pre;
  text-align: center;
  letter-spacing: 0;
  display: block;
  width: 100%;
  margin: 22px 0 18px;
  text-shadow: 0 0 8px #ffe60099;
  transform: rotate(-1.2deg);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   ASCII THINGS
   -------------------------------------------------------------------------- */
.ascii {
  font-family: 'VT323', monospace;
  font-size: 20px;
  background: #fff0f7;
  border: 2px dashed #ff99cc;
  padding: 8px;
  text-align: center;
  color: #cc0066;
  line-height: 1.15;
  margin: 8px 0;
  white-space: pre;
}

/* --------------------------------------------------------------------------
   UGLY BUTTONS
   -------------------------------------------------------------------------- */
.uglybutton {
  font-family: 'Comic Neue', cursive;
  font-weight: 700;
  font-size: 13px;
  background: #ff99cc;
  color: #4a0026;
  border: 3px outset #ffccee;
  padding: 7px 14px;
  cursor: pointer;
  margin: 3px 2px;
}
.uglybutton:hover { background: #ff66aa; color: #fff; }
.uglybutton:active { border-style: inset; }

/* --------------------------------------------------------------------------
   SOUND GRID
   -------------------------------------------------------------------------- */
.sound-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.sound-btn {
  font-family: 'Comic Neue', cursive;
  font-weight: 700;
  font-size: 12px;
  background: #ffe0f0;
  color: #880044;
  border: 2px solid #ff99cc;
  padding: 6px 4px;
  cursor: pointer;
}
.sound-btn:hover { background: #ff99cc; }
.sound-btn:active { border-style: inset; }

/* --------------------------------------------------------------------------
   FORTUNE BOX
   -------------------------------------------------------------------------- */
.fortune-output {
  background: #4a0026;
  color: #fffb85;
  font-family: 'VT323', monospace;
  font-size: 22px;
  padding: 10px;
  text-align: center;
  margin-top: 8px;
  border: 2px solid #ff99cc;
  min-height: 48px;
}

/* --------------------------------------------------------------------------
   HIT COUNTER
   -------------------------------------------------------------------------- */
.counter-wrap {
  background: #000;
  border: 2px solid #ff0077;
  text-align: center;
  padding: 8px 0;
  margin-top: 6px;
}
.counter-label {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: #ffb3d6;
}
.counter-num {
  font-family: 'VT323', monospace;
  font-size: 48px;
  color: #ff0077;
  letter-spacing: 6px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   STATUS TABLE
   -------------------------------------------------------------------------- */
.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.status-table td {
  padding: 4px 6px;
  border-bottom: 1px dotted #ffb3d6;
  vertical-align: top;
}
.status-table td:first-child {
  font-weight: 700;
  color: #cc0066;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   WEBRING
   -------------------------------------------------------------------------- */
.webring {
  background: #fff0f7;
  border: 2px dashed #cc0066;
  padding: 10px;
  text-align: center;
  font-size: 13px;
}
.webring-title {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #cc0066;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   BADGES
   -------------------------------------------------------------------------- */
.badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 8px;
}
.badges-wrap img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  border: 1px solid #cc0066;
}

/* --------------------------------------------------------------------------
   GUESTBOOK
   -------------------------------------------------------------------------- */
.gb-form input,
.gb-form textarea {
  width: 100%;
  background: #fff0f7;
  border: 2px solid #ff99cc;
  color: #4a0026;
  font-family: 'Comic Neue', cursive;
  font-size: 14px;
  padding: 7px;
  margin-bottom: 8px;
}
.gb-entry {
  background: #fff0f7;
  border-left: 4px solid #ff99cc;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 14px;
}
.gb-name {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #cc0066;
}

/* --------------------------------------------------------------------------
   DIVIDERS
   -------------------------------------------------------------------------- */
.divider {
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: #ff99cc;
  margin: 10px 0;
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   TABS
   -------------------------------------------------------------------------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background: #ff99cc;
  border-top: 3px solid #cc0066;
  text-align: center;
  padding: 14px;
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: #4a0026;
  margin-top: 20px;
}
