/* ShogunomicS - Dark theme, gold accents, Japanese-inspired */

:root {
  --bg-dark: #0a0a0f;
  --bg-navy: #0d1117;
  --gold: #c9a227;
  --gold-light: #e5c547;
  --gold-muted: #8b7355;
  --text: #e8e6e3;
  --text-muted: #9ca3af;
  --radius-block: 10px;  /* Slightly curved corners for blocks, buttons, cards */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

h1, h2 {
  font-family: 'Noto Serif JP', 'Crimson Pro', serif;
}

h2 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

/* Homepage hero: shogun background with 20s zoom (same as book pages) */
.hero-homepage {
  background: var(--bg-dark);
}

.hero-homepage::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/shogunomics-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  z-index: 0;
  animation: hero-bg-zoom-in 20s ease-in-out forwards;
}

.hero-homepage .hero-overlay {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(13, 17, 23, 0.82) 50%, rgba(10, 10, 15, 0.9) 100%);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius-block);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
a.hero-badge:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.8);
}

/* Slow zoom-in animation for book page backgrounds (straight in, no pan) */
@keyframes hero-bg-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.25); }
}

/* Book-specific hero backgrounds (static cover with slow zoom) */
.hero-book-1::before, .hero-book-2::before, .hero-book-3::before, .hero-book-4::before,
.hero-book-5::before, .hero-book-6::before, .hero-book-7::before, .hero-book-8::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  z-index: 0;
  animation: hero-bg-zoom-in 20s ease-in-out forwards;
}

.hero-book-1::before { background-image: url('images/book1-cover.png'); }
.hero-book-2::before { background-image: url('images/book2-cover.png'); }
.hero-book-3::before { background-image: url('images/book3-cover.png'); }
.hero-book-4::before { background-image: url('images/book4-cover.png'); }
.hero-book-5::before { background-image: url('images/book5-cover.png'); }
.hero-book-6::before { background-image: url('images/book6-cover.png'); }
.hero-book-7::before { background-image: url('images/book7-cover.png'); }
.hero-book-8::before { background-image: url('images/book8-cover.png'); }

.hero-book-1, .hero-book-2, .hero-book-3, .hero-book-4,
.hero-book-5, .hero-book-6, .hero-book-7, .hero-book-8 {
  background: var(--bg-dark);
}

/* Slightly lighter overlay on book pages so cover shows through */
.hero-book-1 .hero-overlay,
.hero-book-2 .hero-overlay,
.hero-book-3 .hero-overlay,
.hero-book-4 .hero-overlay,
.hero-book-5 .hero-overlay,
.hero-book-6 .hero-overlay,
.hero-book-7 .hero-overlay,
.hero-book-8 .hero-overlay {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.75) 0%, rgba(13, 17, 23, 0.85) 50%, rgba(10, 10, 15, 0.9) 100%);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.85) 0%, rgba(13, 17, 23, 0.9) 50%, var(--bg-navy) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-book .book-cover {
  max-width: 380px;
  width: 100%;
  height: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.hero-text .series-tag {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.hero-text .tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1rem;
}

.hero-text .author {
  font-size: 0.95rem;
  color: var(--gold-muted);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-block);
  transition: background 0.2s, color 0.2s;
}

.cta-button:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
}

.cta-button.secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.cta-button.secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.cta-button.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.coming-date {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Hook */
.hook {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  text-align: center;
  padding: 3rem 0;
}

.hook-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/crypto-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hook .container {
  position: relative;
  z-index: 1;
}

.hook::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.7) 0%, rgba(201, 162, 39, 0.08) 50%, rgba(10, 10, 15, 0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

.hook-line {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--gold);
  margin: 0 auto 1rem;
  letter-spacing: 0.02em;
  max-width: 560px;
}

.hook-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.hook-cta {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 1rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section video backgrounds */
.section-with-bg {
  position: relative;
  overflow: hidden;
}

.section-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.section-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.88);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
}

/* Innovations */
.innovations {
  background: var(--bg-dark);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.innovations h2 {
  font-size: 1.2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.4;
}

.innovations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.innovation-item {
  padding: 1.25rem;
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-block);
}

