/* Neocities Retro Style CSS */

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

body {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 60px 70px, #fff, transparent),
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
    opacity: 0.5;
}

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

/* Header */
header {
    text-align: center;
    padding: 3rem 1rem 2rem;
    position: relative;
    z-index: 10;
}

.rainbow-text h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: rainbow 3s linear infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

@keyframes rainbow {
    to { background-position: 200% center; }
}

.subtitle {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* Welcome Box */
.welcome-box {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 5px solid #ff0080;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: bounce-in 1s ease;
}

@keyframes bounce-in {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.welcome-box h2 {
    color: #ff0080;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff0080, #ff8c00);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    border: 3px solid white;
}

.cta-button:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.cta-button.big {
    font-size: 1.5rem;
    padding: 1.2rem 3rem;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

/* Features Section */
.features {
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 3px solid #40e0d0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #ff0080;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.feature-card h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Why Choose Section */
.why-choose {
    margin-bottom: 3rem;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.benefit {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #ff0080;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    margin-bottom: 3rem;
}

.cta-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: 5px solid white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    margin-bottom: 1.5rem;
}

.footer-content a {
    color: #40e0d0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #ff0080;
}

.visitor-counter {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #40e0d0;
    border-radius: 10px;
    padding: 1rem;
    display: inline-block;
}

.counter {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #ff0080;
    font-weight: bold;
}

/* Floating Sparkles */
.floating-sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.sparkle {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 3s;
}

.sparkle:nth-child(4) {
    top: 40%;
    left: 90%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .rainbow-text h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 1rem;
    }
}
