/* ============================================
   AWS JSConf MX 2025 - Code of the Dead Challenge
   Pixel-Art Design System
   ============================================ */

/* ============================================
   CSS Custom Properties - Color Palette
   ============================================ */
:root {
  /* Primary Colors */
  --primary: #a91a8a;
  /* Magenta/Pink - primary actions, headlines */
  --secondary: #e1611a;
  /* Orange - secondary elements, accents */
  --background: #f6e8f3;
  /* Light pink - page background */
  --accent: #fcefe8;
  /* Peach - section backgrounds */
  --aws-orange: #FF9900;
  /* AWS brand - official session highlights */

  /* Text Colors */
  --text-dark: #333333;
  /* Primary text */
  --text-medium: #666666;
  /* Secondary text */
  --white: #ffffff;
  /* Cards, buttons */

  /* Typography Scale */
  --h1-desktop: 48px;
  --h1-mobile: 32px;
  --h2-desktop: 36px;
  --h2-mobile: 24px;
  --h3-desktop: 24px;
  --h3-mobile: 20px;
  --h4-desktop: 20px;
  --h4-mobile: 18px;

  --body-large-desktop: 18px;
  --body-large-mobile: 16px;
  --body-desktop: 16px;
  --body-mobile: 14px;
  --body-small-desktop: 14px;
  --body-small-mobile: 12px;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.8;

  /* Spacing System */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;

  /* Border Styles (Pixel-Art) */
  --border-thin: 2px;
  --border-medium: 3px;
  --border-thick: 4px;
  --border-radius: 0;
  /* No rounded corners for pixel-art aesthetic */

  /* Shadows (Pixel-Art Style) */
  --shadow-sm: 4px 4px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 6px 6px 0 rgba(0, 0, 0, 0.15);
  --shadow-lg: 8px 8px 0 rgba(0, 0, 0, 0.2);

  /* Container Max Width */
  --container-max-width: 1200px;
  --container-padding: 20px;
}

/* ============================================
   CSS Reset and Base Styles (Mobile-First)
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "Silkscreen", "Courier New", monospace, sans-serif;
  font-weight: 400;
  font-size: var(--body-mobile);
  line-height: var(--line-height-normal);
  color: var(--text-dark);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ============================================
   Typography Classes
   ============================================ */

/* Silkscreen Font Classes */
.font-regular {
  font-weight: 400;
}

.font-bold {
  font-weight: 700;
}

/* Heading Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--h1-mobile);
  color: var(--primary);
}

h2 {
  font-size: var(--h2-mobile);
  color: var(--primary);
}

h3 {
  font-size: var(--h3-mobile);
  color: var(--text-dark);
}

h4 {
  font-size: var(--h4-mobile);
  color: var(--text-dark);
}

/* Paragraph Styles */
p {
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-relaxed);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Link Styles */
a {
  color: var(--secondary);
  text-decoration: none;
  position: relative;
  transition: color 200ms ease;
}

a:hover {
  color: var(--primary);
}

/* Pixel-art underline animation for links */
a:not(.btn):not(.resource-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 200ms ease;
}

a:not(.btn):not(.resource-link):hover::after {
  width: 100%;
}

a:focus {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
  border-radius: 0;
}

a:focus-visible {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
  border-radius: 0;
}

/* List Styles */
ul,
ol {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-xs);
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Utility Classes - Pixel-Art Borders
   ============================================ */
.border-thin {
  border: var(--border-thin) solid;
}

.border-medium {
  border: var(--border-medium) solid;
}

.border-thick {
  border: var(--border-thick) solid;
}

.border-primary {
  border-color: var(--primary);
}

.border-secondary {
  border-color: var(--secondary);
}

.border-aws {
  border-color: var(--aws-orange);
}

/* ============================================
   Utility Classes - Pixel-Art Shadows
   ============================================ */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  box-sizing: border-box;
}

.section {
  padding: var(--space-xl) 0;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
  width: 100%;
  box-sizing: border-box;
}

