/* ============================================
   ~*~ JESSICA'S AWESOME HOMEPAGE CSS ~*~
   made by jessica h. in notepad!!!
   copyright 2004 - DO NOT STEAL
   ============================================ */

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

body {
  background-color: #000000;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(80, 0, 80, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 100, 0.2) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23330033' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover, cover, 60px 60px;
  color: #cccccc;
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  font-size: 12px;
  min-width: 800px;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ctext y='16' font-size='16'%3E✨%3C/text%3E%3C/svg%3E") 8 8, auto;
}

/* ---- TOP BAR ---- */
#top-bar {
  background: linear-gradient(90deg, #1a0033, #000066, #1a0033);
  border-bottom: 2px solid #9900ff;
  text-align: center;
  padding: 4px 10px;
  font-size: 10px;
  color: #ffff00;
  letter-spacing: 1px;
}

.smiley {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: 0 6px;
}

.counter-text {
  color: #ff99ff;
  font-weight: bold;
}

#counter {
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #00ff00;
  font-weight: bold;
  letter-spacing: 3px;
  text-shadow: 0 0 8px #00ff00;
}

/* ---- MARQUEES ---- */
.marquee-top {
  display: block;
  background: linear-gradient(90deg, #330066, #660033, #330066);
  color: #ff99ff;
  font-weight: bold;
  font-size: 11px;
  padding: 5px 0;
  border-top: 1px solid #9900ff;
  border-bottom: 1px solid #9900ff;
  letter-spacing: 0.5px;
}

.marquee-bottom {
  display: block;
  background: linear-gradient(90deg, #000033, #001a1a, #000033);
  color: #00ffff;
  font-size: 11px;
  padding: 5px 0;
  border-top: 2px solid #00cccc;
  border-bottom: 2px solid #00cccc;
  margin-top: 10px;
}

/* ---- HEADER ---- */
#header {
  text-align: center;
  padding: 18px 10px 10px;
  background: linear-gradient(180deg, #0d0022 0%, #000000 100%);
  border-bottom: 3px double #9900ff;
  position: relative;
  overflow: hidden;
}

#header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(153, 0, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

#title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

#flames {
  font-size: 28px;
  animation: flamePulse 1s ease-in-out infinite alternate;
}

@keyframes flamePulse {
  from { transform: scaleY(1);   opacity: 0.9; }
  to   { transform: scaleY(1.15); opacity: 1;  }
}

#main-title {
  font-family: "Comic Sans MS", cursive;
  font-size: 32px;
  font-weight: bold;
  background: linear-gradient(90deg, #ff66ff, #9900ff, #ff00ff, #cc00ff, #ff66ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 3s linear infinite, titleGlow 2s ease-in-out infinite alternate;
  text-shadow: none;
  filter: drop-shadow(0 0 10px #cc00ff);
}

@keyframes titleShimmer {
  0%   { background-position: 0% 50%;   }
  100% { background-position: 300% 50%; }
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 8px #9900ff); }
  to   { filter: drop-shadow(0 0 20px #ff00ff); }
}

#subtitle {
  color: #ff99cc;
  font-size: 13px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.glitter {
  animation: glitterSpin 1.5s linear infinite;
  display: inline-block;
}

@keyframes glitterSpin {
  0%   { transform: rotate(0deg)   scale(1); }
  50%  { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}

.blink {
  color: #ffff00;
  font-size: 11px;
  font-weight: bold;
}

/* ---- LAYOUT TABLE ---- */
#layout-table {
  width: 96%;
  margin: 10px auto;
  border-collapse: separate;
  border-spacing: 6px;
}

#sidebar {
  width: 170px;
  vertical-align: top;
}

#main-content {
  vertical-align: top;
}

#right-sidebar {
  width: 155px;
  vertical-align: top;
}

/* ---- SIDEBAR / CONTENT BOXES ---- */
.sidebar-box,
.content-box {
  margin-bottom: 8px;
  border: 1px solid #660099;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 6px rgba(153, 0, 255, 0.3),
    inset 0 0 20px rgba(0, 0, 20, 0.5);
}

.box-title {
  background: linear-gradient(90deg, #4b0082, #800080, #4b0082);
  color: #ffccff;
  font-weight: bold;
  font-size: 10px;
  padding: 4px 7px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid #9900ff;
  text-align: center;
  text-transform: uppercase;
  font-style: italic;
}

.box-content {
  background: rgba(5, 0, 20, 0.88);
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.7;
  color: #cccccc;
}

.box-content b {
  color: #cc99ff;
}

/* ---- NAVIGATION LINKS ---- */
.nav-links a {
  display: block;
  color: #ff99cc;
  text-decoration: none;
  font-size: 11px;
  padding: 1px 0;
  transition: color 0.1s, padding-left 0.1s;
}

.nav-links a:hover {
  color: #ffffff;
  padding-left: 4px;
  text-decoration: underline;
}

/* ---- GENERAL LINKS ---- */
a {
  color: #cc66ff;
  text-decoration: underline;
}

a:hover {
  color: #ff99ff;
  text-decoration: none;
}

a:visited {
  color: #9933cc;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #660099, #330066);
  color: #ffccff !important;
  font-size: 10px;
  font-family: "Comic Sans MS", cursive;
  padding: 3px 10px;
  border: 1px solid #9900ff;
  border-radius: 3px;
  text-decoration: none !important;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(180deg, #9900cc, #660099);
  box-shadow: 0 0 6px #cc00ff;
}

.btn-small {
  display: inline-block;
  background: linear-gradient(180deg, #003366, #001133);
  color: #99ccff !important;
  font-size: 9px;
  font-family: "Comic Sans MS", cursive;
  padding: 2px 6px;
  border: 1px solid #0066ff;
  border-radius: 2px;
  text-decoration: none !important;
  margin: 2px 1px;
  cursor: pointer;
}

.btn-small:hover {
  background: linear-gradient(180deg, #0044aa, #003388);
  box-shadow: 0 0 4px #0099ff;
}

/* ---- ONLINE DOT ---- */
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 6px #00ff00;
  animation: onlinePulse 1.5s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 3px;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 4px #00ff00; }
  50%       { box-shadow: 0 0 12px #00ff00, 0 0 20px rgba(0,255,0,0.3); }
}

/* ---- CD SPIN ---- */
.cd-spin {
  font-size: 28px;
  display: inline-block;
  transform-origin: center;
}

/* ---- MUSIC BAR ---- */
.music-bar {
  width: 90%;
  height: 6px;
  background: #222222;
  border: 1px solid #555555;
  border-radius: 3px;
  margin: 5px auto;
  overflow: hidden;
}

.music-progress {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #9900ff, #cc66ff);
  border-radius: 3px;
  animation: musicProgress 25s linear infinite;
}

@keyframes musicProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ---- POEM ---- */
.poem-title {
  color: #9966ff;
  font-style: italic;
  font-size: 11px;
  margin-bottom: 8px;
}

.poem {
  color: #ccaaff;
  font-style: italic;
  line-height: 2;
  font-size: 12px;
  padding-left: 12px;
  border-left: 2px solid #660099;
  margin: 6px 0;
}

/* ---- QUIZ TABLE ---- */
.quiz-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.quiz-table td {
  vertical-align: top;
  width: 33%;
}

.quiz-result {
  background: rgba(30, 0, 60, 0.7);
  border: 1px solid #660066;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

.quiz-img {
  font-size: 26px;
  margin-bottom: 4px;
}

.quiz-answer {
  display: block;
  font-size: 10px;
  color: #cccccc;
}

.quiz-note {
  display: block;
  font-size: 9px;
  color: #888888;
  font-style: italic;
  margin-top: 2px;
}

/* ---- FRIENDS LIST ---- */
.friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
}

.friend-img {
  width: 60px;
  height: 60px;
  border: 2px solid #660099;
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}

.friend-img:hover {
  border-color: #ff00ff;
  box-shadow: 0 0 8px #ff00ff;
  transform: scale(1.08);
}

/* ---- AWARD BADGES ---- */
.award-badge {
  display: inline-block;
  margin: 2px 1px;
  border: 1px solid #444444;
  width: 88px;
  height: 31px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.award-badge:hover {
  opacity: 1;
}

/* ---- FOOTER ---- */
#footer {
  text-align: center;
  padding: 10px;
  border-top: 2px solid #330066;
  background: linear-gradient(180deg, #050010, #000000);
  color: #666666;
  font-size: 10px;
  margin-top: 4px;
}

#footer a {
  color: #9966cc;
  font-size: 10px;
}

#footer a:hover {
  color: #cc99ff;
}

/* ---- SCROLLBAR (IE/old webkit) ---- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0010;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #660099, #330066);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9900cc, #660099);
}

/* ---- CURSOR TRAIL ---- */
.cursor-trail {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #ff00ff, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.1s;
}

/* ---- SELECTION ---- */
::selection {
  background: #660099;
  color: #ffccff;
}
