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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #1a1a0a;
    color: #eaeaea;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

p {
    font-size: 1.2rem;
    color: #a0a0a0;
}

.countdown {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    padding: 3rem;
    background:
        radial-gradient(circle, #2a2a1a 0%, #1a1a0a 50%, #0d0d05 100%);
    border-radius: 50%;
    width: 340px;
    height: 340px;
    margin-left: auto;
    margin-right: auto;
    box-shadow:
        inset 0 0 30px rgba(0,0,0,0.8),
        inset 0 0 60px rgba(0,0,0,0.5),
        0 0 20px rgba(0,0,0,0.9),
        0 4px 8px rgba(0,0,0,0.5);
    border: 8px solid #3d3520;
    outline: 4px solid #2a2510;
    outline-offset: 4px;
}

.countdown::before {
    content: "☠ ✧ 𐌀 ✧ ꙮ ✧ 𐌁 ✧ ☠";
    position: absolute;
    top: -35px;
    font-size: 1rem;
    color: #8b7355;
    letter-spacing: 0.3em;
    text-shadow: 0 0 10px rgba(139, 115, 85, 0.5);
}

.countdown::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 3px dashed #4a3f2a;
    pointer-events: none;
    animation: rotate-slow 120s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.countdown-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 240px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: linear-gradient(145deg, #1f1f12 0%, #151508 100%);
    border: 2px solid #4a3f2a;
    border-radius: 8px;
    min-width: 70px;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 8px rgba(0,0,0,0.5);
}

.countdown-item::before {
    content: "𐎀";
    position: absolute;
    top: -8px;
    font-size: 0.7rem;
    color: #6b5a3e;
}

.countdown-item::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 5px;
    pointer-events: none;
}

.countdown-item span {
    font-size: 1.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #c9a227;
    text-shadow:
        0 0 10px rgba(201, 162, 39, 0.6),
        0 0 20px rgba(201, 162, 39, 0.3),
        0 2px 4px rgba(0,0,0,0.8);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
    animation: flicker 4s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
    52% { opacity: 1; }
    54% { opacity: 0.9; }
}

.countdown-item label {
    font-size: 0.6rem;
    color: #8b7355;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.3rem;
    font-family: serif;
}

.countdown-cracks {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image:
        linear-gradient(45deg, transparent 40%, rgba(0,0,0,0.3) 41%, transparent 42%),
        linear-gradient(-30deg, transparent 60%, rgba(0,0,0,0.2) 61%, transparent 62%),
        linear-gradient(120deg, transparent 70%, rgba(0,0,0,0.25) 71%, transparent 72%);
    pointer-events: none;
}

.glyphs {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate-slow 200s linear infinite reverse;
}

.glyph {
    position: absolute;
    font-size: 1.2rem;
    color: #5a4a35;
    text-shadow: 0 0 5px rgba(90, 74, 53, 0.5);
}

.glyph:nth-child(1) { top: 5%; left: 50%; transform: translateX(-50%); }
.glyph:nth-child(2) { top: 25%; right: 8%; }
.glyph:nth-child(3) { bottom: 25%; right: 8%; }
.glyph:nth-child(4) { bottom: 5%; left: 50%; transform: translateX(-50%); }
.glyph:nth-child(5) { bottom: 25%; left: 8%; }
.glyph:nth-child(6) { top: 25%; left: 8%; }
