* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: #111;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Background Decorations ─── */
.bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-wheel {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.wheel-right {
    left: -80px;
    animation: roll-right 8s linear infinite;
}

.wheel-left {
    right: -80px;
    animation: roll-left 9s linear infinite;
}

@keyframes roll-right {
    0% { transform: translateX(-100px) scaleX(-1); opacity: 0; }
    5% { opacity: 0.08; }
    90% { opacity: 0.08; }
    100% { transform: translateX(calc(100vw + 100px)) scaleX(-1); opacity: 0; }
}

@keyframes roll-left {
    0% { transform: translateX(100px); opacity: 0; }
    5% { opacity: 0.08; }
    90% { opacity: 0.08; }
    100% { transform: translateX(calc(-100vw - 100px)); opacity: 0; }
}

.speed-line {
    position: absolute;
    left: -10%;
    height: 1px;
    width: 25%;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    animation: streak 6s linear infinite;
    opacity: 0;
}

@keyframes streak {
    0% { transform: translateX(-100%); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateX(500%); opacity: 0; }
}

/* ─── Main ─── */
main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px 48px;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Banner ─── */
.banner-img {
    width: 100%;
    max-width: 560px;
    border-radius: 12px;
    border: 2px solid #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ─── Hero ─── */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-sub {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #aaa;
    text-transform: uppercase;
}

.title {
    font-size: clamp(48px, 12vw, 80px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #111;
}

.tagline {
    font-size: 16px;
    color: #888;
    max-width: 400px;
    line-height: 1.5;
}

/* ─── Records ─── */
.records-section {
    width: 100%;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #999;
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.record-card {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.record-card.hit {
    border-color: #111;
    background: #f0f0f0;
}

.record-target {
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.record-time {
    font-size: 15px;
    font-weight: 600;
    color: #999;
    font-variant-numeric: tabular-nums;
}

.record-card.hit .record-time {
    color: #111;
}

/* ─── Progress Bar ─── */
.progress-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #999;
}

.progress-bar {
    width: 100%;
    height: 28px;
    background: #f0f0f0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #111;
    border-radius: 7px;
    transition: width 1.5s ease;
    position: relative;
    min-width: 0;
}

.progress-pct {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ─── Stats ─── */
.stats-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 32px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 10px;
    width: 100%;
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #999;
    text-transform: uppercase;
}

.stat-value {
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: #eee;
}

/* ─── Elapsed ─── */
.elapsed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.elapsed-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #999;
}

.elapsed-value {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    font-variant-numeric: tabular-nums;
}

/* ─── CA Box ─── */
.ca-box {
    display: none;
    align-items: center;
    gap: 12px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111;
    position: relative;
    max-width: 100%;
}

.ca-box[style*="display: flex"], .ca-box[style*="display:flex"] {
    display: flex;
}

.ca-box:hover {
    border-color: #ccc;
}

.ca-label {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.ca-address {
    font-size: 13px;
    word-break: break-all;
    font-weight: 500;
}

.copy-icon {
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.ca-box:hover .copy-icon {
    color: #666;
}

.copied-toast {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #111;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ca-box.copied .copied-toast {
    opacity: 1;
}

/* ─── Socials ─── */
.socials {
    display: flex;
    gap: 10px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #bbb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-button:hover {
    color: #111;
    border-color: #ccc;
}

/* ─── Footer ─── */
.footer {
    font-size: 12px;
    color: #ccc;
}

/* ─── Mobile ─── */
@media (max-width: 600px) {
    main {
        padding: 40px 16px 36px;
        gap: 32px;
    }

    .records-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .elapsed-value {
        font-size: 26px;
    }

    .ca-box {
        padding: 12px 14px;
    }

    .ca-address {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .records-grid {
        grid-template-columns: 1fr;
    }
}
