/* ============================================================
   luckminds.com — Warm Cognitive Editorial-Studio Identity
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Georgia', 'Times New Roman', 'Palatino', serif;
  background-color: #FBF4E9;
  color: #2C1D31;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', 'Palatino', 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.25;
  color: #402A46;
}

p { margin-bottom: 1em; color: #3a2a40; }

.sans { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }

/* --- Container --- */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TOP RESPONSIBLE WARNING
   ============================================================ */
.top-warning {
  background: #402A46;
  color: #FBF4E9;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.78rem;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.top-warning strong {
  color: #E88F72;
  font-weight: 600;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #FBF4E9;
  border-bottom: 1px solid rgba(192, 164, 91, 0.2);
  padding: 18px 0;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-mark {
  width: 48px;
  height: auto;
  display: block;
}

/* --- Mobile Menu --- */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #402A46;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 29, 49, 0.97);
  z-index: 150;
  padding: 80px 32px 32px;
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: #FBF4E9;
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(251, 244, 233, 0.1);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: #E88F72; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
}

/* Logo ribbon on desktop — left side overlapping header/hero */
.hero-logo-ribbon {
  display: block;
  position: absolute;
  left: 0;
  top: -18px;
  width: 80px;
  z-index: 10;
}

.hero-logo-ribbon svg {
  width: 80px;
  height: 100px;
}

/* Mobile logo — centered above H1 */
.hero-logo-mobile {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-left: 100px;
}

.hero h1 {
  font-size: 2.2rem;
  color: #402A46;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.05rem;
  color: #3a2a40;
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(192, 164, 91, 0.12);
  color: #7a5f2e;
  letter-spacing: 0.03em;
  border: 1px solid rgba(192, 164, 91, 0.2);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: #402A46;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #E88F72, #C8A45B);
  margin-top: 10px;
  border-radius: 2px;
}

/* ============================================================
   HIGHLIGHTED CARD
   ============================================================ */
.highlight-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(64, 42, 70, 0.06);
  border: 1px solid rgba(192, 164, 91, 0.15);
  margin-bottom: 24px;
}

.highlight-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.highlight-card .card-logo-area {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f2e9;
  border-radius: 14px;
  padding: 16px;
}

.highlight-card .card-logo-area img {
  max-height: 60px;
  object-fit: contain;
}

.card-score {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C8A45B;
}

.card-score-label {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  color: #8a7a6a;
  margin-top: -4px;
}

.card-desc {
  font-size: 0.95rem;
  color: #3a2a40;
  max-width: 600px;
  line-height: 1.65;
}

.card-bullets {
  text-align: left;
  width: 100%;
  max-width: 600px;
}

.card-bullets li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 0.9rem;
  color: #3a2a40;
  line-height: 1.5;
}

.card-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #C8A45B;
  font-weight: 300;
}

.card-note {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  color: #8a7a6a;
  font-style: italic;
  margin-top: 8px;
}

.card-cta {
  display: inline-block;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #FBF4E9;
  background: #402A46;
  padding: 12px 32px;
  border-radius: 30px;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 0.02em;
}

.card-cta:hover {
  background: #E88F72;
  transform: translateY(-1px);
}

/* ============================================================
   STANDARD CARDS
   ============================================================ */
.standard-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 3px 18px rgba(64, 42, 70, 0.05);
  border: 1px solid rgba(192, 164, 91, 0.12);
  margin-bottom: 18px;
  transition: box-shadow 0.3s;
}

.standard-card:hover {
  box-shadow: 0 6px 28px rgba(64, 42, 70, 0.08);
}

.standard-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

/* Alternating left/right metadata */
.standard-card:nth-child(odd) .card-meta {
  order: -1;
  min-width: 120px;
  text-align: center;
}

.standard-card:nth-child(even) .card-meta {
  order: 2;
  min-width: 120px;
  text-align: center;
}

.standard-card:nth-child(odd) .card-body {
  order: 0;
  flex: 1;
}

.standard-card:nth-child(even) .card-body {
  order: 0;
  flex: 1;
}

.standard-card .card-logo-area {
  width: 120px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f2e9;
  border-radius: 12px;
  padding: 12px;
  margin: 0 auto 10px;
}

.standard-card .card-logo-area img {
  max-height: 45px;
  object-fit: contain;
}

.standard-card .card-score {
  font-size: 1.5rem;
}

