/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #03A6A1;
    --secondary-cream: #FFE3BB;
    --accent-coral: #FFA673;
    --accent-orange: #FF4F0F;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gradient-1: linear-gradient(135deg, var(--primary-teal), var(--accent-coral));
    --gradient-2: linear-gradient(45deg, var(--accent-orange), var(--secondary-cream));
    --gradient-3: linear-gradient(180deg, var(--primary-teal), var(--accent-orange));
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
img.cartoon-image {
    width: 400px;
}
/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(3, 166, 161, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-link:hover {
    color: var(--primary-teal);
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 166, 161, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 0.1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-shape {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50% 20px 50% 20px;
    animation: logoMorph 4s ease-in-out infinite;
    position: relative;
}

.logo-shape::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--secondary-cream);
    border-radius: 50%;
    animation: logoInner 2s ease-in-out infinite alternate;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

@keyframes logoInner {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-3);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--secondary-cream);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-coral);
    top: 60%;
    right: 15%;
    animation-delay: 1s;
    border-radius: 30% 70% 70% 30%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-orange);
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
    transform: rotate(45deg);
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--primary-teal), transparent);
    top: 10%;
    right: 30%;
    animation-delay: 3s;
    border-radius: 60% 40% 30% 70%;
}

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

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-cream);
    margin-bottom: 2rem;
    opacity: 0.9;
}

@keyframes titleGlow {
    0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
    100% { text-shadow: 2px 2px 20px rgba(255,227,187,0.6); }
}

/* Buttons */
.cta-button, .play-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-2);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button::before, .play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-teal), transparent);
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cta-button:hover::before, .play-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover, .play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 166, 161, 0.4);
    color: var(--light);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(3,166,161,0.1));
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,227,187,0.4), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 166, 161, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    position: relative;
}

.icon-1 {
    background: conic-gradient(var(--primary-teal), var(--accent-coral), var(--primary-teal));
    animation: rotate 4s linear infinite;
}

.icon-2 {
    background: var(--gradient-2);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0;
    animation: pulse 2s ease-in-out infinite;
}

.icon-3 {
    background: var(--accent-orange);
    border-radius: 30% 70% 70% 30%;
    animation: morph 3s ease-in-out infinite;
}

.icon-4 {
    background: linear-gradient(45deg, var(--secondary-cream), var(--accent-coral));
    transform: rotate(45deg);
    border-radius: 20px;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30%; }
    50% { border-radius: 70% 30% 30% 70%; }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(45deg) scale(1); }
    25% { transform: rotate(50deg) scale(1.05); }
    75% { transform: rotate(40deg) scale(1.05); }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--gradient-2);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.manifesto {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
}

.manifesto p {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.manifesto p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 1rem;
    height: 1rem;
    background: var(--primary-teal);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
}

.manifesto p:nth-child(2)::before {
    background: var(--accent-coral);
    animation-delay: 0.5s;
}

.manifesto p:nth-child(3)::before {
    background: var(--accent-orange);
    animation-delay: 1s;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cartoon-character {
    position: relative;
    width: 200px;
    height: 300px;
    margin: 0 auto;
}

.character-head {
    width: 100px;
    height: 100px;
    background: var(--secondary-cream);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--primary-teal);
    animation: headBob 3s ease-in-out infinite;
}

.character-head::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 25%;
    width: 15px;
    height: 15px;
    background: var(--dark);
    border-radius: 50%;
    box-shadow: 35px 0 0 var(--dark);
}

.character-head::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: var(--accent-orange);
    border-radius: 0 0 15px 15px;
}

.character-body {
    width: 80px;
    height: 120px;
    background: var(--accent-coral);
    border-radius: 40px;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    animation: bodyWiggle 2s ease-in-out infinite;
}

.character-arms {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.character-arms::before,
.character-arms::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 20px;
    background: var(--primary-teal);
    border-radius: 10px;
    top: 0;
}

.character-arms::before {
    left: -70px;
    transform: rotate(-30deg);
    animation: armWave1 2s ease-in-out infinite;
}

.character-arms::after {
    right: -70px;
    transform: rotate(30deg);
    animation: armWave2 2s ease-in-out infinite;
}

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

@keyframes bodyWiggle {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(2deg); }
}

@keyframes armWave1 {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(-45deg); }
}

@keyframes armWave2 {
    0%, 100% { transform: rotate(30deg); }
    50% { transform: rotate(45deg); }
}

/* Games Section */
.games {
    padding: 5rem 0;
    background: var(--light);
    position: relative;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(3, 166, 161, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 163, 115, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.game-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.game-card:hover::before {
    opacity: 0.05;
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(3, 166, 161, 0.3);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(3, 166, 161, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.game-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer {
    padding: 3rem 0;
    background: var(--gradient-3);
    color: var(--light);
    text-align: center;
}

.disclaimer h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.disclaimer p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: var(--secondary-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-teal);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Game Page Styles */
.game-page {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--gradient-3);
}

.game-header {
    text-align: center;
    padding: 2rem 0;
    color: var(--light);
}

.game-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.game-container {
    background: var(--light);
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    max-width: 1200px;
}

.game-frame {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.back-button {
    display: inline-block;
    margin: 2rem;
    padding: 1rem 2rem;
    background: var(--gradient-2);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 163, 115, 0.4);
}

/* Contact Page Styles */
.contact-page {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--gradient-2);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--light);
    border-radius: 20px;
    margin-top: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--secondary-cream);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 10px rgba(3, 166, 161, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: var(--light);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 166, 161, 0.4);
}

/* Policy Pages */
.policy-page {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--light);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.policy-content h1 {
    color: var(--primary-teal);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.policy-content h2 {
    color: var(--accent-orange);
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--dark);
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}