:root {
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --gold-dark: #8B6914;
    --silver: #C0C0C0;
    --silver-light: #E0E0E0;
    --silver-dark: #808080;
    --bg-deep: #0A0A0F;
    --bg-surface: #12121A;
    --bg-elevated: #1A1A25;
    --text-primary: #F0EDE6;
    --text-secondary: #9B978F;
    --text-muted: #6B6860;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Caslon Text', serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    font-size: 1.1rem;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    text-transform: capitalize;
}

.font-decorative {
    font-family: 'Cinzel Decorative', serif;
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: rgba(2, 2, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.05);
    transition: all 0.4s ease;
}

.navbar-custom .navbar-brand {
    font-family: 'Cinzel Decorative', serif;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.navbar-logo {
    height: 30px;
    width: auto;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.navbar-typewriter {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    border-right: 2px solid var(--gold);
    padding-right: 3px;
    animation: blink-caret 0.8s step-end infinite;
    white-space: nowrap;
}

@keyframes blink-caret {
    0%, 100% { border-color: var(--gold); }
    50% { border-color: transparent; }
}

.navbar-custom .nav-link {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.navbar-custom .nav-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(232, 212, 139, 0.5), 0 0 20px rgba(201, 168, 76, 0.3);
}

/* Estado ativo via Scrollspy */
.navbar-custom .nav-link.active {
    color: var(--gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(232, 212, 139, 0.6), 0 0 25px rgba(201, 168, 76, 0.35);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('../img/1.png') center center / cover no-repeat fixed;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.82);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-deep));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

.hero-content::before {
    content: none;
}

.hero-roman-numeral {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    font-family: 'Cinzel', serif;
    font-size: clamp(25rem, 50vw, 45rem);
    font-weight: 900;
    color: rgba(192, 192, 192, 0.07);
    line-height: 1;
    pointer-events: none;
    z-index: -1;
    letter-spacing: -5px;
    text-shadow: 0 0 60px rgba(192, 192, 192, 0.03);
    opacity: 0;
    animation: iReveal 3s ease forwards 1.5s;
}



@keyframes iReveal {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
        text-shadow: 0 0 0 transparent;
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
        text-shadow: 0 0 80px rgba(192, 192, 192, 0.15);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        text-shadow: 0 0 60px rgba(192, 192, 192, 0.03);
    }
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

#loading-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-ornament {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
    position: relative;
}

.hero-ornament::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 0.5rem;
    line-height: 0;
}

.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(
        90deg, 
        var(--text-primary) 0%, 
        var(--text-primary) 44%, 
        var(--gold-light) 48%, 
        #fff 50%, 
        var(--gold-light) 52%, 
        var(--text-primary) 56%, 
        var(--text-primary) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: 
        revealUp 1.2s ease forwards 0.3s,
        titleShimmer 8s linear infinite 2.5s;
}

@keyframes titleShimmer {
    0% { background-position: 100% center; }
    100% { background-position: -100% center; }
}

.hero-saga {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.8rem;
    opacity: 0;
    animation: revealUp 1.2s ease forwards 0.6s;
}

.hero-saga .char {
    color: rgba(100, 85, 50, 0.3);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.hero-saga .char.lit {
    color: var(--gold);
}

@keyframes emberGlow {
    0%, 100% { 
        color: #A04420;
        text-shadow: 0 0 4px rgba(180, 60, 20, 0.5), 0 0 10px rgba(220, 100, 30, 0.2);
    }
    50% { 
        color: #D4652A;
        text-shadow: 0 0 8px rgba(220, 100, 30, 0.8), 0 0 20px rgba(255, 140, 50, 0.4), 0 0 40px rgba(180, 60, 20, 0.2);
    }
}

.hero-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    margin: 1.5rem auto;
    opacity: 0;
    animation: revealUp 1s ease forwards 0.9s;
}

.hero-edition {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: revealUp 1.2s ease forwards 1s;
    border: 2px solid var(--gold);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1.5rem;
    position: relative;
    box-shadow: 0 0 0 3px var(--bg-deep), 0 0 0 5px rgba(201, 168, 76, 0.3);
    transform: rotate(-3deg);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
}

