/* Home page animations and styles */

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(300px) translateY(300px);
        opacity: 0;
    }
}

@keyframes drawConstellation {
    0% { stroke-dashoffset: 1000; opacity: 0; }
    20% { opacity: 0.3; }
    50% { stroke-dashoffset: 0; opacity: 0.3; }
    80% { opacity: 0.3; }
    100% { opacity: 0; }
}

@keyframes fadeConstellation {
    0% { opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    100% { opacity: 0; }
}

.star {
    animation: twinkle var(--twinkle-speed) ease-in-out infinite;
}

.shooting-star {
    animation: shooting 1.5s ease-out forwards;
}

.gradient-text {
    background: linear-gradient(to right, #174A69, #3D91C2, #5BB8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.glass-morphism {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
}

.constellation-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawConstellation 8s ease-in-out;
}

.constellation-star {
    animation: fadeConstellation 8s ease-in-out;
}

/* Legal content styles for static pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    color: #f5f5dc;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-align: center;
}

.legal-content h2 {
    color: #3d91c2;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.legal-content h3 {
    color: #f5f5dc;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.legal-content p,
.legal-content li {
    color: rgba(245, 245, 220, 0.9);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content .last-updated {
    text-align: center;
    color: rgba(245, 245, 220, 0.6);
    font-style: italic;
    margin-bottom: 30px;
}

.legal-content .contact-info {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.legal-content strong {
    color: #f5f5dc;
}