/* ============================================
   Valentine's Day - Sunflower Theme Styles
   ============================================ */

/* CSS Variables */
:root {
    --sunflower-yellow: #FFD93D;
    --sunflower-orange: #FF9F1C;
    --sunflower-gold: #FFC107;
    --sunflower-dark: #F4A100;
    --brown-center: #8B4513;
    --brown-dark: #654321;
    --pink-blush: #FFB6C1;
    --pink-light: #FFF0F5;
    --cream: #FFFEF7;
    --warm-white: #FFF9E6;
    --text-brown: #5D4E37;
    --heart-red: #FF6B6B;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--warm-white) 0%, #FFF3CD 50%, #FFE4B5 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Floating Sunflowers Background */
.sunflowers-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sunflower {
    position: absolute;
    font-size: 3rem;
    animation: float 15s ease-in-out infinite;
    opacity: 0.6;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
}

.sunflower-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2.5rem;
}

.sunflower-2 {
    top: 15%;
    right: 15%;
    animation-delay: -2s;
    font-size: 3.5rem;
}

.sunflower-3 {
    top: 60%;
    left: 5%;
    animation-delay: -4s;
    font-size: 2rem;
}

.sunflower-4 {
    top: 75%;
    right: 10%;
    animation-delay: -6s;
    font-size: 3rem;
}

.sunflower-5 {
    top: 40%;
    left: 3%;
    animation-delay: -8s;
    font-size: 2.8rem;
}

.sunflower-6 {
    top: 85%;
    left: 20%;
    animation-delay: -10s;
    font-size: 2.2rem;
}

.sunflower-7 {
    top: 25%;
    right: 5%;
    animation-delay: -12s;
    font-size: 2.6rem;
}

.sunflower-8 {
    top: 50%;
    right: 3%;
    animation-delay: -14s;
    font-size: 3.2rem;
}

@keyframes float {

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

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* SVG Sunflower Decorations */
.svg-sunflower {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: 1;
    opacity: 0.8;
    animation: spin-slow 20s linear infinite;
}

.svg-sunflower.top-left {
    top: 20px;
    left: 20px;
}

.svg-sunflower.top-right {
    top: 20px;
    right: 20px;
    animation-direction: reverse;
}

.svg-sunflower.bottom-left {
    bottom: 20px;
    left: 20px;
    animation-delay: -5s;
}

.svg-sunflower.bottom-right {
    bottom: 20px;
    right: 20px;
    animation-delay: -10s;
    animation-direction: reverse;
}

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

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

/* Main Container */
.main-container {
    z-index: 10;
    padding: 20px;
}

/* Card */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 230, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 60px;
    box-shadow:
        0 25px 80px rgba(255, 159, 28, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--sunflower-yellow);
    position: relative;
    overflow: visible;
    animation: card-appear 0.8s ease-out;
}

@keyframes card-appear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

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

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--sunflower-yellow), var(--sunflower-orange), var(--sunflower-gold), var(--sunflower-yellow));
    border-radius: 32px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradient-border 3s ease infinite;
}

@keyframes gradient-border {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hearts Decoration */
.hearts-decoration {
    margin-bottom: 20px;
}

.heart {
    display: inline-block;
    font-size: 2rem;
    margin: 0 10px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart:nth-child(1) {
    animation-delay: 0s;
}

.heart:nth-child(2) {
    animation-delay: 0.2s;
}

.heart:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes heartbeat {

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

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

/* Name Title - Premium Gold */
.name-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg,
            #B8860B 0%,
            #FFD700 25%,
            #FFF8DC 50%,
            #FFD700 75%,
            #B8860B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: premium-shimmer 3s ease-in-out infinite;
    margin-bottom: 10px;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(184, 134, 11, 0.3));
    letter-spacing: 2px;
}

@keyframes premium-shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* Title */
.title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--text-brown);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 217, 61, 0.5);
    animation: title-glow 2s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% {
        text-shadow: 2px 2px 4px rgba(255, 217, 61, 0.5);
    }

    100% {
        text-shadow: 2px 2px 20px rgba(255, 159, 28, 0.8);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--brown-center);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Cute Bear Asking */