/* ============================================
   Accessibility - Skip Link
   ============================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  text-decoration: none;
  z-index: 100;
  font-weight: 700;
  border: var(--border-medium) solid var(--secondary);
}

.skip-link:focus {
  top: 0;
  outline: var(--border-thick) solid var(--text-dark);
  outline-offset: 2px;
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px var(--space-md);
  font-family: "Silkscreen", "Courier New", monospace, sans-serif;
  font-weight: 700;
  font-size: var(--body-mobile);
  text-align: center;
  text-decoration: none;
  border: var(--border-thick) solid;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 200ms ease;
  min-height: 44px;
  /* Minimum touch target size */
  min-width: 44px;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-primary:focus {
  background-color: var(--secondary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--white);
  outline: var(--border-thick) solid var(--text-dark);
  outline-offset: 4px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-secondary:focus {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  outline: var(--border-thick) solid var(--primary);
  outline-offset: 4px;
}

/* ============================================
   Card Styles
   ============================================ */
.card {
  background-color: var(--white);
  border: var(--border-medium) solid var(--primary);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c94aa8;
  /* Brightened primary color fallback */
  border-color: color-mix(in srgb, var(--primary) 80%, white 20%);
}

.card:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--accent) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-xl) var(--container-padding);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-content {
  max-width: var(--container-max-width);
  width: 100%;
  z-index: 2;
  position: relative;
  box-sizing: border-box;
}

/* Logo Styles */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.logo {
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

.logo-aws {
  width: 80px;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.1));
}

.logo-jsconf {
  width: 180px;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.1));
}

