@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Open+Sans:ital,wght@0,400;0,700;1,800&display=swap');

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at top right, #6b21a8 0%, #3b0764 50%, #170324 100%);
    color: #ecf0f1;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 50px;
    background: rgba(15, 23, 42, 0.6);
    border: 3px solid #00d2ff;
    backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3), inset 0 0 20px rgba(0, 210, 255, 0.1);
    max-width: 800px;
    width: 90%;
    animation: dropIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes dropIn {
    0% { opacity: 0; transform: translateY(-50px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.animation-container {
    position: relative;
    height: 220px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Upgraded Supply Drop Animation */
.supply-drop {
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 15px rgba(0,0,0,0.7));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(-3deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-12px) rotate(3deg); }
}

h1 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3.5rem;
    margin-bottom: 5px;
    color: #f1c40f;
    text-shadow: 
        3px 3px 0 #000,
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 5px 10px rgba(0,0,0,0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    min-height: 70px;
}

.cursor {
    animation: blink 0.7s infinite;
    color: #00d2ff;
}

.subtitle-cursor {
    color: #e2e8f0;
    font-weight: 800;
}

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

p.subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 800;
    margin-bottom: 40px;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    min-height: 35px; /* Prevent jumping when text is deleted */
}

/* Progress Bar Styles */
.progress-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
    padding: 0 5px;
}

.progress-label {
    font-family: 'Luckiest Guy', cursive;
    color: #00d2ff;
    font-size: 1.6rem;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    letter-spacing: 2px;
}

.progress-percent {
    font-family: 'Luckiest Guy', cursive;
    color: #f1c40f;
    font-size: 1.8rem;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.progress-bar-container {
    width: 100%;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid #000;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0,210,255,0.2), inset 0 0 15px rgba(0,0,0,0.9);
    position: relative;
    transform: skewX(-12deg);
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00d2ff, #2980b9);
    box-shadow: inset 0 5px 15px rgba(255,255,255,0.4);
    border-right: 3px solid #fff;
    position: relative;
    transition: width 2.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    z-index: 1;
    background-size: 40px 40px;
    animation: moveStripes 1.5s linear infinite;
}

@keyframes moveStripes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@media (max-width: 600px) {
    .content-wrapper { padding: 40px 20px; }
    h1 { font-size: 2rem; min-height: 50px; }
    p.subtitle { font-size: 1rem; margin-bottom: 30px; }
    .supply-drop { width: 120px; height: 160px; }
    .animation-container { height: 180px; }
    .progress-label { font-size: 1.2rem; }
    .progress-percent { font-size: 1.4rem; }
    .progress-bar-container { height: 35px; }
}