.hero-edition:hover {
    background: rgba(201, 168, 76, 0.1);
    box-shadow: 0 0 0 3px var(--bg-deep), 0 0 0 5px rgba(201, 168, 76, 0.5), 0 0 20px rgba(201, 168, 76, 0.2);
    transform: rotate(0deg) scale(1.05);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: revealUp 1s ease forwards 1.5s;
}

.hero-scroll-indicator a {
    color: var(--gold);
    font-size: 1.5rem;
    animation: float 2s ease-in-out infinite;
}

/* ===== SECTION STYLES ===== */
.section-padding {
    padding: 7rem 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-ornament {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 3rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
    background: var(--bg-surface);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.author-portrait {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold-dark);
    box-shadow: 
        0 0 30px rgba(201, 168, 76, 0.1),
        0 0 60px rgba(201, 168, 76, 0.05);
    transition: all 0.5s ease;
}

.author-portrait:hover {
    box-shadow: 
        0 0 40px rgba(201, 168, 76, 0.2),
        0 0 80px rgba(201, 168, 76, 0.1);
    transform: scale(1.02);
}

.about-text {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-secondary);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gold);
    color: var(--bg-deep);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.3);
}

/* ===== UNIVERSE SECTION ===== */
.universe-section {
    position: relative;
    background: var(--bg-deep);
}

.universe-map-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.universe-map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: none;
}

.universe-map-wrapper::after {
    content: none;
}

.universe-map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    filter: sepia(0.4) brightness(0.55) saturate(0.6);
    transition: filter 0.8s ease;
}

.universe-map-wrapper:hover .universe-map-img {
    filter: sepia(0.15) brightness(0.8) saturate(0.85);
}

.universe-map-hotspot {
    position: absolute;
    z-index: 3;
    border: 1.5px solid rgba(201, 168, 76, 0.0);
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.0);
    cursor: pointer;
    transition: all 0.4s ease;
}

.universe-map-hotspot:hover {
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(201, 168, 76, 0.08);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2), inset 0 0 15px rgba(201, 168, 76, 0.05);
}

.universe-map-hotspot-label {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.universe-map-hotspot:hover .universe-map-hotspot-label {
    opacity: 1;
}

.universe-map-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.universe-map-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: 1px solid rgba(192, 192, 192, 0.15);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.universe-map-btn:hover {
    color: var(--gold);
    border-color: rgba(201, 168, 76, 0.4);
}

.universe-map-btn.active {
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.15);
}

.universe-map-slide {
    display: none;
    animation: mapFadeIn 0.8s ease forwards;
}

.universe-map-slide.active {
    display: block;
}

@keyframes mapFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.universe-map-lens {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.4);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(201, 168, 76, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-repeat: no-repeat;
    overflow: hidden;
}

.universe-map-lens.active {
    opacity: 1;
}

.universe-map-lens::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 30px 10px rgba(10, 10, 15, 0.5);
    pointer-events: none;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.quote-section::before,
.quote-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.quote-section::before { top: 0; }
.quote-section::after { bottom: 0; }

.quote-text {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.quote-mark {
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    font-family: 'Cinzel Decorative', serif;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--bg-deep);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 3rem 0;
}

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

.footer-logo {
    filter: invert(1) brightness(2);
    opacity: 0.9;
    max-height: 40px;
    margin-bottom: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes magicReveal {
    0% {
        opacity: 0;
        transform: scale(0.3);
        filter: blur(10px);
        text-shadow: 0 0 0 transparent;
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: blur(2px);
        text-shadow: 0 0 20px rgba(192, 192, 192, 0.6), 0 0 40px rgba(201, 168, 76, 0.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        text-shadow: none;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== BUTTON STYLES ===== */
.btn-gold {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-deep);
    box-shadow: 0 5px 25px rgba(201, 168, 76, 0.3), 0 0 15px rgba(201, 168, 76, 0.2);
    transform: translateY(-2px);
}

/* ===== ANNOUNCEMENT SECTION ===== */
.announcement-section {
    position: relative;
    background: url('../img/1.png') center center / cover no-repeat fixed;
    overflow: hidden;
}

.announcement-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.88);
    z-index: 0;
}

.announcement-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, var(--bg-deep) 0%, transparent 15%),
        linear-gradient(to top, var(--bg-deep) 0%, transparent 15%);
    z-index: 0;
    pointer-events: none;
}

