﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ORIM KYUN â€” style.css
   Version: 1.0 | 06.04.2026
   Order: reset â†’ base â†’ typography â†’ nav â†’
          hero â†’ book â†’ media â†’ author â†’
          contact â†’ footer â†’ responsive
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

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

:root {
  --bg-base:        #07090C;
  --bg-surface:     #121722;
  --bg-card:        #161C28;
  --text-main:      #E8ECF3;
  --text-muted:     #AAB4C5;
  --accent-gold:    #C9A86A;
  --accent-blue:    #4D78B8;
  --max-width:      1200px;
  --pad-h:          64px;
  --pad-section:    130px;
  --radius-btn:     10px;
  --transition:     0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* â”€â”€ TYPOGRAPHY â”€â”€ */
h1, h2, h3 {
  font-family: 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.section-label {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* â”€â”€ BUTTONS â”€â”€ */
.btn-primary {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 38px;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-primary:hover {
  background: var(--accent-gold);
  color: var(--bg-base);
}

/* â”€â”€ NAVIGATION â”€â”€ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 9, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 106, 0.12);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-h);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-emblem { height: 36px; width: auto; }
.nav-links   { display: flex; gap: 36px; flex: 1; }
.nav-links a {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent-gold); }

.nav-lang { display: flex; gap: 8px; }
.lang-btn {
  background: none;
  border: 1px solid rgba(201,168,106,0.25);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.nav-hamburger { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }

/* â”€â”€ HERO â”€â”€ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 68px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,9,12,0.45) 0%, rgba(7,9,12,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
}
.hero-emblem {
  width: 160px;
  height: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 28px rgba(201,168,106,0.55)) drop-shadow(0 0 8px rgba(201,168,106,0.3));
}
.hero-name {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-role {
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: clamp(16px, 2.2vw, 22px);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.55;
}

/* â”€â”€ BOOK â”€â”€ */
#book {
  padding: var(--pad-section) 0;
  background: var(--bg-surface);
}
.book-layout {
  display: grid;
  grid-template-columns: 38fr 62fr;
  gap: 80px;
  align-items: center;
}
.book-cover {
  width: 100%;
  max-width: 340px;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.book-title {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.book-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 62ch;
}

/* â”€â”€ MEDIA â”€â”€ */
#media { padding: var(--pad-section) 0; border-top: 1px solid rgba(201,168,106,0.08); }
.media-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.media-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,106,0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.media-card:hover { border-color: rgba(201,168,106,0.35); transform: translateY(-4px); }
.media-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--text-muted);
}
.media-card-title {
  padding: 16px 20px;
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* â”€â”€ AUTHOR â”€â”€ */
#author {
  padding: var(--pad-section) 0;
  background: var(--bg-surface);
}
.author-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: center;
}
.author-name {
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.author-bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 60ch;
}
.author-emblem-wrap { display: flex; justify-content: center; }
.author-emblem {
  width: 200px;
  opacity: 0.6;
  filter: drop-shadow(0 0 30px rgba(201,168,106,0.2));
}

/* â”€â”€ CONTACT â”€â”€ */
#contact { padding: var(--pad-section) 0; }
.contact-inner { text-align: center; }
.contact-line {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.contact-email {
  display: inline-block;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(201,168,106,0.4);
  padding-bottom: 4px;
  transition: border-color var(--transition);
}
.contact-email:hover { border-color: var(--accent-gold); }

/* â”€â”€ FOOTER â”€â”€ */
#footer {
  padding: 48px 0;
  border-top: 1px solid rgba(201,168,106,0.1);
  background: var(--bg-base);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-family: 'Arial', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--accent-gold); }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 900px) {
  :root { --pad-h: 32px; --pad-section: 90px; }

  .book-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .book-cover-col { display: flex; justify-content: center; align-items: flex-start; }
  .book-cover { max-width: 260px; }

  .author-layout { grid-template-columns: 1fr; gap: 40px; }
  .author-emblem-wrap { display: none; }

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

@media (max-width: 600px) {
  :root { --pad-h: 20px; --pad-section: 72px; }

  .nav-links, .nav-lang { display: none; }
  .nav-hamburger { display: block; margin-left: auto; }

  .hero-emblem { width: 80px; }
  .hero-name   { font-size: 32px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav   { justify-content: center; }
}

/* â”€â”€ MOBILE NAV OPEN STATE â”€â”€ */
.nav-open .nav-links,
.nav-open .nav-lang {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(7,9,12,0.97);
  padding: 24px var(--pad-h);
  gap: 20px;
  border-bottom: 1px solid rgba(201,168,106,0.15);
}
.nav-open .nav-lang { flex-direction: row; top: auto; position: static; padding: 0; }


/* ── COMING SOON BUTTON STATE ── */
.btn-primary[data-coming-soon] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  border-color: var(--text-muted);
  color: var(--text-muted);
}
.btn-primary[data-coming-soon]::after {
  content: ' ·';
}

/* ── FOOTER DIVIDER ── */
.footer-divider {
  color: rgba(201,168,106,0.25);
  font-size: 11px;
  padding: 0 4px;
}

/* ── MEDIA VIDEO CARD ── */
.media-card-video { background: var(--bg-card); border: 1px solid rgba(201,168,106,0.12); border-radius: 8px; overflow: hidden; }
.media-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.media-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── MEDIA CHANNEL CARD ── */
.media-card-channel {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,106,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  transition: border-color var(--transition);
}
.media-card-channel:hover { border-color: rgba(201,168,106,0.35); }
.media-channel-inner { text-align: center; padding: 32px 24px; }
.media-channel-emblem {
  width: 72px; margin: 0 auto 20px;
  opacity: 0.7;
  filter: drop-shadow(0 0 12px rgba(201,168,106,0.3));
}
.media-channel-text {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 4px;
}
.media-channel-btn { margin-top: 20px !important; font-size: 12px !important; padding: 11px 28px !important; }

/* ── CONTACT SOCIAL LINKS ── */
.contact-links { margin-top: 28px; display: flex; gap: 20px; justify-content: center; }
.contact-social-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Arial', sans-serif; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contact-social-link:hover { color: var(--accent-gold); }

/* ── WAITLIST ── */
.waitlist-wrap { margin-top: 28px; }
.waitlist-msg {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 16px; font-style: italic;
}
.waitlist-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.waitlist-input {
  flex: 1; min-width: 220px;
  background: var(--bg-surface);
  border: 1px solid rgba(201,168,106,0.3);
  border-radius: var(--radius-btn);
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  font-size: 13px; padding: 13px 18px;
  outline: none;
  transition: border-color var(--transition);
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus { border-color: var(--accent-gold); }
.waitlist-btn { margin-top: 0 !important; white-space: nowrap; }
.waitlist-consent {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
}
.waitlist-consent input[type="checkbox"] {
  margin-top: 3px; accent-color: var(--accent-gold);
  flex-shrink: 0;
}
.waitlist-consent-label {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.5; letter-spacing: 0.02em;
}
.waitlist-success {
  font-size: 14px; color: var(--accent-gold);
  font-style: italic; margin-top: 12px;
}

/* ── WAITLIST V2 ── */
.waitlist-heading {
  font-size: 17px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.5;
}
.waitlist-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
.waitlist-microtext {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 12px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ── WAITLIST FINAL STYLING ── */

/* Відступ зверху — відокремлює від опису книги */
.waitlist-wrap {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(201,168,106,0.12);
}

/* Заголовок — основний колір, чіткий */
.waitlist-heading {
  font-size: 17px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  color: var(--text-main);        /* білий — це головний заклик */
  letter-spacing: 0.015em;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Підтекст — на щабель тихіше */
.waitlist-subtext {
  font-size: 14px;
  color: var(--text-muted);       /* приглушений */
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Consent — перший рядок трохи помітніший */
.waitlist-consent-label {
  font-size: 13px;
  color: #C8D0DC;                 /* між text-main і text-muted */
  line-height: 1.55;
}

/* Мікротекст — найтихіший рівень */
.waitlist-microtext {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.65;                  /* ще тихіше — пояснення, не дія */
  margin-top: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* Checkbox — маленький, не домінує */
.waitlist-consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
  opacity: 0.85;
}

/* Success message */
.waitlist-success {
  font-size: 14px;
  color: var(--accent-gold);
  font-style: italic;
  margin-top: 16px;
  line-height: 1.55;
}

/* ── CHECKBOX SHAKE ANIMATION ── */
@keyframes checkboxShake {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-6px); }
  30%  { transform: translateX(6px); }
  45%  { transform: translateX(-5px); }
  60%  { transform: translateX(5px); }
  75%  { transform: translateX(-3px); }
  90%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

.waitlist-consent.shake {
  animation: checkboxShake 0.5s ease;
}

.waitlist-consent.shake input[type="checkbox"] {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
  border-radius: 2px;
}
