/* ==========================================
   城見市 - シック＆モダンデザイン
   カラーパレット: ダークグレー / 水色 / オレンジ
   ========================================== */

/* 全体のリセットと背景色 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    /* 落ち着いたダークチャコールグレーのグラデーション */
    background: linear-gradient(180deg, #181c24 0%, #0f1217 100%);
    color: #d1d5db; /* 落ち着いたライトグレー文字 */
    text-align: center;
    min-height: 100vh;
}

/* 1. 最上部の告知バー（1行ループ表示） */
.top-bar {
    background-color: #262d3a;
    font-size: 12px;
    padding: 10px 0;
    color: #e2e8f0;
    border-bottom: 2px solid #e07a5f;
    overflow: hidden; /* はみ出た文字を隠す */
    white-space: nowrap; /* 絶対に改行させない（1行固定） */
    position: relative;
    width: 100%;
}

.top-bar-text {
    display: inline-block;
    padding-left: 100%; /* 初期位置を画面右端に */
    animation: marquee 20s linear infinite; /* 20秒かけて右から左へ流す */
}

/* 横に流れるアニメーション */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 2. カウントダウンエリア */
.countdown-section {
    padding: 50px 20px;
}

.badge {
    display: inline-block;
    background-color: rgba(224, 122, 95, 0.15);
    color: #e07a5f;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 4px;
    border: 1px solid #e07a5f;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.countdown-section h2 {
    font-size: 22px;
    margin: 8px 0;
    letter-spacing: 3px;
    color: #f3f4f6;
    font-weight: 500;
}

.target-date {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 25px;
}

/* タイマーのコンテナ */
.timer-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.time-box {
    background: #1f2430;
    border: 1px solid #374151;
    border-top: 3px solid #73bda8;
    border-radius: 6px;
    min-width: 70px;
    padding: 12px 8px;
}

.digit-wrapper {
    height: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.digit {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #f9fafb;
    display: inline-block;
}

/* スクロールアニメーション */
.roll-up {
    animation: rollUpAnim 0.5s ease-out;
}

@keyframes rollUpAnim {
    0% { transform: translateY(30%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.time-box p {
    margin: 6px 0 0;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}
/* 3. COMING SOON の帯：落ち着いた水色ベース */
.coming-soon-bar {
    background-color: #2a3848; /* 深みのあるスレートブルー */
    color: #8ed1fc; /* 柔らかい水色テキスト */
    font-size: 12px;
    font-weight: 700;
    padding: 10px 0;
    letter-spacing: 6px;
    text-align: center;
    border-top: 1px solid #3b4a5a;
    border-bottom: 1px solid #3b4a5a;
}

/* 4. メインコンテンツ */
.main-content {
    padding: 70px 20px;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.title-area h1 {
    font-size: 44px;
    margin: 0;
    letter-spacing: 6px;
    color: #f9fafb;
    font-weight: 700;
}

.english-title {
    font-size: 15px;
    color: #8ed1fc; /* シックな水色 */
    margin: 8px 0 24px 0;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ベータ版バッジ（オレンジ） */
.english-title span {
    background-color: #e07a5f;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: 700;
}

.description {
    font-size: 14px;
    line-height: 1.9;
    color: #9ca3af;
    font-weight: 400;
}

/* 5. DEV NOTES */
.dev-notes {
    margin-top: 50px;
    border-left: 3px solid #e07a5f; /* ポイントでオレンジの縦線 */
    padding: 12px 0 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 4px 4px 0;
}

.dev-link {
    font-size: 11px;
    color: #8ed1fc;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
    font-weight: 600;
}

.status-text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #f3f4f6;
}

/* 6. 市民になる セクション */
.join-section {
    background-color: #13171f; /* ボディより一段暗いグレー */
    padding: 70px 20px;
    border-top: 1px solid #262d3a;
}

.join-section h2 {
    font-size: 26px;
    margin: 0 0 8px 0;
    color: #f9fafb;
}

.join-section p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 35px;
}

/* ソーシャルボタン（高級感のあるマット仕上げ） */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 520px;
    margin: 0 auto;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #d1d5db;
    background-color: #1f2430;
    border: 1px solid #374151;
    transition: all 0.2s ease;
}

.sns-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ホバー時にじわっと色が付く落ち着いたリアクション */
.roblox:hover {
    background-color: #2b3242;
    color: #ffffff;
    border-color: #4b5563;
}

.discord:hover {
    background-color: #2b3848;
    color: #8ed1fc; /* 水色アクセント */
    border-color: #8ed1fc;
}

.youtube:hover {
    background-color: #382828;
    color: #f87171; /* ソフトな赤 */
    border-color: #f87171;
}

footer {
    background-color: #13171f;
    padding: 30px 0;
    font-size: 11px;
    color: #6b7280;
    border-top: 1px solid #1f2430;
}

/* 📱 スマホ用表示調整 */
@media (max-width: 480px) {
    .timer-container { gap: 6px; }
    .time-box { min-width: 60px; padding: 10px 4px; }
    .digit { font-size: 24px; }
    .title-area h1 { font-size: 32px; }
    .social-buttons { flex-direction: column; gap: 10px; }
}
/* 右上のサイトバージョン表示 */
.site-version {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #e07a5f; /* ポイントカラーのオレンジ */
    background-color: rgba(15, 18, 23, 0.8); /* 背景に少し馴染むダークグレー */
    padding: 3px 8px;
    border: 1px solid rgba(224, 122, 95, 0.4);
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 100; /* 常に一番上に表示 */
}

/* 📱 スマホ用表示調整 */
@media (max-width: 480px) {
    .timer-container { gap: 6px; }
    .time-box { min-width: 60px; padding: 10px 4px; }
    .digit { font-size: 24px; }
    .title-area h1 { font-size: 32px; }
    .social-buttons { flex-direction: column; gap: 10px; }
}
