/* Unified Design System for Christmas Countdown App */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

/* CSS Variables for Consistent Design */
:root {
  /* Colors - Matching Main App */
  --primary-bg-fallback: linear-gradient(135deg, #1a1f3d 0%, #2d3561 50%, #4a5f94 100%);
  --card-bg: rgba(0, 0, 0, 0.7);
  --card-bg-light: rgba(0, 0, 0, 0.6);
  --accent-color: #ffd700;
  --accent-border: #ff6b6b;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.8);
  
  /* Typography - Matching Main App */
  --font-title: "Fredoka One", cursive;
  --font-body: Arial, sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 15px;
  --spacing-md: 25px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  
  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.3);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  --text-shadow-light: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  background: url('/assets/bg1.png') no-repeat center center fixed, var(--primary-bg-fallback);
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
}


/* Main Container - Matching Main App Style */
.app-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  backdrop-filter: blur(10px);
}

/* Typography - Matching Main App */
.main-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  text-align: center;
  color: var(--text-primary);
  text-shadow: var(--text-shadow);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.section-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: var(--spacing-md);
  text-align: center;
  text-shadow: var(--text-shadow);
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: var(--text-shadow-light);
}

/* Content Cards - Matching Countdown Box Style */
.content-card {
  background: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid var(--accent-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--accent-color);
  text-shadow: var(--text-shadow);
}

.card-content {
  color: var(--text-secondary);
  line-height: 1.8;
  text-shadow: var(--text-shadow-light);
}

/* Special Card Styles for Different Content Types */
.quote-card {
  background: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid var(--accent-border);
  backdrop-filter: blur(10px);
}

.quote-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  color: var(--text-secondary);
  text-shadow: var(--text-shadow-light);
}

.quote-author {
  text-align: right;
  font-weight: bold;
  color: var(--accent-color);
  text-shadow: var(--text-shadow);
}

.fact-card {
  background: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid #4ecdc4;
  backdrop-filter: blur(10px);
}

.fact-title {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--accent-color);
  text-shadow: var(--text-shadow);
}

.fact-content {
  line-height: 1.8;
  color: var(--text-secondary);
  text-shadow: var(--text-shadow-light);
}

.idea-card {
  background: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid #95e1d3;
  backdrop-filter: blur(10px);
}

.idea-title {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--accent-color);
  text-shadow: var(--text-shadow);
}

.idea-content {
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
  text-shadow: var(--text-shadow-light);
}

.faq-item {
  background: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid var(--accent-border);
  backdrop-filter: blur(10px);
}

.question {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--accent-color);
  text-shadow: var(--text-shadow);
}

.answer {
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: var(--text-shadow-light);
}

.step {
  background: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid var(--accent-border);
  backdrop-filter: blur(10px);
}

.step-number {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.2rem;
  color: var(--accent-border);
  margin-bottom: var(--spacing-xs);
  text-shadow: var(--text-shadow);
}

.step-title {
  font-family: var(--font-title);
  font-weight: normal;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  text-shadow: var(--text-shadow);
}

.step-content {
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: var(--text-shadow-light);
}

/* Navigation - Matching Footer Style */
.navigation {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-container {
    margin: var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .navigation {
    gap: var(--spacing-xs);
  }
  
  .nav-link {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .nav-link {
    font-size: 0.7rem;
    padding: 5px 8px;
  }
}
