/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: #E57138;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* コンテナ */
.container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: fadeIn 0.5s ease-in;
}

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

/* ローディングスピナー */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* メッセージテキスト */
.message {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* デバイス情報 */
.device-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 手動リンクエリア */
.manual-links {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    animation: fadeIn 0.5s ease-in;
}

.manual-links p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* ストアボタン */
.store-button {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.store-button:active {
    transform: translateY(0);
}

/* App Store用のアイコンスタイル（オプション） */
#appStoreLink {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
}

#appStoreLink:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Google Play用のアイコンスタイル（オプション） */
#playStoreLink {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}

#playStoreLink:hover {
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.6);
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }
    
    .message {
        font-size: 18px;
    }
    
    .store-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}
