/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:     #c9a84c;
  --gold-lt:  #e8c96a;
  --navy:     #1a0a0a;
  --navy-mid: #2a1010;
  --navy-lt:  #3d1a1a;
  --cream:    #fffafa;
  --cream-dk: #f5eded;
  --text:     #2a1010;
  --text-lt:  #eddada;
  --radius:   6px;
  --shadow:   0 4px 24px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }
body { font-family: Georgia, "Times New Roman", serif; background: var(--navy); color: var(--cream); line-height: 1.7; font-size: 16px; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }
img { max-width: 100%; display: block; }
.container { width: 100%; margin: 0 auto; padding: 0 16px; }

/* === BUTTONS === */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius);
  font-family: Arial, sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.2s;
  cursor: pointer; touch-action: manipulation;
}
.btn-primary { background: var(--gold); color: var(--navy); border: 2px solid var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--navy); }

/* === HEADER === */
header { position: sticky; top: 0; z-index: 100; background: rgba(13,27,42,0.97); border-bottom: 1px solid rgba(201,168,76,0.3); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.logo { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 1rem; font-weight: 700; color: var(--gold); letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tagline { font-size: 0.65rem; color: var(--text-lt); letter-spacing: 0.1em; text-transform: uppercase; }

nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 16px; border-bottom: 1px solid rgba(201,168,76,0.3); gap: 0; z-index: 99; }
nav.open { display: flex; }
nav a { font-family: Arial, sans-serif; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-lt); padding: 14px 8px; border-bottom: 1px solid rgba(201,168,76,0.1); transition: color 0.2s; }
nav a:last-child { border-bottom: none; }
nav a:hover { color: var(--gold); }
.nav-toggle { display: block; background: none; border: none; color: var(--gold); font-size: 1.8rem; cursor: pointer; padding: 4px 8px; touch-action: manipulation; flex-shrink: 0; }

