/* Jet Escape - Aviation Themed CSS Variables */
:root {
  /* Sky and Atmosphere Colors */
  --sky-thrust: #1a3a2f; /* Глубокий зелено-синий (джунгли) */
  --turbo-flame: #2c5545; /* Тропическая зелень */
  --mission-mood: #4a7863; /* Цвет листвы */
  --cloud-cover: #7d9d8e; /* Светлый мох */
  --jet-stream: #a8c4b8; /* Свежая мята */
  --altitude-light: #d1e7dd; /* Морозный эвкалипт */
  --sky-glow: #e8f3ec; /* Легкая зелень */
  --pure-sky: #ffffff;

  /* Combat and Energy Colors */
  --afterburner-orange: #ff6b35; /* Оранжевый (сохранен для контраста) */
  --afterburner-orange-light: #ff8c42; /* Светлый оранжевый */
  --thrust-blue: #27ae60; /* Зеленый вместо синего (рост) */
  --radar-green: #2ecc71; /* Яркий зеленый (энергия) */
  --warning-red: #e74c3c; /* Тревожный красный */
  --stealth-gray: #34495e; /* Серо-синий (камень) */
  --golden-wing: #f1c40f; /* Золотой (солнечный свет) */

  /* RGBA Colors and Shadows */
  --shadow-black-light: rgba(0, 0, 0, 0.1);
  --shadow-black-medium: rgba(0, 0, 0, 0.15);
  --shadow-black-dark: rgba(0, 0, 0, 0.2);
  --shadow-black-heavy: rgba(0, 0, 0, 0.3);
  --shadow-black-very-heavy: rgba(0, 0, 0, 0.4);
  --shadow-black-extreme: rgba(0, 0, 0, 0.5);
  --shadow-black-max: rgba(0, 0, 0, 0.6);
  --shadow-black-ultra: rgba(0, 0, 0, 0.7);
  --shadow-black-supreme: rgba(0, 0, 0, 0.8);

  --white-transparent-light: rgba(255, 255, 255, 0.1);
  --white-transparent-medium: rgba(255, 255, 255, 0.2);
  --white-transparent-heavy: rgba(255, 255, 255, 0.3);
  --white-transparent-very-heavy: rgba(255, 255, 255, 0.4);
  --white-transparent-extreme: rgba(255, 255, 255, 0.5);

  --sky-thrust-transparent-light: rgba(10, 14, 26, 0.7);
  --sky-thrust-transparent-medium: rgba(10, 14, 26, 0.8);
  --sky-thrust-transparent-heavy: rgba(10, 14, 26, 0.85);
  --sky-thrust-transparent-very-heavy: rgba(10, 14, 26, 0.95);
  --sky-thrust-transparent-extreme: rgba(10, 14, 26, 0.98);

  --afterburner-orange-transparent: rgba(255, 107, 53, 0.2);
  --afterburner-orange-shadow: rgba(255, 107, 53, 0.3);
  --thrust-blue-transparent: rgba(49, 130, 206, 0.1);

  /* Typography */
  --font-family-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-family-mono: "Courier New", "Lucida Console", Monaco, monospace;

  /* Spacing and Layout */
  --mission-padding: 1rem;
  --flight-margin: 2rem;
  --hangar-gap: 1.5rem;
  --cockpit-radius: 8px;
  --thrust-shadow: 0 4px 6px var(--shadow-black-light);
  --afterburner-shadow: 0 10px 25px var(--shadow-black-medium);

  /* Transitions */
  --thrust-transition: all 0.3s ease;
  --escape-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Breakpoints */
  --mobile-threshold: 360px;
  --tablet-threshold: 768px;
  --desktop-threshold: 1280px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  background: linear-gradient(
    135deg,
    var(--sky-thrust) 0%,
    var(--turbo-flame) 100%
  );
  color: var(--sky-glow);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Mission Container */
.mission-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--mission-padding);
}

/* Typography */
.mission-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--afterburner-orange),
    var(--thrust-blue)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px var(--afterburner-orange-shadow);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--pure-sky);
  text-align: center;
  margin-bottom: 0.5rem;
}

.escape-slogan {
  font-size: 1.25rem;
  color: var(--altitude-light);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 300;
}

.briefing-subtitle {
  font-size: 1.1rem;
  color: var(--jet-stream);
  text-align: center;
  margin-bottom: 2rem;
}

/* Buttons */
.ignite-button {
  background: linear-gradient(
    45deg,
    var(--afterburner-orange),
    var(--thrust-blue)
  );
  color: var(--pure-sky);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--cockpit-radius);
  cursor: pointer;
  transition: var(--thrust-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--thrust-shadow);
  position: relative;
  overflow: hidden;
}

.ignite-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--white-transparent-medium),
    transparent
  );
  transition: var(--escape-transition);
}

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

.ignite-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--afterburner-shadow);
}

.transmit-button {
  background: linear-gradient(45deg, var(--radar-green), var(--thrust-blue));
  color: var(--pure-sky);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--cockpit-radius);
  cursor: pointer;
  transition: var(--thrust-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.transmit-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--thrust-shadow);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--sky-glow);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--cloud-cover);
  border-radius: var(--cockpit-radius);
  background: var(--mission-mood);
  color: var(--sky-glow);
  font-family: var(--font-family-primary);
  transition: var(--thrust-transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--thrust-blue);
  box-shadow: 0 0 0 3px var(--thrust-blue-transparent);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

/* Links */
a {
  color: var(--thrust-blue);
  text-decoration: none;
  transition: var(--thrust-transition);
}

a:hover {
  color: var(--afterburner-orange);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-title {
    font-size: 2.5rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .escape-slogan {
    font-size: 1.1rem;
  }

  .mission-container {
    padding: 0 1rem;
  }
}

@media (max-width: 360px) {
  .mission-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 1.75rem;
  }
}
