body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

h1 {
    font-size: 3em;
    color: gold;
    margin-bottom: 0.5em;
}

p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.btn-gold {
    background: gold;
    color: #111;
    border: none;
    padding: 1em 2em;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: #ffdd00;
}

.question {
    font-size: 1.5em;
    margin-bottom: 1em;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.options button {
    margin: 0.5em;
    padding: 0.8em 1.5em;
    font-size: 1.1em;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #222;
    color: gold;
    transition: 0.3s;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.options button:hover {
    background: #333;
    color: #fff;
}

.result-box {
    background: #222;
    border: 2px solid gold;
    padding: 2em;
    border-radius: 20px;
    animation: fadeIn 1s ease;
}

.percent {
    font-size: 2em;
    color: gold;
    margin: 0.5em 0;
}

.trigger {
    font-size: 1.3em;
    margin-bottom: 1em;
}

.share-box {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

#shareCopy {
    width: 60%;
    padding: 0.5em;
    border-radius: 8px;
    border: none;
    text-align: center;
}

/* プログレスバー */
#progressBar {
    width: 80%;
    height: 20px;
    background: #222;
    margin: 1em auto;
    border-radius: 10px;
    overflow: hidden;
}

#progress {
    width: 0;
    height: 100%;
    background: gold;
    transition: width 0.5s ease;
}

/* フェードインアニメーション */
.fadeIn {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* タイピング演出 */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}