/* Hero Typography */
.hero-headline {
  font-size: var(--h1-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.hero-subheadline {
  font-size: var(--h2-mobile);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-tight);
}

/* Event Details */
.event-details {
  margin-bottom: var(--space-xl);
}

.event-date,
.event-location {
  font-size: var(--body-large-mobile);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
  line-height: var(--line-height-normal);
}

.event-date {
  font-weight: 700;
}

/* Decorative Elements Container */
.decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Individual Decoration Positioning */
.decoration {
  position: absolute;
}

/* Sugar Skulls */
.skull-1 {
  top: 15%;
  left: 5%;
  animation: float 3s ease-in-out infinite;
}

.skull-2 {
  top: 20%;
  right: 8%;
  animation: float 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.skull-3 {
  bottom: 15%;
  left: 10%;
  animation: float 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Skull Eye Blinking Animation */
.skull-eye-1,
.skull-eye-2,
.skull-eye-3,
.skull-eye-4,
.skull-eye-5,
.skull-eye-6 {
  animation: blink 5s ease-in-out infinite;
}

.skull-eye-2,
.skull-eye-4,
.skull-eye-6 {
  animation-delay: 0.1s;
}

/* Papel Picado Banner */
.papel-picado {
  top: 0;
  left: 0;
  width: 100%;
  animation: sway 4s ease-in-out infinite;
}

/* Cacti */
.cactus-1 {
  bottom: 10%;
  left: 2%;
}

.cactus-2 {
  bottom: 12%;
  right: 3%;
}

/* Marigolds */
.marigold-1 {
  top: 40%;
  left: 3%;
  animation: float 3.2s ease-in-out infinite;
  animation-delay: 0.8s;
}

.marigold-2 {
  top: 50%;
  right: 5%;
  animation: float 3.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

.marigold-3 {
  bottom: 25%;
  right: 12%;
  animation: float 3.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

/* ============================================
   Animations for Decorative Elements
   ============================================ */

/* Floating Animation for Sugar Skulls and Marigolds */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Sway Animation for Papel Picado Banner */
@keyframes sway {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

/* Blinking Animation for Skull Eyes */
@keyframes blink {

  0%,
  90%,
  100% {
    opacity: 1;
  }

  95% {
    opacity: 0;
  }
}

/* ============================================
   Section Backgrounds
   ============================================ */

.challenge-section {
  background-color: var(--white);
  position: relative;
}

/* Pixel-art pattern overlay */
.challenge-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, var(--primary) 0px, var(--primary) 2px, transparent 2px, transparent 8px),
    repeating-linear-gradient(90deg, var(--primary) 0px, var(--primary) 2px, transparent 2px, transparent 8px);
  pointer-events: none;
  z-index: 0;
}

.challenge-section .container {
  position: relative;
  z-index: 1;
}

.sessions-section {
  background-color: var(--accent);
}

.benefits-section {
  background-color: var(--white);
}

.concepts-section {
  background-color: var(--accent);
}

.resources-section {
  background-color: var(--white);
}

.footer {
  background-color: var(--accent);
  color: var(--text-dark);
  padding: var(--space-xl) 0;
  text-align: center;
}

/* Footer Logos */
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  height: auto;
  object-fit: contain;
}

.footer-logo.logo-aws {
  width: 80px;
}

.footer-logo.logo-jsconf {
  width: 180px;
}

/* Footer Message */
.footer-message {
  font-size: var(--body-desktop);
  font-weight: 700;
  color: var(--text-dark);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-normal);
}

/* ============================================
   Challenge Section Styles
   ============================================ */

/* Section Title and Tagline */
.section-title {
  text-align: center;
  font-size: var(--h2-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.section-tagline {
  text-align: center;
  font-size: var(--body-large-mobile);
  font-weight: 400;
  color: var(--text-medium);
  margin-bottom: var(--space-xl);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Challenge Introduction */
.challenge-intro {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.challenge-description {
  font-size: var(--body-desktop);
  line-height: var(--line-height-relaxed);
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto;
}

/* Challenge Grid Layout - Mobile First (Single Column) */
.challenge-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* Challenge Blocks */
.challenge-block {
  margin-bottom: var(--space-lg);
}

.challenge-subtitle {
  font-size: var(--h3-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* Kiro Features List */
.kiro-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  background-color: var(--accent);
  border: var(--border-thin) solid var(--primary);
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item span {
  font-size: var(--body-mobile);
  line-height: var(--line-height-relaxed);
  color: var(--text-dark);
}

.highlight {
  color: var(--secondary);
  font-weight: 700;
}

/* Spec-Driven Development Section */
.spec-description {
  font-size: var(--body-desktop);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

/* Spec Diagram - Mobile (Vertical Stack) */
.spec-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--accent);
  border: var(--border-medium) solid var(--secondary);
  margin-bottom: var(--space-md);
  overflow-x: auto;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.spec-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 80px;
}

.spec-icon {
  display: block;
  width: 40px;
  height: 40px;
}

.spec-label {
  font-size: var(--body-small-mobile);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  word-break: keep-all;
}

.spec-arrow {
  transform: rotate(90deg);
  margin: var(--space-xs) 0;
  flex-shrink: 0;
}

.spec-benefit {
  padding: var(--space-md);
  background-color: var(--background);
  border: var(--border-thin) solid var(--primary);
}

.spec-benefit p {
  font-size: var(--body-mobile);
  color: var(--text-dark);
  margin: 0;
}

.spec-benefit strong {
  color: var(--primary);
}

/* How to Participate Section */
.participate-block {
  background-color: var(--background);
  padding: var(--space-lg);
  border: var(--border-medium) solid var(--primary);
}

.participate-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.step-card {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--white);
  border: var(--border-thin) solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #e87e4a;
  /* Brightened secondary color fallback */
  border-color: color-mix(in srgb, var(--secondary) 80%, white 20%);
}

.step-card:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: var(--h3-mobile);
  font-weight: 700;
  border: var(--border-thin) solid var(--secondary);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.step-icon {
  display: block;
  margin-bottom: var(--space-xs);
}

.step-text {
  font-size: var(--body-mobile);
  line-height: var(--line-height-normal);
  color: var(--text-dark);
  margin: 0;
}

.step-text strong {
  color: var(--secondary);
}

/* Bonus Benefits Section */
.bonus-block {
  background-color: var(--accent);
  padding: var(--space-lg);
  border: var(--border-medium) solid var(--secondary);
}

.bonus-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bonus-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--white);
  border: var(--border-thin) solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.bonus-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #c94aa8;
  /* Brightened primary color fallback */
  border-color: color-mix(in srgb, var(--primary) 80%, white 20%);
}

.bonus-card:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

.bonus-highlight {
  border-color: var(--secondary);
  border-width: var(--border-medium);
  background-color: var(--background);
}

.bonus-icon {
  flex-shrink: 0;
  font-size: 32px;
  line-height: 1;
}

.bonus-text {
  font-size: var(--body-mobile);
  line-height: var(--line-height-normal);
  color: var(--text-dark);
  margin: 0;
}

.bonus-text strong {
  color: var(--secondary);
}

/* Challenge CTA Buttons */
.challenge-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: stretch;
  justify-content: center;
  margin-top: var(--space-xl);
  width: 100%;
  box-sizing: border-box;
}

.challenge-cta .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ============================================
   Sessions Section Styles
   ============================================ */

.sessions-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* Subsection Titles */
.sessions-subsection-title {
  font-size: var(--h3-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* AWS Sessions Subsection */
.sessions-aws {
  margin-bottom: var(--space-xl);
}

/* Session Card Base Styles */
.session-card {
  background-color: var(--white);
  padding: var(--space-md);
  position: relative;
  transition: all 300ms ease;
  box-sizing: border-box;
}

/* AWS Official Session Card */
.session-aws-official {
  border: var(--border-thick) solid var(--aws-orange);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.1), var(--shadow-md);
}

.session-aws-official:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.2), var(--shadow-lg);
  border-color: #ffad33;
  /* Brightened AWS orange fallback */
  border-color: color-mix(in srgb, var(--aws-orange) 80%, white 20%);
}

.session-aws-official:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* AWS Badge */
.session-badge {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  background-color: var(--aws-orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px var(--space-xs);
  border: var(--border-thin) solid var(--text-dark);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  line-height: 1;
}

/* Session Header */
.session-header {
  margin-bottom: var(--space-md);
}

.session-datetime {
  font-size: var(--body-small-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.session-title {
  font-size: var(--h4-mobile);
  font-weight: 700;
  color: var(--text-dark);
  line-height: var(--line-height-normal);
  margin-bottom: 0;
}

/* Session Speakers */
.session-speakers {
  margin-bottom: var(--space-md);
}

.session-speaker {
  font-size: var(--body-desktop);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.session-speaker-title {
  font-size: var(--body-small-mobile);
  font-weight: 400;
  color: var(--text-medium);
  margin-bottom: var(--space-xs);
}

/* Session Note (for AWS session) */
.session-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background-color: var(--background);
  border: var(--border-thin) solid var(--primary);
  margin-top: var(--space-md);
}

.session-note-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.session-note-text {
  font-size: var(--body-small-mobile);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: var(--line-height-normal);
}

/* Community Sessions */
.sessions-community {
  margin-top: var(--space-xl);
}

.community-sessions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Community Session Card */
.session-community {
  border: var(--border-medium) solid var(--secondary);
  box-shadow: var(--shadow-sm);
}

.session-community:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c94aa8;
  /* Brightened primary color fallback */
  border-color: color-mix(in srgb, var(--primary) 80%, white 20%);
}

.session-community:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* ============================================
   Benefits Section Styles
   ============================================ */

/* Benefits Grid - Mobile First (1 column) */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Benefit Card */
.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--background);
  border: var(--border-medium) solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
  min-height: 180px;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e87e4a;
  /* Brightened secondary color fallback */
  border-color: color-mix(in srgb, var(--secondary) 80%, white 20%);
}

.benefit-card:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* Benefit Icon */
.benefit-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: var(--space-md);
}

/* Benefit Text */
.benefit-text {
  font-size: var(--body-mobile);
  font-weight: 400;
  color: var(--text-dark);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ============================================
   Key Concepts Section Styles
   ============================================ */

/* Concepts Grid - Mobile First (1 column, stack vertically) */
.concepts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Concept Card */
.concept-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--white);
  border: var(--border-medium) solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c94aa8;
  /* Brightened primary color fallback */
  border-color: color-mix(in srgb, var(--primary) 80%, white 20%);
}

