/* Public landing — دروس الشيخ رسلان (rslanpodcasts.com) */

:root {
  --ink: #0b1612;
  --ink-soft: #12241c;
  --sage: #8fad9a;
  --mist: #c5d4cb;
  --gold: #c4a574;
  --gold-soft: #d4bc94;
  --radius: 12px;
  --max: 64rem;
  --font-display: "Amiri", "Noto Naskh Arabic", serif;
  --font-body: "Noto Naskh Arabic", "Amiri", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: #e8efe9;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--gold-soft);
}

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.page {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(61, 122, 92, 0.22), transparent 58%),
    var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  padding: 1rem 0 0.75rem;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 55% at 78% 30%, rgba(196, 165, 116, 0.12), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  width: min(100% - 1.75rem, var(--max));
}

.hero__logo {
  width: min(36vw, 17rem, 38svh);
  flex-shrink: 0;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #f3ead8;
  border: 1px solid rgba(196, 165, 116, 0.45);
  border-radius: 18px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(243, 234, 216, 0.06);
  animation: rise 0.8s var(--ease) both;
}

.hero__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: #f2f7f3;
  animation: rise 0.8s var(--ease) 0.08s both;
}

.hero__headline {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--mist);
  animation: rise 0.8s var(--ease) 0.16s both;
}

.hero__lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--sage);
  animation: rise 0.8s var(--ease) 0.22s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(196, 165, 116, 0.55);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(61, 122, 92, 0.65), rgba(26, 58, 44, 0.92));
  color: #f5f0e6;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
  animation: rise 0.8s var(--ease) 0.28s both;
}

.cta:hover {
  color: #fff;
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(74, 145, 112, 0.78), rgba(26, 58, 44, 0.98));
  transform: translateY(-1px);
}

.cta svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* —— Disclaimer (always in first viewport) —— */
.disclaimer {
  flex: 0 0 auto;
  padding: 0 0 0.35rem;
}

.disclaimer__box {
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: var(--radius);
  background: rgba(18, 36, 28, 0.85);
  font-size: clamp(0.84rem, 2.3vw, 0.95rem);
  line-height: 1.75;
  color: var(--mist);
}

.disclaimer__box p {
  margin: 0;
}

.disclaimer__box strong {
  color: var(--gold-soft);
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  flex: 0 0 auto;
  padding: 0.85rem 0 1.1rem;
  font-size: 0.86rem;
  color: var(--sage);
  text-align: center;
}

.site-footer p {
  margin: 0 0 0.15rem;
}

.site-footer a {
  color: var(--gold-soft);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__logo {
    width: min(46vw, 11rem);
    align-self: flex-end;
  }

  .hero__copy {
    align-items: flex-start;
  }
}

@media (max-height: 640px) {
  .hero {
    padding-top: 0.65rem;
  }

  .hero__logo {
    width: min(28vw, 8.5rem, 26svh);
    border-radius: 14px;
  }

  .brand {
    font-size: clamp(1.45rem, 4.5vw, 1.9rem);
  }

  .disclaimer__box {
    padding: 0.7rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .brand,
  .hero__headline,
  .hero__lead,
  .cta {
    animation: none !important;
  }

  .cta:hover {
    transform: none;
  }
}