.standard-card .card-desc {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.standard-card .card-bullets {
  margin-bottom: 8px;
}

.standard-card .card-bullets li {
  font-size: 0.85rem;
  padding: 4px 0 4px 20px;
}

.standard-card .card-note {
  margin-bottom: 14px;
}

.standard-card .card-cta {
  padding: 10px 26px;
  font-size: 0.82rem;
}

/* ============================================================
   THREE-STEP SECTION
   ============================================================ */
.step-grid {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.step-item {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 3px 14px rgba(64, 42, 70, 0.04);
  border: 1px solid rgba(192, 164, 91, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E88F72, #C8A45B);
  color: #FBF4E9;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #402A46;
}

.step-item p {
  font-size: 0.87rem;
  color: #5a4a5a;
  margin-bottom: 0;
}

/* ============================================================
   INFO BLOCKS (Payment, Regulator, Protection)
   ============================================================ */
.info-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 3px 18px rgba(64, 42, 70, 0.04);
  border: 1px solid rgba(192, 164, 91, 0.1);
  margin-bottom: 18px;
}

.info-block p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.info-block p:last-child { margin-bottom: 0; }

.info-grid {
  display: flex;
  gap: 18px;
}

.info-grid .info-block {
  flex: 1;
  margin-bottom: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid rgba(192, 164, 91, 0.15);
  padding: 18px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1rem;
  color: #402A46;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: #C8A45B;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 12px 0 4px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: #5a4a5a;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #2C1D31;
  color: #e0d8e0;
  padding: 48px 0 36px;
  margin-top: 40px;
}

.footer-title {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  color: #E88F72;
  margin-bottom: 20px;
}

.footer-paragraph {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #c8bcc8;
}

.footer-paragraph strong {
  color: #e8dce8;
}

.footer-resource-heading {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #C8A45B;
  margin: 28px 0 16px;
}

.footer-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}

.footer-resource-link {
  display: block;
  transition: opacity 0.3s;
}

.footer-resource-link:hover {
  opacity: 0.75;
}

.footer-resource-link img {
  max-height: 48px;
  width: auto;
  border-radius: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 244, 233, 0.1);
  padding-top: 20px;
  margin-top: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #9a8a9a;
  margin-bottom: 4px;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.footer-bottom .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
}

.footer-bottom .footer-links a {
  font-size: 0.78rem;
  color: #a89aa8;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  transition: color 0.2s;
}

.footer-bottom .footer-links a:hover {
  color: #E88F72;
}

.footer-responsible {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #E88F72;
  text-align: center;
  margin-top: 18px;
  letter-spacing: 0.02em;
}

/* ============================================================
   18+ POPUP
   ============================================================ */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 29, 49, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.age-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.age-popup {
  background: #FBF4E9;
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-popup h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #402A46;
}

.age-popup p {
  font-size: 0.9rem;
  color: #5a4a5a;
  margin-bottom: 24px;
}

.age-popup-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.age-popup-btn {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.age-popup-btn-yes {
  background: #402A46;
  color: #FBF4E9;
}

.age-popup-btn-yes:hover {
  background: #E88F72;
  transform: translateY(-1px);
}

.age-popup-btn-no {
  background: transparent;
  color: #402A46;
  border: 2px solid #402A46;
}

.age-popup-btn-no:hover {
  background: #402A46;
  color: #FBF4E9;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2C1D31;
  color: #e0d8e0;
  z-index: 9000;
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner.active { display: flex; }

.cookie-banner p {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  margin-bottom: 0;
  color: #c8bcc8;
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-btn-accept {
  background: #E88F72;
  color: #FBF4E9;
}

.cookie-btn-accept:hover { background: #d07a5e; }

.cookie-btn-reject {
  background: transparent;
  color: #c8bcc8;
  border: 1px solid #c8bcc8;
}

.cookie-btn-reject:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   PUBLIC PAGE COMMON
   ============================================================ */
.page-header {
  padding: 40px 0 20px;
}

.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.page-content {
  padding-bottom: 40px;
}

.page-content p, .page-content li {
  font-size: 0.95rem;
  color: #3a2a40;
  line-height: 1.75;
}

.page-content ul, .page-content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 14px;
  color: #402A46;
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: #402A46;
}

/* ============================================================
   INTERNAL CARD PAGE (preparation / redirect)
   ============================================================ */
.prep-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.prep-page .prep-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.prep-page h1 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #402A46;
}

.prep-page p {
  font-size: 0.95rem;
  color: #5a4a5a;
  max-width: 480px;
  margin-bottom: 24px;
}

.prep-fallback {
  display: inline-block;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #FBF4E9;
  background: #6D88A6;
  padding: 12px 32px;
  border-radius: 30px;
  transition: background 0.3s;
  margin-top: 8px;
}

.prep-fallback:hover {
  background: #5a7593;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { padding-left: 0; }
  .hero-logo-ribbon { display: none; }
  .hero-logo-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  .hero-logo-mobile .logo-mark {
    width: 64px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .burger-btn { display: block; }

  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }

  .standard-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .standard-card:nth-child(odd) .card-meta,
  .standard-card:nth-child(even) .card-meta {
    order: -1;
    width: 100%;
  }

  .standard-card .card-logo-area {
    margin: 0 auto 10px;
  }

  .standard-card .card-bullets {
    text-align: left;
  }

  .step-grid {
    flex-direction: column;
    gap: 14px;
  }

  .info-grid {
    flex-direction: column;
    gap: 14px;
  }

  .highlight-card {
    padding: 24px 18px;
  }

  .standard-card {
    padding: 22px 18px;
  }

  .faq-question { font-size: 0.92rem; }

  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-buttons { justify-content: center; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.4rem; }
  .section-title { font-size: 1.2rem; }
  .age-popup { padding: 28px 20px; }
  .age-popup-buttons { flex-direction: column; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .age-popup-overlay, .cookie-banner, .burger-btn, .mobile-nav {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .site-footer { background: #f5f5f5; color: #333; }
}
