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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: linear-gradient(135deg, #FEF3E2 0%, #F3C623 100%);
}

.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: rgba(254, 243, 226, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(250, 129, 47, 0.2);
    animation: headerSlideDown 0.8s ease-out;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    color: #FA812F;
    background: rgba(250, 129, 47, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 129, 47, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F3C623, #FA812F);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

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

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #F3C623, #FA812F, #FFB22C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoFloat 3s ease-in-out infinite;
}

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

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

.shape {
    position: absolute;
    border-radius: 50%;
    animation: shapeRotate 4s linear infinite;
}

.shape-1 {
    width: 20px;
    height: 20px;
    background: #F3C623;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 15px;
    height: 15px;
    background: #FFB22C;
    top: 15px;
    right: 0;
    animation-delay: 1s;
}

.shape-3 {
    width: 25px;
    height: 25px;
    background: #FA812F;
    bottom: 0;
    left: 10px;
    animation-delay: 2s;
}

@keyframes shapeRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

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

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

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

.shape-a {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(250, 129, 47, 0.3), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-b {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 178, 44, 0.4), transparent);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-c {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(243, 198, 35, 0.5), transparent);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-d {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(254, 243, 226, 0.3), transparent);
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    animation: heroFadeIn 1.2s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    animation: titleSlideIn 0.8s ease-out backwards;
}

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

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight {
    background: linear-gradient(45deg, #F3C623, #FA812F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    font-weight: 400;
    animation: subtitleFadeIn 1s ease-out 0.8s backwards;
}

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

.hero-cta {
    animation: ctaFadeIn 1s ease-out 1s backwards;
}

@keyframes ctaFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #FA812F, #FFB22C);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(250, 129, 47, 0.4);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(250, 129, 47, 0.6);
}

.button-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover .button-ripple {
    opacity: 1;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Section Styles */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #F3C623, #FA812F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FEF3E2 0%, rgba(243, 198, 35, 0.1) 100%);
}

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

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(250, 129, 47, 0.1), rgba(255, 178, 44, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(250, 129, 47, 0.3);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-1 { background: linear-gradient(45deg, #F3C623, #FFB22C); }
.icon-2 { background: linear-gradient(45deg, #FFB22C, #FA812F); }
.icon-3 { background: linear-gradient(45deg, #FA812F, #F3C623); }

.icon-inner {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #6c7b7f;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 178, 44, 0.1) 0%, #FEF3E2 100%);
}

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

.about-text {
    position: relative;
}

.manifesto-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(250, 129, 47, 0.3), rgba(255, 178, 44, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Games Section */
.games {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FEF3E2 0%, rgba(250, 129, 47, 0.1) 100%);
}

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

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

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(250, 129, 47, 0.4);
}

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

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s 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, rgba(250, 129, 47, 0.2), rgba(255, 178, 44, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-content {
    padding: 2rem;
}

.game-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.game-content p {
    color: #6c7b7f;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.play-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(45deg, #F3C623, #FA812F);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(250, 129, 47, 0.4);
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(250, 129, 47, 0.6);
}

.button-morph {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FFB22C, #F3C623);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-button:hover .button-morph {
    opacity: 1;
    animation: morph 0.6s ease-out;
}

@keyframes morph {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Disclaimer Section */
.disclaimer {
    padding: 4rem 0;
    background: rgba(250, 129, 47, 0.1);
    text-align: center;
}

.disclaimer h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.disclaimer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c7b7f;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

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

.footer-link {
    color: #F3C623;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.footer-link:hover {
    color: #FFB22C;
    background: rgba(243, 198, 35, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .game-content {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}