.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;

    position: sticky;
    top: 0; /* 画面の上端から何pxの位置で固定するか（ヘッダーメニューがある場合はその高さを指定 例: top: 60px;） */
    z-index: 10; /* 下の要素（ゲームカードなど）より前面に出す */
    background-color: #0e0e10; /* サイトの背景色（※必須：透明だと下のゲームカードと重なって見づらくなります） */

    margin: 20px 0px;
}

.section-title {
    font-size: 1.5rem;
    margin: 0px;
}

/* Game */
.game-list {
    margin-bottom: 1.5rem;
}

.game-list .game-grid {
    display: grid;
    /* 最小幅300pxを保ちつつ、画面幅に合わせて列数を自動調整（最大4〜5列） */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    color: #efeff1;

    padding: 20px 20px 0px 20px;
}

.game-list .loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    animation: fadeIn 0.4s ease-out forwards;
}

.game-list .loading-indicator .loading-icon {
    width: 40px;
    height: 40px;
}

.game-list .loading-indicator .loading-text {
    color: #8f8f9a;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;

    animation: pulseText 1.5s infinite ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* テキストの穏やかな点滅 */
@keyframes pulseText {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
