/* 🎨 Softer, Warmer Theme */
:root {
    --primary-color: #ff3b3b; /* Vibrant red */
    --primary-hover: #ff5c5c;
    --button-shadow: #aa2020;
    --bg-color: #ffefd5; /* Soft peach background */
    --text-color: #4a2c2c; /* Deep warm brown */
    --border-radius: 50%;
    --transition-speed: 0.2s ease-in-out;
}

@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Luckiest Guy', cursive;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
}

/* 📦 Container */
#container {
    padding: 40px;
    background: rgba(137,207,240,0.8);
    border-radius: 20px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
    border: 4px solid #ff7f50;
    max-width: 600px;
}

/* 🚨 Header & Funny Text */
h1 {
    color: var(--primary-color);
    font-size: 32px;
    text-shadow: 2px 2px var(--button-shadow);
}

p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* 🔴 Big Red Cartoon Button */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* 🎨 The Button */
.big-red-button {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--primary-hover) 30%, var(--primary-color) 80%);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0px 6px 0px var(--button-shadow), 0px 12px 18px rgba(0, 0, 0, 0.4);
    transition: var(--transition-speed);
    outline: none;
    position: relative;
}

/* ✨ Glow Effect */
.big-red-button::before {
    content: "";
    position: absolute;
    width: 65%;
    height: 65%;
    top: 12px;
    left: 12px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 10%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
}

/* 👇 Press Effect */
.big-red-button:active {
    box-shadow: 0px 3px 0px var(--button-shadow), 0px 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(6px);
}

/* 🏆 Softer Cartoon-Style Button Base */
.button-container::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #ffb366 40%, #000000 100%);
    border-radius: 50%;
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* ⬇️ Small Download Button (Lower Right Corner) */
.download-button {
    background-color: #007bff;
    color: white;
    font-size: 14px;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 0px #0056b3;
    transition: 0.2s ease-in-out;
    outline: none;

    /* 📌 Fixed to Bottom Right */
    position: fixed;
    bottom: 20px;
    right: 20px;
}

/* 🛑 Disabled Button */
.download-button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Hover & Press Effects */
.download-button:hover:not(:disabled) {
    background-color: #0056b3;
}
.download-button:active:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px #003d7a;
}


/* Counter */
.counter-container {
    /* 📌 Fixed to Top Right */
    position: fixed;
    top: 20px;
    right: 20px;
}