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

body {
    font-family: 'Quicksand', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD1DC 0%, #E6E6FA 50%, #FFFDD0 100%);
    z-index: -2;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 127, 127, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(230, 230, 250, 0.3) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-20px) translateY(-20px);
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    animation: float 15s infinite ease-in-out;
    opacity: 0.6;
    font-size: 20px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

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

.title {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    color: #FF7F7F;
    text-shadow: 2px 2px 4px rgba(255, 127, 127, 0.3);
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.subtitle {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #9B59B6;
    margin-bottom: 1rem;
}

.divider {
    font-size: 2rem;
    margin: 1rem 0;
    animation: bounce 2s ease-in-out infinite;
}

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

.tagline {
    font-size: 1.2rem;
    color: #8E44AD;
    font-weight: 500;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.countdown-wrapper {
    width: 100%;
    max-width: 900px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 127, 127, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, #fff, #f0f0f0);
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.9);
    min-width: 140px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.15),
                -8px -8px 20px rgba(255, 255, 255, 1);
}

.time-box::before,
.time-box::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.time-box::before {
    border-bottom: 15px solid #FFD1DC;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.time-box::after {
    border-top: 15px solid #FFD1DC;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.number {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: #FF7F7F;
    text-shadow: 2px 2px 4px rgba(255, 127, 127, 0.3);
    transition: transform 0.3s ease;
    display: inline-block;
}

.number.flip {
    animation: flip 0.6s ease-in-out;
}

@keyframes flip {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.label {
    font-size: 1.1rem;
    color: #9B59B6;
    font-weight: 600;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cat-decoration {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 1.5rem;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.separator {
    font-size: 3rem;
    color: #9B59B6;
    font-weight: bold;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.celebration {
    display: none;
    text-align: center;
    animation: celebrateIn 0.5s ease-out;
}

@keyframes celebrateIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.celebration.active {
    display: block;
}

.celebration-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: #FF7F7F;
    text-shadow: 2px 2px 4px rgba(255, 127, 127, 0.5);
    animation: celebrateText 1s ease-in-out infinite;
}

@keyframes celebrateText {
    0%, 100% {
        transform: scale(1) rotate(-2deg);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
}

.celebration-subtitle {
    font-size: 1.5rem;
    color: #9B59B6;
    margin: 1rem 0;
}

.celebration-kitties {
    font-size: 2.5rem;
    margin-top: 1rem;
}

.kitty-anim {
    display: inline-block;
    animation: kittyBounce 0.5s ease-in-out infinite alternate;
}

.kitty-anim:nth-child(1) {
    animation-delay: 0s;
}

.kitty-anim:nth-child(2) {
    animation-delay: 0.1s;
}

.kitty-anim:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes kittyBounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

.kitty-crew {
    width: 100%;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #9B59B6;
    margin-bottom: 2rem;
}

.kitties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.kitty-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(255, 127, 127, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kitty-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 127, 127, 0.3);
}

.kitty-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: kittyWave 2s ease-in-out infinite;
}

.kitty-card:nth-child(1) .kitty-emoji {
    animation-delay: 0s;
}

.kitty-card:nth-child(2) .kitty-emoji {
    animation-delay: 0.3s;
}

.kitty-card:nth-child(3) .kitty-emoji {
    animation-delay: 0.6s;
}

.kitty-card:nth-child(4) .kitty-emoji {
    animation-delay: 0.9s;
}

@keyframes kittyWave {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.kitty-speech {
    font-size: 1rem;
    color: #8E44AD;
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
}

.message-section {
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.love-note {
    background: linear-gradient(135deg, #fff 0%, #FFD1DC 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 127, 127, 0.3);
    position: relative;
    overflow: hidden;
}

.love-note::before {
    content: '💖';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    opacity: 0.2;
    animation: heartFloat 5s ease-in-out infinite;
}

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

.love-text {
    font-size: 1.3rem;
    color: #8E44AD;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
}

.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 127, 127, 0.3);
}

.footer-text {
    font-size: 1.2rem;
    color: #9B59B6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-date {
    font-size: 1rem;
    color: #8E44AD;
    font-style: italic;
}

#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .countdown {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .time-box {
        min-width: 100px;
        padding: 1rem;
    }
    
    .number {
        font-size: 2.5rem;
    }
    
    .label {
        font-size: 0.9rem;
    }
    
    .kitties-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .kitty-card {
        padding: 1.5rem;
    }
    
    .kitty-emoji {
        font-size: 3rem;
    }
    
    .container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown {
        flex-direction: column;
    }
    
    .separator {
        transform: rotate(90deg);
    }
    
    .time-box {
        width: 100%;
    }
    
    .celebration-title {
        font-size: 2rem;
    }
}
