/* =========================
   FOOTER
========================= */

.footer {
    position: relative;
    padding: 64px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background:
      radial-gradient(
        circle at top right,
        rgba(99, 102, 241, 0.15),
        transparent 36%
      ),
      linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.94),
        rgba(9, 14, 32, 0.98)
      );
    overflow: hidden;
  }
  
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(520px, 2fr);
    gap: 64px;
    align-items: start;
    padding-bottom: 48px;
  }
  
  .footer-brand-block {
    max-width: 480px;
  }
  
  .footer-brand-title {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
  }
  
  .footer-brand-text {
    max-width: 460px;
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.82);
  }
  
  .footer-links-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }
  
  .footer-column {
    min-width: 0;
  }
  
  .footer-heading {
    margin: 0 0 18px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    color: #ffffff;
  }
  
  .footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .footer-column li {
    margin: 0;
  }
  
  .footer-link {
    display: inline-flex;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.76);
    transition:
      color 0.2s ease,
      transform 0.2s ease;
  }
  
  .footer-link:hover {
    color: #a7f3d0;
    transform: translateX(3px);
  }
  
  .footer-meta {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(148, 163, 184, 0.85);
  }
  
  .footer-bottom-bar {
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.3);
  }
  
  .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  
  .footer-age-note {
    max-width: 760px;
    text-align: right;
  }
  
  
  /* =========================
     COOKIE BANNER
  ========================= */
  
  .cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  
  .cookie-banner[hidden] {
    display: none !important;
  }
  
  .cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 24px 28px;
  }
  
  .cookie-text {
    min-width: 0;
    max-width: 780px;
  }
  
  .cookie-title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
  }
  
  .cookie-description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.78);
  }
  
  .cookie-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
  }
  
  .cookie-btn {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    white-space: nowrap;
  }
  
  .cookie-btn-reject {
    border: 1px solid rgba(148, 163, 184, 0.65);
    background: transparent;
    color: #ffffff;
  }
  
  .cookie-btn-reject:hover {
    border-color: rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.06);
  }
  
  .cookie-btn-accept {
    border: 1px solid #10b981;
    background: #10b981;
    color: #04130e;
    box-shadow: 0 10px 26px rgba(16, 185, 129, 0.28);
  }
  
  .cookie-btn-accept:hover {
    background: #34d399;
    border-color: #34d399;
  }
  
  .cookie-banner-hide {
    animation: cookieHide 0.26s ease forwards;
  }
  
  @keyframes cookieHide {
    from {
      opacity: 1;
      transform: translateY(0);
    }
  
    to {
      opacity: 0;
      transform: translateY(30px);
    }
  }
  
  
  /* =========================
     AGE MODAL
  ========================= */
  
  .age-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  
  .age-modal[hidden] {
    display: none !important;
  }
  
  .age-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  
  .age-modal-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    padding: 38px;
    border: 1px solid rgba(167, 243, 208, 0.3);
    border-radius: 28px;
    background:
      radial-gradient(
        circle at top right,
        rgba(99, 102, 241, 0.2),
        transparent 38%
      ),
      rgba(15, 23, 42, 0.98);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.65);
    text-align: center;
  }
  
  .age-modal-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border: 1px solid rgba(16, 185, 129, 0.8);
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    box-shadow:
      0 0 0 8px rgba(16, 185, 129, 0.06),
      0 14px 30px rgba(16, 185, 129, 0.18);
  }
  
  .age-badge-icon {
    font-size: 1.35rem;
    font-weight: 800;
    color: #a7f3d0;
  }
  
  .age-modal-title {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    line-height: 1.1;
    color: #ffffff;
  }
  
  .age-modal-description {
    margin: 0 auto 28px;
    max-width: 470px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.8);
  }
  
  .age-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .age-modal-actions .btn {
    min-width: 190px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
  }
  
  .age-btn-yes {
    border: 1px solid #10b981;
    background: #10b981;
    color: #04130e;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.28);
  }
  
  .age-btn-yes:hover {
    background: #34d399;
    border-color: #34d399;
  }
  
  .age-btn-no {
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
  }
  
  .age-btn-no:hover {
    border-color: rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.08);
  }
  
  
  /* =========================
     RESPONSIVE
  ========================= */
  
  @media (max-width: 1000px) {
    .footer-inner {
      grid-template-columns: 1fr;
      gap: 42px;
    }
  
    .footer-brand-block {
      max-width: 650px;
    }
  
    .cookie-banner-inner {
      align-items: flex-start;
    }
  }
  
  @media (max-width: 760px) {
    .footer {
      padding-top: 48px;
    }
  
    .footer-links-block {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 32px 24px;
    }
  
    .footer-bottom-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
  
    .footer-age-note {
      text-align: left;
    }
  
    .cookie-banner {
      right: 14px;
      bottom: 14px;
      left: 14px;
      border-radius: 20px;
    }
  
    .cookie-banner-inner {
      flex-direction: column;
      gap: 18px;
      padding: 20px;
    }
  
    .cookie-actions {
      width: 100%;
    }
  
    .cookie-btn {
      flex: 1;
    }
  }
  
  @media (max-width: 520px) {
    .footer-inner {
      gap: 34px;
    }
  
    .footer-links-block {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  
    .footer-brand-title {
      font-size: 1.15rem;
    }
  
    .cookie-actions {
      flex-direction: column-reverse;
    }
  
    .cookie-btn {
      width: 100%;
    }
  
    .age-modal {
      padding: 14px;
    }
  
    .age-modal-panel {
      padding: 28px 20px;
      border-radius: 22px;
    }
  
    .age-modal-actions {
      flex-direction: column;
    }
  
    .age-modal-actions .btn {
      width: 100%;
      min-width: 0;
    }
  }