/* =============================================
   WMNIYW — With Me Now In Your Word
   Theme: Black background, bold white headings
   ============================================= */

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

:root {
  --black:   #000000;
  --dark:    #0f0f0f;
  --card-bg: #141414;
  --border:  #2a2a2a;
  --gold:    #ff2d78;
  --gold-lt: #ff6fa3;
  --white:   #ffffff;
  --gray:    #a0a0a0;
  --gray-lt: #d0d0d0;
  --discord: #5865F2;
  --instagram: #e1306c;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--gray-lt);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── HEADER ───────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cross {
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.logo-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--white);
}

.nav-instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray) !important;
}

.nav-instagram:hover {
  color: var(--instagram) !important;
}

.btn-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--discord);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-discord:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── HERO ─────────────────────────────────── */

.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,45,120,0.12) 0%, transparent 70%),
    var(--black);
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hero-verse {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-reference {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero-description {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}

/* ── SOCIAL CALLOUTS ──────────────────────── */

.social-callouts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.social-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.callout-annotation {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
  gap: 2px;
}

.callout-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gold);
  white-space: nowrap;
  line-height: 1.2;
  display: block;
}

.callout-arrow {
  width: 56px;
  height: 48px;
  color: var(--gold);
}

.btn-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.15s;
  color: var(--white);
}

.btn-social:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-social-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.btn-social-facebook {
  background: #1877f2;
}

/* ── SESSIONS SECTION ─────────────────────── */

.sessions-section {
  padding: 64px 24px 100px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 48px;
}

/* ── LOADING / ERROR STATES ───────────────── */

.sessions-status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--gray);
  font-size: 0.95rem;
}

.sessions-status strong { color: var(--white); }
.sessions-status code {
  background: var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.sessions-error { color: var(--gold); }

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── SESSION CARDS ────────────────────────── */

.card-thumbnail {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--border);
}

/* Pulsing skeleton shown while the thumbnail is being fetched */
.card-thumbnail--loading .thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--border) 25%, #2f2f2f 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* Hide the play button on the loading skeleton */
.card-thumbnail--loading .thumbnail-play {
  display: none;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card-thumbnail:hover img {
  transform: scale(1.04);
}

.thumbnail-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s;
}

.card-thumbnail:hover .thumbnail-play {
  opacity: 1;
}



.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.session-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.2s;
}

.session-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.card-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-meta {
  flex: 1;
}

.session-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.session-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.session-date {
  font-size: 0.78rem;
  color: var(--gray);
  white-space: nowrap;
}

.card-body {
  padding: 18px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.session-description {
  font-size: 0.9rem;
  color: var(--gray-lt);
  line-height: 1.65;
}

.takeaways-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-lt);
  line-height: 1.5;
}

.takeaways-list li::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.btn-watch--youtube {
  border-color: #ff0000;
  color: #ff0000;
}

.btn-watch--youtube:hover {
  background: #ff0000;
  color: var(--white);
}

.btn-watch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--instagram);
  color: var(--instagram);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-watch:hover {
  background: var(--instagram);
  color: var(--white);
}

.btn-watch svg {
  flex-shrink: 0;
}

/* ── READING LIST ─────────────────────────── */

.reading-section {
  padding: 64px 24px 100px;
  border-top: 1px solid var(--border);
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

a.book-card {
  color: inherit;
  text-decoration: none;
}

.book-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.2s;
}

.book-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.book-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.book-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.book-author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-description {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 6px;
}

/* ── FOOTER ───────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cross-sm {
  font-size: 20px;
  color: var(--gold);
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* ── RESPONSIVE ───────────────────────────── */

@media (max-width: 640px) {
  .header-nav .nav-instagram span {
    display: none;
  }

  .sessions-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 24px 52px;
  }
}
