:root {
    --masha-pink: #ff85a1;
    --masha-pink-dark: #ff5c8d;
    --masha-purple: #f1c0e8;
    --masha-yellow: #fde2e4;
    --masha-white: #ffffff;
    --masha-text: #5a3e4d;
    --shadow: 0 10px 25px rgba(255, 133, 161, 0.2);
}

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

body {
    font-family: 'Comfortaa', cursive;
    color: var(--masha-text);
    background-color: #fff9fb;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(255, 133, 161, 0.1);
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--masha-pink-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--masha-text);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--masha-pink-dark);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.theme-btn, .menu-toggle {
    background: none;
    border: none;
    color: var(--masha-pink-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 60px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    animation: move 20s infinite alternate;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: var(--masha-pink);
    top: -100px;
    left: -100px;
}

.blob2 {
    width: 500px;
    height: 500px;
    background: var(--masha-purple);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob3 {
    width: 300px;
    height: 300px;
    background: #fff0f3;
    top: 20%;
    right: 20%;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 100px) scale(1.1); }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--masha-text);
    line-height: 1.2;
}

.highlight {
    color: var(--masha-pink-dark);
    font-family: 'Pacifico', cursive;
    text-shadow: 3px 3px 0px rgba(255, 255, 255, 1);
}

.hero-subtext {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-masha {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--masha-pink), var(--masha-pink-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(255, 92, 141, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-masha:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 92, 141, 0.4);
}

.pulse {
    animation: pulse 2s infinite;
}

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

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

.heart {
    position: absolute;
    font-size: 2rem;
    animation: float-up 10s infinite linear;
    opacity: 0.6;
}

.heart:nth-child(1) { left: 10%; animation-duration: 15s; }
.heart:nth-child(2) { left: 80%; animation-duration: 12s; animation-delay: 2s; }
.heart:nth-child(3) { left: 40%; animation-duration: 18s; animation-delay: 5s; }
.heart:nth-child(4) { left: 60%; animation-duration: 14s; animation-delay: 1s; }

@keyframes float-up {
    0% { transform: translateY(110vh) rotate(0deg); }
    100% { transform: translateY(-10vh) rotate(360deg); }
}

/* Gallery */
.gallery-section {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: var(--masha-pink-dark);
    margin-bottom: 50px;
}

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

.gallery-item {
    background: var(--masha-yellow);
    padding: 15px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: rotate(2deg) scale(1.05);
}

.img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Love Section */
.love-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff0f3 0%, #f1c0e8 100%);
    display: flex;
    justify-content: center;
}

.love-card {
    background: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(255, 133, 161, 0.2);
    max-width: 600px;
    width: 90%;
}

.love-card h2 {
    font-family: 'Pacifico', cursive;
    margin-bottom: 20px;
    color: var(--masha-pink-dark);
}

.love-button-container {
    margin: 40px 0;
}

.btn-love-big {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--masha-pink);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 133, 161, 0.4);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-love-big:active {
    transform: scale(0.9);
}

.love-counter {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--masha-pink-dark);
}

/* Footer */
.footer {
    padding: 40px;
    text-align: center;
    background: var(--masha-text);
    color: white;
    font-weight: 700;
}

/* Animations */
.animate-pop {
    animation: pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-up {
    animation: up 1s ease forwards;
    opacity: 0;
}

@keyframes up {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-subtext { font-size: 1.1rem; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

/* Interactive Hearts Effect */
.falling-heart {
    position: fixed;
    top: -50px;
    z-index: 9999;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    to { transform: translateY(110vh) rotate(360deg); }
}