/* === HERO === */
.hero { position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: #2a1010; }
.hero-slide { position: absolute; inset: 0; background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #2a1010; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.2); cursor: pointer; padding: 0; transition: background 0.3s, transform 0.2s; }
.hero-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }
.hero-caption { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); color: var(--text-lt); font-size: 0.88rem; text-align: center; z-index: 10; background: rgba(0,0,0,0.5); padding: 5px 16px; border-radius: 4px; white-space: nowrap; pointer-events: none; min-height: 0; }
.hero-caption:empty { display: none; }
/* Stream announcement overlay on second hero slide */
.stream-announce-slide { background-size: cover; background-position: center; }
.stream-announce-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.52); }
.stream-announce-inner { max-width: 520px; width: 88%; padding: 22px 28px; background: rgba(0,0,0,0.55); border-radius: 6px; text-align: left; }
.stream-announce-badge { display: inline-block; background: var(--gold); color: #000; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 9px; border-radius: 3px; margin-bottom: 10px; }
.stream-announce-title { color: var(--gold); font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.stream-announce-desc { color: var(--text-lt); font-size: 0.92rem; line-height: 1.7; margin-bottom: 12px; max-height: 28vh; overflow-y: auto; }
.stream-announce-desc p { margin: 0 0 8px; }
.stream-announce-desc p:last-child { margin-bottom: 0; }
.stream-announce-link { color: var(--gold); font-size: 0.82rem; text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.4); }
.stream-announce-link:hover { border-bottom-color: var(--gold); }
@media (max-width: 600px) { .stream-announce-inner { padding: 16px 18px; } }
/* Upcoming stream description below countdown */
.stream-desc-wrap { overflow: hidden; transition: max-height 0.4s ease; }
.stream-desc-wrap.collapsed { max-height: 4.8em; }
.stream-desc-wrap p { color: var(--text-lt); font-size: 0.92rem; line-height: 1.7; margin: 0 0 10px; }
.stream-desc-more { background: none; border: none; color: var(--gold); font-size: 0.85rem; cursor: pointer; padding: 4px 0; text-decoration: underline; }
.hero h1 { font-size: clamp(1.8rem, 8vw, 4rem); color: var(--gold); letter-spacing: 0.04em; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero p { font-size: clamp(1rem, 4vw, 1.2rem); color: var(--text-lt); margin-bottom: 32px; }

/* === COUNTDOWN === */
.countdown-banner { background: #7a0000; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px; font-family: Arial, sans-serif; font-size: 15px; font-weight: 600; text-align: center; }
.countdown-timer { font-size: 24px; font-weight: bold; color: var(--gold); font-family: monospace; letter-spacing: 0.05em; }
.countdown-banner a { background: var(--gold); color: #1a0000; padding: 8px 20px; border-radius: 5px; font-size: 14px; font-weight: bold; transition: background 0.2s; }
.countdown-banner a:hover { background: var(--gold-lt); }

/* === SECTIONS === */
.section { padding: 48px 0; }
.section-dark  { background: var(--navy-mid); }
.section-light { background: var(--cream); color: var(--text); }
.section-light .section-sub { color: #7a2020; }
.section-light h2 { color: var(--navy); }
.section-title { font-size: 1.5rem; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.section-light .section-title { color: var(--navy); }
.section-sub { color: var(--text-lt); margin-bottom: 24px; font-size: 0.95rem; }

/* === LIVE DOT === */
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.live-dot { background: #e53e3e; box-shadow: 0 0 0 0 rgba(229,62,62,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,62,62,0.6); } 70% { box-shadow: 0 0 0 10px rgba(229,62,62,0); } 100% { box-shadow: 0 0 0 0 rgba(229,62,62,0); } }

/* === VIDEO === */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; margin-bottom: 16px; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.live-links { display: flex; flex-direction: column; gap: 12px; }
.live-layout { display: block; }
.live-layout.with-chat { display: block; }
.chat-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; margin-bottom: 16px; }
.chat-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* === ABOUT === */
.about-grid { display: flex; flex-direction: column; gap: 28px; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; object-position: center; }
.about-text h2 { font-size: 1.6rem; color: var(--gold); margin-bottom: 14px; }
.about-text p { color: var(--text-lt); margin-bottom: 12px; }
.about-text .btn-primary { margin-top: 8px; width: 100%; text-align: center; }

/* === BOOKS === */
.books-grid { display: flex; flex-direction: column; gap: 20px; }
.book-card { display: flex; flex-direction: column; gap: 16px; background: var(--navy-lt); border: 1px solid rgba(201,168,76,0.2); border-radius: var(--radius); padding: 20px; transition: border-color 0.2s; }
.book-card:hover { border-color: var(--gold); }
.book-card img { width: 100%; max-width: 180px; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.book-info h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 6px; }
.book-sub { color: var(--text-lt); font-size: 0.82rem; font-style: italic; margin-bottom: 8px; }
.book-info p { color: var(--text-lt); font-size: 0.9rem; margin-bottom: 14px; }
.books-single .book-card { max-width: 680px; margin: 0 auto; }
.book-card--full { grid-column: 1 / -1; text-align: center; align-items: center; justify-content: center; }
.book-card--full .book-info { text-align: center; width: 100%; }

/* === CONNECT === */
.connect-grid { display: flex; flex-direction: column; gap: 16px; }
.connect-card { background: var(--navy-lt); border: 1px solid rgba(201,168,76,0.2); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: border-color 0.2s; }
.connect-card:hover { border-color: var(--gold); }
.connect-icon { width: 48px; height: 48px; margin: 0 auto 14px; filter: invert(80%) sepia(30%) saturate(500%) hue-rotate(10deg); }
.connect-card h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.connect-card p { color: var(--text-lt); font-size: 0.92rem; margin-bottom: 18px; }

/* === FOOTER === */
footer { background: var(--navy); border-top: 1px solid rgba(201,168,76,0.2); padding: 32px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 0 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-lt); font-size: 0.9rem; }
.footer-logo { width: 32px; height: 32px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-links a { font-family: Arial, sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-lt); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: #555; font-size: 0.78rem; font-family: Arial, sans-serif; }

/* === BACK TO TOP === */
.home-btn { position: fixed; bottom: 24px; right: 20px; width: 48px; height: 48px; background: var(--gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; line-height: 1; box-shadow: 0 4px 16px rgba(0,0,0,0.4); z-index: 999; transition: background 0.2s, transform 0.2s; }
.home-btn:hover { background: var(--gold-lt); color: var(--navy); transform: translateY(-3px); }

/* === TABLET 768px+ === */
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 12px 24px; }
  .logo { width: 54px; height: 54px; }
  .brand-name { font-size: 1.1rem; }
  nav { display: flex; flex-direction: row; position: static; background: none; border: none; padding: 0; gap: 24px; }
  nav a { padding: 0; border: none; font-size: 0.85rem; }
  .nav-toggle { display: none; }
  .hero { min-height: 75vh; padding: 80px 24px; }
  .countdown-banner { flex-direction: row; gap: 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.75rem; }
  .live-links { flex-direction: row; flex-wrap: wrap; }
  .live-layout.with-chat { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
  .about-grid { flex-direction: row; align-items: center; gap: 48px; }
  .about-img { flex: 1; }
  .about-text { flex: 1; }
  .about-img img { min-height: 320px; }
  .about-text .btn-primary { width: auto; }
  .books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .books-single { display: block; }
  .book-card { flex-direction: row; }
  .book-card--full { grid-column: 1 / -1; flex-direction: column; text-align: center; align-items: center; justify-content: center; }
  .book-card img { width: 120px; }
  .connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* === DESKTOP 1100px+ === */
@media (min-width: 1100px) {
  .container { max-width: 1100px; padding: 0 24px; }
  .header-inner { max-width: 1100px; margin: 0 auto; padding: 14px 24px; }
  .logo { width: 56px; height: 56px; }
  .brand-name { font-size: 1.15rem; }
  nav { gap: 28px; }
  .hero { min-height: 95vh; }
  .section { padding: 80px 0; }
  .section-title { font-size: 1.9rem; }
  .about-grid { gap: 60px; }
  .about-img img { min-height: 380px; }
  .books-grid { gap: 40px; }
  .book-card img { width: 130px; }
  .live-layout.with-chat { grid-template-columns: 1fr 380px; }
  .chat-wrap iframe { height: 500px; }
}
