/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベーススタイル */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* コンテナスタイル */
.container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 500px;
    width: 90%;
}

/* タイトルスタイル */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* カウントダウンスタイル */
.countdown {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* スピナーアニメーション */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* SCP財団ロゴスタイル */
.scp-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    /* animation: logoSpin 3s linear infinite; */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* CSS製財団ロゴ（SVGがない場合の代替） */
.css-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    position: relative;
    border: 3px solid white;
    border-radius: 50%;
    animation: logoSpin 3s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 12px;
    color: white;
}

.css-logo::before {
    content: "SCP";
    position: absolute;
}

.css-logo::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* エフェクト */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        margin: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .countdown {
        font-size: 1rem;
        padding: 0.8rem;
    }
}