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

body{
background:#f4e2c1;
font-family:'Montserrat',sans-serif;
color:#6d3d07;
}

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

.hero{
text-align:center;
padding:40px 20px;
}

.emoji{
font-size:70px;
margin-bottom:20px;
}

.badge{
display:inline-block;
background:#6b2f00;
color:#f6d68a;
padding:10px 30px;
border-radius:8px;
letter-spacing:5px;
font-size:12px;
margin-bottom:20px;
}

.hero h1{
font-family:'Rye',cursive;
font-size:4rem;
line-height:1;
color:#8a4300;
text-shadow:4px 4px #d8a458;
}

.subtitle{
font-size:1.2rem;
margin-top:15px;
}

.cactus{
font-size:40px;
margin:25px 0;
}

.birthday-card{
background:#6b2f00;
color:#f5d58c;
padding:30px;
border-radius:20px;
margin-top:20px;
}

.birthday-card h2{
font-family:'Rye',cursive;
font-size:3rem;
margin:10px 0;
}

.countdown-section{
text-align:center;
padding:40px 0;
}

.countdown{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
margin-top:20px;
}

.box{
background:#6b2f00;
color:#f5d58c;
width:120px;
padding:20px;
border-radius:15px;
box-shadow:0 5px 0 #3b1a00;
}

.box span{
font-size:2rem;
font-weight:bold;
display:block;
}

.info-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:30px;
}

.card{
background:#fff9ef;
padding:30px;
border:4px solid #c28a20;
border-radius:20px;
text-align:center;
}

.icon{
font-size:40px;
margin-bottom:10px;
}

.card h4{
letter-spacing:5px;
margin-bottom:10px;
}

.card p{
font-family:'Rye',cursive;
font-size:1.5rem;
}

.message{
margin-top:40px;
padding:30px;
background:#ead4af;
border-left:8px solid #c28a20;
border-radius:15px;
font-size:1.2rem;
line-height:1.8;
}

.gallery-section{
margin-top:50px;
text-align:center;
}

.gallery-section h2{
font-family:'Rye',cursive;
font-size:2.5rem;
margin-bottom:25px;
}

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

.gallery img{
width:100%;
height:300px;
object-fit:cover;
border-radius:20px;
border:5px solid #b67a16;
}

.rsvp{
text-align:center;
margin:60px 0;
}

.btn{
display:inline-block;
padding:15px 35px;
background:#6b2f00;
color:white;
text-decoration:none;
border-radius:50px;
font-weight:bold;
}

.btn:hover{
transform:scale(1.05);
}

@media(max-width:768px){

.hero h1{
font-size:2.8rem;
}

.birthday-card h2{
font-size:2rem;
}

.box{
width:90px;
}

}

#hat-rain{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.hat{
    position: absolute;
    top: -50px;
    font-size: 35px;
    animation: fall linear forwards;
}

@keyframes fall{
    from{
        transform: translateY(-50px) rotate(0deg);
    }

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

.map-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:20px;
    padding:15px 30px;
    background:#8B4513;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:bold;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
    transition:.3s;
}

.map-btn:hover{
    transform:translateY(-3px);
}

.map-btn:active{
    transform:scale(.98);
}

.music-btn{
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:9999;
    border:none;
    border-radius:50px;
    padding:12px 18px;
    font-size:16px;
    cursor:pointer;
    background:#8B4513;
    color:white;
}

.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;

    padding: 12px 20px;
    border: none;
    border-radius: 50px;

    background: #ff4081;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,.3);
    transition: all .3s ease;
}

.music-btn:hover {
    transform: scale(1.05);
}

.music-btn.playing {
    background: #4caf50;
}

.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);

    color: white;
    font-size: 24px;

    cursor: pointer;
    z-index: 9999;

    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.music-btn:hover,
.music-btn:active {
    transform: scale(1.1);
}

.music-btn.playing {
    animation: pulse 1.5s infinite;
}

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

.footer-invitacion {
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
}

.footer-invitacion a {
    color: #8a8a8a;
    opacity: 0.35;
    font-size: 11px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    transition: opacity 0.3s ease;
}

.footer-invitacion a:hover {
    opacity: 0.6;
}