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

/* Cursor trail effect */
body {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="%23FF00FF" opacity="0.6"/></svg>') 10 10, auto;
  font-family: Arial, Verdana, sans-serif;
  font-size: 16px;
  background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><defs><pattern id="stars" x="0" y="0" width="400" height="400" patternUnits="userSpaceOnUse"><rect fill="%23000" width="400" height="400"/><polygon points="25,15 27,21 33,21 28,25 30,31 25,27 20,31 22,25 17,21 23,21" fill="%23FF00FF" opacity="0.6"/><polygon points="80,45 82,51 88,51 83,55 85,61 80,57 75,61 77,55 72,51 78,51" fill="%23CC00FF" opacity="0.5"/><polygon points="150,25 152,31 158,31 153,35 155,41 150,37 145,41 147,35 142,31 148,31" fill="%23FF00FF" opacity="0.7"/><polygon points="220,70 222,76 228,76 223,80 225,86 220,82 215,86 217,80 212,76 218,76" fill="%23FFFF00" opacity="0.4"/><polygon points="300,40 302,46 308,46 303,50 305,56 300,52 295,56 297,50 292,46 298,46" fill="%23FF00FF" opacity="0.6"/><polygon points="360,80 362,86 368,86 363,90 365,96 360,92 355,96 357,90 352,86 358,86" fill="%23CC00FF" opacity="0.5"/><polygon points="50,120 52,126 58,126 53,130 55,136 50,132 45,136 47,130 42,126 48,126" fill="%23FFFF00" opacity="0.3"/><polygon points="130,140 132,146 138,146 133,150 135,156 130,152 125,156 127,150 122,146 128,146" fill="%23FF00FF" opacity="0.6"/><polygon points="200,100 202,106 208,106 203,110 205,116 200,112 195,116 197,110 192,106 198,106" fill="%23CC00FF" opacity="0.5"/><polygon points="270,150 272,156 278,156 273,160 275,166 270,162 265,166 267,160 262,156 268,156" fill="%23FF00FF" opacity="0.7"/><polygon points="340,130 342,136 348,136 343,140 345,146 340,142 335,146 337,140 332,136 338,136" fill="%23FFFF00" opacity="0.4"/><polygon points="90,200 92,206 98,206 93,210 95,216 90,212 85,216 87,210 82,206 88,206" fill="%23FF00FF" opacity="0.6"/><polygon points="180,230 182,236 188,236 183,240 185,246 180,242 175,246 177,240 172,236 178,236" fill="%23CC00FF" opacity="0.5"/><polygon points="250,190 252,196 258,196 253,200 255,206 250,202 245,206 247,200 242,196 248,196" fill="%23FF00FF" opacity="0.7"/><polygon points="320,220 322,226 328,226 323,230 325,236 320,232 315,236 317,230 312,226 318,226" fill="%23FFFF00" opacity="0.3"/><polygon points="40,280 42,286 48,286 43,290 45,296 40,292 35,296 37,290 32,286 38,286" fill="%23FF00FF" opacity="0.6"/><polygon points="110,310 112,316 118,316 113,320 115,326 110,322 105,326 107,320 102,316 108,316" fill="%23CC00FF" opacity="0.5"/><polygon points="190,270 192,276 198,276 193,280 195,286 190,282 185,286 187,280 182,276 188,276" fill="%23FFFF00" opacity="0.4"/><polygon points="280,300 282,306 288,306 283,310 285,316 280,312 275,316 277,310 272,306 278,306" fill="%23FF00FF" opacity="0.7"/><polygon points="350,280 352,286 358,286 353,290 355,296 350,292 345,296 347,290 342,286 348,286" fill="%23CC00FF" opacity="0.5"/><polygon points="60,360 62,366 68,366 63,370 65,376 60,372 55,376 57,370 52,366 58,366" fill="%23FF00FF" opacity="0.6"/><polygon points="160,380 162,386 168,386 163,390 165,396 160,392 155,396 157,390 152,386 158,386" fill="%23FFFF00" opacity="0.3"/><polygon points="240,350 242,356 248,356 243,360 245,366 240,362 235,366 237,360 232,356 238,356" fill="%23FF00FF" opacity="0.7"/><polygon points="310,370 312,376 318,376 313,380 315,386 310,382 305,386 307,380 302,376 308,376" fill="%23CC00FF" opacity="0.5"/></pattern></defs><rect fill="url(%23stars)" width="400" height="400"/></svg>') fixed;
  color: #FFF;
  animation: twinkleStars 3s infinite;
}

/* Twinkling stars animation */
@keyframes twinkleStars {

  0%,
  100% {
    background-position: 0 0;
  }

  50% {
    background-position: 10px 10px;
  }
}

/* Top Header Bar */
.header-bar {
  background: rgba(0, 0, 0, 0.95);
  padding: 70px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border: 3px solid #FF00FF;
  border-top: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 960px;
  margin: 0 auto 15px auto;
}

.header-logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 0, 255, 1), 0 0 30px rgba(255, 0, 255, 0.8), 3px 3px 5px rgba(0, 0, 0, 0.9);
}