.innovation-label {
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.innovation-item p:last-child {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.innovations-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Audience */
.audience {
  background: var(--bg-navy);
}

.audience h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.audience-item {
  padding: 1.5rem;
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-block);
}

.audience-label {
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.audience-item p:last-child {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* About */
.about {
  background: var(--bg-navy);
  text-align: center;
}

.about .container {
  text-align: center;
}

.about h2 {
  text-align: center;
}

.about-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Preview */
.preview .chapter-title {
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.preview-content {
  margin-bottom: 2rem;
}

.preview-content p {
  margin-bottom: 1.25rem;
}

.preview-fade {
  color: var(--text-muted);
  font-style: italic;
}

/* Purchase */
.purchase {
  text-align: center;
  background: var(--bg-dark);
}

.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 880px;
  margin: 0 auto 2rem;
}
@media (max-width: 640px) {
  .purchase-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.purchase-mockup-wrap {
  background: #0a0a0a;
  padding: 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-block);
}
.purchase-mockup-wrap img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-block);
}

.purchase-text {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.purchase .cta-button {
  margin-bottom: 1rem;
}

.purchase-retailers {
  font-size: 0.9rem;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.purchase-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.purchase-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

.purchase-links a:hover {
  color: var(--gold);
}

.purchase-note {
  font-size: 0.9rem;
  color: var(--gold-muted);
  margin-top: 1rem;
}

/* Retailer logos */
.purchase-links {
  gap: 0.75rem;
}
.purchase-links a.retailer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-block);
  transition: background 0.2s, color 0.2s;
  min-width: 56px;
}
.purchase-links a.retailer-logo:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
}
.purchase-links a.retailer-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.purchase-links a.retailer-logo .retailer-name {
  font-size: 0.7rem;
  white-space: nowrap;
  color: var(--text-muted);
}
.purchase-links a.retailer-logo:hover .retailer-name {
  color: var(--gold);
}

/* Newsletter */
.newsletter {
  background: rgba(201, 162, 39, 0.06);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.newsletter .container {
  text-align: center;
}

.newsletter-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.newsletter-form input[type="email"] {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-block);
  background: var(--bg-dark);
  color: var(--text);
  min-width: 220px;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--gold-muted);
  margin: 0;
}

/* Author */
.author-section {
  background: var(--bg-navy);
}

.author-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.author-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold-muted);
}

.author-bio {
  align-self: stretch;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.author-bio p {
  margin-bottom: 1.25rem;
}

/* Series */
.series {
  background: var(--bg-dark);
}

.series-intro {
  margin-bottom: 1.5rem;
  color: var(--gold-muted);
  text-align: center;
}

.series-teasers {
  margin-bottom: 2rem;
}

.series-teasers p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.series-teasers p:last-child {
  margin-bottom: 0;
}

.series-teasers strong {
  color: var(--gold-muted);
  font-weight: 600;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  overflow: visible;
}

.series .container {
  overflow: visible;
}

.series-book {
  text-align: center;
  overflow: visible;
}

.series-book-cover {
  aspect-ratio: 1696 / 2528;
  max-width: 120px;
  margin: 0 auto 0.5rem;
  overflow: visible;
}

.series-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Image reveal animation: fade-in when scrolling into view */
.img-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.img-reveal.animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .img-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.series-book-cover.img-reveal { transition-delay: 0s; }
.series-grid > .series-book-link:nth-child(1) .img-reveal { transition-delay: 0.05s; }
.series-grid > .series-book-link:nth-child(2) .img-reveal { transition-delay: 0.1s; }
.series-grid > .series-book-link:nth-child(3) .img-reveal { transition-delay: 0.15s; }
.series-grid > .series-book-link:nth-child(4) .img-reveal { transition-delay: 0.2s; }
.series-grid > .series-book-link:nth-child(5) .img-reveal { transition-delay: 0.25s; }
.series-grid > .series-book-link:nth-child(6) .img-reveal { transition-delay: 0.3s; }
.series-grid > .series-book-link:nth-child(7) .img-reveal { transition-delay: 0.35s; }
.series-grid > .series-book-link:nth-child(8) .img-reveal { transition-delay: 0.4s; }
.series-nav-grid > .series-book-link:nth-child(1) .img-reveal { transition-delay: 0.05s; }
.series-nav-grid > .series-book-link:nth-child(2) .img-reveal { transition-delay: 0.1s; }
.series-nav-grid > .series-book-link:nth-child(3) .img-reveal { transition-delay: 0.15s; }
.series-nav-grid > .series-book-link:nth-child(4) .img-reveal { transition-delay: 0.2s; }
.series-nav-grid > .series-book-link:nth-child(5) .img-reveal { transition-delay: 0.25s; }
.series-nav-grid > .series-book-link:nth-child(6) .img-reveal { transition-delay: 0.3s; }
.series-nav-grid > .series-book-link:nth-child(7) .img-reveal { transition-delay: 0.35s; }
.series-nav-grid > .series-book-link:nth-child(8) .img-reveal { transition-delay: 0.4s; }

/* Blog hero images: same reveal */
.hero-text .img-reveal {
  transition-delay: 0.1s;
}

.series-book p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.series-book p.series-coming-soon {
  font-size: 0.75rem;
  color: var(--gold-muted);
  margin-top: 0.25rem;
  font-style: italic;
}

.series-book-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.series-book-link:hover .series-book-cover img {
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.25);
}

