/* Sabidopolis Landing - Magical Forest Theme v2 */

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

body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 30%, #3d7a4d 60%, #2d5a3d 100%);
    color: #fff;
    overflow-x: hidden;
}

/* Firefly Container */
#fireflies-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

/* Firefly Element */
.firefly {
    position: absolute;
    animation: firefly-life 8s ease-in-out forwards;
    pointer-events: none;
    max-width: 350px;
}

.firefly-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
    opacity: 0.7;
}

.firefly-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 16px 22px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.firefly-content i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.firefly-content span {
    flex: 1;
}

@keyframes firefly-life {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    15% {
        opacity: 0.3;
        transform: scale(0.8) translateY(10px);
    }

    30% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    70% {
        opacity: 1;
        transform: scale(1) translateY(-10px);
    }

    85% {
        opacity: 0.3;
        transform: scale(0.9) translateY(-15px);
    }

    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-30px);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Magical Background */
.magical-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-elements .star {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.mascot {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
    color: #ffd700;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.title {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    color: #ffd700;
    text-shadow: 3px 3px 0 #8b6914, 0 0 30px rgba(255, 215, 0, 0.5);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.8rem;
    color: #90ee90;
    margin-bottom: 20px;
    font-weight: 600;
}

.subtitle i {
    color: #ffd700;
}

.description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a3a2a;
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #90ee90;
}

.feature-card h3 {
    font-family: 'Fredoka One', cursive;
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Clickable feature card */
.feature-link {
    text-decoration: none;
    color: inherit;
}

.feature-link:hover {
    border-color: #ffd700;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(144, 238, 144, 0.2);
    border: 2px solid rgba(144, 238, 144, 0.4);
    border-radius: 20px;
    padding: 25px 30px;
    margin-top: 50px;
}

.info-icon {
    font-size: 2.5rem;
    color: #90ee90;
}

.info-content h3 {
    color: #90ee90;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .mascot {
        font-size: 4rem;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 16px 35px;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .firefly {
        max-width: 280px;
    }

    .firefly-content {
        font-size: 0.85rem;
        padding: 12px 15px;
    }
}