.cookie-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .cookie-popup {
    background: #1a1a2e;
    color: #e0e0ff;
    width: 90%;
    max-width: 460px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    border: 1px solid #444;
    font-family: system-ui, -apple-system, sans-serif;
  }

  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #333;
    background: #111827;
  }

  .popup-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #c7d2fe;
  }

  .close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
  }

  .close-btn:hover {
    color: #f87171;
  }

  .popup-body {
    padding: 20px;
    font-size: 0.97rem;
    line-height: 1.55;
  }

  .popup-body a {
    color: #a5b4fc;
    text-decoration: underline;
  }

  .popup-footer {
    padding: 16px 20px;
    border-top: 1px solid #333;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #111827;
  }

  .popup-footer button {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }

  #cookie-accept {
    background: #6366f1;
    color: white;
  }

  #cookie-accept:hover {
    background: #4f46e5;
    transform: translateY(-1px);
  }

  #cookie-decline {
    background: transparent;
    color: #e0e0ff;
    border: 1px solid #777;
  }

  #cookie-decline:hover {
    background: rgba(255,255,255,0.08);
  }

  @media (max-width: 480px) {
    .cookie-popup {
      max-width: 94%;
    }
    .popup-footer {
      flex-direction: column;
      gap: 10px;
    }
    .popup-footer button {
      width: 100%;
    }
  }