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

:root {
    --primary: #d4af37;
    --secondary: #8b0000;
    --dark: #0a0a0a;
    --dark-brown: #1a0f0f;
    --blood-red: #8b0000;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --shadow: rgba(0, 0, 0, 0.8);
    --glow: rgba(212, 175, 55, 0.5);
}

body {
    font-family: 'Cinzel', serif;
    background: var(--dark);
    color: #e0e0e0;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

/* Particle Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #000000 0%, #0a0505 50%, #000000 100%);
}

#particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(212, 175, 55, 0.2), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease-in-out infinite;
}

@keyframes particleMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

/* Torch Effects */
.torch {
    position: fixed;
    top: 80px;
    width: 40px;
    height: 200px;
    z-index: 1;
}

.torch::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 120px;
    background: linear-gradient(180deg, #3d2817 0%, #2d1810 50%, #1d0f0a 100%);
    border-radius: 2px;
    box-shadow: 
        inset -2px 0 4px rgba(0, 0, 0, 0.5),
        inset 2px 0 4px rgba(0, 0, 0, 0.3);
}

.torch::after {
    content: '🔥';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(255, 150, 0, 0.8))
            drop-shadow(0 0 40px rgba(255, 100, 0, 0.6));
}

.torch-left {
    left: 50px;
}

.torch-left::after {
    animation: flickerLeft 3s infinite;
}

.torch-right {
    right: 50px;
}

.torch-right::after {
    animation: flickerRight 2.5s infinite;
}

@keyframes flickerLeft {
    0%, 100% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1) rotate(-2deg);
        filter: drop-shadow(0 0 20px rgba(255, 150, 0, 0.8))
                drop-shadow(0 0 40px rgba(255, 100, 0, 0.6));
    }
    25% { 
        opacity: 0.85; 
        transform: translateX(-50%) scale(0.95) rotate(2deg);
        filter: drop-shadow(0 0 15px rgba(255, 150, 0, 0.7))
                drop-shadow(0 0 30px rgba(255, 100, 0, 0.5));
    }
    50% { 
        opacity: 0.9; 
        transform: translateX(-50%) scale(1.05) rotate(-3deg);
        filter: drop-shadow(0 0 25px rgba(255, 150, 0, 0.9))
                drop-shadow(0 0 50px rgba(255, 100, 0, 0.7));
    }
    75% { 
        opacity: 0.8; 
        transform: translateX(-50%) scale(0.98) rotate(1deg);
        filter: drop-shadow(0 0 18px rgba(255, 150, 0, 0.75))
                drop-shadow(0 0 35px rgba(255, 100, 0, 0.55));
    }
}

@keyframes flickerRight {
    0%, 100% { 
        opacity: 0.95; 
        transform: translateX(-50%) scale(1) rotate(2deg);
        filter: drop-shadow(0 0 20px rgba(255, 150, 0, 0.8))
                drop-shadow(0 0 40px rgba(255, 100, 0, 0.6));
    }
    30% { 
        opacity: 0.9; 
        transform: translateX(-50%) scale(1.03) rotate(-2deg);
        filter: drop-shadow(0 0 22px rgba(255, 150, 0, 0.85))
                drop-shadow(0 0 45px rgba(255, 100, 0, 0.65));
    }
    60% { 
        opacity: 0.85; 
        transform: translateX(-50%) scale(0.97) rotate(3deg);
        filter: drop-shadow(0 0 17px rgba(255, 150, 0, 0.7))
                drop-shadow(0 0 33px rgba(255, 100, 0, 0.5));
    }
    80% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.02) rotate(-1deg);
        filter: drop-shadow(0 0 23px rgba(255, 150, 0, 0.9))
                drop-shadow(0 0 48px rgba(255, 100, 0, 0.7));
    }
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: 
        radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
}

.title {
    font-family: 'Uncial Antiqua', cursive;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: -20px;
    letter-spacing: 0.1em;
}

.title-main {
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        3px 3px 0 var(--blood-red),
        6px 6px 0 rgba(139, 0, 0, 0.5);
    animation: glowPulse 3s ease-in-out infinite;
}

.title-sub {
    color: var(--silver);
    text-shadow: 
        0 0 10px rgba(192, 192, 192, 0.8),
        0 0 20px rgba(192, 192, 192, 0.6),
        2px 2px 0 #000,
        4px 4px 0 rgba(0, 0, 0, 0.5);
    margin-top: -30px;
    animation: glowPulse 3s ease-in-out infinite 0.5s;
}

@keyframes glowPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--glow);
}

.runes {
    font-size: 2rem;
    letter-spacing: 1rem;
    color: var(--gold);
    animation: runeFloat 3s ease-in-out infinite;
}

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

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

/* Section Styles */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-title {
    font-family: 'Uncial Antiqua', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--gold);
    margin-bottom: 60px;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        2px 2px 0 var(--blood-red);
    letter-spacing: 0.1em;
}

.ornament-left,
.ornament-right {
    display: inline-block;
    margin: 0 20px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Quest Container */
.quest-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    border: 3px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-container video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover video::-webkit-media-controls {
    opacity: 1;
}

.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.video-unmute-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
    cursor: pointer;
}

.video-unmute-overlay.show {
    display: flex;
}

.unmute-btn {
    padding: 20px 40px;
    font-size: 1.3rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: var(--dark);
    border: 3px solid var(--gold);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.unmute-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.quest-text {
    background: linear-gradient(135deg, rgba(26, 15, 15, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 3px solid var(--primary);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.quest-text::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

.description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #d0d0d0;
    text-align: justify;
}

.description strong {
    color: var(--gold);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 120px 20px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(26, 15, 15, 0.8) 100%);
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 
        0 0 50px rgba(212, 175, 55, 0.4),
        inset 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), var(--blood-red), var(--gold));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-box:hover::before {
    opacity: 0.3;
}

.cta-title {
    font-family: 'Uncial Antiqua', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.cta-text {
    font-size: 1.3rem;
    color: #d0d0d0;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: var(--dark);
    border: 2px solid var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--blood-red) 0%, #6b0000 100%);
    color: var(--gold);
    border: 2px solid var(--blood-red);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.6);
    border-color: var(--gold);
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px 40px;
    color: #808080;
}

.divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 30px;
}

.footer p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px var(--glow);
}

.copyright {
    font-size: 0.9rem;
    color: #606060;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .torch {
        display: none;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .quest-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Scroll Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}