.cute-bear-asking {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.bear-face {
    position: relative;
    width: 100px;
    height: 100px;
}

.bear-ear {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #C4A77D;
    border-radius: 50%;
    top: 0;
    border: 3px solid #A08060;
}

.bear-ear.left-ear {
    left: 5px;
}

.bear-ear.right-ear {
    right: 5px;
}

.bear-ear::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--pink-blush);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bear-head {
    position: absolute;
    width: 80px;
    height: 75px;
    background: linear-gradient(145deg, #D4B896, #C4A77D);
    border-radius: 50% 50% 45% 45%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.bear-eye {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #2C1810;
    border-radius: 50%;
    top: 25px;
}

.bear-eye.left-eye {
    left: 18px;
}

.bear-eye.right-eye {
    right: 18px;
}

.eye-shine {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

.bear-nose {
    position: absolute;
    width: 14px;
    height: 10px;
    background: #2C1810;
    border-radius: 50%;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.bear-mouth {
    position: absolute;
    width: 20px;
    height: 10px;
    border: 2px solid #2C1810;
    border-top: none;
    border-radius: 0 0 50% 50%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
}

.bear-blush {
    position: absolute;
    width: 15px;
    height: 8px;
    background: rgba(255, 182, 193, 0.7);
    border-radius: 50%;
    top: 35px;
}

.bear-blush.left-blush {
    left: 5px;
}

.bear-blush.right-blush {
    right: 5px;
}

.bear-holding-flower {
    font-size: 2.5rem;
    margin-top: -10px;
    animation: flower-sway 2s ease-in-out infinite;
}

@keyframes flower-sway {

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

    50% {
        transform: rotate(5deg);
    }
}

/* Buttons Container */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    min-height: 80px;
    align-items: center;
}

/* Buttons */
.btn {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-yes {
    background: linear-gradient(145deg, var(--sunflower-yellow), var(--sunflower-orange));
    color: var(--brown-dark);
    box-shadow:
        0 8px 25px rgba(255, 159, 28, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-yes:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow:
        0 15px 40px rgba(255, 159, 28, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-yes:active {
    transform: scale(1.05);
}

.btn-yes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.btn-no {
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    color: #666;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
}

.btn-no:hover {
    background: linear-gradient(145deg, #e0e0e0, #c0c0c0);
}

/* Celebration Overlay */
.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 50%, #FFD93D 100%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.celebration.hidden {
    opacity: 0;
    pointer-events: none;
}

.celebration-content {
    text-align: center;
    animation: zoom-in 0.6s ease-out;
}

@keyframes zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.1);
    }

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

.celebration-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: var(--brown-dark);
    margin-bottom: 40px;
    animation: bounce-title 1s ease infinite;
}

@keyframes bounce-title {

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

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

/* Bears Cuddling */
.bears-cuddling {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
}

.cuddle-bear {
    position: relative;
    width: 140px;
    height: 180px;
    animation: cuddle-bounce 2s ease-in-out infinite;
}

.cuddle-bear.bear-left {
    transform: scaleX(1);
    margin-right: -30px;
    z-index: 2;
}

.cuddle-bear.bear-right {
    transform: scaleX(-1);
    margin-left: -30px;
    z-index: 1;
}

@keyframes cuddle-bounce {

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

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

.cuddle-bear.bear-right {
    animation: cuddle-bounce-mirror 2s ease-in-out infinite;
}

@keyframes cuddle-bounce-mirror {

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

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

.cuddle-bear .bear-ear {
    width: 35px;
    height: 35px;
    top: 10px;
}

.cuddle-bear .bear-ear.left-ear {
    left: 15px;
}

.cuddle-bear .bear-ear.right-ear {
    right: 15px;
}

.cuddle-bear .bear-head {
    width: 100px;
    height: 95px;
    top: 30px;
}

.cuddle-bear .bear-eye {
    width: 14px;
    height: 14px;
    top: 30px;
}

.cuddle-bear .bear-eye.left-eye {
    left: 22px;
}

.cuddle-bear .bear-eye.right-eye {
    right: 22px;
}

.cuddle-bear .bear-eye.closed {
    height: 4px;
    border-radius: 10px;
    top: 35px;
}

.cuddle-bear .bear-nose {
    width: 16px;
    height: 12px;
    top: 50px;
}

.cuddle-bear .bear-smile {
    position: absolute;
    width: 30px;
    height: 15px;
    border: 3px solid #2C1810;
    border-top: none;
    border-radius: 0 0 50% 50%;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
}

.cuddle-bear .bear-blush {
    width: 18px;
    height: 10px;
    top: 45px;
}

.cuddle-bear .bear-blush.left-blush {
    left: 8px;
}

.cuddle-bear .bear-blush.right-blush {
    right: 8px;
}

.cuddle-bear .bear-body {
    position: absolute;
    width: 90px;
    height: 70px;
    background: linear-gradient(145deg, #D4B896, #C4A77D);
    border-radius: 45% 45% 50% 50%;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.cuddle-bear .bear-arm {
    position: absolute;
    width: 25px;
    height: 50px;
    background: linear-gradient(145deg, #D4B896, #C4A77D);
    border-radius: 40%;
    top: 10px;
}

.cuddle-bear .bear-arm.left-arm {
    left: -15px;
    transform: rotate(-30deg);
}

.cuddle-bear .bear-arm.right-arm {
    right: -15px;
    transform: rotate(30deg);
}

.cuddle-bear .bear-arm.hugging {
    transform: rotate(60deg);
    z-index: 10;
}

.cuddle-bear .bear-arm.left-arm.hugging {
    transform: rotate(-60deg);
}

/* Floating Hearts */
.floating-hearts {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}

.love-heart {
    font-size: 2rem;
    animation: float-up 3s ease-in-out infinite;
    opacity: 0.9;
}

.love-heart:nth-child(1) {
    animation-delay: 0s;
}

.love-heart:nth-child(2) {
    animation-delay: 0.5s;
    font-size: 1.5rem;
}

.love-heart:nth-child(3) {
    animation-delay: 1s;
}

.love-heart:nth-child(4) {
    animation-delay: 1.5s;
    font-size: 1.8rem;
}

.love-heart:nth-child(5) {
    animation-delay: 2s;
    font-size: 1.3rem;
}

@keyframes float-up {

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

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

.celebration-message {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--brown-dark);
    margin-bottom: 15px;
}

.celebration-submessage {
    font-size: 1.3rem;
    color: var(--brown-center);
    opacity: 0.9;
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1001;
}

.confetti {
    position: absolute;
    top: -20px;
    font-size: 1.5rem;
    animation: confetti-fall 4s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Sunflower Shower */
.sunflower-shower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 999;
}

.shower-sunflower {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    animation: sunflower-fall 5s linear forwards;
}

@keyframes sunflower-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .card {
        padding: 30px 25px;
        margin: 10px;
    }

    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn {
        font-size: 1.1rem;
        padding: 12px 30px;
    }

    .svg-sunflower {
        width: 80px;
        height: 80px;
    }

    .celebration-title {
        font-size: 2.5rem;
    }

    .celebration-message {
        font-size: 1.8rem;
    }

    .celebration-submessage {
        font-size: 1rem;
    }

    .cuddle-bear {
        width: 100px;
        height: 140px;
    }

    .cuddle-bear .bear-head {
        width: 70px;
        height: 65px;
        top: 25px;
    }

    .cuddle-bear .bear-body {
        width: 60px;
        height: 50px;
        top: 80px;
    }

    .cuddle-bear .bear-ear {
        width: 25px;
        height: 25px;
        top: 5px;
    }

    .cuddle-bear .bear-eye {
        width: 10px;
        height: 10px;
        top: 22px;
    }

    .cuddle-bear .bear-eye.left-eye {
        left: 15px;
    }

    .cuddle-bear .bear-eye.right-eye {
        right: 15px;
    }

    .cuddle-bear .bear-eye.closed {
        height: 3px;
        top: 26px;
    }

    .cuddle-bear .bear-nose {
        width: 12px;
        height: 8px;
        top: 35px;
    }

    .cuddle-bear .bear-smile {
        width: 20px;
        height: 10px;
        top: 43px;
    }

    .cuddle-bear .bear-blush {
        width: 12px;
        height: 6px;
        top: 32px;
    }

    .cuddle-bear .bear-blush.left-blush {
        left: 5px;
    }

    .cuddle-bear .bear-blush.right-blush {
        right: 5px;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .title {
        font-size: 1.8rem;
    }
}