:root {
    --plim-red: #E63946;
    --plim-blue: #457B9D;
    --plim-yellow: #F4A261;
    --plim-cyan: #A8DADC;
    --plim-bg: #F1FAEE;
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Baloo 2', cursive;
}

body {
    background-color: var(--plim-bg);
    color: #1d3557;
    font-family: var(--font-body);
    font-weight: 500;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.1) 20px, transparent 21px),
        radial-gradient(circle at 90% 80%, rgba(69, 123, 157, 0.1) 20px, transparent 21px);
    background-size: 150px 150px;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700&family=Fredoka+One&display=swap');

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

h1 {
    font-size: 4rem;
    color: var(--plim-red);
    text-shadow: 3px 3px 0 var(--plim-yellow);
    line-height: 1.1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--plim-blue);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
    border: 3px solid var(--plim-yellow);
}

/* Components */
.plim-card {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 4px solid var(--plim-cyan);
    position: relative;
    transition: transform 0.3s;
}

.plim-card:hover {
    transform: translateY(-5px);
}

.plim-card::before {
    content: '❤️';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 2rem;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.btn-plim {
    background-color: var(--plim-red);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 0 #b32b36;
}

.btn-plim:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #b32b36;
    background-color: #d63440;
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #A8DADC 0%, #F1FAEE 100%);
}

#confettiCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    margin: 20px 0;
}

.hero-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.clown-nose {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%);
    border: 10px dashed var(--plim-red);
    border-radius: 50%;
    animation: spin 10s linear infinite;
    z-index: -1;
}

@keyframes spin {
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Audio */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-music-plim {
    width: 60px;
    height: 60px;
    background: var(--plim-yellow);
    border: 4px solid white;
    border-radius: 50%;
    color: var(--plim-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Countdown */
.plim-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.count-circle {
    width: 75px;
    height: 75px;
    background: white;
    border: 3px solid var(--plim-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 0 var(--plim-blue);
}

.count-circle:nth-child(odd) {
    border-color: var(--plim-red);
    box-shadow: 0 5px 0 var(--plim-red);
    color: var(--plim-red);
}

.count-circle span {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.count-circle small {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Gallery - Polaroid */
.polaroid {
    background: white;
    padding: 10px 10px 30px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-3deg);
    transition: transform 0.3s;
}

.polaroid:hover {
    transform: rotate(0) scale(1.05);
    z-index: 10;
}

.polaroid-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #eee;
}

/* Footer */
footer {
    background: var(--plim-blue);
    color: white;
    padding: 3rem 0;
    border-top: 10px solid var(--plim-yellow);
}