/* Cat Cafe Garden Countdown - Relaxed & Fun */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #fef9f3;
    --soft-pink: #ffd4d4;
    --sage-green: #b8d4b8;
    --warm-brown: #8b7355;
    --soft-purple: #d4c4fb;
    --light-blue: #c4e4fb;
    --text-dark: #5a4a3a;
    --text-light: #8b7d6b;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-pink) 50%, var(--light-blue) 100%);
    color: var(--text-dark);
    position: relative;
    padding: 2rem 1rem;
}

/* Floating elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sakura {
    position: absolute;
    font-size: 1.5rem;
    animation: float-down 15s infinite ease-in-out;
    opacity: 0.7;
}

.sakura-1 { left: 10%; animation-delay: 0s; }
.sakura-2 { left: 30%; animation-delay: 3s; }
.sakura-3 { left: 50%; animation-delay: 6s; }
.sakura-4 { left: 70%; animation-delay: 9s; }
.sakura-5 { left: 90%; animation-delay: 12s; }

@keyframes float-down {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.cat-float {
    position: absolute;
    font-size: 2rem;
    animation: float-sideways 20s infinite ease-in-out;
}

.cat-1 {
    top: 20%;
    left: -50px;
    animation-delay: 0s;
}

.cat-2 {
    top: 60%;
    right: -50px;
    animation-delay: 10s;
}

@keyframes float-sideways {
    0%, 100% {
        transform: translateX(0) rotate(-10deg);
    }
    50% {
        transform: translateX(calc(100vw + 100px)) rotate(10deg);
    }
}

.leaf {
    position: absolute;
    font-size: 1.2rem;
    animation: drift 25s infinite ease-in-out;
    opacity: 0.6;
}

.leaf-1 {
    top: 30%;
    left: 5%;
}

.leaf-2 {
    top: 70%;
    right: 10%;
    animation-delay: 12s;
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(0, 60px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 30px) rotate(270deg);
    }
}

/* Main container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-decoration {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: gentle-bounce 3s infinite ease-in-out;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.main-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--warm-brown);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
}

/* Date card */
.date-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple));
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.date-icon {
    font-size: 2.5rem;
    animation: rotate-gentle 4s infinite ease-in-out;
}

@keyframes rotate-gentle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.date-info {
    text-align: center;
}

.date-main {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.date-time {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    font-weight: 500;
}

/* Countdown section */
.countdown-section {
    margin: 3rem 0;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.time-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.time-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.time-card:nth-child(1) { background: linear-gradient(135deg, #fff9e6, #ffe6cc); }
.time-card:nth-child(2) { background: linear-gradient(135deg, #ffe6f0, #ffd4e5); }
.time-card:nth-child(3) { background: linear-gradient(135deg, #e6f7ff, #cceeff); }
.time-card:nth-child(4) { background: linear-gradient(135deg, #f0e6ff, #e6d4ff); }

.time-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: bounce-icon 2s infinite ease-in-out;
}

.time-card:nth-child(1) .time-icon { animation-delay: 0s; }
.time-card:nth-child(2) .time-icon { animation-delay: 0.2s; }
.time-card:nth-child(3) .time-icon { animation-delay: 0.4s; }
.time-card:nth-child(4) .time-icon { animation-delay: 0.6s; }

@keyframes bounce-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.time-value {
    font-family: 'Caveat', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--warm-brown);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.time-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

/* Garden path */
.garden-path {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--sage-green), var(--soft-purple));
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.path-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.path-track {
    position: relative;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: visible;
}

.path-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--warm-brown), var(--soft-pink));
    border-radius: 20px;
    width: 100%;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.walking-cat {
    font-size: 2rem;
    animation: walk 1s infinite ease-in-out;
}

@keyframes walk {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.path-stones {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transform: translateY(-50%);
    pointer-events: none;
}

.stone {
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Interactive cats */
.interactive-cats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.cafe-cat {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.cafe-cat:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cafe-cat:active {
    transform: scale(0.95);
}

.cat-sprite {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: cat-wiggle 3s infinite ease-in-out;
}

.cafe-cat:nth-child(1) .cat-sprite { animation-delay: 0s; }
.cafe-cat:nth-child(2) .cat-sprite { animation-delay: 1s; }
.cafe-cat:nth-child(3) .cat-sprite { animation-delay: 2s; }

@keyframes cat-wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.cat-name {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-brown);
}

/* Message box */
.message-box {
    background: linear-gradient(135deg, var(--soft-pink), var(--light-blue));
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.message-box.show {
    opacity: 1;
    transform: translateY(0);
}

.message-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border: 3px solid var(--warm-brown);
    border-radius: 50px;
    padding: 1rem 2rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--warm-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: var(--warm-brown);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.control-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    margin-top: 3rem;
    text-align: center;
}

.footer-decoration {
    font-size: 1.25rem;
    color: var(--text-light);
    animation: gentle-bounce 4s infinite ease-in-out;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .container {
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .time-card {
        padding: 1.5rem 0.75rem;
    }
    
    .interactive-cats {
        gap: 1rem;
    }
    
    .date-card {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .path-label {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .cafe-cat {
        padding: 0.75rem;
    }
    
    .cat-sprite {
        font-size: 2.5rem;
    }
}

/* Fun animations */
.time-value.updating {
    animation: pop 0.5s ease;
}

@keyframes pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-10px) rotate(-5deg); }
    75% { transform: translateX(10px) rotate(5deg); }
}

/* Purr effect */
@keyframes purr {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}