.announcement-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--silver-light);
    border: 1px solid rgba(192, 192, 192, 0.4);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(192, 192, 192, 0.1);
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.3), 0 0 30px rgba(201, 168, 76, 0.1);
        transform: scale(1.03);
    }
}

.announcement-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--silver-light) 0%, var(--gold) 50%, var(--silver-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.announcement-subtitle {
    font-family: 'Cinzel', serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--gold);
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.announcement-description {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto;
    line-height: 1.9;
}

.announcement-tags {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.announcement-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--silver);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.announcement-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.announcement-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== NOTICE SECTION ===== */
.notice-section {
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.notice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.notice-header {
    text-align: center;
    margin-bottom: 4rem;
}

.notice-header-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--silver), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.notice-header h3 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.notice-header-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--silver), var(--gold));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.notice-intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.notice-intro p {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.notice-highlight {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(192, 192, 192, 0.08));
    border-radius: 50px;
    color: var(--gold);
    font-weight: 500;
    font-size: 1rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.notice-block {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(26, 26, 37, 0.8), rgba(18, 18, 26, 0.9));
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notice-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(192, 192, 192, 0.15), rgba(201, 168, 76, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.notice-block:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(201, 168, 76, 0.05);
}

.notice-block-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(192, 192, 192, 0.1));
    color: var(--gold);
}

.notice-block h5 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.notice-block p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.notice-closing {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.notice-closing p {
    font-family: 'Libre Caslon Text', serif;
    font-style: italic;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--silver);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .author-portrait {
        width: 200px;
        height: 200px;
    }

    .universe-card {
        padding: 2rem;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .universe-map-lens {
        display: none !important;
    }

    .universe-map-wrapper {
        cursor: default;
    }

    .universe-map-img {
        cursor: zoom-in;
    }

    .hero-roman-numeral {
        font-size: 45rem;
    }
}

/* ===== FAQ SECTION ===== */
.accordion-item {
    background: var(--bg-elevated);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(201, 168, 76, 0.05);
    color: var(--gold);
    box-shadow: none;
}

.accordion-button::after {
    filter: brightness(0.5) sepia(1) hue-rotate(10deg) saturate(3);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(201, 168, 76, 0.2);
}

.accordion-body {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-family: 'Libre Caslon Text', serif;
    font-size: 1rem;
    line-height: 1.8;
    padding: 1.5rem;
}

/* ===== WIKI SECTION ===== */
.wiki-section {
    position: relative;
    background: var(--bg-deep);
    overflow: hidden;
}

.wiki-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.wiki-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(26, 26, 37, 0.8), rgba(18, 18, 26, 0.9));
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiki-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(201, 168, 76, 0.25), rgba(192, 192, 192, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.wiki-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(201, 168, 76, 0.08);
}

.wiki-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.wiki-card-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3.5rem;
    z-index: 1;
}

.wiki-logo {
    width: 140px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.15));
    transition: all 0.5s ease;
}

.wiki-card:hover .wiki-logo {
    filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.25));
    transform: scale(1.05);
}

.wiki-card-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.wiki-card-text p {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

@media (max-width: 768px) {
    .wiki-card-content {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }

    .wiki-logo {
        width: 110px;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    position: relative;
    background: var(--bg-surface);
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

#faq-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* FAQ open/close effects */
.accordion-item {
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

.accordion-item.faq-blur {
    filter: blur(3px);
    opacity: 0.5;
}

.accordion-item.faq-active {
    transform: scale(1.03);
    filter: none;
    opacity: 1;
    z-index: 2;
    position: relative;
}
