/* ==========================================================================
   Style 03: Retro-Stil - 90s OS, Y2K & Pixel Nostalgia
   Felix & Felix Webagentur
   ========================================================================== */

.style-retro-section {
  background-color: #008080; /* Windows 95 Teal */
  background-image: 
    radial-gradient(#004d4d 1px, transparent 1px),
    radial-gradient(#004d4d 1px, #008080 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  color: #000000;
  padding: 120px 0 140px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* CRT Scanlines Overlay */
.style-retro-section.crt-scanlines-active::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 99;
  pointer-events: none;
  opacity: 0.8;
}

/* Marquee Ticker */
.retro-marquee-bar {
  background: #ffff00;
  color: #000000;
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
  font-family: var(--font-retro);
  font-size: 1.6rem;
  letter-spacing: 2px;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 48px;
}

.retro-marquee-content {
  display: inline-block;
  animation: marqueeRoll 24s linear infinite;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Retro Section Header */
.retro-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.retro-tag {
  display: inline-block;
  background: #c0c0c0;
  border: 2px outset #ffffff;
  padding: 6px 16px;
  font-family: var(--font-style-retro-ui);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #000080;
  margin-bottom: 16px;
}

.retro-title {
  font-family: var(--font-style-retro-term);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 3px 3px #000000;
  margin-bottom: 16px;
  line-height: 1.05;
}

.retro-lead {
  font-family: var(--font-style-retro-term);
  font-size: 1.6rem;
  color: #ffffcc;
  text-shadow: 1px 1px #000000;
  line-height: 1.3;
}

/* Retro OS Controls Bar */
.retro-os-toolbar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.retro-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c0c0c0;
  color: #000000;
  border: 3px outset #ffffff;
  padding: 8px 16px;
  font-family: var(--font-style-retro-ui);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  box-shadow: 2px 2px 0 #000000;
  cursor: pointer;
  user-select: none;
}

.retro-button:active,
.retro-button.active {
  border: 3px inset #ffffff;
  background: #b0b0b0;
  transform: translate(1px, 1px);
}

/* Windows 95 Style Windows Layout */
.retro-desktop-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  position: relative;
}

.retro-window {
  position: relative;
  background: #c0c0c0;
  border: 3px outset #ffffff;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5);
  border-radius: 0;
  overflow: hidden;
}

.retro-title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #ffffff;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-style-retro-ui);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  user-select: none;
  cursor: grab;
}

.retro-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.retro-title-icon {
  font-size: 1rem;
}

.retro-win-controls {
  display: flex;
  gap: 3px;
}

.retro-win-btn {
  width: 18px;
  height: 16px;
  background: #c0c0c0;
  border: 2px outset #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  line-height: 1;
}

.retro-win-btn:active {
  border: 2px inset #ffffff;
}

.retro-window-body {
  padding: 24px;
  background: #c0c0c0;
  font-size: 0.95rem;
}

.retro-textbox {
  background: #ffffff;
  border: 2px inset #808080;
  padding: 16px;
  margin-bottom: 20px;
  font-family: var(--font-retro);
  font-size: 1.4rem;
  line-height: 1.3;
}

.retro-textbox h4 {
  font-family: var(--font-style-retro-ui);
  color: #000080;
  margin-bottom: 10px;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

/* 90s Badges & Hit Counter */
.retro-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px groove #ffffff;
}

.retro-counter-box {
  background: #000000;
  color: #00ff00;
  font-family: var(--font-style-retro-term);
  font-size: 1.7rem;
  padding: 4px 12px;
  border: 2px inset #808080;
  letter-spacing: 3px;
  display: inline-block;
  user-select: none;
  cursor: default;
  text-shadow: 0 0 6px rgba(0, 255, 0, 0.75);
}

.retro-counter-box.counter-bump {
  animation: retro-counter-glow 0.4s ease-out;
}

@keyframes retro-counter-glow {
  0% { filter: brightness(1.7) drop-shadow(0 0 8px #00ff00); }
  100% { filter: brightness(1) drop-shadow(none); }
}

.retro-gif-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000080;
  color: #ffff00;
  font-family: var(--font-style-retro-ui);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border: 2px outset #ffffff;
}

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

@media (max-width: 600px) {
  .style-retro-section {
    padding: 70px 0 90px;
  }
  .retro-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .retro-lead {
    font-size: 1.25rem;
  }
  .retro-os-toolbar {
    gap: 8px;
    margin-bottom: 24px;
  }
  .retro-button {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  .retro-window-body {
    padding: 14px;
  }
  .retro-textbox {
    padding: 12px;
    font-size: 1.15rem;
    margin-bottom: 14px;
  }
  .retro-badges-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .retro-counter-box {
    font-size: 1.4rem;
  }
}