.header-logo span {
  color: #FFFF00;
  text-shadow: 0 0 20px rgba(255, 255, 0, 1), 0 0 30px rgba(255, 255, 0, 0.8), 3px 3px 5px rgba(0, 0, 0, 0.9);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.header-nav {
  display: flex;
  gap: 15px;
}

.header-nav a {
  color: #FF00FF;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.header-nav a:hover {
  color: #FFFF00;
  text-decoration: underline;
}

/* Main Container */
.container {
  max-width: 960px;
  margin: 15px auto;
  padding: 15px;
}

/* Profile Header */
.profile-header {
  background: rgba(0, 0, 0, 0.8);
  color: #FFF;
  padding: 15px;
  border: 2px solid #FF00FF;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  margin-bottom: 15px;
}

.profile-header h2 {
  font-size: 20px;
  color: #FFFF00;
  margin-bottom: 5px;
  font-family: 'Comic Sans MS', cursive;
}

.profile-header p {
  font-size: 14px;
  color: #CCC;
}

/* Content Layout */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

/* Module Box - Dark transparent */
.module {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #FF00FF;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.4), 0 0 25px rgba(255, 0, 255, 0.2);
  margin-bottom: 15px;
  transition: box-shadow 0.3s ease;
}

.module:hover {
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.4);
}

.module-header {
  background: linear-gradient(to bottom, #FF00FF, #CC00CC);
  color: white;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 15px;
  border-bottom: 2px solid #000;
  font-family: 'Comic Sans MS', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 0, 255, 0.6);
}

.module-content {
  padding: 12px;
  color: #FFF;
}

/* Profile Images - Side by side */
.profile-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.profile-image {
  width: 100%;
  height: 500px;
  background-image: url('../img/Assets/headshot.jpg');
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 16px;
  text-align: center;
  border: 3px solid #FF00FF;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
  text-shadow: 0 0 10px rgba(255, 0, 255, 1);
}

.profile-info-box {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #1a1a1a 0%, #660099 30%, #FF00FF 50%, #660099 70%, #1a1a1a 100%);
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 16px;
  text-align: center;
  border: 3px solid #FF00FF;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
  text-shadow: 0 0 10px rgba(255, 0, 255, 1);
}

/* Details Table */
.details-table {
  width: 100%;
  font-size: 14px;
}

.details-table td {
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.details-table .label {
  font-weight: bold;
  color: #FF00FF;
  width: 40%;
}

.details-table td:not(.label) {
  color: #FFF;
}

/* Contact Box */
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-btn {
  background: linear-gradient(to bottom, #FF00FF, #CC00CC);
  color: white;
  border: 2px solid #000;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.contact-btn:hover {
  background: linear-gradient(to bottom, #FF33FF, #DD00DD);
  transform: scale(1.05);
}

/* URL Box */
.url-box {
  background: rgba(255, 255, 0, 0.2);
  border: 2px solid #FFFF00;
  padding: 8px;
  font-size: 14px;
  color: #FFFF00;
  font-family: 'Courier New', monospace;
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

/* Blurbs */
.blurbs-content {
  font-size: 15px;
  line-height: 1.8;
  color: #FFF;
}

.blurbs-content h3 {
  color: #FFFF00;
  font-size: 17px;
  margin: 12px 0 6px 0;
  font-family: 'Comic Sans MS', cursive;
  text-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
}

/* Glitter text */
.glitter {
  background: linear-gradient(45deg, #FF00FF, #FFFF00, #00FFFF, #FF00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 20px;
  animation: glitterShift 3s infinite;
}

@keyframes glitterShift {

  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(360deg);
  }
}

/* Top 8 Friends */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.friend-box {
  text-align: center;
  font-size: 13px;
  color: #FFF;
}

.friend-image {
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, #330033, #660066);
  border: 2px solid #FF00FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 20px;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Comments */
.comment {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 0, 255, 0.5);
  padding: 10px;
  margin-bottom: 10px;
}

.comment-header {
  font-weight: bold;
  color: #FF00FF;
  margin-bottom: 6px;
  font-size: 14px;
}

.comment-date {
  color: #AAA;
  font-size: 13px;
  font-style: italic;
  margin-left: 8px;
}

.comment-body {
  margin-top: 6px;
  font-size: 14px;
  color: #FFF;
}

/* Music Player */
.music-player {
  background: linear-gradient(to bottom, #1a1a1a, #000);
  border: 2px solid #FF00FF;
  padding: 10px;
  color: #0FF;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.blink {
  animation: blink 1s infinite;
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .blink {
    animation: none;
    opacity: 1;
  }

  body {
    animation: none;
  }

  .header-logo span,
  .glitter {
    animation: none;
  }

  .marquee-content {
    animation: none;
  }
}

/* Blood red accent class */
.blood-red {
  color: #8B0000;
  text-shadow: 0 0 10px rgba(139, 0, 0, 0.8), 0 0 20px rgba(139, 0, 0, 0.6);
}

/* Sparkle effect */
.sparkle {
  position: relative;
  display: inline-block;
}

.sparkle::before,
.sparkle::after {
  content: '✨';
  position: absolute;
  animation: sparkleMove 2s infinite;
}

.sparkle::before {
  left: -25px;
  animation-delay: 0s;
}

.sparkle::after {
  right: -25px;
  animation-delay: 1s;
}

@keyframes sparkleMove {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Marquee scrolling text */
.marquee {
  background: rgba(139, 0, 0, 0.3);
  border: 2px solid #8B0000;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  font-family: 'Comic Sans MS', cursive;
  font-size: 16px;
  color: #FF00FF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* Visitor counter */
.visitor-counter {
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #FFFF00;
  padding: 8px 15px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #FFFF00;
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
}

/* Full Width Module */
.module-full {
  grid-column: 1 / -1;
}

/* Home button */
.home-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(to bottom, #FF00FF, #CC00CC);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  border: 3px solid #000;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
  font-size: 13px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.home-btn:hover {
  background: linear-gradient(to bottom, #FF33FF, #DD00DD);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 0, 255, 1);
}

/* Responsive */
@media (max-width: 768px) {

  .content-wrapper,
  .profile-images {
    grid-template-columns: 1fr;
  }

  .friends-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-bar {
    flex-direction: column;
    gap: 10px;
  }
}