:root {
    --primary-dark: #533B4D;
    --primary-pink: #F564A9;
    --secondary-pink: #FAA4BD;
    --accent-cream: #FAE3C6;
    --text-light: #ffffff;
    --text-dark: #2a2a2a;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-pink) 100%);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    animation: headerFloat 6s ease-in-out infinite;
}

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-cream);
    text-shadow: 0 0 20px var(--accent-cream);
    animation: linkPulse 1s ease-in-out infinite;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-shape {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent-cream), var(--secondary-pink));
    border-radius: 50% 30% 50% 30%;
    animation: logoMorph 4s ease-in-out infinite;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-pink) 50%, var(--secondary-pink) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape-layer {
    position: absolute;
    opacity: 0.7;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent, var(--accent-cream));
    border-radius: 50% 30% 60% 40%;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-pink), transparent);
    border-radius: 30% 70% 30% 70%;
    animation-delay: 2s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 180px;
    height: 180px;
    background: linear-gradient(225deg, var(--accent-cream), transparent);
    border-radius: 40% 60% 50% 50%;
    animation-delay: 4s;
}

@keyframes shapeFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.9;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: heroContentRise 1.5s ease-out;
}

@keyframes heroContentRise {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, var(--accent-cream), var(--secondary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-cream);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-cream), var(--secondary-pink));
    color: var(--primary-dark);
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 100, 169, 0.4);
    animation: buttonRipple 0.8s ease-out;
}

@keyframes buttonRipple {
    0% { transform: scale(1) translateY(-3px); }
    50% { transform: scale(1.05) translateY(-3px); }
    100% { transform: scale(1) translateY(-3px); }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--text-light) 0%, var(--accent-cream) 100%);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-dark);
    position: relative;
}

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

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

.feature-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(83, 59, 77, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--secondary-pink), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: cardShine 3s linear infinite;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(83, 59, 77, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    position: relative;
    animation: iconFloat 4s ease-in-out infinite;
}

.icon-1 {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
}

.icon-2 {
    background: linear-gradient(135deg, var(--secondary-pink), var(--accent-cream));
    animation-delay: 1s;
}

.icon-3 {
    background: linear-gradient(135deg, var(--accent-cream), var(--primary-pink));
    animation-delay: 2s;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-pink) 100%);
    color: var(--text-light);
}

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

.about-text .section-title {
    color: var(--text-light);
    text-align: left;
    margin-bottom: 40px;
}

.manifesto-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: textSlideIn 1s ease-out;
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 0.9;
        transform: translateX(0);
    }
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cartoon-character {
    position: relative;
    width: 200px;
    height: 200px;
    animation: characterBounce 3s ease-in-out infinite;
}

.character-head {
    width: 80px;
    height: 80px;
    background: var(--accent-cream);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}

.character-head::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: var(--primary-dark);
    border-radius: 50%;
    box-shadow: 20px 0 0 var(--primary-dark);
}

.character-body {
    width: 60px;
    height: 80px;
    background: var(--secondary-pink);
    margin: 10px auto;
    border-radius: 30px 30px 10px 10px;
}

.character-arms {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: var(--accent-cream);
    border-radius: 10px;
}

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

/* Games Section */
.games {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--text-light) 0%, var(--accent-cream) 50%, var(--text-light) 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

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

.game-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 60px rgba(83, 59, 77, 0.2);
}

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

.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-content {
    padding: 30px;
    text-align: center;
}

.game-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.game-content p {
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 25px;
    line-height: 1.6;
}

.play-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(245, 100, 169, 0.3);
    animation: buttonGlow 1.5s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 10px 25px rgba(245, 100, 169, 0.3); }
    50% { box-shadow: 0 10px 35px rgba(245, 100, 169, 0.5); }
}

/* Disclaimer Section */
.disclaimer {
    padding: 60px 0;
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
}

.disclaimer h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-cream);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a1f25 100%);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copyright {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-link {
    color: var(--accent-cream);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-pink);
    text-shadow: 0 0 10px var(--secondary-pink);
}

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}