/* ==================== ROOT VARIABLES ==================== */
:root {
  /* Tetradic Color Scheme */
  --primary-color: #FF6B35;
  --primary-dark: #E55A2B;
  --secondary-color: #35A7FF;
  --secondary-dark: #2B8FE5;
  --tertiary-color: #A735FF;
  --tertiary-dark: #922BE5;
  --quaternary-color: #7AFF35;
  --quaternary-dark: #6BE52B;
  
  /* Supporting Colors */
  --accent-orange: #FF8F35;
  --accent-blue: #35C7FF;
  --accent-purple: #C735FF;
  --accent-green: #9AFF35;
  
  /* Neutrals */
  --dark-bg: #1A1A1A;
  --dark-card: #2D2D2D;
  --light-text: #F5F5F5;
  --medium-text: #CCCCCC;
  --dark-text: #333333;
  --white: #FFFFFF;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--tertiary-color) 0%, var(--quaternary-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  
  /* 3D Shadow Variables */
  --shadow-small: 0 4px 8px rgba(0,0,0,0.1), 0 6px 20px rgba(255,107,53,0.15);
  --shadow-medium: 0 8px 25px rgba(0,0,0,0.15), 0 15px 35px rgba(255,107,53,0.2);
  --shadow-large: 0 20px 40px rgba(0,0,0,0.2), 0 30px 60px rgba(255,107,53,0.25);
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.1);
  
  /* Typography */
  --font-heading: 'Archivo Black', system-ui, -apple-system, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 2rem;
  --button-padding: 0.75rem 2rem;
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
  --radius-xl: 30px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== BASE STYLES ==================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--gradient-dark);
  overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
.retro-title,
.retro-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.title.is-1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}

.title.is-2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.title.is-4,
.title.is-5 {
  color: var(--dark-text);
  font-weight: 700;
}

.subtitle {
  color: var(--medium-text);
  font-weight: 300;
}

/* White text for hero */
.hero .title,
.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  -webkit-text-fill-color: var(--white);
  background: none;
}


/* ==================== GLOBAL BUTTON STYLES ==================== */
.btn,
.button,
input[type='submit'],
button {
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-medium);
  padding: var(--button-padding);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.retro-button {
  box-shadow: var(--shadow-medium);
  transform: translateY(0) rotateX(0);
}

.primary-btn {
  background: var(--gradient-primary);
  color: var(--white);
}

.secondary-btn {
  background: var(--gradient-secondary);
  color: var(--white);
}

.retro-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left var(--transition-slow);
}

.retro-button:hover::before {
  left: 100%;
}

.retro-button:hover,
.animated-hover:hover {
  transform: translateY(-4px) rotateX(5deg);
  box-shadow: var(--shadow-large);
}

.retro-button:active {
  transform: translateY(-2px) rotateX(2deg);
  box-shadow: var(--shadow-small);
}

/* ==================== NAVIGATION ==================== */
.navbar {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: var(--shadow-medium);
  z-index: 1000;
}

.navbar-item {
  color: var(--light-text) !important;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-item:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.navbar-brand .navbar-item {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== HERO SECTION ==================== */
.retro-hero {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.retro-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem;
}

.animated-bounce {
  animation: heroAnimation 2s ease-out;
}

@keyframes heroAnimation {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
  }
  60% {
    transform: translateY(-10px) rotateX(5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* ==================== SECTIONS ==================== */
.retro-section {
  padding: var(--section-padding);
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.retro-section:nth-child(even) {
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
}

/* ==================== CARDS ==================== */
.retro-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.retro-card:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(2deg);
  box-shadow: var(--shadow-large);
}

.retro-card .card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.retro-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.retro-card:hover .card-image img {
  transform: scale(1.1);
}

.retro-card .card-content {
  padding: var(--card-padding);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card .title {
  margin-bottom: 1rem;
}

/* ==================== VOLUMETRIC ELEMENTS ==================== */
.volumetric-shadow {
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.12),
    0 1px 2px rgba(0,0,0,0.24),
    0 4px 8px rgba(255,107,53,0.1),
    0 8px 16px rgba(255,107,53,0.1);
}

.volumetric-element {
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-large);
  position: relative;
  transform-style: preserve-3d;
}

.volumetric-element::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
  filter: blur(4px);
}

/* ==================== TIMELINE ==================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: var(--shadow-small);
}

.retro-timeline {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.retro-timeline:nth-child(even) .timeline-content {
  order: 1;
  text-align: right;
  padding-right: 3rem;
}

.retro-timeline:nth-child(odd) .timeline-content {
  order: 3;
  text-align: left;
  padding-left: 3rem;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.5rem;
  order: 2;
  z-index: 2;
  margin: 0 auto;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

/* ==================== FORMS ==================== */
.adventure-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-large);
  backdrop-filter: blur(10px);
}

.retro-input,
.retro-textarea,
.retro-select select {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  border-radius: var(--radius-medium);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-small);
}

.retro-input:focus,
.retro-textarea:focus,
.retro-select select:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

/* ==================== FOOTER ==================== */
.retro-footer {
  background: var(--gradient-dark);
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.retro-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  transition: all var(--transition-fast);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-medium);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-small);
  transition: all var(--transition-medium);
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  margin: 2rem 0 1rem;
}

/* ==================== MODAL ==================== */
.retro-modal .modal-card {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-large);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

.retro-modal .modal-card-body {
  padding: 3rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-10px) rotateX(5deg); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse3D {
  0% { transform: scale(1) rotateZ(0deg); }
  50% { transform: scale(1.05) rotateZ(2deg); }
  100% { transform: scale(1) rotateZ(0deg); }
}

.pulse-3d {
  animation: pulse3D 2s ease-in-out infinite;
}

/* ==================== UTILITY CLASSES ==================== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: transform var(--transition-medium);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media screen and (max-width: 768px) {
  :root {
    --section-padding: 2rem 0;
    --card-padding: 1.5rem;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .retro-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 70px;
  }
  
  .retro-timeline:nth-child(even) .timeline-content,
  .retro-timeline:nth-child(odd) .timeline-content {
    order: 2;
    text-align: left;
    padding: 1.5rem;
    margin-top: 1rem;
  }
  
  .timeline-marker {
    position: absolute;
    left: -70px;
    top: 0;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .retro-card .card-image {
    height: 200px;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.5rem;
  }
  
  .retro-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }
  
  .adventure-form {
    padding: 1.5rem;
  }
}

/* ==================== SUCCESS PAGE STYLES ==================== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
}

/* ==================== PRIVACY & TERMS PAGE STYLES ==================== */
.legal-page {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.legal-page .container {
  max-width: 800px;
}

.legal-page .content {
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

/* ==================== READ MORE LINKS ==================== */
.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  transition: all var(--transition-medium);
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(5px);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.retro-card,
.retro-button,
.volumetric-element {
  will-change: transform;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
.navbar-item:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .navbar,
  .retro-footer,
  .retro-button {
    display: none !important;
  }
  
  .retro-section {
    break-inside: avoid;
  }
  
  .retro-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
@media(max-width:768px){
.navbar-item {
  color: #000 !important;
}
}
.container {
  padding: 0 24px;
}