/* 
 * MergeCats Website Styles
 */

:root {
    /* Color Palette */
    --primary: #FF9AA2;
    /* Pastel Pink */
    --primary-dark: #FF6F7D;
    --secondary: #B5EAD7;
    /* Pastel Mint */
    --accent: #C7CEEA;
    /* Pastel Purple */
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --bg-light: #FDF5F5;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #FF9AA2 0%, #FFB7B2 100%);
    --grad-accent: linear-gradient(135deg, #FFDAC1 0%, #FF9AA2 100%);

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    font-family: 'Fredoka', inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-nav) {
    font-weight: 600;
    color: var(--text-light);
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 154, 162, 0.4);
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 0px;
    position: relative;
    background: linear-gradient(180deg, #FDF5F5 0%, #FFF0F0 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-content .badge {
    background: var(--secondary);
    color: #3B8266;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-circle-bg {
    width: 400px;
    height: 400px;
    background: var(--grad-accent);
    border-radius: 50%;
    position: absolute;
    opacity: 0.5;
    animation: blob-pulse 8s infinite ease-in-out;
}

.floating-cats .cat-emoji {
    font-size: 60px;
    position: absolute;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.c1 {
    top: 10%;
    left: 10%;
    animation: float 6s infinite ease-in-out;
}

.c2 {
    bottom: 20%;
    right: 15%;
    animation: float 7s infinite ease-in-out 1s;
}

.c3 {
    top: 15%;
    right: 10%;
    animation: float 5s infinite ease-in-out 0.5s;
    font-size: 40px !important;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    background: white;
    border-radius: 40px;
    border: 12px solid var(--text-dark);
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.screen-content {
    background: var(--bg-light);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-screen-placeholder {
    text-align: center;
    color: var(--primary-dark);
}

.mini-cat {
    font-size: 48px;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

.wave-bottom {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-box {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
    padding: 20px;
    background: #FFF0F0;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #FDF5F5;
    overflow: hidden;
}

.slider-container {
    padding: 40px 0;
}

.slider-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 300px;
}

.screenshot-frame {
    width: 100%;
    height: 540px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-placeholder {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    opacity: 0.5;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: white;
}

.cta-container {
    background: var(--grad-primary);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-cats {
    position: absolute;
    bottom: -20px;
    right: 40px;
    font-size: 80px;
    opacity: 0.3;
}

.btn-large {
    background: white;
    color: var(--text-dark);
    padding: 20px 48px;
    font-size: 20px;
}

.btn-large:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
}

/* Footer */
footer {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #f0f0f0;
}

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

.footer-brand h3 {
    font-size: 24px;
    color: var(--text-dark);
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-light);
    font-weight: 500;
}

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

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes blob-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-container.mobile-open .nav-links {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .cta-container {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}