/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated starfield background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.8"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.6"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.9"/><circle cx="90" cy="90" r="0.8" fill="white" opacity="0.7"/><circle cx="10" cy="70" r="1.2" fill="white" opacity="0.8"/><circle cx="60" cy="10" r="0.6" fill="white" opacity="0.5"/><circle cx="30" cy="50" r="1" fill="white" opacity="0.9"/><circle cx="70" cy="70" r="0.7" fill="white" opacity="0.6"/></svg>') repeat;
    background-size: 200px 200px;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.4"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.3"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.5"/><circle cx="90" cy="90" r="0.8" fill="white" opacity="0.2"/><circle cx="10" cy="70" r="1.2" fill="white" opacity="0.4"/><circle cx="60" cy="10" r="0.6" fill="white" opacity="0.3"/><circle cx="30" cy="50" r="1" fill="white" opacity="0.5"/><circle cx="70" cy="70" r="0.7" fill="white" opacity="0.2"/></svg>') repeat;
    background-size: 300px 300px;
    animation: move-twink-back 200s linear infinite, twinkle 3s ease-in-out infinite;
}

@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.drifting-stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="15" r="0.8" fill="white" opacity="0.3"/><circle cx="85" cy="25" r="1.2" fill="white" opacity="0.4"/><circle cx="25" cy="85" r="0.6" fill="white" opacity="0.2"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.3"/><circle cx="45" cy="35" r="0.9" fill="white" opacity="0.4"/><circle cx="65" cy="15" r="0.7" fill="white" opacity="0.2"/><circle cx="35" cy="65" r="1.1" fill="white" opacity="0.3"/><circle cx="95" cy="55" r="0.8" fill="white" opacity="0.4"/><circle cx="5" cy="45" r="1.3" fill="white" opacity="0.2"/><circle cx="55" cy="95" r="0.5" fill="white" opacity="0.3"/></svg>') repeat;
    background-size: 500px 500px;
    animation: drift-stars 300s linear infinite, fade-stars 8s ease-in-out infinite;
}

@keyframes drift-stars {
    from { background-position: 0 0; }
    to { background-position: -5000px 2500px; }
}

@keyframes fade-stars {
    0%, 60% {
        opacity: 0.7;
    }
    65% {
        opacity: 1;
    }
    70% {
        opacity: 0.8;
    }
    75% {
        opacity: 0.2;
    }
    80% {
        opacity: 0.9;
    }
    85%, 100% {
        opacity: 0.6;
    }
}

/* Fast moving stars - closer layer */
.fast-stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    background: transparent;
}

.fast-stars::before,
.fast-stars::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.fast-stars::before {
    top: 25%;
    left: -20px;
    animation: fast-star-1 18s linear infinite;
}

.fast-stars::after {
    top: 70%;
    left: -30px;
    animation: fast-star-2 22s linear infinite;
    animation-delay: -7s;
}

@keyframes fast-star-1 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 50px)) translateY(150px);
        opacity: 0;
    }
}

@keyframes fast-star-2 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    4% {
        opacity: 1;
    }
    96% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 60px)) translateY(-120px);
        opacity: 0;
    }
}

/* Shooting stars - yellowish-orange meteors streaking across the sky */
.shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    background: transparent;
}

.shooting-stars::before,
.shooting-stars::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 200, 100, 1) 0%, rgba(255, 150, 50, 0.9) 40%, rgba(255, 100, 0, 0.6) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 200, 100, 1), 0 0 16px rgba(255, 150, 50, 0.8), 0 0 24px rgba(255, 100, 0, 0.4);
}

.shooting-stars::before {
    top: 20%;
    left: -50px;
    animation: shooting-star-1 8s linear infinite;
}

.shooting-stars::after {
    top: 60%;
    left: -80px;
    animation: shooting-star-2 12s linear infinite;
    animation-delay: -4s;
}

@keyframes shooting-star-1 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(200px);
        opacity: 0;
    }
}

@keyframes shooting-star-2 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 120px)) translateY(-150px);
        opacity: 0;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.hero {
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    letter-spacing: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    }
    to {
        text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff;
    }
}

.logo-subtitle {
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 3px;
    font-style: italic;
}

.mystery-text {
    margin-bottom: 60px;
}

.tagline {
    font-size: 1.8rem;
    color: #ff6b6b;
    margin-bottom: 15px;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.subtitle {
    font-size: 1.3rem;
    color: #a0a0a0;
    font-weight: 300;
}

/* Coming Soon Section */
.coming-soon {
    position: relative;
    display: inline-block;
    margin-top: 40px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid #00ffff;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.coming-text {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid #00ffff;
    border-radius: 5px;
    color: #00ffff;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

/* Main Content */
.content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.mystery-section {
    margin-bottom: 60px;
    padding: 30px;
    background: rgba(20, 20, 20, 0.8);
    border-left: 3px solid #00ffff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mystery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.05) 0%, 
        rgba(138, 43, 226, 0.05) 25%, 
        rgba(255, 20, 147, 0.05) 50%, 
        rgba(0, 255, 255, 0.05) 75%, 
        rgba(138, 43, 226, 0.05) 100%);
    background-size: 400% 400%;
    animation: nimbus-aura 8s ease-in-out infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mystery-section:hover::before {
    opacity: 1;
}

.mystery-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2), 
                0 0 60px rgba(138, 43, 226, 0.1);
    border-left-color: #8a2be2;
}

@keyframes nimbus-aura {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.mystery-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #00ffff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

/* Individual section header colors */
.mystery-section:nth-child(1) h2 {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.mystery-section:nth-child(2) h2 {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.mystery-section:nth-child(3) h2 {
    color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

.mystery-section:hover h2 {
    transform: scale(1.02);
    text-shadow: 0 0 15px currentColor, 0 0 25px currentColor;
}

.mystery-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
    text-align: justify;
    position: relative;
    z-index: 2;
}

/* Floating mystical particles */
.mystery-section::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
    z-index: 1;
}

.mystery-section:nth-child(2)::after {
    background: radial-gradient(circle, rgba(138, 43, 226, 0.8) 0%, transparent 70%);
    animation-delay: -2s;
}

.mystery-section:nth-child(3)::after {
    background: radial-gradient(circle, rgba(255, 20, 147, 0.8) 0%, transparent 70%);
    animation-delay: -4s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid #333;
    padding: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer p {
    color: #666;
    margin-bottom: 15px;
}

.social-links {
    color: #888;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .mystery-section {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .mystery-section h2 {
        font-size: 1.5rem;
    }
    
    .mystery-section p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 60px 20px 60px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .coming-text {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .pulse-ring {
        width: 150px;
        height: 150px;
    }
}