.series-book-link:hover p {
  color: var(--text);
}

.series-book-num {
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.series-book-tagline {
  font-size: 0.8rem;
  color: var(--gold-muted);
  margin: 0.25rem 0;
}

.series-book-status {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.5rem;
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero-book {
  margin-bottom: 1.5rem;
}

.hero-book .book-cover {
  max-width: 380px;
  width: 100%;
  height: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.connections {
  background: var(--bg-navy);
}

.connections-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.connections-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  color: var(--text);
  line-height: 1.6;
}

.connections-list li:last-child {
  border-bottom: none;
}

.connections-list a {
  color: var(--gold);
  text-decoration: none;
}

.connections-list a:hover {
  color: var(--gold-light);
}

.series-nav {
  background: var(--bg-dark);
  padding: 2rem 0;
  text-align: center;
}

.series-nav .container {
  text-align: center;
}

.series-nav-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.series-nav-intro a {
  color: var(--gold);
  text-decoration: none;
}

.series-nav-intro a:hover {
  color: var(--gold-light);
}

.series-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .series-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-title-link {
  text-decoration: none;
}

.footer-title-link .footer-title {
  color: var(--gold);
}

.footer-title-link:hover .footer-title {
  color: var(--gold-light);
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.25rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Japanese typography: kinsoku - keep punctuation with preceding text, no orphan brackets */
[lang="ja"],
article[lang="ja"] {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
}
[lang="ja"] p,
[lang="ja"] li,
[lang="ja"] h2,
[lang="ja"] h3 {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* Blog search layout */
.blog-search {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.blog-search input[type="text"] {
  flex: 1 1 100%;
}
.blog-search input[type="date"],
.blog-search button {
  margin-left: 0 !important;
}
@media (min-width: 600px) {
  .blog-search input[type="text"] {
    flex: 0 1 400px;
  }
}

/* Blog: curved corners for cards, inputs, video wrap (override inline) */
.blog-post-card,
.insight-video-wrap,
#search-topic, #search-date, #search-clear,
.blog-search input, .blog-search button {
  border-radius: var(--radius-block) !important;
}

/* Blog insight article: larger font for readability */
article.lang-content,
.lang-content {
  font-size: 1.15rem;
  line-height: 1.75;
}
article.lang-content p,
.lang-content p {
  font-size: inherit;
}

/* Blog/article links: gold for readability on dark background */
article a,
.container a:not(.cta-button):not(.series-book-link) {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
article a:hover,
.container a:not(.cta-button):not(.series-book-link):hover {
  color: var(--gold);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 1rem;
}

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

.footer-social a {
  color: var(--gold-muted);
  text-decoration: none;
  margin-left: 0.75rem;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gold-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }

  .hero-homepage {
    background-image: url('images/shogunomics-hero.png');
    background-size: cover;
    background-position: center;
  }

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

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

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }

  .hero-book .book-cover {
    max-width: 280px;
  }
}

/* Global Navigation */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Noto Serif JP', 'Crimson Pro', serif;
  font-size: 1.2rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold);
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

/* Active State for Hamburger */
.menu-toggle.active .hamburger {
  background-color: transparent;
}
.menu-toggle.active .hamburger::before {
  transform: translateY(0) rotate(45deg);
}
.menu-toggle.active .hamburger::after {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    max-width: 80vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease-in-out;
    border-left: 1px solid rgba(201, 162, 39, 0.2);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.2rem;
  }
}
