/* ==============================
   基本レイアウト・背景・フォント
============================== */
body {
    background: linear-gradient(180deg, #fdfbff 0%, #f5f7ff 100%);
    font-family: "Segoe UI", "Hiragino Sans", "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
}

/* ==============================
   見出し・テキスト
============================== */
h1, h2 {
    font-weight: 700;
    color: #5b5bff;
}

/* ==============================
   ナビバー
============================== */
.navbar {
    background: linear-gradient(90deg, #8a7fff, #7bb4ff);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
}

/* ==============================
   ヒーローセクション
============================== */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #7bb4ff, #b9a7ff);
    color: white;
    animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ==============================
   ボタン
============================== */
.btn-custom {
    background-color: #6f7bff;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-custom:hover {
    background-color: #5b67e8;
    transform: translateY(-2px);
}

/* ==============================
   カード
============================== */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(100, 100, 255, 0.15);
    transition: transform 0.2s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(100, 100, 255, 0.25);
}

.card-title {
    color: #4040a0;
    font-weight: 600;
}

/* ==============================
   プロフィール画像
============================== */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 15px auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ==============================
   セクションタイトル
============================== */
.section-title {
    border-left: 5px solid #7c7cff;
    padding-left: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ==============================
   フッター
============================== */
.footer {
    margin-top: 3rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* ==============================
   フェードインアニメーション
============================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================
   Calendar Styling
============================ */
#calendar {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(130, 130, 255, 0.25);
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(6px);
    transition: box-shadow 0.3s ease;
}

#calendar:hover {
    box-shadow: 0 8px 22px rgba(100, 100, 255, 0.3);
}

/* === VTuber風ツールチップ === */
.tooltip.show {
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

/* 背景をグラデーション＋光沢感 */
.tooltip-inner {
    background: linear-gradient(135deg, rgba(123, 180, 255, 0.95), rgba(255, 138, 212, 0.95));
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.8rem;
    padding: 0.6rem 0.9rem;
    box-shadow:
        0 0 8px rgba(255, 138, 212, 0.6),
        0 0 15px rgba(123, 180, 255, 0.5);
    backdrop-filter: blur(6px);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

/* 吹き出しの矢印もネオンカラーに */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: rgba(200, 150, 255, 0.8) !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: rgba(200, 150, 255, 0.8) !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: rgba(200, 150, 255, 0.8) !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: rgba(200, 150, 255, 0.8) !important;
}

/* ふわっと浮き上がるアニメーション */
@keyframes tooltip-glow {
    0% {
        box-shadow:
            0 0 6px rgba(255, 138, 212, 0.3),
            0 0 12px rgba(123, 180, 255, 0.3);
    }
    100% {
        box-shadow:
            0 0 10px rgba(255, 138, 212, 0.8),
            0 0 25px rgba(123, 180, 255, 0.8);
    }
}

.tooltip-inner {
    animation: tooltip-glow 1.6s infinite alternate;
}

/* 配信者紹介*/
.streamer-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(120,120,255,0.12);
    transition: all 0.3s ease;
}

.streamer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(120,120,255,0.22);
}

.streamer-avatar-area {
    flex-shrink: 0;
}

.streamer-avatar {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
}

.streamer-info {
    flex: 1;
}

.streamer-info h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.streamer-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.streamer-btn {
    border: none;
    color: white !important;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.streamer-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.08);
}

/* =========================
   Streamer horizontal scroll
========================= */

/* 配信者スクロール */
.streamer-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 10px;
    scroll-behavior: smooth;

    /* スクロールバー非表示 */
    scrollbar-width: none;
}

.streamer-scroll-container::-webkit-scrollbar {
    display: none;
}

.streamer-card-list {
    display: flex;
    gap: 20px;
    width: max-content;
}

.streamer-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.streamer-card-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(auto-fill, 320px);
    gap: 20px;
    transition: transform 0.8s ease-in-out;
}

/* 1カード */
.streamer-mini-card {
    width: 320px;
    min-height: 170px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(124,124,255,0.18);
}

.streamer-mini-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(124,124,255,0.28);
}

/* アイコン */
.streamer-avatar-wrapper {
    flex-shrink: 0;
}

.streamer-mini-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;

    border: 3px solid white;

    box-shadow:
        0 0 12px rgba(130,160,255,0.4),
        0 4px 10px rgba(0,0,0,0.08);
}

/* 情報 */
.streamer-mini-info {
    flex: 1;
}

.streamer-mini-info h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #4d4dc9;
}

.streamer-mini-info p {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 0.8rem;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ボタン */
.streamer-mini-buttons {
    display: flex;
    gap: 0.4rem;
}

.streamer-link {
    text-decoration: none;
    color: inherit;
}


.detail-card {
    max-width: 700px;
    margin: auto;
    padding: 2rem;
    text-align: center;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);

    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(124,124,255,0.15),
        0 0 20px rgba(124,124,255,0.15);
}

.detail-avatar {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;

    border: 4px solid white;

    margin-bottom: 1.5rem;

    box-shadow:
        0 0 18px rgba(124,124,255,0.35);
}

.schedule-card {
    padding: 1.2rem;
    border-radius: 18px;

    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);

    box-shadow:
        0 8px 20px rgba(124,124,255,0.12);

    border: 1px solid rgba(255,255,255,0.5);

    transition: 0.25s;
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 28px rgba(124,124,255,0.2),
        0 0 12px rgba(124,124,255,0.18);
}

.schedule-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #4d4dc9;
}
/* ログイン */
.discord-login-btn {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
    transition: all 0.25s ease;
}

.discord-login-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(88, 101, 242, 0.5);
}

.video-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.video-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.03);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.6);
    pointer-events: none;
}
.streamer-title-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.streamer-title {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(124,124,255,0.35);
}

.listener-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #6a5cff;
    text-shadow: 0 0 10px rgba(123,180,255,0.35);
}
