:root {
  --color-navy: #2B3A67;
  --color-white: #F9F4EF; /* Warm white */
  --color-amber: #D4944C;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Inter', sans-serif;
  --transition-slow: 0.8s ease-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-amber);
  margin: 1rem auto 0;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #1a2542 0%, #2B3A67 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

/* Animated particles or glow effect (Simulated via CSS) */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 148, 76, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.5s ease-out;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 900;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-title span {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.8;
  letter-spacing: 0.2em;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  letter-spacing: 0.1em;
  font-style: italic;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

.scroll-text {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: var(--color-white);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform:translate(-50%, 0); }
  40% { transform:translate(-50%, -10px); }
  60% { transform:translate(-50%, -5px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Novels Section */
.novels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 2rem 0;
}

/* Author Section */
.author-profile {
  background-color: #f4efea;
  text-align: center;
}

.author-content {
  max-width: 800px;
  margin: 0 auto;
}

.author-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-link {
  font-weight: 600;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .novels-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
