@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Tangerine:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-image: url('../img/pompompurin-wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(227, 202, 86, 0.3);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5vh;
}

.carousel-container {
    width: 90%;
    max-width: 400px;
    height: 60vh;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    height: 80%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(86, 28, 37, 0.3);
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.card {
    min-width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e1e3e0 0%, #f5f5f5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(227, 202, 86, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.card.title-card {
    background: linear-gradient(135deg, #e3ca56 0%, #f0d670 100%);
    color: #561c25;
}

.card.title-card h1 {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.card.title-card .subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 300;
}

.card.message-card {
    background: linear-gradient(135deg, #e1e3e0 0%, #f8f8f8 100%);
    color: #561c25;
    border: 3px solid #e3ca56;
}

.card.message-card p {
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.card.message-card::after {
    content: '💕';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.7;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    height: 20%;
}

.carousel-btn {
    background: #561c25;
    color: #e1e3e0;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(86, 28, 37, 0.3);
}

.carousel-btn:hover {
    background: #6d2330;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(86, 28, 37, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #561c25;
    transform: scale(1.3);
}

/* Animaciones */
.card {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .carousel-container {
        width: 95%;
    }
    
    .card.title-card h1 {
        font-size: 1.8rem;
    }
    
    .card.message-card p {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}