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

:root {
    /* Green theme colors */
    --primary-green: #22C55E;
    --dark-green: #16A34A;
    --light-green: #4ADE80;
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Poster Container */
.poster-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.poster-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.cat-logo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cat-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.brand-name {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Headline Section */
.headline-section {
    margin-bottom: 2rem;
}

.main-headline {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 100%;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--white), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle Section */
.subtitle-section {
    margin-bottom: 4rem;
}

.subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--white-90);
    max-width: 90%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-button {
    background: var(--white);
    color: var(--dark-green);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--light-green);
    color: var(--white);
}

.download-button.google-play {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    cursor: default;
    padding: calc(1rem - 2px) calc(2.5rem - 2px);
}

.download-button.google-play:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: transparent;
    color: var(--white);
}

/* Minimal Footer */
.minimal-footer {
    text-align: left;
    padding: 2rem 0 0;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.footer-help {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--white-90);
}

.footer-help a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-help a:hover {
    text-decoration: underline;
    color: var(--light-green);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--white-70);
}

/* Responsive Design */
@media (max-width: 768px) {
    .poster-container {
        padding: 2rem;
    }

    .logo-section {
        margin-bottom: 3rem;
        gap: 1rem;
    }

    .cat-logo {
        width: 80px;
        height: 80px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .main-headline {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .subtitle {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    .download-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .download-button.google-play {
        padding: calc(0.875rem - 2px) calc(2rem - 2px);
    }
}

@media (max-width: 480px) {
    .poster-container {
        padding: 1.5rem;
    }

    .logo-section {
        margin-bottom: 2.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cat-logo {
        width: 100px;
        height: 100px;
    }

    .headline-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .subtitle-section {
        margin-bottom: 3rem;
        text-align: center;
    }

    .subtitle {
        max-width: 100%;
    }

    .download-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .download-button {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
    
    .footer-help {
        font-size: 0.875rem;
        text-align: center;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        text-align: center;
    }
}

/* Tall screens optimization */
@media (min-height: 800px) {
    .logo-section {
        margin-bottom: 5rem;
    }

    .headline-section {
        margin-bottom: 3rem;
    }

    .subtitle-section {
        margin-bottom: 5rem;
    }
}

/* Animation for entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-section {
    animation: fadeInUp 0.8s ease-out;
}

.headline-section {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.subtitle-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.download-section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Fun spinning animation on click */
.cat-logo.spinning {
    animation: spin 1s ease-in-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cat-logo:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .download-button {
        border: 2px solid var(--white);
    }
    
    .main-headline {
        -webkit-text-fill-color: var(--white);
        color: var(--white);
    }
}