.concept-card:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* Concept Icon */
.concept-icon {
  display: block;
  margin-bottom: var(--space-md);
}

/* Concept Name */
.concept-name {
  font-size: var(--h4-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

/* Concept Description */
.concept-description {
  font-size: var(--body-small-mobile);
  font-weight: 400;
  color: var(--text-dark);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ============================================
   Resources and Pricing Section Styles
   ============================================ */

/* Resources Content - Mobile First (Stack Vertically) */
.resources-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* Resources Links Section */
.resources-links {
  flex: 1;
}

.resources-subtitle {
  font-size: var(--h3-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Resource List */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Resource Link Card */
.resource-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--accent);
  border: var(--border-medium) solid var(--primary);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 300ms ease;
  min-height: 80px;
  box-sizing: border-box;
  width: 100%;
}

.resource-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e87e4a;
  /* Brightened secondary color fallback */
  border-color: color-mix(in srgb, var(--secondary) 80%, white 20%);
}

.resource-link:focus {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e87e4a;
  /* Brightened secondary color fallback */
  border-color: color-mix(in srgb, var(--secondary) 80%, white 20%);
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* Resource Icon */
.resource-icon {
  flex-shrink: 0;
}

/* Resource Content */
.resource-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.resource-title {
  font-size: var(--body-desktop);
  font-weight: 700;
  color: var(--text-dark);
  line-height: var(--line-height-tight);
}

.resource-description {
  font-size: var(--body-small-mobile);
  font-weight: 400;
  color: var(--text-medium);
  line-height: var(--line-height-normal);
}

/* Pricing Box Section */
.pricing-box {
  flex: 1;
  background-color: var(--background);
  border: var(--border-thick) solid var(--primary);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.pricing-title {
  font-size: var(--h3-mobile);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Pricing Tiers */
.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Individual Pricing Tier */
.pricing-tier {
  padding: var(--space-md);
  background-color: var(--white);
  border: var(--border-thin) solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}

.pricing-tier:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #c94aa8;
  /* Brightened primary color fallback */
  border-color: color-mix(in srgb, var(--primary) 80%, white 20%);
}

.pricing-tier:focus-within {
  outline: var(--border-medium) solid var(--primary);
  outline-offset: 4px;
}

/* Tier Header */
.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xs);
}

.tier-name {
  font-size: var(--body-large-mobile);
  font-weight: 700;
  color: var(--primary);
}

.tier-price {
  font-size: var(--h4-mobile);
  font-weight: 700;
  color: var(--text-dark);
}

.tier-period {
  font-size: var(--body-small-mobile);
  font-weight: 400;
  color: var(--text-medium);
}

/* Tier Credits */
.tier-credits {
  font-size: var(--body-mobile);
  font-weight: 400;
  color: var(--text-medium);
  margin: 0;
}

/* Pricing Callout (Bonus Credits) */
.pricing-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--secondary);
  border: var(--border-medium) solid var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.callout-star {
  flex-shrink: 0;
  animation: float 2s ease-in-out infinite;
}

.callout-star:last-child {
  animation-delay: 0.5s;
}

.callout-text {
  font-size: var(--body-mobile);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: var(--line-height-normal);
  margin: 0;
}

.callout-text strong {
  display: block;
  font-size: var(--body-large-mobile);
  margin-bottom: var(--space-xs);
}

/* ============================================
   Responsive Optimizations - Extra Small Mobile (320px)
   ============================================ */
@media (max-width: 359px) {
  :root {
    --container-padding: 12px;
  }

  .container {
    padding: 0 12px;
  }

  .hero {
    padding: var(--space-md) 12px;
  }

  .hero-headline {
    font-size: 24px;
  }

  .hero-subheadline {
    font-size: 18px;
  }

  .section-title {
    font-size: 20px;
  }

  .logo-aws {
    width: 50px;
  }

  .logo-jsconf {
    width: 110px;
  }

  .btn {
    font-size: 12px;
    padding: 10px var(--space-xs);
  }

  .feature-item,
  .step-card,
  .bonus-card {
    padding: var(--space-xs);
  }

  .benefit-card {
    padding: var(--space-sm);
    min-height: 140px;
  }

  .benefit-icon {
    font-size: 36px;
  }
}

/* ============================================
   Responsive Optimizations - Small Mobile (320px - 479px)
   ============================================ */
@media (max-width: 479px) {
  :root {
    --container-padding: 16px;
  }

  /* Ensure no horizontal scrolling */
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  /* Hero Section - Small Mobile */
  .hero {
    padding: var(--space-lg) 16px;
  }

  .hero-headline {
    font-size: 28px;
    line-height: 1.1;
    word-wrap: break-word;
  }

  .hero-subheadline {
    font-size: 20px;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .logos {
    gap: var(--space-sm);
  }

  .logo-aws {
    width: 60px;
  }

  .logo-jsconf {
    width: 130px;
  }

  /* Section Titles - Small Mobile */
  .section-title {
    font-size: 22px;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .challenge-subtitle {
    font-size: 18px;
    word-wrap: break-word;
  }

  /* Buttons - Ensure minimum touch target */
  .btn {
    font-size: 13px;
    padding: 12px var(--space-sm);
    min-height: 44px;
    min-width: 44px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Challenge Section - Small Mobile */
  .feature-item {
    padding: var(--space-xs);
    gap: var(--space-xs);
  }

  .feature-icon {
    width: 20px;
    height: 20px;
  }

  .step-card {
    padding: var(--space-sm);
    gap: var(--space-xs);
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .step-icon {
    width: 32px;
    height: 32px;
  }

  .bonus-card {
    padding: var(--space-sm);
  }

  .bonus-icon {
    font-size: 28px;
  }

  /* Benefits Section - Small Mobile */
  .benefit-card {
    padding: var(--space-md);
    min-height: 160px;
  }

  .benefit-icon {
    font-size: 40px;
  }

  /* Sessions Section - Small Mobile */
  .session-card {
    padding: var(--space-sm);
  }

  .session-badge {
    font-size: 10px;
    padding: 4px 6px;
  }

  /* Resources Section - Small Mobile */
  .resource-link {
    padding: var(--space-sm);
    min-height: 70px;
  }

  .resource-icon {
    width: 28px;
    height: 28px;
  }

  .pricing-tier {
    padding: var(--space-sm);
  }

  /* Concepts Section - Small Mobile */
  .concept-card {
    padding: var(--space-md);
  }

  .concept-icon {
    width: 48px;
    height: 48px;
  }

  /* Footer - Small Mobile */

  /* Spec Diagram - Small Mobile */
  .spec-diagram {
    padding: var(--space-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-icon {
    width: 36px;
    height: 36px;
  }

  .spec-arrow {
    width: 24px;
    height: 18px;
  }
}

/* ============================================
   Responsive Optimizations - Medium Mobile (480px - 767px)
   ============================================ */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --container-padding: 20px;
  }

  /* Hero Section - Medium Mobile */
  .hero-headline {
    font-size: 32px;
  }

  .hero-subheadline {
    font-size: 24px;
  }

  .logo-aws {
    width: 75px;
  }

  .logo-jsconf {
    width: 165px;
  }

  /* Section Titles - Medium Mobile */
  .section-title {
    font-size: 28px;
  }

  .challenge-subtitle {
    font-size: 20px;
  }

  /* Buttons - Medium Mobile */
  .btn {
    font-size: 15px;
    padding: 14px var(--space-md);
  }

  /* Challenge Section - Medium Mobile */
  .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .bonus-icon {
    font-size: 32px;
  }

  .benefit-icon {
    font-size: 44px;
  }

  /* Sessions Section - Medium Mobile */
  .session-card {
    padding: var(--space-md);
  }

  /* Resources Section - Medium Mobile */
  .resource-link {
    padding: var(--space-md);
  }

  .resource-icon {
    width: 32px;
    height: 32px;
  }

  /* Concepts Section - Medium Mobile */
  .concept-icon {
    width: 56px;
    height: 56px;
  }
}

/* ============================================
   Responsive Typography - Tablet (768px - 1023px)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --container-padding: 32px;
  }

  /* Ensure no horizontal scrolling */
  body {
    font-size: var(--body-desktop);
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    padding: 0 32px;
  }

  /* Typography Scaling - Tablet */
  h1 {
    font-size: calc(var(--h1-mobile) + (var(--h1-desktop) - var(--h1-mobile)) * 0.5);
  }

  h2 {
    font-size: calc(var(--h2-mobile) + (var(--h2-desktop) - var(--h2-mobile)) * 0.5);
  }

  h3 {
    font-size: calc(var(--h3-mobile) + (var(--h3-desktop) - var(--h3-mobile)) * 0.5);
  }

  h4 {
    font-size: calc(var(--h4-mobile) + (var(--h4-desktop) - var(--h4-mobile)) * 0.5);
  }

  /* Buttons - Tablet */
  .btn {
    font-size: var(--body-desktop);
    padding: var(--space-sm) var(--space-lg);
    min-height: 44px;
    min-width: 44px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  /* Challenge Section - Tablet */
  .section-title {
    font-size: calc(var(--h2-mobile) + (var(--h2-desktop) - var(--h2-mobile)) * 0.5);
  }

  .section-tagline {
    font-size: var(--body-large-desktop);
  }

  .challenge-subtitle {
    font-size: calc(var(--h3-mobile) + (var(--h3-desktop) - var(--h3-mobile)) * 0.5);
  }

  .feature-item span,
  .step-text,
  .bonus-text {
    font-size: var(--body-desktop);
  }

  .spec-label {
    font-size: var(--body-small-desktop);
  }

  /* Spec Diagram - Tablet (Horizontal) */
  .spec-diagram {
    flex-direction: row;
    justify-content: center;
    padding: var(--space-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-icon {
    width: 48px;
    height: 48px;
  }

  .spec-arrow {
    transform: rotate(0deg);
    margin: 0 var(--space-sm);
    flex-shrink: 0;
  }

  .spec-label {
    font-size: var(--body-small-desktop);
    white-space: nowrap;
  }

  .spec-phase {
    flex-shrink: 0;
  }

  /* Challenge CTA - Tablet */
  .challenge-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
  }

  .challenge-cta .btn {
    width: auto;
    flex: 0 1 auto;
    min-width: 200px;
  }

  /* Sessions Section - Tablet */
  .sessions-subsection-title {
    font-size: calc(var(--h3-mobile) + (var(--h3-desktop) - var(--h3-mobile)) * 0.5);
    text-align: left;
  }

  .session-card {
    padding: var(--space-lg);
  }

  .session-badge {
    top: var(--space-sm);
    right: var(--space-sm);
    font-size: var(--body-small-mobile);
    padding: var(--space-xs) var(--space-sm);
  }

  .session-title {
    font-size: calc(var(--h4-mobile) + (var(--h4-desktop) - var(--h4-mobile)) * 0.5);
  }

  .session-datetime {
    font-size: var(--body-small-desktop);
  }

  .session-note-text {
    font-size: var(--body-small-desktop);
  }

  .session-speaker-title {
    font-size: var(--body-small-desktop);
  }

  /* Community Sessions Grid - Tablet (2 columns) */
  .community-sessions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Benefits Section - Tablet (2 columns) */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-text {
    font-size: var(--body-desktop);
  }

  /* Key Concepts Section - Tablet (2x2 grid) */
  .concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .concept-name {
    font-size: calc(var(--h4-mobile) + (var(--h4-desktop) - var(--h4-mobile)) * 0.5);
  }

  .concept-description {
    font-size: var(--body-small-desktop);
  }

  /* Resources Section - Tablet (Side-by-Side Layout) */
  .resources-content {
    flex-direction: row;
    gap: var(--space-xl);
    align-items: flex-start;
  }

  .resources-links {
    flex: 1;
  }

  .pricing-box {
    flex: 1;
    min-width: 300px;
  }

  .resources-subtitle {
    font-size: calc(var(--h3-mobile) + (var(--h3-desktop) - var(--h3-mobile)) * 0.5);
  }

  .pricing-title {
    font-size: calc(var(--h3-mobile) + (var(--h3-desktop) - var(--h3-mobile)) * 0.5);
  }

  .resource-link {
    gap: var(--space-md);
  }

  .resource-description {
    font-size: var(--body-small-desktop);
  }

  .tier-name {
    font-size: var(--body-large-desktop);
  }

  .tier-price {
    font-size: calc(var(--h4-mobile) + (var(--h4-desktop) - var(--h4-mobile)) * 0.5);
  }

  .tier-period {
    font-size: var(--body-small-desktop);
  }

  .tier-credits {
    font-size: var(--body-desktop);
  }

  .callout-text {
    font-size: var(--body-desktop);
  }

  .callout-text strong {
    font-size: var(--body-large-desktop);
  }

  /* Hero Section - Tablet */
  .logos {
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
  }

  .logo-aws {
    width: 90px;
  }

  .logo-jsconf {
    width: 200px;
  }

  .hero-headline {
    font-size: calc(var(--h1-mobile) + (var(--h1-desktop) - var(--h1-mobile)) * 0.5);
  }

  .hero-subheadline {
    font-size: calc(var(--h2-mobile) + (var(--h2-desktop) - var(--h2-mobile)) * 0.5);
  }

  .event-date,
  .event-location {
    font-size: var(--body-large-desktop);
  }

  /* Footer - Tablet */
  .footer-logo.logo-aws {
    width: 90px;
  }

  .footer-logo.logo-jsconf {
    width: 200px;
  }

  .footer-message {
    font-size: var(--body-large-desktop);
  }

  /* Decorative Elements - Tablet */
  .skull-1 {
    top: 12%;
    left: 8%;
  }

  .skull-2 {
    top: 18%;
    right: 10%;
  }

  .skull-3 {
    bottom: 12%;
    left: 12%;
  }

  .cactus-1 {
    bottom: 8%;
    left: 4%;
  }

  .cactus-2 {
    bottom: 10%;
    right: 5%;
  }

  .marigold-1 {
    top: 38%;
    left: 5%;
  }

  .marigold-2 {
    top: 48%;
    right: 7%;
  }

  .marigold-3 {
    bottom: 22%;
    right: 15%;
  }
}

/* ============================================
   Responsive Typography - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  :root {
    --container-padding: 40px;
  }

  /* Ensure no horizontal scrolling */
  body {
    overflow-x: hidden;
  }

  .container {
    max-width: var(--container-max-width);
    padding: 0 40px;
  }

  /* Typography Scaling - Desktop */
  h1 {
    font-size: var(--h1-desktop);
  }

  h2 {
    font-size: var(--h2-desktop);
  }

  h3 {
    font-size: var(--h3-desktop);
  }

  h4 {
    font-size: var(--h4-desktop);
  }

  /* Buttons - Desktop */
  .btn {
    font-size: var(--body-large-desktop);
    min-height: 48px;
    min-width: 48px;
  }

  /* Challenge Section - Desktop (Two-Column Layout) */
  .section-title {
    font-size: var(--h2-desktop);
  }

  .challenge-subtitle {
    font-size: var(--h3-desktop);
  }

  .challenge-grid {
    flex-direction: row;
    gap: var(--space-xl);
  }

  .challenge-main {
    flex: 1.2;
  }

  .challenge-sidebar {
    flex: 0.8;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: var(--h3-desktop);
  }

  /* Sessions Section - Desktop */
  .sessions-subsection-title {
    font-size: var(--h3-desktop);
  }

  .session-title {
    font-size: var(--h4-desktop);
  }

  /* Community Sessions Grid - Desktop (3 columns) */
  .community-sessions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Benefits Section - Desktop (3 columns) */
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Key Concepts Section - Desktop (4 columns in a row) */
  .concepts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .concept-name {
    font-size: var(--h4-desktop);
  }

  /* Resources Section - Desktop (Side-by-Side Layout) */
  .resources-content {
    flex-direction: row;
    gap: var(--space-2xl);
    align-items: flex-start;
  }

  .resources-links {
    flex: 1.2;
  }

  .pricing-box {
    flex: 0.8;
    position: sticky;
    top: var(--space-lg);
  }

  .resources-subtitle {
    font-size: var(--h3-desktop);
    text-align: left;
  }

  .pricing-title {
    font-size: var(--h3-desktop);
  }

  .tier-price {
    font-size: var(--h4-desktop);
  }

  /* Hero Section - Desktop */
  .logo-aws {
    width: 105px;
  }

  .logo-jsconf {
    width: 230px;
  }

  .hero-headline {
    font-size: var(--h1-desktop);
  }

  .hero-subheadline {
    font-size: var(--h2-desktop);
  }

  /* Footer - Desktop */
  .footer-logo.logo-aws {
    width: 105px;
  }

  .footer-logo.logo-jsconf {
    width: 230px;
  }

  /* Decorative Elements - Desktop */
  .skull-1 {
    top: 10%;
    left: 10%;
  }

  .skull-2 {
    top: 15%;
    right: 12%;
  }

  .skull-3 {
    bottom: 10%;
    left: 15%;
  }

  .cactus-1 {
    bottom: 8%;
    left: 5%;
  }

  .cactus-2 {
    bottom: 10%;
    right: 6%;
  }

  .marigold-1 {
    top: 35%;
    left: 6%;
  }

  .marigold-2 {
    top: 45%;
    right: 8%;
  }

  .marigold-3 {
    bottom: 20%;
    right: 18%;
  }
}

/* ============================================
   Responsive Optimizations - Large Desktop (1440px+)
   ============================================ */
@media (min-width: 1440px) {
  :root {
    --container-max-width: 1400px;
  }

  .container {
    max-width: 1400px;
  }

  .hero {
    min-height: 90vh;
  }

  .section {
    padding: 80px 0;
  }

  .spec-diagram {
    padding: var(--space-2xl);
  }

  .spec-icon {
    width: 56px;
    height: 56px;
  }

  /* Larger touch targets for desktop */
  .btn {
    min-height: 52px;
    min-width: 52px;
  }

  /* Better spacing for large screens */
  .challenge-grid {
    gap: var(--space-2xl);
  }

  .benefits-grid,
  .concepts-grid,
  .community-sessions-grid {
    gap: var(--space-xl);
  }
}

/* ============================================
   Responsive Optimizations - Mobile Landscape
   ============================================ */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-lg) var(--container-padding);
  }

  .logos {
    margin-bottom: var(--space-md);
  }

  .hero-headline {
    font-size: 24px;
    margin-bottom: var(--space-xs);
  }

  .hero-subheadline {
    font-size: 20px;
    margin-bottom: var(--space-sm);
  }

  .event-details {
    margin-bottom: var(--space-md);
  }

  .decorative-elements {
    display: none;
    /* Hide decorations in landscape to save space */
  }
}

/* ============================================
   Accessibility - Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Disable decorative animations for accessibility */
  .skull-1,
  .skull-2,
  .skull-3,
  .marigold-1,
  .marigold-2,
  .marigold-3,
  .papel-picado,
  .skull-eye-1,
  .skull-eye-2,
  .skull-eye-3,
  .skull-eye-4,
  .skull-eye-5,
  .skull-eye-6,
  .callout-star {
    animation: none !important;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  body {
    background-color: var(--white);
    color: #000;
  }

  .skip-link,
  .decorative-elements {
    display: none;
  }

  a {
    text-decoration: underline;
  }

  .btn {
    border: 1px solid #000;
  }
}