/* ============================================
   RETRO WEB 2.0 STYLESHEET - circa 2008-2011
   ============================================ */

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

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

body {
  background-color: #1a1a2e;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,100,255,0.03) 2px,
      rgba(0,100,255,0.03) 4px
    );
  font-family: Trebuchet MS, Verdana, Arial, sans-serif;
  font-size: 13px;
  color: #cccccc;
  min-height: 100vh;
}

a {
  color: #66ccff;
  text-decoration: underline;
}
a:hover {
  color: #ffcc00;
  text-decoration: none;
}
a:visited {
  color: #cc99ff;
}

/* ---- WRAPPER ---- */
#wrapper {
  width: 980px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

/* ---- HEADER ---- */
#header {
  background: linear-gradient(180deg, #0d0d2b 0%, #1a1a4e 40%, #0a0a1e 100%);
  border: 2px solid #3344aa;
  border-bottom: 3px solid #5566dd;
  padding: 15px 20px 10px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(50,80,255,0.4), inset 0 0 40px rgba(0,0,60,0.5);
}
#header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4466ff, #88aaff, #4466ff, transparent);
  animation: scanline 3s linear infinite;
}
@keyframes scanline {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

#site-title {
  font-family: 'Orbitron', Trebuchet MS, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px #4488ff, 0 0 25px #2244ff, 2px 2px 0 #000033;
  letter-spacing: 3px;
  line-height: 1;
}

#site-subtitle {
  font-size: 11px;
  color: #8899cc;
  font-style: italic;
  margin-top: 4px;
  letter-spacing: 1px;
}

#header-stars {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 11px;
  color: #ffcc00;
  text-align: right;
  line-height: 1.6;
}
#header-stars .online-badge {
  background: linear-gradient(180deg, #00cc44, #007722);
  border: 1px solid #00ff55;
  border-radius: 3px;
  padding: 2px 8px;
  color: #ccffdd;
  font-size: 10px;
  font-weight: bold;
  display: inline-block;
  box-shadow: 0 0 8px rgba(0,255,80,0.4);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 8px rgba(0,255,80,0.4); }
  50% { box-shadow: 0 0 15px rgba(0,255,80,0.8); }
}

/* ---- NAVIGATION ---- */
#navbar {
  background: linear-gradient(180deg, #222255 0%, #111133 50%, #0a0a22 100%);
  border: 2px solid #3344aa;
  border-top: none;
  border-bottom: 3px solid #ff6600;
  padding: 0;
  margin-bottom: 12px;
  display: flex;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#navbar a {
  display: block;
  padding: 9px 18px;
  color: #aabbee;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  font-family: Trebuchet MS, Verdana, sans-serif;
  letter-spacing: 0.5px;
  border-right: 1px solid #333366;
  transition: none;
  text-transform: uppercase;
  position: relative;
}

#navbar a:hover, #navbar a.active {
  background: linear-gradient(180deg, #ff6600 0%, #cc4400 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  text-decoration: none;
}

#navbar a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 3px;
  background: #ff8800;
}

/* ---- LAYOUT: 2-column ---- */
#content-area {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

#main-content {
  flex: 1;
}

#sidebar {
  width: 215px;
  flex-shrink: 0;
}

/* ---- CONTENT BOXES / PANELS ---- */
.panel {
  background: linear-gradient(180deg, #1e2050 0%, #111130 100%);
  border: 1px solid #334488;
  border-top: 3px solid #5566dd;
  margin-bottom: 10px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,40,0.3);
}

