@font-face {
  font-family: 'jostbold';
  src: url('jost.bold-webfont.woff2') format('woff2'),
       url('jost.bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --deep-purple: #4A148C;
  --soft-purple: #7B1FA2;
  --light-purple: #BA68C8;
  --pale-cyan: #80DEEA;
  --warm-gray: #ECEFF1;
}

body.retro-80s-style {
  font-family: 'jostbold', sans-serif;
  background: 
    linear-gradient(to bottom, #0F0C29 0%, #2A0845 100%);
  color: var(--warm-gray);
  line-height: 1.6;
}

.retro-title {
  font-family: 'jostbold', sans-serif;
  color: var(--warm-gray);
  text-shadow: 
    2px 2px 0 rgba(74, 20, 140, 0.5),
    4px 4px 0 rgba(123, 31, 162, 0.3);
  position: relative;
  letter-spacing: 2px;
}

.retro-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, 
    transparent, 
    var(--pale-cyan), 
    transparent);
}

.retro-subtitle {
  font-family: 'jostbold', sans-serif;
  color: var(--light-purple);
  position: relative;
  display: inline-block;
  padding: 0 15px;
}

.retro-button-80s,
.retro-button-90s,
.retro-button-2000s,
.retro-link {
  font-family: 'jostbold', sans-serif;
  transition: all 0.3s ease;
}

.retro-button-80s {
  border: 2px solid var(--light-purple);
  background: rgba(74, 20, 140, 0.2);
  color: var(--warm-gray);
  padding: 8px 20px;
  position: relative;
}

.retro-button-80s:hover {
  background: rgba(74, 20, 140, 0.4);
  box-shadow: 0 0 10px rgba(186, 104, 200, 0.3);
}

.retro-button-90s {
  background: transparent;
  color: var(--light-purple);
  border-bottom: 2px solid var(--pale-cyan);
  padding: 6px 0;
}

.retro-button-90s:hover {
  letter-spacing: 1px;
  color: var(--pale-cyan);
}

.retro-button-2000s {
  background: rgba(128, 222, 234, 0.1);
  color: var(--pale-cyan);
  border: 1px solid var(--pale-cyan);
  padding: 8px 20px;
}

.retro-button-2000s:hover {
  background: rgba(128, 222, 234, 0.2);
  letter-spacing: 1px;
}

.retro-link {
  color: var(--light-purple) !important;
  text-decoration: none;
  position: relative;
}

.retro-link:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pale-cyan);
  transition: width 0.3s ease;
}

.retro-link:hover:before {
  width: 100%;
}

.retro-footer {
  font-family: 'jostbold', sans-serif;
  border-top: 1px solid rgba(186, 104, 200, 0.3);
  background: rgba(15, 23, 42, 0.3);
  position: relative;
}

.retro-footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--pale-cyan),
    transparent
  );
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}