:root {
    --bg-dark: #060913;
    --card-bg: #0f1626;
    --primary-neon: #6c5ce7;
    --secondary-neon: #00b894;
    --text-main: #f1f2f6;
    --text-muted: #8e9bb0;
    --border-line: #1e293b;
}

/* 全体スタイルリセットなど */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0e14;
    color: #ffffff;
    line-height: 1.6;
}

/* 🌏 多言語ナビゲーション */
.lang-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.lang-btn.active, .lang-btn:hover {
    background: #ff9f43;
    border-color: #ff9f43;
    color: #0b0e14;
}

/* 🌏 右上の多言語切り替えナビゲーション */
.lang-nav {
    position: absolute;
    top: 20px; right: 20px;
    z-index: 100;
    display: flex; gap: 6px;
    background: rgba(15, 22, 38, 0.8);
    padding: 4px; border-radius: 20px;
    border: 1px solid var(--border-line);
    backdrop-filter: blur(12px);
}
.lang-btn {
    background: transparent; border: none;
    color: var(--text-muted); font-size: 0.78rem; font-weight: 700;
    padding: 6px 14px; border-radius: 16px; cursor: pointer; transition: all 0.2s;
}
.lang-btn.active {
    background: var(--primary-neon); color: white;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

/* --- 既存のヘッダースタイル（PCベース） --- */
/* --- ヘッダーの明るさを調整 --- */
header {
    position: relative;
    padding: 120px 20px 80px 20px;
    text-align: center;
    /* 不透明度を 0.6->0.2, 0.85->0.5 に下げて明るく */
    background-image: linear-gradient(to bottom, rgba(11, 14, 20, 0.2), rgba(11, 14, 20, 0.5)), url('https://www.04id.com/CRYPTODC/images/dcard.jpg');
    background-size: cover;
    background-position: center 35%; /* 位置も維持 */
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

header p {
    font-size: 16px;
    color: #b2bec3;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* 📱 スマートフォン向けのレスポンシブ調整（追加・上書き） */
@media (max-width: 768px) {
    header {
        padding: 60px 15px 40px 15px; /* 上下余白を約半分に縮小 */
        /* 画像の重要な要素（カードなど）が中央に集まるよう位置を調整 */
        background-position: center 35%; 
    }

    header h1 {
        font-size: 28px; /* 文字サイズもスマホ用に少しコンパクトに */
        margin-bottom: 10px;
    }

    header p {
        font-size: 14px;
        line-height: 1.4;
    }
}
/* メインコンテナ以降の既存スタイル（省略・必要に応じて残してください） */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 以下のカードやFAQのスタイルは、以前のものから変更ありません */
.container { max-width: 1160px; margin: 40px auto; padding: 0 20px; }

.intro-box {
    background: rgba(15, 22, 38, 0.6); border: 1px solid var(--border-line);
    border-left: 4px solid var(--primary-neon); padding: 22px; border-radius: 8px; margin-bottom: 40px;
}
.intro-box h2 { margin-top: 0; color: white; font-size: 1.3rem; font-weight: 700; }
.intro-box p { margin-bottom: 0; color: #94a3b8; font-size: 0.95rem; }

.filter-group-title { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.filter-btn {
    background: var(--card-bg); border: 1px solid var(--border-line); color: #cbd5e1;
    padding: 9px 20px; border-radius: 20px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--primary-neon); color: white; }
.filter-btn.active { border-color: var(--primary-neon); background: var(--primary-neon); color: white; box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3); }

main { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }

/* 🎴 カードデザイン */
.crypto-card { background: var(--card-bg); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-line); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, border-color 0.2s; }
.crypto-card:hover { transform: translateY(-4px); border-color: #334155; }
.card-body { padding: 24px; position: relative; }
.brand-badges { display: flex; gap: 6px; margin-bottom: 14px; }
.brand-badge { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.brand-visa { background: rgba(9, 132, 227, 0.15); color: #74b9ff; }
.brand-mastercard { background: rgba(214, 48, 49, 0.15); color: #ff7675; }
.crypto-card h3 { margin: 0 0 8px 0; font-size: 1.4rem; color: white; font-weight: 700; }
.status-kyc { margin: 0 0 14px 0; font-size: 0.88rem; font-weight: 700; color: var(--secondary-neon); }
.description { font-size: 0.92rem; color: #94a3b8; min-height: 54px; margin-bottom: 18px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tag-item { background: #1e293b; color: #e2e8f0; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; }

/* 📸 QRセクションとインタラクティブ拡大ギミック */
.qr-section { display: flex; align-items: center; gap: 14px; background: #070b14; padding: 12px; border-radius: 10px; border: 1px solid var(--border-line); margin-top: 15px; position: relative; }

.qr-wrapper { position: relative; width: 68px; height: 68px; cursor: zoom-in; }
.qr-wrapper img { width: 100%; height: 100%; border-radius: 6px; background: white; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

.qr-wrapper:hover img, .qr-wrapper:active img {
    position: absolute;
    bottom: -20px; left: -20px;
    width: 220px; height: 220px;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 0 4px var(--primary-neon);
    border-radius: 12px;
    transform: scale(1.05);
}

.qr-info { font-size: 0.75rem; color: #94a3b8; pointer-events: none; }
.qr-info b { color: var(--secondary-neon); font-family: monospace; font-size: 1rem; display: block; margin-top: 2px; }

.card-footer { padding: 16px 24px 24px; background: #070b14; border-top: 1px solid var(--border-line); }
.btn-apply { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 8px; text-decoration: none; font-size: 0.92rem; font-weight: 700; color: white; transition: opacity 0.2s; }
.btn-apply:hover { opacity: 0.9; }
.btn-kast { background: #00b894; }
.btn-redot { background: #ff4757; }
.btn-bigpay { background: #00d2d3; color: #0f1626; }
.btn-oobit { background: #ff9f43; }
.btn-bitget { background: #00bcd4; }
.btn-kripicard { background: #9c27b0; }

/* 💬 FAQ セクションデザイン */
.faq-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border-line); }
.faq-section h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 24px; color: white; text-align: center; }
.faq-container { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-line); border-radius: 10px; padding: 20px; }
.faq-question { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.faq-question i { color: var(--primary-neon); margin-top: 4px; }
.faq-answer { font-size: 0.92rem; color: #94a3b8; padding-left: 24px; line-height: 1.6; }

footer { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 0.85rem; border-top: 1px solid var(--border-line); margin-top: 60px; }

/* --- フッターのシェアボタン用スタイル --- */
.footer-share {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.share-btn:hover {
    background: #ff9f43;
    color: #000;
}

@media (max-width: 768px) {
    header {
        padding: 60px 15px 40px 15px;
    }
}