:root {
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --accent: #FF4C68;
    --bg-dark: #050505;
    --glass-bg: rgba(15, 15, 15, 0.85);
    --glass-border: rgba(255, 215, 0, 0.15);
    --text-primary: #f0f0f0;
    --text-muted: #aaa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.8;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 76, 104, 0.04), transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.04), transparent 50%);
    background-attachment: fixed;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 15px 30px;
    display: flex;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent);
    transition: background 0.3s;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav-back:hover { color: var(--accent); transform: translateX(-5px); }
.nav-back img { height: 35px; }

/* Hero */
.hero {
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
}

.hero-content { position: relative; z-index: 2; padding: 0 20px; }

.hero-badge {
    display: inline-block;
    background: rgba(255, 76, 104, 0.2);
    border: 1px solid rgba(255, 76, 104, 0.4);
    color: var(--accent);
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Philosopher', serif;
    font-size: 4.5rem;
    color: var(--gold);
    text-shadow: 2px 4px 20px rgba(0,0,0,0.8);
}

.hero-sub {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255,255,255,0.75);
    margin-top: 15px;
    max-width: 650px;
}

/* Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 100px;
}

/* Panels */
.panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.panel.reverse { direction: rtl; }
.panel.reverse > * { direction: ltr; }

.panel-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

.panel-image img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.panel-image:hover img { transform: scale(1.05); }

.panel-text h2 {
    font-family: 'Philosopher', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--accent);
}

.panel-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.9;
}

.highlight-quote {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--gold);
    font-style: italic;
    padding: 20px 25px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid var(--dark-gold);
    border-radius: 0 10px 10px 0;
    margin: 25px 0;
}

/* Text Block */
.text-block {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255,215,0,0.03), rgba(255,76,104,0.03));
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    text-align: center;
    margin-bottom: 60px;
    backdrop-filter: blur(5px);
}

.text-block h2 {
    font-family: 'Philosopher', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.text-block p {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto 20px;
    font-weight: 300;
    line-height: 1.9;
}

/* Story Timeline */
.story-section {
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--gold), transparent);
}

.story-beat {
    position: relative;
    padding-left: 80px;
    margin-bottom: 55px;
}

.story-beat::before {
    content: '';
    position: absolute;
    left: 22px; top: 8px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(255, 76, 104, 0.4);
}

.story-beat h3 {
    font-family: 'Philosopher', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.story-beat p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 15px;
}

.dialogue {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--accent);
    padding: 15px 20px;
    background: rgba(255, 76, 104, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    margin: 15px 0;
    font-size: 1rem;
}

/* Conclusions */
.conclusions-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(45, 212, 191, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.conclusions-box h3 {
    font-family: 'Philosopher', serif;
    font-size: 1.8rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
}

.conclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.conclusion-icon {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
    margin-top: 3px;
}

.conclusion-item p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

/* Page Nav */
.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-nav a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.page-nav a:hover { color: var(--accent); }
.page-nav .next { margin-left: auto; }

footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0,0,0,0.8);
    border-top: 1px solid var(--glass-border);
}

footer p { color: var(--text-muted); font-size: 0.85rem; }

/* Animations */
.fade-in {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .panel, .panel.reverse { grid-template-columns: 1fr; direction: ltr; gap: 30px; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .story-beat { padding-left: 55px; }
    .text-block { padding: 35px 20px; }
    .text-block h2 { font-size: 1.8rem; }
    .conclusions-box { padding: 30px 20px; }
    .nav-bar { padding: 10px 15px; }
    .panel-text h2 { font-size: 1.7rem; }
}
