html {
    height: 100%;
}

.free-page {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Montserrat', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.free-page .page-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e3dac9 0%, #c4cfc8 100%);
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.free-page .circle-ring {
    position: absolute;
    border: 1px solid rgba(50, 50, 50, 0.12);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.free-page .ring-1 { width: 90vmin; height: 90vmin; }
.free-page .ring-2 { width: 80vmin; height: 80vmin; }

.free-page .circle-main {
    position: relative;
    width: 65vmin;
    height: 65vmin;
    min-width: 400px;
    min-height: 420px;
    background-color: #7b6255;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    z-index: 2;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.free-page .title {
    font-size: clamp(22px, 3.5vmin, 32px);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 25px;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 90%;
}

.free-page .subtitle {
    font-size: clamp(14px, 2.2vmin, 20px);
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 95%;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.free-page .subtitle span {
    display: block;
}

.free-page .arrow-icon {
    width: clamp(50px, 6vmin, 70px);
    height: clamp(50px, 6vmin, 70px);
    margin-bottom: 25px;
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-10deg);
}

.free-page .btn-telegram {
    background-color: #fcd881;
    color: #222222;
    padding: 20px 45px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    text-transform: uppercase;
    border: none;
    white-space: nowrap;
}

.free-page .btn-telegram:hover {
    transform: translateY(-2px);
    background-color: #ffe090;
}

.free-page .btn-telegram svg {
    width: 24px;
    height: 24px;
    stroke: #222222;
    stroke-width: 2;
    fill: none;
}

.free-page .btn-telegram,
.free-page .btn-telegram:visited,
.free-page .btn-telegram:active { color: #222222; }

.free-page .btn-telegram span { color: #222222; }

.free-page .footer-text {
    margin: 0;
    font-size: clamp(12px, 1.8vmin, 16px);
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    max-width: 90%;
}

@media (max-width: 1200px) and (min-height: 600px) {
    .free-page .circle-main {
        width: 70vmin;
        height: 70vmin;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .free-page .circle-ring { display: none; }

    .free-page .circle-main {
        width: 95vw;
        height: auto;
        aspect-ratio: auto;
        border-radius: 40px;
        padding: 50px 20px;
        min-width: auto;
        max-width: 450px;
    }

    .free-page .title { font-size: 24px; margin-bottom: 20px; }
    .free-page .subtitle { font-size: 15px; margin-bottom: 25px; }
    .free-page .arrow-icon { width: 50px; height: 50px; }

    .free-page .btn-telegram {
        width: auto;
        padding: 18px 40px;
        font-size: 16px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .free-page .footer-text { font-size: 13px; }
}

#quantum-footer-lite {
  display: block;
  width: 100%;
  margin: 0;
  padding: 38px 20px 54px;
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 146, 74, 0.2), transparent 34%),
    #1e1410;
  color: rgba(255, 255, 255, 0.72);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 200px 0 0 #1e1410;
  -webkit-font-smoothing: antialiased;
}

#quantum-footer-lite * {
  box-sizing: border-box;
}

#quantum-footer-lite p {
  margin: 0;
  padding: 0;
  color: inherit;
}

.fl-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
  align-items: stretch;
}

.fl-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fl-brand-link {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.fl-brand-link:hover {
  opacity: 0.85;
}

.fl-logo {
  display: inline-block;
  margin: 0 0 2px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: none;
}

.fl-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

#quantum-footer-lite .fl-legal {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.35;
}

.fl-nowrap {
  white-space: nowrap;
}

.fl-documents,
.fl-actions {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: center;
}

#quantum-footer-lite a {
  color: inherit !important;
  text-decoration: none !important;
  width: fit-content;
  border-bottom: 0;
  font-size: 14px;
  line-height: 1.15;
  background: transparent;
  box-shadow: none;
  transition: color 0.2s ease;
}

#quantum-footer-lite a:hover {
  color: #ffffff !important;
}

.fl-warning {
  margin-top: 14px;
}

@media (max-width: 760px) {
  #quantum-footer-lite {
    text-align: left;
    padding-left: 24px;
    padding-right: 24px;
  }
  #quantum-footer-lite a,
  .fl-subtitle {
    font-size: 15px;
  }
  #quantum-footer-lite .fl-legal {
    font-size: 14px;
  }
  .fl-brand,
  .fl-documents,
  .fl-actions {
    padding: 0;
    align-items: flex-start;
    justify-items: start;
    text-align: left;
  }
}

@media (min-width: 840px) {
  #quantum-footer-lite {
    text-align: left;
    padding: 60px 40px 60px;
  }
  .fl-container {
    grid-template-columns: minmax(210px, 0.9fr) minmax(260px, 1fr) minmax(220px, 0.8fr);
    gap: 54px;
    align-items: stretch;
  }
  .fl-brand,
  .fl-documents,
  .fl-actions {
    justify-items: start;
    text-align: left;
  }
  .fl-documents,
  .fl-actions {
    padding-left: 38px;
  }
}

@media (min-width: 1120px) {
  .fl-container {
    grid-template-columns: 280px minmax(320px, 1fr) 260px;
    gap: 72px;
  }
}

@media (min-width: 761px) and (max-width: 839px) {
  .fl-brand {
    align-items: center;
  }
}
