:root {
    --bg-color: #050505;
    --text-color: #f8fafc;
    --accent-color: #ff0055; /* Neon Pink/Red for drama */
    --accent-secondary: #7000ff; /* Deep Purple */
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 0, 85, 0.3);
    --card-shadow: 0 0 50px rgba(112, 0, 255, 0.2);
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent scrollbars from particles */
    position: relative;
}

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

.container {
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    width: 100%;
}

.card.main-display {
    max-width: 700px;
    width: 100%;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 60px rgba(255, 0, 85, 0.15), inset 0 0 40px rgba(112, 0, 255, 0.1);
    border-radius: 4px; /* Sharper edges */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); /* Sci-fi Shape */
    position: relative;
    overflow: hidden;
}

/* Scanline effect */
.card.main-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}

.card h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-shadow: 0 0 15px var(--accent-color);
}

.number.huge {
    font-family: var(--font-primary);
    font-size: 9rem;
    font-weight: 900;
    margin: 1rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 0, 85, 0.6));
    animation: pulseGlow 2s infinite alternate;
}

.label {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Progress Bar */
.progress-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    animation: fadeIn 1.5s ease-out;
    position: relative;
    z-index: 2;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
}

.progress-bar-container {
    height: 8px; /* Thinner */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 85, 0.3);
    border-radius: 0; /* Sharp corners */
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-color));
    width: 0%;
    border-radius: 0;
    box-shadow: 0 0 30px var(--accent-color);
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.detailed-stats {
    margin-top: 2rem;
    color: #cbd5e1;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    animation: fadeIn 2s ease-out;
}

.detailed-stats span {
    font-family: var(--font-primary);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent-secondary);
}

footer {
    margin-top: 4rem;
    color: var(--accent-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

/* Animations */
@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.4)); transform: scale(1); }
    100% { filter: drop-shadow(0 0 40px rgba(255, 0, 85, 0.8)); transform: scale(1.02); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .number.huge { font-size: 5rem; }
    .card.main-display { padding: 3rem 1.5rem; clip-path: none; border-radius: 12px; }
}
