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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    overflow: hidden;
}

.container {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #FFE5CC 0%, #FFD4A8 25%, #FFC89A 50%, #FFB88C 75%, #FFA07A 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Floating hearts animation */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: floatUp 10s ease-in-out infinite;
}

.heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.heart:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.heart:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.heart:nth-child(4) {
    left: 60%;
    animation-delay: 1s;
    animation-duration: 11s;
}

.heart:nth-child(5) {
    left: 75%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.heart:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 9s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Stars animation */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

.star:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    bottom: 20%;
    right: 25%;
    animation-delay: 0.8s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

/* Main content */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.top-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    animation: bounceText 2s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes bounceText {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bottom-text {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.5);
    margin-top: 40px;
    animation: bounceText 2s ease-in-out infinite 0.5s;
    letter-spacing: 2px;
}

/* Image wrapper */
.image-wrapper {
    position: relative;
    display: inline-block;
    padding: 20px;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.bobby-image {
    max-width: 500px;
    width: 80vw;
    height: auto;
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    border: 8px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.bobby-image:hover {
    transform: scale(1.05);
}

/* Frame decorations */
.frame-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.corner {
    position: absolute;
    font-size: 2rem;
    animation: rotateFlower 4s ease-in-out infinite;
}

.corner-tl {
    top: -10px;
    left: -10px;
}

.corner-tr {
    top: -10px;
    right: -10px;
    animation-delay: 1s;
}

.corner-bl {
    bottom: -10px;
    left: -10px;
    animation-delay: 2s;
}

.corner-br {
    bottom: -10px;
    right: -10px;
    animation-delay: 3s;
}

@keyframes rotateFlower {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.2);
    }
}

/* Side decorations */
.side-decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.side-decoration.left {
    left: 40px;
}

.side-decoration.right {
    right: 40px;
}

.deco-item {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    cursor: default;
    transition: transform 0.3s ease;
}

.deco-item:hover {
    transform: scale(1.3) rotate(10deg);
}

.side-decoration.left .deco-item:nth-child(1) {
    animation-delay: 0s;
}

.side-decoration.left .deco-item:nth-child(2) {
    animation-delay: 0.5s;
}

.side-decoration.left .deco-item:nth-child(3) {
    animation-delay: 1s;
}

.side-decoration.right .deco-item:nth-child(1) {
    animation-delay: 1.5s;
}

.side-decoration.right .deco-item:nth-child(2) {
    animation-delay: 2s;
}

.side-decoration.right .deco-item:nth-child(3) {
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .top-text {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .bottom-text {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .bobby-image {
        max-width: 350px;
        border-radius: 20px;
        border-width: 5px;
    }

    .side-decoration {
        display: none;
    }

    .heart {
        font-size: 1.5rem;
    }

    .star {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .top-text {
        font-size: 1.4rem;
    }

    .bottom-text {
        font-size: 1.2rem;
    }

    .bobby-image {
        max-width: 280px;
    }
}
