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

:root {
    --pink-primary: #ff6b9d;
    --pink-light: #ffc2d1;
    --pink-dark: #ff1744;
    --purple-light: #e1bee7;
    --purple-dark: #9c27b0;
    --cream: #fff5f7;
    --gold: #ffd700;
    --text-dark: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffeef8 0%, #fff5f7 100%);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('resources/mainbg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15) 0%, rgba(156, 39, 176, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
    margin-top: 30vh;
}

.sparkles {
    font-size: 4rem;
    margin-bottom: 30px;
    animation: sparkle 2s infinite;
}

.main-title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: bounceIn 1s ease-out;
}

.name-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    color: var(--gold);
    animation: bounceIn 1.2s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.balloon-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.balloon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.balloon:nth-child(2) {
    animation-delay: 0.5s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Section Titles */
.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--pink-primary);
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.2);
}

/* Wishes Section */
.wishes-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef8 100%);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.wish-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.wish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.wish-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.wish-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--pink-primary);
    margin-bottom: 15px;
}

.wish-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #ffeef8 0%, #e1bee7 100%);
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.2);
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 107, 157, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
}

.quote-card {
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.quote-content {
    text-align: center;
    color: white;
}

.quote-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.quote-emoji {
    font-size: 3rem;
}

.birthday-facts {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    padding: 40px;
}

.facts-content h3 {
    font-family: 'Pacifico', cursive;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.facts-content ul {
    list-style: none;
    color: white;
    font-size: 1.1rem;
}

.facts-content li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.facts-content li:last-child {
    border-bottom: none;
}

/* Fun Section */
.fun-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef8 100%);
}

.fun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.fun-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.fun-card:hover {
    transform: scale(1.05) rotate(2deg);
}

.emoji-big {
    font-size: 5rem;
    margin-bottom: 20px;
}

.fun-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pink-primary);
}

/* Message Section */
.message-section {
    background: linear-gradient(135deg, #ffeef8 0%, #e1bee7 100%);
}

.message-card {
    background: white;
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(156, 39, 176, 0.3);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.confetti {
    font-size: 4rem;
    position: absolute;
}

.confetti:first-child {
    top: 20px;
    left: 20px;
}

.confetti:last-child {
    bottom: 20px;
    right: 20px;
}

.message-card h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--pink-primary);
    margin-bottom: 30px;
    text-align: center;
}

.message-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    text-align: center;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    margin-top: 40px;
    color: var(--pink-primary);
}

.love {
    display: block;
    margin-top: 15px;
    font-size: 1.3rem;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef8 100%);
    padding: 80px 0 40px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-message {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--pink-primary);
    margin-bottom: 20px;
}

.footer-wishes {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.footer-icons span {
    animation: bounce 2s infinite;
}

.footer-icons span:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-icons span:nth-child(3) {
    animation-delay: 0.4s;
}

.footer-icons span:nth-child(4) {
    animation-delay: 0.6s;
}

.footer-icons span:nth-child(5) {
    animation-delay: 0.8s;
}

.copyright {
    font-size: 0.9rem;
    color: #999;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 107, 157, 0.2);
}

/* Floating Hearts */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: floatUp 6s infinite;
}

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

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

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

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

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

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

@keyframes floatUp {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(50px) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 60px 15px;
    }
    
    .wishes-grid,
    .gallery-grid,
    .fun-grid {
        grid-template-columns: 1fr;
    }
    
    .message-card {
        padding: 40px 25px;
    }
    
    .message-card h2 {
        font-size: 2.2rem;
    }
    
    .message-text {
        font-size: 1.1rem;
    }
    
    .balloon-container {
        gap: 15px;
    }
    
    .balloon {
        font-size: 2rem;
    }
    
    .footer-message {
        font-size: 1.8rem;
    }
    
    .footer-icons {
        font-size: 2rem;
        gap: 15px;
    }
    
    .confetti {
        font-size: 2.5rem;
    }
    
    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .wish-card,
    .fun-card {
        padding: 30px 20px;
    }
    
    .wish-icon,
    .emoji-big {
        font-size: 3rem;
    }
    
    .message-card {
        padding: 30px 20px;
    }
    
    .message-card h2 {
        font-size: 1.8rem;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
    
    .facts-content h3 {
        font-size: 1.5rem;
    }
    
    .video-container {
        margin-bottom: 30px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--pink-light);
    color: var(--text-dark);
}
