* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    /* background: linear-gradient(135deg, #0066ff, #00ffff); */
    background: #194569;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    padding: 20px 0;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Slider styles */
.slider-container {
    position: relative;
    max-width: 400px;
    height: 700px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 50;
}

.slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider img.active {
    opacity: 1;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
    z-index: 2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Counter styles */
.counter-container {
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 50;
}

.time-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.time-text span {
    font-weight: bold;
    color: #fff;
}

/* Message styles */
.message-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 800px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 2px 15px rgba(255, 255, 255, 0.15);
    transform-style: preserve-3d;
    transform: translateZ(0);
    isolation: isolate;
}

.message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    z-index: -1;
}

.love-message {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    position: relative;
    z-index: 3;
}

.love-message p {
    margin-bottom: 1.5rem;
}

.love-message .greeting {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.love-message .ending {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    color: #fff;
}

/* Emoji styles */
.emoji-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.emoji {
    position: absolute;
    font-size: 24px;
    user-select: none;
    animation: fall linear forwards;
    will-change: transform;
}

@keyframes fall {
    from {
        transform: translateY(0) rotate(0deg);
    }
    to {
        transform: translateY(calc(100vh + 50px)) rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .time-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .slider-container {
        max-width: 300px;
        height: 500px;
        margin: 0 auto 2rem;
    }

    .title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .message-container {
        margin: 1.5rem;
        padding: 1.5rem;
    }

    .love-message {
        font-size: 1rem;
        line-height: 1.6;
    }

    .love-message .greeting {
        font-size: 1.2rem;
    }

    .love-message .ending {
        font-size: 1.2rem;
    }

    .spotify-container {
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
    .slider-container {
        max-width: 260px;
        height: 440px;
    }
}

.spotify-container {
    max-width: 400px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 50;
}

.spotify-container iframe {
    display: block;
}

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #194569;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
}

.intro-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    border-radius: 50px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(5px);
}

.intro-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.intro-button span {
    display: inline-block;
}

.intro-button span:first-child,
.intro-button span:last-child {
    font-size: 1.2em;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.main-content {
    opacity: 0;
    transition: opacity 1s ease;
    position: relative;
    min-height: 100vh;
}

.main-content.visible {
    opacity: 1;
} 