/* /assets/css/style.css - Double corners with gradient lines */
:root{
  --bg-deep: #06060a;
  --bg-mid: #0c0c12;
  
  --text-primary: #f0ece4;
  --text-author: #c9a66b;
  --text-nav: #8a8a94;
  
  --glow-primary: rgba(255, 248, 235, 0.08);
  --glow-accent: rgba(212, 184, 150, 0.12);
}

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

html{ height: 100%; }

body{
  min-height: 100%;
  background: var(--bg-deep);
  font-family: Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient light from behind */
body::before{
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 55% at 50% 45%, var(--glow-primary) 0%, transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 50%, var(--glow-accent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle outer vignette */
body::after{
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Corner frame */
.frame{
  position: fixed;
  inset: 1.5rem;
  pointer-events: none;
  z-index: 10;
}

.frame svg{
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: square;
}

/* Outer glowing corner brackets */
.frame .outer-glow{
  stroke: var(--text-author);
  stroke-width: 1;
  opacity: 0.5;
  filter: drop-shadow(0 0 8px rgba(212, 184, 150, 0.6)) 
          drop-shadow(0 0 20px rgba(212, 184, 150, 0.3));
}

/* Inner corner accents */
.frame .accent{
  stroke: var(--text-author);
  stroke-width: 1;
  opacity: 0.35;
}

/* Corner dots */
.frame .accent-fill{
  fill: var(--text-author);
  stroke: none;
  opacity: 0.5;
  filter: drop-shadow(0 0 6px rgba(212, 184, 150, 0.5));
}

.stage{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12vh 8vw;
}

.content{
  max-width: 52rem;
  text-align: center;
}

.quote{
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow:
    0 0 80px rgba(255, 248, 235, 0.15),
    0 0 40px rgba(255, 248, 235, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.5);
}

.author{
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
  color: var(--text-author);
  text-shadow: 0 0 30px rgba(212, 184, 150, 0.2);
}

.nav{
  margin-top: 2rem;
}

.nav a{
  display: inline-block;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-nav);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(138, 138, 148, 0.3);
  transition: all 0.4s ease;
}

.nav a:hover,
.nav a:focus{
  color: var(--text-primary);
  border-color: var(--text-author);
  background: rgba(212, 184, 150, 0.06);
  box-shadow: 0 0 30px -10px rgba(212, 184, 150, 0.3);
}

.page-indicator{
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-nav);
  opacity: 0.5;
  z-index: 5;
}

.page-indicator .line{
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-nav), transparent);
}

/* Mobile adjustments */
@media (max-width: 600px){
  .frame{ inset: 0.8rem; }
  .stage{ padding: 10vh 6vw; }
  .nav a{ padding: 0.8rem 1.6rem; }
  .page-indicator .line{ width: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition-duration: 0.01ms !important;
  }
}
