/* =========================================
   全体設定
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    background-color: #000; /* 動画が読み込まれるまでの背景色 */
    overflow: hidden; /* スクロールを防止して背景を固定 */
}

/* =========================================
   ★背景動画エリア（固定）★
   ========================================= */
.video-background {
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* コンテンツよりも最背面に配置 */
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%); /* 中央配置 */
    object-fit: cover; /* 画面いっぱいに広げる */
}

/* =========================================
   ★動画へのフィルター（ぼかし）とオーバーレイ★
   ========================================= */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 動画の上に重ねる、わずかに緑がかった薄い黒の層 */
    background: rgba(0, 20, 10, 0.6); 
    
    /* ★ここで動画にぼかしを入れています★ */
    /* 動画全体をぼかす（数値が大きいほど強くぼける） */
    filter: blur(5px);
    -webkit-filter: blur(5px);
    
    z-index: -1; /* 動画本体(#bg-video)よりも前面に配置 */
}

/* =========================================
   ★上に重ねるコンテンツ★
   ========================================= */
main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    z-index: 1; /* 動画背景よりも前面に配置 */
    padding: 20px;
}

/* 中央のカードエリア（ガラスモーフィズム） */
.content-card {
    background: rgba(255, 255, 255, 0.03); /* 非常に薄い白 */
    backdrop-filter: blur(10px); /* カード自体も少しぼかす（モダンな見た目） */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* 薄い境界線 */
    border-radius: 20px;
    padding: 50px 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

/* テキストスタイル */
h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #f1f1f1;
}

.status {
    font-size: 1.1rem;
    color: #4ade80; /* 明るい緑（テーマカラー） */
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* =========================================
   Discordボタン
   ========================================= */
.discord-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background-color: #22c55e; /* テーマカラーの緑 */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

/* ホバー時の演出 */
.discord-button:hover {
    background-color: transparent;
    border-color: #22c55e;
    color: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.discord-icon {
    margin-right: 10px;
    font-size: 0.9rem;
}