/* style.css */

/* =========================================
   1. ベース設定: Modern Hextech (Solid Dark)
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: #05080c; /* 深い漆黒 */
    background-image: radial-gradient(circle at 50% 0%, #111a24 0%, #05080c 60%);
    color: #e0e6ed;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

/* 背景の環境光 */
.bg-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 200, 185, 0.04) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* メインレイアウト */
.main-container {
    width: 100%;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* アプリカード本体 */
.app-card {
    background: #0d1219;
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(10, 200, 185, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(10, 200, 185, 0.02);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transition: max-width 0.3s ease, padding 0.3s ease;
}

/* =========================================
   2. ヘッダー & ブランドタイトル
   ========================================= */
.header-section {
    margin-bottom: 2.5rem;
}

/* LoLSense ブランド名 */
.brand-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin: 0;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.1;
}

/* キャッチコピー全体をイタリックに統一 */
.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-style: italic; /* 全体を斜体に */
    color: #8fa3b0;
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-top: 0.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* AIの部分だけ太字と発光で強調（イタリックは親要素から継承） */
.highlight-ai {
    color: #0ac8b9;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(10, 200, 185, 0.4);
}

.login-desc {
    color: #8fa3b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* =========================================
   3. ボタン & アクション
   ========================================= */
/* デモログインボタンを大きく、クリックしやすく修正 */
.riot-auth-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px; /* 少し幅をスリムに */
    margin: 0 auto;
    background-color: #0ac8b9;
    color: #050a10;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem; /* フォントサイズを微調整 */
    padding: 14px 20px; /* 縦横の余白を適切に */
    border-radius: 8px; /* 角丸を少しだけソフトに */
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(10, 200, 185, 0.2);
    box-sizing: border-box;
}

.riot-auth-btn:hover {
    background-color: #26e6d5;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(10, 200, 185, 0.3);
}

.login-note {
    margin-top: 1.5rem;
    color: #5c6b7f;
    font-size: 0.8rem;
}

/* 通常のボタン（登録ボタンなど） */
button {
    width: 100%;
    border: none;
    padding: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-button {
    background: linear-gradient(135deg, #0ac8b9, #0088cc);
    color: #050a10;
    box-shadow: 0 4px 15px rgba(10, 200, 185, 0.3);
}

.ai-button:hover {
    background: linear-gradient(135deg, #26e6d5, #00aaff);
    color: #000;
    transform: translateY(-2px);
}

/* =========================================
   4. フォームエリア
   ========================================= */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 2rem;
    text-align: left;
}

.input-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8fa3b0;
    margin-bottom: 0.6rem;
    margin-left: 4px;
}

input, select {
    width: 100%;
    background-color: #111a24;
    border: 1px solid #232d3d;
    color: #fff;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

input:focus, select:focus {
    border-color: #0ac8b9;
    background-color: #15202b;
    box-shadow: 0 0 0 3px rgba(10, 200, 185, 0.15);
}

/* =========================================
   5. PC向けレイアウト調整
   ========================================= */
@media (min-width: 768px) {
    .app-card {
        max-width: 900px;
        padding: 3.5rem;
    }
}