/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

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

/* Corações flutuantes */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 20px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

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

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

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

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

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

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

/* Seção Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid #fff;
    white-space: nowrap;
    animation: typing 3s steps(40, end) 1s both, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #fff; }
}

.enter-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 1s both;
    overflow: hidden;
}

.enter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.enter-btn:hover .btn-glow {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Títulos das seções */
.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d63384;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Seção de Frases Românticas */
.love-quotes {
    padding: 100px 0;
    background: linear-gradient(135deg, #fecfef 0%, #ff9a9e 100%);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out, float 6s ease-in-out infinite;
}

.quote-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(214, 51, 132, 0.3);
    animation-play-state: paused;
}

.quote-card:nth-child(1) { animation-delay: 0s, 0s; }
.quote-card:nth-child(2) { animation-delay: 0.2s, 1s; }
.quote-card:nth-child(3) { animation-delay: 0.4s, 2s; }
.quote-card:nth-child(4) { animation-delay: 0.6s, 3s; }
.quote-card:nth-child(5) { animation-delay: 0.8s, 4s; }
.quote-card:nth-child(6) { animation-delay: 1s, 5s; }

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

.quote-card p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #d63384;
    font-weight: 600;
}

/* Galeria de Fotos */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.gallery-alt {
    background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%);
}

.love-promise {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.love-promise p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #d63384;
    font-weight: 600;
    font-style: italic;
}

.polaroid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.polaroid {
    background: #fff;
    padding: 20px 20px 60px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out, polaroidFloat 8s ease-in-out infinite;
}

.polaroid:nth-child(even) {
    transform: rotate(2deg);
    animation: fadeInUp 0.6s ease-out, polaroidFloat 8s ease-in-out infinite reverse;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.08) translateZ(50px);
    z-index: 10;
    animation-play-state: paused;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    perspective: 1000px;
}

.polaroid:nth-child(1) { animation-delay: 0s, 0s; }
.polaroid:nth-child(2) { animation-delay: 0.1s, 1s; }
.polaroid:nth-child(3) { animation-delay: 0.2s, 2s; }
.polaroid:nth-child(4) { animation-delay: 0.3s, 3s; }
.polaroid:nth-child(5) { animation-delay: 0.4s, 4s; }
.polaroid:nth-child(6) { animation-delay: 0.5s, 5s; }
.polaroid:nth-child(7) { animation-delay: 0.6s, 6s; }
.polaroid:nth-child(8) { animation-delay: 0.7s, 7s; }
.polaroid:nth-child(9) { animation-delay: 0.8s, 0.5s; }
.polaroid:nth-child(10) { animation-delay: 0.9s, 1.5s; }
.polaroid:nth-child(11) { animation-delay: 1s, 2.5s; }
.polaroid:nth-child(12) { animation-delay: 1.1s, 3.5s; }

@keyframes polaroidFloat {
    0%, 100% { transform: rotate(-2deg) translateY(0px); }
    25% { transform: rotate(-1deg) translateY(-5px); }
    50% { transform: rotate(1deg) translateY(-8px); }
    75% { transform: rotate(-0.5deg) translateY(-3px); }
}

.polaroid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 5px;
    image-orientation: from-image;
    transform: rotate(0deg);
}

.polaroid p {
    text-align: center;
    margin-top: 15px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #d63384;
    font-weight: 600;
}

/* Mensagem Especial */
.special-message {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffd1ff 0%, #ff9a9e 100%);
}

.message-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.message-card h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #d63384;
    text-align: center;
    margin-bottom: 2rem;
}

.message-content p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.signature {
    text-align: right;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #d63384;
    font-weight: 600;
    margin-top: 2rem;
}

/* Seção Surpresa */
.surprise-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.surprise-btn {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border: none;
    color: #fff;
    padding: 20px 40px;
    font-size: 1.3rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    animation: bounce 2s infinite;
}

.surprise-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.5s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #d63384;
}

.modal-content h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.surprise-text {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.surprise-reveal {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.surprise-hearts {
    font-size: 2rem;
    animation: bounce 1s infinite;
}

/* Controle de Amor */
.love-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.love-progress {
    width: 60px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(214, 51, 132, 0.5);
}

.love-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #ff9ff3);
    border-radius: 10px;
    transition: width 0.3s ease;
    animation: loveGlow 2s ease-in-out infinite;
}

@keyframes loveGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
}

#love-btn {
    background: rgba(214, 51, 132, 0.9);
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.4);
}

#love-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.6);
}

#love-btn:active {
    transform: scale(0.95);
}

/* Confete */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confettiFall 3s linear forwards;
}

.confetti:nth-child(2n) { background: #feca57; }
.confetti:nth-child(3n) { background: #ff9ff3; }
.confetti:nth-child(4n) { background: #54a0ff; }
.confetti:nth-child(5n) { background: #5f27cd; }

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Modal Eu Te Amo */
.love-message {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    text-align: center;
    animation: loveModalPulse 1s ease-in-out infinite;
}

.love-message h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.love-message p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.love-message button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    color: #d63384;
    cursor: pointer;
    transition: all 0.3s ease;
}

.love-message button:hover {
    background: #fff;
    transform: scale(1.05);
}

@keyframes loveModalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Seção Natal */
.christmas-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d5016 0%, #0f3460 50%, #8b0000 100%);
    position: relative;
    overflow: hidden;
}

.christmas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="20" fill="%23ffffff20">❄️</text></svg>') repeat;
    animation: snowfall 20s linear infinite;
    pointer-events: none;
}

@keyframes snowfall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100vh); }
}

.christmas-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.christmas-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #ffd700;
    margin-bottom: 3rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.christmas-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.christmas-photo {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
    transition: all 0.4s ease;
    animation: christmasFloat 6s ease-in-out infinite;
    border: 3px solid #ffd700;
}

.christmas-photo:nth-child(even) {
    transform: rotate(1deg);
    animation: christmasFloat 6s ease-in-out infinite reverse;
}

.christmas-photo:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4);
    animation-play-state: paused;
}

@keyframes christmasFloat {
    0%, 100% { transform: rotate(-1deg) translateY(0px); }
    50% { transform: rotate(1deg) translateY(-10px); }
}

.christmas-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.christmas-photo p {
    text-align: center;
    margin-top: 15px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: #8b0000;
    font-weight: 600;
}

.christmas-message {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.christmas-message p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    

    
    .message-card {
        padding: 2rem;
    }
    
    .polaroid-gallery {
        grid-template-columns: 1fr;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}