/* ゲームカードデザイン */
.game-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,188,212,0.4);
    border-radius: 14px;
    padding: 16px;
    display: flex; flex-direction: column;
    gap: 8px;
    text-decoration: none; color: inherit;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative; overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,188,212,0.08);
    backdrop-filter: blur(10px);
}
.game-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at right bottom, rgba(0,188,212,0.1), transparent 60%);
    opacity: 0; transition: opacity 0.3s;
}
.game-card:hover {
    transform: translateY(-3px);
    border-color: #00bcd4;
    box-shadow: 0 8px 24px rgba(0,188,212,0.18);
}
.game-card:hover::before { opacity: 1; }

.card-towerfill { grid-column: 1; grid-row: 1; }
.right-games {
    grid-column: 2; grid-row: 1;
    display: flex; flex-direction: column;
    gap: 15px;
}
.right-games .game-card { flex: 1; }

.card-header { display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem; font-weight: 900;
    color: #00838f; margin: 0;
}
.play-btn {
    background: transparent; border: 2px solid #00bcd4;
    color: #00bcd4; padding: 5px 16px; border-radius: 16px;
    font-weight: bold; cursor: pointer; font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem; transition: all 0.2s;
}
.game-card:hover .play-btn {
    background: rgba(0,188,212,0.1);
    box-shadow: 0 0 12px rgba(0,188,212,0.2);
}
.tut-btn {
    background: linear-gradient(135deg, #FFD700, #FFAB00);
    border: none; color: #5d4037; padding: 5px 12px; border-radius: 14px;
    font-weight: 900; cursor: pointer; font-size: 0.75rem;
    margin-right: 6px; box-shadow: 0 3px 8px rgba(255,171,0,0.35);
    font-family: inherit; transition: all 0.2s;
}
.daily-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.daily-check-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: #00838f;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.daily-check-group { display: flex; gap: 8px; flex: 1; }
.daily-check {
    flex: 1;
    justify-content: center;
    font-size: 0.95rem; font-weight: bold;
    background: #f5f7f9; padding: 4px 8px;
    border-radius: 8px; display: flex; align-items: center;
    white-space: nowrap;
}

/* クリア済みステータス（難易度別配色） */
.daily-check.done.diff-easy { 
    background: #e8f5e9; color: #2e7d32; 
}
.daily-check.done.diff-normal { 
    background: #fffde7; color: #f9a825; 
}
.daily-check.done.diff-hard { 
    background: #ffebee; color: #c62828; 
}

.daily-check.pending { 
    background: #f5f7f9; 
    color: #cfd8dc; 
    font-weight: 500;
}

.card-thumb {
    width: 140px; flex-shrink: 0; border-radius: 8px;
    overflow: hidden; box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,188,212,0.15);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.game-card:hover .card-thumb img { transform: scale(1.1); }

/* カードレイアウト */
.card-main-content {
    display: flex;
    gap: 15px;
    align-items: stretch;
    width: 100%;
}
.card-body { 
    display: flex; 
    flex-direction: column;
    gap: 12px; 
    z-index: 1; flex: 1; 
    overflow: hidden; 
}
.card-towerfill .card-thumb {
    width: 140px; 
    height: 140px;
    flex-shrink: 0;
    border-radius: 12px;
}
.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}
.card-action-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}
.card-button-row {
    display: flex;
    gap: 8px;
    width: 100%;
}
.card-button-row .tut-btn, 
.card-button-row .play-btn {
    flex: 1;
    margin-right: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-button-row .play-btn {
    flex: 1.2;
}
.card-desc { font-size: 0.8rem; color: #546e7a; line-height: 1.5; z-index: 1; }
.instructions {
    background: rgba(0,188,212,0.05);
    border-radius: 6px; padding: 8px; font-size: 0.75rem;
    color: #455a64; border-left: 3px solid #00bcd4; z-index: 1;
}
.instructions strong { color: #00838f; }
