
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold:        #d4af37;
    --gold-light:  #f0d060;
    --gold-dim:    #a07c20;
    --cream:       #f5deb3;
    --dark:        #0a0804;
    --dark-mid:    #1a1208;
    --ancient-red: #8b1e0f;
    --text-parch:  #f4edd8;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--text-parch);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.95;
    overflow-x: hidden;
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px;
    background: rgba(10, 8, 4, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 600;
}

.menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.menu li a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    padding: 8px 18px;
    transition: all 0.3s;
}

.menu li a:hover,
.menu li.active a {
    color: var(--gold);
}

/* =============================================
   EPIC BANNER + TITLE
============================================= */
.epic-banner {
    width: 100%;
    height: 100vh;
    min-height: 650px;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.8)), 
                url('../assets/images/hongbang.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
}

.title-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
}

.small-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.main-title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(55px, 8.8vw, 118px);
    font-weight: 900;
    color: #f0d060;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.05;
    text-shadow: 
        0 0 45px #d4af37,
        0 0 95px #d4af37,
        0 0 150px rgba(212,175,55,0.7),
        0 12px 30px rgba(0,0,0,0.95);
    animation: titleGlow 5.5s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 45px #d4af37, 0 0 95px rgba(212,175,55,0.6); }
    to   { text-shadow: 0 0 70px #f0d060, 0 0 160px rgba(212,175,55,0.85), 0 0 190px rgba(139,30,15,0.45); }
}

/* =============================================
   SCROLL CONTAINER & CHAPTER
============================================= */
.scroll-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px 120px;
    position: relative;
}

.scroll-container::before {
    content: '';
    position: absolute;
    inset: 30px 15px;
    border: 1px dashed rgba(212, 175, 55, 0.18);
    pointer-events: none;
    border-radius: 12px;
    z-index: 1;
}

/* Chapter */
.chapter {
    margin-bottom: 130px;
    position: relative;
    z-index: 2;
}

.chapter-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
}

.chapter-header .line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.chapter-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2.05rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    white-space: nowrap;
    padding: 0 25px;
}

.chapter-header span {
    color: var(--ancient-red);
    font-size: 1.6rem;
}

.chapter-body {
    max-width: 820px;
    margin: 0 auto;
    text-align: justify;
    color: #e8d9c0;
    font-size: 1.15rem;
}

.chapter-body p {
    margin-bottom: 32px;
    text-indent: 38px;
}

/* Highlight Box */
.highlight-box {
    background: rgba(139, 30, 15, 0.09);
    border-left: 5px solid var(--ancient-red);
    border-right: 5px solid var(--ancient-red);
    padding: 42px 45px;
    margin: 55px auto;
    border-radius: 8px;
    max-width: 800px;
}

.highlight-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    text-align: center;
    font-size: 1.45rem;
    margin-bottom: 22px;
}

/* Epic Quote */
.epic-quote {
    font-style: italic;
    color: var(--gold);
    text-align: center;
    font-size: 1.42rem;
    line-height: 1.8;
    margin: 55px 0;
    padding: 40px 50px;
    border-top: 1px solid rgba(212,175,55,0.35);
    border-bottom: 1px solid rgba(212,175,55,0.35);
}

/* Split Destiny */
.split-destiny {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.destiny-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.destiny-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-light);
}

.destiny-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.45rem;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

/* Footer */
.ancient-footer {
    text-align: center;
    padding: 70px 20px 50px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: #9a8c6f;
    background-color: var(--dark-mid);
    font-size: 1rem;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
    
    .navbar {
        padding: 0 20px;
        height: 65px;
    }
    
    .chapter-header h2 {
        font-size: 1.65rem;
    }
    
    .split-destiny {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}