/* Tiled background of Kürşat's face for maximum peak humor */
body {
  background-image: url('bg.png');
  background-repeat: repeat;
  background-size: 180px;
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", cursive, sans-serif;
  color: #ffff00; /* Bright yellow */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Container to center and give that amateur personal website look */
.site-wrapper {
  max-width: 900px;
  margin: 20px auto;
  background-color: rgba(0, 0, 0, 0.85); /* Black transparent container to read text */
  border: 10px outset #ff00ff; /* Glowing neon pink outset border */
  padding: 20px;
  box-shadow: 0 0 30px #00ffff; /* Neon cyan glow */
}

/* Marquee style styling */
.marquee-container {
  background-color: #ff0000;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 10px 0;
  border-bottom: 5px ridge #ffff00;
  border-top: 5px ridge #ffff00;
}

marquee {
  font-weight: bold;
}

/* Header */
.retro-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px dashed #00ff00;
  padding-bottom: 20px;
}

.glow-text {
  font-size: 2.5rem;
  color: #00ff00; /* Neon green */
  text-shadow: 3px 3px 0px #ff00ff, 6px 6px 0px #0000ff;
  margin-bottom: 10px;
}

.blink-text {
  font-size: 1.1rem;
  color: #ff00ff;
  animation: blinker 1s linear infinite;
  font-weight: bold;
}

.blink-text-fast {
  font-size: 1.5rem;
  color: #ff0000;
  animation: blinker 0.4s linear infinite;
  font-weight: bold;
}

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

/* Layout */
.main-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    align-items: center;
  }
}

/* Profile Box */
.profile-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000080; /* Navy background */
  border: 5px groove #ff00ff;
  padding: 15px;
}

.spin-image-container {
  margin-bottom: 15px;
  border: 4px solid #ffff00;
  padding: 5px;
  background-color: #fff;
  line-height: 0;
}

.spin-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  animation: spin 5s linear infinite;
}

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

.sound-player {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #00ffff;
  font-weight: bold;
}

.music-btn {
  background-color: #ff00ff;
  color: white;
  border: 2px outset #ffffff;
  padding: 4px 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: bold;
}

.music-btn:active {
  border-style: inset;
}

.info-table {
  width: 100%;
  color: #ffffff;
  border-color: #ff00ff;
  font-size: 0.9rem;
}

.info-table th {
  color: #ffff00;
  font-size: 1.1rem;
}

.gs-text {
  color: #ff0000;
  font-weight: bold;
  text-shadow: 1px 1px #ffff00;
}

/* Q&A Section */
.qa-section {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.retro-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 3px double #00ffff;
  padding: 15px;
}

.retro-card h2 {
  color: #00ffff;
  margin-top: 0;
  font-size: 1.4rem;
  border-bottom: 2px solid #00ffff;
  padding-bottom: 5px;
}

.retro-card p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Decision Box */
.decision-box {
  text-align: center;
  background-color: #333;
  border: 5px dashed #ffff00;
  padding: 20px;
  margin-bottom: 30px;
}

.decision-box p {
  color: #00ff00;
  font-weight: bold;
  margin-bottom: 15px;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  min-height: 70px;
  align-items: center;
  position: relative;
}

.classic-btn {
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 25px;
  cursor: pointer;
  border: 4px outset #ffffff;
}

.classic-btn:active {
  border-style: inset;
}

.btn-green {
  background-color: #00ff00;
  color: #000;
}

.btn-red {
  background-color: #ff0000;
  color: #fff;
}

/* Visitor Counter */
.retro-footer {
  text-align: center;
  border-top: 3px dashed #ff00ff;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #a0a0a0;
}

.visitor-counter {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #ffffff;
}

.counter-digits {
  background-color: #000000;
  color: #00ff00;
  font-family: monospace;
  font-size: 1.3rem;
  padding: 2px 8px;
  border: 2px inset #ffffff;
  letter-spacing: 2px;
}

/* Windows 98 Modal Dialog */
.win98-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 400px;
  background-color: #c0c0c0; /* Classic Win95 gray */
  border: 3px outset #ffffff;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
  z-index: 10000;
  display: none;
  font-family: Arial, sans-serif; /* Windows classic font */
  color: #000000;
  text-align: left;
}

.win98-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.win98-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0); /* Classic blue titlebar */
  color: #ffffff;
  padding: 3px 6px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.win98-close-btn {
  background-color: #c0c0c0;
  border: 2px outset #ffffff;
  color: #000000;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 1px 4px;
  cursor: pointer;
}

.win98-close-btn:active {
  border-style: inset;
}

.win98-body {
  padding: 15px;
}

.win98-info {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.win98-icon {
  font-size: 2rem;
}

.win98-info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #000;
}

.win98-footer {
  display: flex;
  justify-content: center;
}

.win98-btn {
  background-color: #c0c0c0;
  border: 2px outset #ffffff;
  padding: 4px 20px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 80px;
}

.win98-btn:active {
  border-style: inset;
}

/* Emoji rain styling */
#emoji-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

.rain-emoji {
  position: absolute;
  font-size: 2.5rem;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(105vh) rotate(360deg);
  }
}

/* Intro Overlay Screen */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.intro-box {
  background-color: #c0c0c0;
  border: 4px outset #ffffff;
  width: 450px;
  max-width: 90%;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
  font-family: Arial, sans-serif;
  color: #000000;
}

.intro-titlebar {
  background: linear-gradient(90deg, #800080, #ff00ff);
  color: #ffffff;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 0.9rem;
}

.intro-body {
  padding: 20px;
  text-align: center;
}

.alarm-emoji {
  font-size: 3.5rem;
  margin: 15px 0;
  display: inline-block;
  animation: wiggle 0.2s ease infinite alternate;
}

@keyframes wiggle {
  from { transform: rotate(-10deg); }
  to { transform: rotate(10deg); }
}

.intro-body p {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.95rem;
  color: #000;
}

.wake-btn {
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  background-color: #00ff00;
  color: #000000;
  border: 4px outset #ffffff;
  padding: 10px 15px;
  cursor: pointer;
  width: 100%;
}

.wake-btn:active {
  border-style: inset;
}

