* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-container {
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.header-section {
    background: linear-gradient(180deg, #e8f0f8 0%, #f5f7fa 100%);
    padding: 40px 20px 80px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content {
    flex: 1;
    z-index: 2;
}

.main-title {
    color: #6b7280;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.main-subtitle {
    color: #9ca3af;
    font-size: 16px;
    font-weight: 400;
}

.flag-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-left: 20px;
}

.flag-image {
    width: 200px;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #001a4d 0%, #002b75 50%, #003380 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 12px,
        rgba(0, 0, 50, 0.4) 12px,
        rgba(0, 0, 50, 0.4) 24px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    color: white;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-medal {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

/* Description Section */
.description-section {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
    padding: 60px 20px;
}

.description-text {
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}

/* Button Section */
.button-section {
    background: white;
    padding: 60px 20px 100px;
    text-align: center;
}

.submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0039a6 0%, #002b75 100%);
    color: white;
    text-decoration: none;
    padding: 18px 80px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.3);
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #004dc7 0%, #003380 100%);
    box-shadow: 0 6px 16px rgba(0, 57, 166, 0.4);
    transform: translateY(-2px);
}

/* Footer Section */
.footer-section {
    position: relative;
    flex: 1;
    min-height: 300px;
    background: white;
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

.flag-layers {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
}

.flag-stripe {
    flex: 1;
    width: 100%;
}

.flag-stripe--white {
    background: #ffffff;
}

.flag-stripe--blue {
    background: #0039a6;
}

.flag-stripe--red {
    background: #d52b1e;
}

/* Responsive */
@media (max-width: 768px) {
    .header-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px 60px;
    }

    .flag-wrapper {
        margin-left: 0;
        margin-top: 20px;
    }

    .flag-image {
        width: 150px;
    }

    .main-title {
        font-size: 24px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-medal {
        width: 140px;
    }

    .submit-btn {
        padding: 16px 60px;
        font-size: 16px;
    }
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f4ff;
  color: #08274a;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(8, 39, 74, 0.08);
}

.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
}

.topbar__flag {
  width: 28px;
  height: auto;
  border-radius: 2px;
  /*box-shadow: 0 1px 3px rgba(8, 39, 74, 0.2);*/
}

.topbar__brand {
  white-space: normal;
  line-height: 1.3;
}

.topbar__menu {
  display: flex;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}

.topbar__link {
  font-weight: 500;
  color: #0a4cc5;
}

.tricolor-banner {
  height: 8px;
  background: linear-gradient(90deg, #ffffff 0 33%, #0a4cc5 33% 66%, #d91414 66% 100%);
  box-shadow: inset 0 -1px 0 rgba(8, 39, 74, 0.08);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 42px rgba(10, 76, 197, 0.08);
  gap: 24px;
  margin-bottom: 36px;
}

.intro__content {
  min-width: 0;
}

.intro__title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.intro__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #2d4462;
  overflow-wrap: anywhere;
}

.intro__actions {
  display: flex;
}

.intro__emblem img {
  /*max-width: 160px;*/
  width: 100%;
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 48px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button--outline {
  border: 1px solid #0a4cc5;
  color: #0a4cc5;
  background: transparent;
}

.button--outline:hover {
  background: rgba(10, 76, 197, 0.08);
}

.button--primary {
  background: #ffffff;
  border: none;
  color: #0a4cc5;
  min-width: 220px;
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.support-card {
  position: relative;
  background: linear-gradient(120deg, #0a4cc5, #0053a4);
  color: #ffffff;
  border-radius: 32px;
  padding: 48px 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 0.8fr);
  gap: 24px;
}

.support-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(10, 76, 197, 0.22) 45%,
    rgba(218, 20, 20, 0.22) 100%
  );
  opacity: 0.5;
  pointer-events: none;
}

.support-card__text {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}

.support-card__illustration {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.support-card__illustration img {
  width: 180px;
  max-width: 100%;
}

.form-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 16px 42px rgba(10, 76, 197, 0.08);
  padding: 40px 36px;
  display: grid;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(10, 76, 197, 0.12), rgba(218, 20, 20, 0.14));
  pointer-events: none;
}

.form-card__header,
.support-form {
  position: relative;
  z-index: 1;
}

.form-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: #08274a;
}

.form-card__subtitle {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #425d7f;
}

.support-form {
  display: grid;
  gap: 24px;
}

.field {
  display: grid;
  gap: 10px;
}

.field__label {
  font-size: 14px;
  font-weight: 600;
  color: #0a4cc5;
}

.field__control {
  appearance: none;
  font: inherit;
  color: #08274a;
  padding: 14px 16px;
  border: 1px solid rgba(8, 39, 74, 0.18);
  border-radius: 16px;
  background: #f8faff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__control:focus {
  outline: none;
  border-color: #0a4cc5;
  box-shadow: 0 0 0 3px rgba(10, 76, 197, 0.18);
}

.button--block {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 19, 41, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
}

.modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  display: grid;
  gap: 20px;
  box-shadow: 0 24px 64px rgba(8, 39, 74, 0.22);
}

.modal__icon {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ff2d2d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__icon::before {
  content: '';
  display: block;
  width: 54px;
  height: 10px;
  border-radius: 5px;
  background: #ffffff;
}

.modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #08274a;
}

.modal__subtitle {
  margin: 0;
  font-size: 16px;
  color: #2d4462;
}

.footer {
  padding: 32px 24px;
  background: #0a1a33;
  color: rgba(255, 255, 255, 0.82);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .support-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .support-card__illustration {
    justify-content: center;
  }

  .support-card__illustration img {
    width: 140px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 16px 56px;
  }

  .topbar__inner {
    padding: 12px 16px;
    justify-content: center;
    gap: 12px;
  }

  .topbar__menu {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .intro {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .intro__actions {
    justify-content: center;
  }

  .intro__emblem {
    display: flex;
    justify-content: center;
  }

  .support-card {
    padding: 32px 24px;
  }

  .support-card__text {
    font-size: 18px;
    text-align: center;
  }

  .support-card__illustration {
    justify-content: center;
  }

  .button {
    width: 100%;
    max-width: 320px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .modal {
    padding: 16px;
  }

  .modal__content {
    padding: 28px 24px;
  }
}
