/* ------------------------------ */
/* 全体リセット */
/* ------------------------------ */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* ------------------------------ */
/* 埋め込みiframe */
/* ------------------------------ */
.fullscreen-embed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    z-index: 0;
}

/* ------------------------------ */
/* 右上パネル（Discord参加） */
/* ------------------------------ */
.top-right-panel {
    position: fixed;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 18px;
    border-radius: 10px;
    z-index: 1000;
    color: #fff;
    backdrop-filter: blur(4px);
}

/* ------------------------------ */
/* 左上パネル（サイト選択） */
/* ------------------------------ */
.top-left-panel {
    position: fixed;
    top: 15px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 18px;
    border-radius: 10px;
    z-index: 1000;
    color: #fff;
    backdrop-filter: blur(4px);
}

/* パネルタイトル */
.panel-title {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

/* ------------------------------ */
/* 共通光沢アニメーションクラス */
/* ------------------------------ */
.shiny-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shiny-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.5s ease;
}

.shiny-button:hover::before {
    transform: rotate(25deg) translateX(200%);
}

/* ------------------------------ */
/* Discord参加ボタン */
/* ------------------------------ */
.join-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #fff;
    background: #5865F2;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.join-btn:hover {
    background: #4752C4;
}

/* ------------------------------ */
/* サイト変更ボタン */
/* ------------------------------ */
.change-btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: #fff;
    background: #FF5722;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.change-btn:hover {
    background: #E64A19;
}

/* ------------------------------ */
/* インストールボタン共通スタイル（リッチ化） */
/* ------------------------------ */
.install-button-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* 初期非表示 */
    gap: 20px; /* ボタン間隔 */
    display: flex; /* 横並び */
    text-align: center;
    z-index: 1000;
}

.install-button {
    padding: 20px 50px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(45deg, #007aff, #00d4ff);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* ホバー時の拡大と影強調 */
.install-button:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.7);
}

/* 押したときの押し込みアニメーション */
.install-button:active {
    transform: scale(0.95);
    box-shadow: 0 3px 10px rgba(0, 122, 255, 0.5);
}

/* ------------------------------ */
/* インストール注意書き */
/* ------------------------------ */
.install-note {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
    max-width: 300px;
    line-height: 1.4;
}
