/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fecfef 50%, #fad0c4 75%, #ffd1ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Shapes */
.decorative-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.7;
}

/* Stars */
.star {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 10px solid #ffeb3b;
    position: relative;
    transform: rotate(35deg);
    animation: rotate 4s linear infinite;
}

.star:before {
    content: '';
    position: absolute;
    left: -15px;
    top: -7px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 10px solid #ffeb3b;
    transform: rotate(-70deg);
}

.star:after {
    content: '';
    position: absolute;
    left: -15px;
    top: 3px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 10px solid #ffeb3b;
    transform: rotate(70deg);
}

.star1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.star2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

/* Clouds */
.cloud {
    width: 60px;
    height: 20px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.cloud:before {
    content: '';
    position: absolute;
    background: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: -12px;
    left: 10px;
}

.cloud:after {
    content: '';
    position: absolute;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: -15px;
    right: 10px;
}

.cloud1 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.cloud2 {
    top: 70%;
    left: 5%;
    animation-delay: 3s;
}

/* Balloons */
.balloon {
    width: 30px;
    height: 40px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    position: relative;
    animation: bounce 3s ease-in-out infinite;
}

.balloon:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background: #333;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.balloon1 {
    top: 30%;
    left: 80%;
    animation-delay: 0.5s;
}

.balloon2 {
    top: 80%;
    right: 10%;
    animation-delay: 2.5s;
}

/* Building Blocks */
.block {
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    border-radius: 4px;
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.block:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.block:after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.block1 {
    top: 40%;
    left: 15%;
    animation-delay: 1.5s;
}

.block2 {
    top: 15%;
    right: 30%;
    animation-delay: 3.5s;
}

/* Animations */
@keyframes rotate {
    0% { transform: rotate(35deg); }
    100% { transform: rotate(395deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-emoji {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    animation: wiggle 0.5s ease-in-out;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    animation: pop-in 0.8s ease-out;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 30px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-emoji-collection {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-emoji {
    font-size: 2rem;
    padding: 0.5rem;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-emoji:nth-child(1) { animation-delay: 0s; }
.hero-emoji:nth-child(2) { animation-delay: 0.2s; }
.hero-emoji:nth-child(3) { animation-delay: 0.4s; }
.hero-emoji:nth-child(4) { animation-delay: 0.6s; }
.hero-emoji:nth-child(5) { animation-delay: 0.8s; }

.hero-emoji:hover {
    transform: scale(1.2);
    animation: wiggle 0.5s ease-in-out;
}

/* Article Content */
.article-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: justify;
}

.kaomoji-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    background: linear-gradient(45deg, #ffd89b, #19547b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.kaomoji-link:hover {
    animation: wiggle 0.5s ease-in-out;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Interactive Playground */
.interactive-playground {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.playground-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.emoji-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.emoji-card {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    padding: 1rem;
    border-radius: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.emoji-card:hover {
    transform: scale(1.1) rotate(5deg);
    animation: wiggle 0.5s ease-in-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-emoji {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

/* Blog Content */
.blog-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.blog-posts {
    display: grid;
    gap: 2rem;
}

.blog-post {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.post-emoji {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
}

/* About Content */
.about-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-section {
    margin-bottom: 3rem;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: justify;
}

.team-showcase {
    text-align: center;
}

.team-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.mission-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.mission-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.mission-card p {
    color: #555;
    line-height: 1.6;
}

/* Contact Content */
.contact-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.contact-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
}

.contact-emoji {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.contact-details h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #555;
}

/* Contact Form */
.contact-form-section {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: wiggle 0.5s ease-in-out;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-emojis {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-emojis span {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.footer-emojis span:nth-child(1) { animation-delay: 0s; }
.footer-emojis span:nth-child(2) { animation-delay: 0.3s; }
.footer-emojis span:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-emoji-collection {
        gap: 0.5rem;
    }
    
    .hero-emoji {
        font-size: 1.5rem;
    }
    
    .emoji-showcase {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
    
    .mission-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .article-paragraph {
        font-size: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}
