:root {
    --primary-red: #ff6b6b;
    --primary-blue: #4dabf7;
    --primary-green: #69db7c;
    --primary-yellow: #ffd43b;
    --primary-purple: #9775fa;
    --text-dark: #212529;
    --text-light: #868e96;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Background Animation Shapes */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.6;
    filter: blur(40px);
    border-radius: 50%;
    animation: floatAnimation 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-yellow) 0%, transparent 70%);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes floatAnimation {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(20deg); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.nav-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar:hover .nav-logo {
    transform: rotate(10deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-contact {
    background: var(--text-dark);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s !important;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: var(--primary-blue);
}

.btn-contact::after {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
}

.highlight-wrapper::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    width: 105%;
    height: 20px;
    background: var(--primary-yellow);
    opacity: 0.5;
    z-index: -1;
    transform: rotate(-2deg);
    border-radius: 10px;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tag {
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1rem;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: default;
    border: 2px solid rgba(0,0,0,0.05);
}

.tag:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
}

.tag-fun { background-color: #fff3bf; color: #f08c00; transform: rotate(-3deg); }
.tag-creative { background-color: #dbe4ff; color: #4263eb; transform: rotate(2deg); }
.tag-indie { background-color: #d3f9d8; color: #2b8a3e; transform: rotate(-1deg); }

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    animation: floatHero 6s ease-in-out infinite;
}

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

/* About Section */
.about-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.title-decoration {
    color: var(--primary-blue);
    font-size: 4rem;
    line-height: 0;
    vertical-align: middle;
    margin: 0 10px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 40px;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 30px;
    pointer-events: none;
}

.about-text {
    flex: 1.5;
}

.about-text .lead {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.accent-text {
    background: linear-gradient(120deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-visual {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Games Section */
.games-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f1f3f5 100%);
}

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

.game-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.game-image {
    height: 250px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

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

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

.placeholder-screen {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-dark);
}

.game-logo {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

.game-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.game-info {
    padding: 2.5rem;
}

.game-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.game-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-game {
    background: var(--text-dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-game:hover {
    background: var(--primary-blue);
    transform: translateX(5px);
}

.platform-icons i {
    font-size: 1.5rem;
    margin-left: 10px;
    color: var(--text-light);
    transition: color 0.3s;
}

.platform-icons i:hover {
    color: var(--text-dark);
}

.coming-soon {
    border: 2px dashed #dee2e6;
    background: transparent;
    box-shadow: none;
}

.coming-soon:hover {
    border-color: var(--primary-blue);
    background: white;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 5rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-brand h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #adb5bd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.social-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    color: white;
}

.social-btn:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-5px) rotate(10deg);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
        padding: 2rem;
    }

    .about-visual {
        width: 100%;
    }
    
    .nav-links {
        display: none;
    }
}
