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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #06202B;
    background: linear-gradient(135deg, #F5EEDD 0%, #7AE2CF 100%);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #06202B;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(6, 32, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-shapes {
    position: relative;
    width: 50px;
    height: 50px;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, #7AE2CF, #077A7D);
    animation: float 3s ease-in-out infinite;
}

.shape-1 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 15px;
    height: 15px;
    top: 10px;
    right: 0;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 0.5s;
}

.shape-3 {
    width: 12px;
    height: 12px;
    bottom: 0;
    left: 15px;
    animation-delay: 1s;
}

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

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #F5EEDD;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #F5EEDD;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #7AE2CF, #077A7D);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.nav-link:hover {
    color: #06202B;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(122, 226, 207, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #06202B 0%, #077A7D 50%, #7AE2CF 100%);
}

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

.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: geometric-float 8s ease-in-out infinite;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7AE2CF, #F5EEDD);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #7AE2CF;
    top: 40%;
    right: 15%;
    animation-delay: 2s;
}

.shape-square {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #077A7D, #06202B);
    transform: rotate(45deg);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.paint-splash {
    position: absolute;
    border-radius: 50% 30% 70% 40%;
    background: radial-gradient(circle, #7AE2CF, transparent);
    animation: splash-morph 6s ease-in-out infinite;
}

.splash-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 20%;
    animation-delay: 1s;
}

.splash-2 {
    width: 250px;
    height: 250px;
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

@keyframes geometric-float {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-30px) scale(1.1) rotate(180deg);
        opacity: 0.2;
    }
}

@keyframes splash-morph {
    0%, 100% { 
        border-radius: 50% 30% 70% 40%;
        transform: scale(1) rotate(0deg);
    }
    25% { 
        border-radius: 30% 50% 40% 70%;
        transform: scale(1.1) rotate(90deg);
    }
    50% { 
        border-radius: 70% 40% 30% 50%;
        transform: scale(0.9) rotate(180deg);
    }
    75% { 
        border-radius: 40% 70% 50% 30%;
        transform: scale(1.05) rotate(270deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    color: #F5EEDD;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.title-word {
    display: inline-block;
    animation: word-reveal 1s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.title-word:nth-child(1) { animation-delay: 0.2s; }
.title-word:nth-child(2) { animation-delay: 0.4s; }
.title-word:nth-child(3) { animation-delay: 0.6s; }

@keyframes word-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #7AE2CF;
    margin-bottom: 2rem;
    font-style: italic;
}

.cta-button {
    background: linear-gradient(45deg, #7AE2CF, #077A7D);
    color: #06202B;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(122, 226, 207, 0.4);
}

.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(245, 238, 221, 0.3);
    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: 5rem 0;
    background: linear-gradient(135deg, #F5EEDD 0%, rgba(122, 226, 207, 0.3) 100%);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #7AE2CF, #077A7D);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 122, 125, 0.2);
    border-color: #7AE2CF;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.abstract-icon {
    width: 100%;
    height: 100%;
    position: relative;
    animation: icon-pulse 3s ease-in-out infinite;
}

.icon-1::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #7AE2CF;
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: orbit 4s linear infinite;
}

.icon-1::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: #077A7D;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    bottom: 0;
    right: 0;
    animation: orbit 4s linear infinite reverse;
}

.icon-2::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #7AE2CF, #077A7D);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: square-spin 3s ease-in-out infinite;
}

.icon-3::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 20px;
    background: #7AE2CF;
    border-radius: 25px;
    top: 20px;
    left: 15px;
    animation: wave 2s ease-in-out infinite;
}

.icon-3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 20px;
    background: #077A7D;
    border-radius: 25px;
    bottom: 20px;
    right: 15px;
    animation: wave 2s ease-in-out infinite 1s;
}

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

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(25px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(25px) rotate(-360deg); }
}

@keyframes square-spin {
    0%, 100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(225deg) scale(1.2); }
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #06202B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: #077A7D;
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #06202B 0%, #077A7D 100%);
    color: #F5EEDD;
}

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

.about-text .section-title {
    color: #F5EEDD;
    text-align: left;
    margin-bottom: 2rem;
}

.manifesto-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-image {
    position: relative;
}

.cartoon-style {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    filter: saturate(1.2) contrast(1.1);
    transition: all 0.3s ease;
}

.cartoon-style:hover {
    transform: scale(1.05);
    filter: saturate(1.4) contrast(1.2);
}

/* Games Section */
.games {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5EEDD 0%, rgba(122, 226, 207, 0.2) 100%);
}

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

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

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

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

.game-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s 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(6, 32, 43, 0.8), rgba(7, 122, 125, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.game-overlay h3 {
    color: #F5EEDD;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button {
    background: linear-gradient(45deg, #7AE2CF, #077A7D);
    color: #06202B;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(122, 226, 207, 0.4);
}

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

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

/* Disclaimer Section */
.disclaimer {
    padding: 3rem 0;
    background: rgba(6, 32, 43, 0.1);
    text-align: center;
}

.disclaimer h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #06202B;
    text-transform: uppercase;
}

.disclaimer p {
    font-size: 1rem;
    color: #077A7D;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #06202B;
    color: #F5EEDD;
    padding: 2rem 0;
    text-align: center;
}

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

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

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

.footer-link {
    color: #7AE2CF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #F5EEDD;
    text-decoration: underline;
}

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}