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

:root {
    --primary-color: #F79B72;
    --secondary-color: #2A4759;
    --light-gray: #DDDDDD;
    --very-light-gray: #EEEEEE;
    --white: #FFFFFF;
    --dark: #1a1a1a;
}

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

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(42, 71, 89, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

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

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

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

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(247, 155, 114, 0.5);
}

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

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

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

.logo-text {
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
}

.geometric-shape {
    position: absolute;
    opacity: 0.3;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(221, 221, 221, 0.2);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(238, 238, 238, 0.15);
    transform: rotate(45deg);
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(247, 155, 114, 0.2);
    border-radius: 30% 70% 70% 30%;
    bottom: 20%;
    left: 20%;
    animation: morph 10s ease-in-out infinite;
}

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

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

.flowing-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    opacity: 0.6;
}

.line-1 {
    width: 300px;
    top: 30%;
    left: -300px;
    animation: flowRight 8s linear infinite;
}

.line-2 {
    width: 200px;
    top: 70%;
    right: -200px;
    animation: flowLeft 6s linear infinite;
}

@keyframes flowRight {
    0% { left: -300px; }
    100% { left: 100%; }
}

@keyframes flowLeft {
    0% { right: -200px; }
    100% { right: 100%; }
}

.hero-content {
    z-index: 1;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(247, 155, 114, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), #ff6b3d);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(247, 155, 114, 0.4);
}

.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.cta-button:hover .button-ripple {
    width: 300px;
    height: 300px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--very-light-gray);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    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-color), var(--secondary-color));
    border-radius: 2px;
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s 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(247, 155, 114, 0.1), transparent);
    transition: left 0.5s ease;
}

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

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

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

.icon-1 {
    background: linear-gradient(45deg, var(--primary-color), #ff6b3d);
}

.icon-2 {
    background: linear-gradient(45deg, var(--secondary-color), #3a5a7a);
}

.icon-3 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.manifesto-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--secondary-color);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.cartoon-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .cartoon-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(247, 155, 114, 0.3), rgba(42, 71, 89, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

/* Games Section */
.games {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.games .section-title {
    color: var(--white);
}

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

.game-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

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

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(247, 155, 114, 0.4), rgba(42, 71, 89, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-content {
    padding: 30px;
    text-align: center;
}

.game-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.game-content p {
    margin-bottom: 20px;
    color: #666;
}

.play-button {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), #ff6b3d);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 155, 114, 0.4);
}

.button-morph {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.play-button:hover .button-morph {
    width: 200px;
    height: 200px;
}

/* Disclaimer Section */
.disclaimer {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.disclaimer-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.disclaimer-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.disclaimer-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-links {
    margin-top: 20px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}