.panel-header {
  background: linear-gradient(180deg, #2233aa 0%, #112299 50%, #0d1a77 100%);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 2px #000033;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #334488;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.panel-header .icon {
  font-size: 14px;
}

.panel-body {
  padding: 12px;
  line-height: 1.6;
}

/* ---- MAIN PAGE HEADING ---- */
.page-title {
  font-family: 'Orbitron', Trebuchet MS, sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #aabbff;
  text-shadow: 0 0 8px #4466ff, 1px 1px 0 #000033;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #334488;
  letter-spacing: 1px;
}

/* ---- GLOSSY BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: bold;
  font-family: Trebuchet MS, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}
.btn-blue {
  background: linear-gradient(180deg, #4477ee 0%, #2255cc 50%, #1144bb 51%, #2255cc 100%);
  border-color: #1133aa;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-blue:hover {
  background: linear-gradient(180deg, #5588ff 0%, #3366dd 50%, #2255cc 51%, #3366dd 100%);
  color: #fff;
  text-decoration: none;
}
.btn-orange {
  background: linear-gradient(180deg, #ff9933 0%, #ee6600 50%, #cc4400 51%, #dd5500 100%);
  border-color: #993300;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-orange:hover {
  background: linear-gradient(180deg, #ffaa44 0%, #ff7711 100%);
  color: #fff;
  text-decoration: none;
}
.btn-green {
  background: linear-gradient(180deg, #44cc55 0%, #229933 50%, #117722 51%, #229933 100%);
  border-color: #116622;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-green:hover {
  background: linear-gradient(180deg, #55dd66 0%, #33aa44 100%);
  color: #fff;
  text-decoration: none;
}

/* ---- FORMS ---- */
input[type=text], input[type=email], input[type=password], textarea, select {
  background: #0a0a1e;
  border: 1px solid #334488;
  border-top-color: #223366;
  color: #aabbee;
  padding: 5px 8px;
  font-size: 12px;
  font-family: Trebuchet MS, sans-serif;
  outline: none;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5);
}
input[type=text]:focus, textarea:focus {
  border-color: #5577cc;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5), 0 0 5px rgba(80,120,255,0.3);
}
textarea {
  resize: vertical;
}
label {
  color: #8899cc;
  font-size: 11px;
  font-weight: bold;
}

/* ---- DIVIDER ---- */
.divider {
  border: none;
  border-top: 1px solid #223366;
  border-bottom: 1px solid #0a0a22;
  margin: 10px 0;
}

/* ---- MARQUEE TICKER ---- */
#ticker-bar {
  background: linear-gradient(180deg, #0a1a0a, #050f05);
  border: 1px solid #115511;
  border-top: 2px solid #22aa33;
  padding: 5px 10px;
  font-size: 11px;
  color: #44ff55;
  font-family: 'Courier New', monospace;
  margin-bottom: 10px;
  overflow: hidden;
  white-space: nowrap;
}
#ticker-bar span {
  display: inline-block;
  animation: ticker-scroll 55s linear infinite;
}
@keyframes ticker-scroll {
  0% { transform: translateX(980px); }
  100% { transform: translateX(-100%); }
}

/* ---- FOOTER ---- */
#footer {
  background: linear-gradient(180deg, #0d0d22, #080810);
  border: 1px solid #223366;
  border-top: 2px solid #334488;
  padding: 12px 20px;
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  color: #445577;
  line-height: 2;
}
#footer a { color: #5566aa; }

/* ---- SIDEBAR SPECIFIC ---- */
.sidebar-usercard {
  text-align: center;
  padding: 10px;
}
.avatar-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a1a4e, #0d0d2b);
  border: 2px solid #4455aa;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 0 12px rgba(60,80,255,0.3);
}
.username {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  color: #aabbff;
  text-shadow: 0 0 6px #4466ff;
}
.user-mood {
  font-size: 10px;
  color: #667799;
  font-style: italic;
  margin-top: 3px;
}

