/* =================================
   CrossTalks カスタムスタイル
   後から変更・追加用のスタイルシート
   ================================= */

/* ========== カスタムカラーテーマ ========== */
/* 必要に応じてコメントアウトを解除して使用 */

/*
:root {
    カスタムカラーパレット（上書き）
    --primary-color: #your-color;
    --secondary-color: #your-color;
    --accent-color: #your-color;
    --success-color: #your-color;
    --warning-color: #your-color;
}
*/

/* ========== 季節限定デザイン ========== */
/* 例：クリスマステーマ */
/*
.christmas-theme {
    --primary-color: #d32f2f;
    --secondary-color: #388e3c;
    --accent-color: #ffa000;
}

.christmas-theme .stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, gold, transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent);
}
*/

/* ========== 特別イベント用スタイル ========== */
/* 例：新年キャンペーン */
/*
.new-year-banner {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
*/

/* ========== ゲーム別カスタマイズ ========== */
/* CrossTalks News専用スタイル */
.game-card[data-game-id="daily-topic"] {
    /* 特別な装飾を追加可能 */
    /* border: 2px solid var(--primary-color); */
}

/* ホロスコープゲーム専用スタイル */
.game-card[data-game-id="horoscope-ranking"] {
    /* 星座テーマの装飾 */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

/* ========== 広告のカスタマイズ ========== */
/* 広告コンテナのスタイル調整 */
/*
.ad-container {
    カスタム広告スタイル
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 1px solid #e0e0e0;
}

.ad-label {
    color: #666;
    font-size: 0.7rem;
}
*/

/* ========== レスポンシブカスタマイズ ========== */
/* タブレット用の追加スタイル */
@media (min-width: 768px) and (max-width: 1024px) {
    /* タブレット専用のスタイル調整 */
    /*
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    */
}

/* 大画面用の追加スタイル */
@media (min-width: 1200px) {
    /*
    .container {
        max-width: 1400px;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    */
}

/* ========== アクセシビリティカスタマイズ ========== */
/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
    /*
    .game-card {
        border: 3px solid var(--text-color);
        background: white;
    }
    
    .play-button {
        border: 2px solid var(--text-color);
    }
    */
}

/* 大きなフォントサイズ対応 */
@media (prefers-font-size: large) {
    /*
    :root {
        --font-size-base: 18px;
    }
    */
}

/* ========== 印刷用カスタマイズ ========== */
@media print {
    /* 印刷時の追加スタイル */
    /*
    .game-card {
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .welcome-section {
        text-align: left;
    }
    */
}

/* ========== 実験的機能 ========== */
/* CSS Grid の実験的レイアウト */
/*
@supports (display: grid) {
    .experimental-layout {
        display: grid;
        grid-template-areas: 
            "header header header"
            "sidebar main ads"
            "footer footer footer";
        grid-template-columns: 200px 1fr 200px;
        grid-template-rows: auto 1fr auto;
        min-height: 100vh;
    }
}
*/

/* ========== パフォーマンス最適化 ========== */
/* GPU加速を使用する要素 */
/*
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}
*/

/* ========== カスタムアニメーション ========== */
/* フェードイン効果のカスタマイズ */
/*
@keyframes customFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-fade-in {
    animation: customFadeIn 0.8s ease-out;
}
*/

/* ========== 企業・ブランド用カスタマイズ ========== */
/* ロゴ・ブランディング要素 */
/*
.brand-logo {
    filter: brightness(1.1) contrast(1.05);
}

.brand-colors {
    --primary-color: #your-brand-color;
    --secondary-color: #your-secondary-color;
}
*/

/* ========== 多言語対応 ========== */
/* 日本語以外の言語用スタイル */
/*
:lang(en) {
    font-family: 'Roboto', sans-serif;
}

:lang(zh) {
    font-family: 'Noto Sans SC', sans-serif;
}

:lang(ko) {
    font-family: 'Noto Sans KR', sans-serif;
}
*/

/* ========== ダークモードカスタマイズ ========== */
/* カスタムダークモード */
/*
@media (prefers-color-scheme: dark) {
    :root {
        --custom-dark-bg: #1a1a1a;
        --custom-dark-text: #f0f0f0;
    }
    
    .custom-dark-element {
        background: var(--custom-dark-bg);
        color: var(--custom-dark-text);
    }
}
*/

/* ダークモード手動切り替え */
/*
.dark-mode {
    --text-color: #f0f0f0;
    --text-light: #ccc;
    --background-light: rgba(30, 30, 30, 0.95);
    --background-glass: rgba(40, 40, 40, 0.9);
}

.dark-mode body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}
*/

/* ========== コメント用テンプレート ========== */
/*
新しいスタイルを追加する際のテンプレート：

1. セレクタの命名規則：
   - BEM記法を推奨: .block__element--modifier
   - 意味のある名前を付ける
   - プレフィックス使用推奨: .ct-（CrossTalks）

2. 変数の使用：
   - 既存のCSS変数を優先使用
   - 新しい変数は:rootで定義
   - 意味のある変数名を付ける

3. レスポンシブ対応：
   - モバイルファーストで記述
   - 必要に応じてメディアクエリを追加
   - アクセシビリティを考慮

4. パフォーマンス：
   - 複雑なセレクタは避ける
   - transform/opacityを使用したアニメーション
   - will-changeは慎重に使用

例：
.ct-custom-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
}

.ct-custom-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ct-custom-button {
        width: 100%;
        padding: 1rem;
    }
}
*/