:root {
    --primary-color: #e84393;
    /* Soft Pink/Red */
    --secondary-color: #2d3436;
    --bg-color: #ffeaa7;
    /* Soft pastel yellow/cream or plain white? Let's go with a very soft pinkish white */
    --bg-gradient: linear-gradient(135deg, #fff0f6 0%, #fff5f7 100%);
    /* Very clean, soft pink/white */
    --card-bg: rgba(255, 255, 255, 0.95);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    overflow: hidden;
}

#app {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
    padding: 2rem;
}

.screen.active {
    opacity: 1;
    pointer-events: all;
    z-index: 10;
}

.title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    /* Soft rounded corners, not full pill */
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(232, 67, 147, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 1px solid #dfe6e9;
}

.btn-secondary:hover {
    background: #f1f2f6;
}

/* Specific Button Sizes */
.btn-huge {
    font-size: 2rem;
    padding: 1.5rem 4rem;
}

/* Degen / Retro Effects */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to buttons if needed, but popups will have pointer-events: all */
    z-index: 100;
}

.win-error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    width: 90%;
    max-width: 400px;
    padding: 0;
    font-family: var(--font-body);
    pointer-events: all;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    overflow: hidden;
}

.win-header {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.win-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.win-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
    font-family: var(--font-body);
}

.win-btn:hover {
    transform: scale(1.05);
}

/* Brainrot / Retro Animations */
@keyframes rainbow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-5px, 5px) rotate(-5deg);
    }

    50% {
        transform: translate(5px, -5px) rotate(5deg);
    }

    75% {
        transform: translate(-5px, -5px) rotate(-5deg);
    }
}

@keyframes spin-chaos {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.5);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.brain-rot {
    animation: rainbow 2s linear infinite, shake 0.5s ease-in-out infinite;
}

.spin-fast {
    animation: spin-chaos 1s ease-in-out 2;
    /* Run twice then stop */
}

/* Enhancing the Final NO screen */
#screen-final-no .btn-tiny:hover {
    font-size: 2rem;
    /* Prank: Button grows when you try to click NO */
    color: red;
    font-weight: bold;
}

/* NO Flow Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.popup {
    background: white;
    color: var(--secondary-color);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#popup-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.final-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.btn-massive {
    font-size: 3rem;
    padding: 3rem 6rem;
    background: #00cec9;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.4);
    animation: pulse 2s infinite;
}

.btn-tiny {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #b2bec3;
    opacity: 0.7;
    border: none;
    text-decoration: underline;
}

.btn-tiny:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Success Screen - Social Card Style */
.social-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 400px;
    /* Mobile width mostly */
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.2s;
}

.flower-container {
    width: 100%;
    height: auto;
    min-height: 200px;
    /* Minimum height just in case */
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flower-img {
    width: 100%;
    height: auto;
    display: block;
}

.placeholder-flower {
    font-size: 4rem;
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-content p {
    color: #636e72;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-telegram {
    background: #0088cc;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-calendly {
    background: #2980b9;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUpFade {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

    50% {
        transform: scale(1.05);
    }

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

/* Music Toggle */
.btn-music {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-music:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.8);
}

.btn-music.playing {
    background: var(--primary-color);
    color: white;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .btn-huge {
        font-size: 1.5rem;
        padding: 1.2rem 3rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .social-card {
        max-width: 90%;
    }


}