.games-grid-section {
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.game-card {
    background: #1d1d1f;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.game-card:hover {
    transform: scale(1.03);
}

.game-card.active {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.game-card h3 {
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

/* Schplay Promise */
.schplay-promise {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.schplay-promise h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    color: var(--text-color, #f5f5f7);
}

.schplay-promise h2::after {
    display: none;
}

.promise-points {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.promise-point {
    flex: 1 1 200px;
    max-width: 240px;
    text-align: center;
    margin: 0 auto;
}

.promise-point .inline-icon {
    color: var(--primary-color, #2997ff);
    margin-bottom: 0.75rem;
    width: 32px;
    height: 32px;
}

.promise-point i {
    font-size: 28px;
    color: var(--primary-color, #2997ff);
    margin-bottom: 0.75rem;
}

.promise-point h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color, #f5f5f7);
    font-weight: 600;
}

.promise-point p {
    color: var(--text-muted, #86868b);
    font-size: 0.85rem;
    max-width: 240px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Publish Game */
.publish-game {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.publish-game h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-color, #f5f5f7);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.btn-submit-game {
    background: var(--primary-color, #2997ff);
    color: #fff;
    padding: 12px 28px;
    border-radius: 980px;
    font-weight: 400;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.2s ease;
}

.btn-submit-game:hover {
    background: #0077ed;
    opacity: 1;
}

.promise-cta {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-color, #2997ff);
    font-weight: 400;
    font-size: 1rem;
}

.promise-cta:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #000;
    padding: 3rem 0 2rem;
    color: var(--text-muted, #86868b);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-column h3 {
    color: var(--text-color, #f5f5f7);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul a {
    color: var(--text-muted, #86868b);
    font-size: 0.8rem;
    transition: color 0.15s ease;
}

.footer-column ul a:hover {
    color: var(--text-color, #f5f5f7);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted, #86868b);
    font-size: 0.75rem;
}

html { scroll-behavior: smooth; }

.header-nav a:hover { color: var(--text-color, #f5f5f7); }
.footer-column ul a:hover { color: var(--text-color, #f5f5f7); }
.btn-learn-more:hover, .btn-submit-game:hover { opacity: 1; }

.game-card video {
    display: none;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* Game embed */
.game-embed-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #1d1d1f;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.game-lazy-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
    color: #f5f5f7;
    z-index: 2;
}

.game-lazy-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    max-width: 480px;
    font-size: 1rem;
}

.game-lazy-cta p {
    margin: 0;
    color: var(--text-muted, #86868b);
    line-height: 1.5;
}

.game-play-button {
    border: none;
    border-radius: 980px;
    padding: 16px 48px;
    background: var(--primary-color, #2997ff);
    color: #fff;
    font-weight: 400;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.game-play-button:hover {
    background: #0077ed;
}

.game-play-button:active {
    background: #005bb5;
}

.game-lazy-loading {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--text-muted, #86868b);
    font-weight: 500;
}

.game-lazy-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary-color, #2997ff);
    border-radius: 50%;
    animation: gameLazySpin 0.8s linear infinite;
}

.game-lazy-overlay.is-loading .game-lazy-loading { display: inline-flex; }
.game-lazy-overlay.is-loading .game-lazy-cta { display: none; }

.game-fullscreen-toggle[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

@keyframes gameLazySpin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
    .game-lazy-overlay { padding: 18px; }
    .game-play-button { width: 100%; max-width: 300px; padding: 14px 20px; font-size: 1.05rem; }
}

@media (max-width: 992px) {
    .schplay-promise, .publish-game { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
    .schplay-promise { padding: 2.5rem 1rem; }
    .publish-game { padding: 2rem 1rem; }
    .promise-point { max-width: 100%; }
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-container { grid-template-columns: 1fr; }
}