/* Stat bars */
.stat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  font-size: 10px;
  width: 140px;
  margin-left: auto;
  margin-right: auto;
}
.stat-label {
  width: 20px;
  color: #8899cc;
  text-align: right;
  flex-shrink: 0;
}
.stat-bar-bg {
  flex: 1;
  height: 10px;
  background: #0a0a1e;
  border: 1px solid #223366;
  border-radius: 2px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2255cc, #55aaff);
  box-shadow: 0 0 4px rgba(80,150,255,0.5);
}
.stat-bar-fill.red { background: linear-gradient(90deg, #cc2222, #ff5555); box-shadow: 0 0 4px rgba(255,80,80,0.5); }
.stat-bar-fill.green { background: linear-gradient(90deg, #117722, #44cc55); box-shadow: 0 0 4px rgba(80,255,100,0.5); }
.stat-bar-fill.yellow { background: linear-gradient(90deg, #aa7700, #ffcc00); box-shadow: 0 0 4px rgba(255,200,0,0.5); }

/* Visitor counter */
.visitor-counter {
  background: #000;
  border: 2px inset #333;
  display: inline-flex;
  gap: 1px;
  padding: 3px 5px;
  margin: 5px auto;
}
.counter-digit {
  background: #000;
  color: #ff4400;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: bold;
  width: 16px;
  text-align: center;
  text-shadow: 0 0 6px #ff2200;
}

/* ---- NEWS/BLOG POSTS ---- */
.blog-post {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #223366;
}
.blog-post:last-child { border-bottom: none; }
.post-title {
  font-size: 14px;
  font-weight: bold;
  color: #aabbff;
  margin-bottom: 3px;
}
.post-meta {
  font-size: 10px;
  color: #556688;
  margin-bottom: 5px;
}
.post-meta span { color: #7788aa; }

/* ---- GUESTBOOK ---- */
.gb-entry {
  background: rgba(20,20,60,0.5);
  border: 1px solid #223366;
  border-left: 3px solid #4466dd;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.gb-name { font-weight: bold; color: #88aaff; font-size: 12px; }
.gb-date { font-size: 10px; color: #556688; float: right; }
.gb-text { font-size: 12px; color: #aabbcc; margin-top: 4px; clear: both; }

/* ---- CHAT ---- */
.chat-window {
  background: #050510;
  border: 2px inset #334488;
  height: 380px;
  overflow-y: auto;
  padding: 10px 12px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}
.chat-msg { margin-bottom: 5px; line-height: 1.6; }
.chat-msg .chat-time { color: #334466; }
.chat-msg .chat-user { font-weight: bold; }
.chat-msg .chat-user.blue { color: #4488ff; }
.chat-msg .chat-user.green { color: #44cc55; }
.chat-msg .chat-user.orange { color: #ff8800; }
.chat-msg .chat-user.pink { color: #ff66aa; }
.chat-msg .chat-user.yellow { color: #ffcc00; }
.chat-text { color: #aabbcc; }

/* ---- GAMES ---- */
.game-card {
  background: linear-gradient(180deg, #1a1a40, #0d0d28);
  border: 1px solid #334488;
  border-top: 2px solid #5566cc;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  border-color: #6677ee;
  box-shadow: 2px 2px 10px rgba(80,100,255,0.3);
}
.game-icon { font-size: 40px; margin-bottom: 6px; display: block; }
.game-title { font-weight: bold; color: #aabbff; font-size: 12px; margin-bottom: 3px; }
.game-desc { font-size: 10px; color: #667799; margin-bottom: 8px; line-height: 1.4; }
.clearfix::after { content:''; display:table; clear:both; }

/* ---- RADIO PAGE ---- */
.radio-player {
  background: linear-gradient(180deg, #0d1a0d, #050f05);
  border: 2px solid #226622;
  border-radius: 6px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,180,0,0.15), inset 0 0 20px rgba(0,0,0,0.5);
}
.radio-display {
  background: #000;
  border: 2px inset #113311;
  padding: 12px;
  margin: 10px 0;
  font-family: 'Courier New', monospace;
}
.radio-track { color: #00ff44; font-size: 13px; font-weight: bold; text-shadow: 0 0 8px #00ff44; }
.radio-artist { color: #00aa22; font-size: 11px; margin-top: 3px; }
.radio-progress-bg {
  background: #001100;
  border: 1px solid #113311;
  height: 12px;
  margin: 8px 0;
  position: relative;
  overflow: hidden;
}
.radio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007700, #00ff44);
  width: 42%;
  box-shadow: 0 0 5px rgba(0,255,68,0.5);
  animation: progress-pulse 3s ease-in-out infinite;
}
@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.radio-controls { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.radio-btn {
  background: linear-gradient(180deg, #224422, #112211);
  border: 1px solid #336633;
  color: #44ff55;
  width: 34px;
  height: 28px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio-btn:hover { background: linear-gradient(180deg, #336633, #224422); border-color: #44aa44; }

.tracklist { font-size: 11px; }
.tracklist-item {
  display: flex;
  padding: 5px 8px;
  border-bottom: 1px solid #1a1a3a;
  gap: 8px;
  align-items: center;
}
.tracklist-item:hover { background: rgba(40,60,120,0.3); cursor: pointer; }
.tracklist-item.playing { background: rgba(30,50,110,0.5); color: #aabbff; }
.track-num { color: #445577; width: 18px; text-align: right; flex-shrink: 0; }
.track-name { flex: 1; color: #8899bb; }
.track-name.playing-name { color: #aabbff; font-weight: bold; }
.track-dur { color: #445577; flex-shrink: 0; }

/* ---- BLINKING ---- */
.blink {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---- MARQUEE ---- */
marquee { font-size: 11px; color: #ff8800; }

/* scroll */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0a1e; border: 1px solid #223366; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3355aa, #2244880); border: 1px solid #334488; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #4466cc, #3355aa); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

  100% { transform: translate(-50%, 30px) scale(0) rotate(180deg); opacity: 0; }
}

/* ── Custom cursor ── */
* {
  cursor: url('https://cdn.cursors-4u.net/css-previews/electric-effect-80672283-css.webp') 0 0, auto !important;
}
