/* ============================================
   TI-99/4A Adventure Games - Custom Styles
   Retro Gaming Aesthetic
   ============================================ */

:root {
  /* Retro Color Palette (inspired by TI-99/4A) */
  --retro-cyan: #00d4ff;
  --retro-magenta: #ff00ff;
  --retro-yellow: #ffff00;
  --retro-green: #00ff00;
  --retro-blue: #4361ee;
  --retro-dark: #1a1a2e;
  --retro-darker: #0f0f1e;
  --retro-light: #f8f9fa;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
}

/* ============================================
   Global Styles
   ============================================ */

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--retro-light);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ============================================
   Hero Sections
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, var(--retro-blue) 0%, var(--retro-dark) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,212,255,0.1) 2px, rgba(0,212,255,0.1) 4px);
  opacity: 0.3;
}

.hero-section.hero-christmas {
  background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-family: var(--font-mono);
  letter-spacing: 2px;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ============================================
   Game Cards
   ============================================ */

.game-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid var(--retro-cyan);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,212,255,0.3);
  border-color: var(--retro-magenta);
}

.game-card h3 {
  color: var(--retro-blue);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.game-card .text-muted {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.game-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.game-card .feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.game-card .feature-list li {
  padding: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.game-card .feature-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--retro-cyan);
}

/* ============================================
   Other Games Card
   ============================================ */

.other-games-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid var(--retro-yellow);
}

.other-games-card h3 {
  color: var(--retro-dark);
  margin-bottom: 1rem;
}

.game-list {
  list-style: none;
  padding-left: 0;
}

.game-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

/* ============================================
   Game Info Sidebar Card
   ============================================ */

.game-info-card {
  background: var(--retro-darker);
  color: var(--retro-cyan);
  border-radius: 8px;
  padding: 2rem;
  border: 2px solid var(--retro-cyan);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
  position: sticky;
  top: 20px;
}

.game-info-card h4 {
  color: var(--retro-yellow);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

.game-info-card dl {
  margin-bottom: 2rem;
}

.game-info-card dt {
  color: var(--retro-magenta);
  font-weight: 600;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
}

.game-info-card dd {
  color: white;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid var(--retro-cyan);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  padding: 0.75rem;
  border-radius: 6px;
  border: 2px solid #e0e0e0;
  transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--retro-cyan);
  box-shadow: 0 0 0 0.2rem rgba(0,212,255,0.25);
}

/* ============================================
   Buttons
   ============================================ */

.btn-lg {
  padding: 12px 32px;
  font-size: 1.1rem;
  border-radius: 6px;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--retro-blue);
  border-color: var(--retro-blue);
}

.btn-primary:hover {
  background-color: var(--retro-dark);
  border-color: var(--retro-cyan);
}

.btn-success {
  background-color: var(--retro-green);
  border-color: var(--retro-green);
  color: var(--retro-dark);
}

/* ============================================
   Sections
   ============================================ */

section {
  padding: 60px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

/* ============================================
   Mobile Responsive
   ============================================ */

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .game-card, .contact-form {
    padding: 1.5rem;
  }
  
  .game-info-card {
    position: static;
    margin-top: 2rem;
  }
}

