﻿/* Walter Suite Games – Page Styles
   File: wwwroot/css/ws-games.css
*/

/* PAGE WRAPPER */
.ws-games-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    width: 100%;
}

/* HERO */
.ws-hero-games {
    padding: 3.5rem 0 3rem;
    background: radial-gradient(circle at top left, #1f2937 0, #020617 45%, #020617 100%);
    color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.ws-hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
}

.ws-hero-bg-shape-1 {
    width: 260px;
    height: 260px;
    top: -60px;
    right: 8%;
    background: conic-gradient(from 140deg, #38bdf8, #4f46e5, #22c55e);
}

.ws-hero-bg-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: 5%;
    background: conic-gradient(from 40deg, #f97316, #ec4899, #3b82f6);
}

.ws-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.ws-hero-title {
    font-size: clamp(2.4rem, 3.4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}

.ws-hero-highlight {
    background: linear-gradient(90deg, #38bdf8, #a855f7, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ws-hero-subtitle {
    font-size: 0.98rem;
    color: #d1d5db;
    max-width: 34rem;
}

.ws-hero-cta {
    border-radius: 999px;
    padding-inline: 1.7rem;
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.35);
}

.ws-hero-cta-secondary {
    border-radius: 999px;
    border-color: rgba(249, 250, 251, 0.4);
    color: #e5e7eb;
}

    .ws-hero-cta-secondary:hover {
        background-color: rgba(249, 250, 251, 0.06);
        color: #ffffff;
    }

.ws-hero-meta .ws-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    display: inline-block;
    background: #22c55e;
}

/* HERO PREVIEW CARDS */
.ws-hero-preview-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ws-hero-preview-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    }
}

.ws-preview-card {
    border-radius: 1.1rem;
    padding: 1.1rem 1.2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(18px);
}

.ws-preview-card-primary {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 55%), rgba(15, 23, 42, 0.7);
}

.ws-preview-card-secondary {
    background: radial-gradient(circle at top right, rgba(244, 114, 182, 0.15), transparent 55%), rgba(15, 23, 42, 0.6);
}

.ws-preview-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.ws-preview-subtitle {
    font-size: 0.85rem;
    color: #e5e7eb;
}

.ws-preview-blocks-row {
    display: flex;
    gap: 0.35rem;
}

.ws-preview-block {
    width: 18px;
    height: 18px;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    opacity: 0.9;
    transform: translateY(0);
    animation: ws-block-bounce 1.4s ease-in-out infinite alternate;
}

    .ws-preview-block:nth-child(2) {
        animation-delay: 0.15s;
    }

    .ws-preview-block:nth-child(3) {
        animation-delay: 0.3s;
    }

    .ws-preview-block:nth-child(4) {
        animation-delay: 0.45s;
    }

@keyframes ws-block-bounce {
    from {
        transform: translateY(2px);
    }

    to {
        transform: translateY(-5px);
    }
}

.ws-preview-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.8rem;
    color: #e5e7eb;
}

    .ws-preview-list li::before {
        content: "•";
        margin-right: 0.4rem;
        color: #a5b4fc;
    }

/* GAME GRID SECTION */
.ws-games-section {
    background: radial-gradient(circle at top, #e5f0ff 0, #f9fafb 45%, #f9fafb 100%);
}

.ws-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ws-section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 30rem;
}

/* GAME CARDS */
.ws-game-card {
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    background-color: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

    .ws-game-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 35px rgba(15, 23, 42, 0.10);
        border-color: rgba(59, 130, 246, 0.5);
    }

.ws-game-card-coming {
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.4);
}

    .ws-game-card-coming .ws-game-description {
        color: #e5e7eb;
    }

.ws-game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.ws-game-chip {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background-color: #dbeafe;
    color: #1d4ed8;
}

.ws-game-chip-soft {
    background-color: #f5e1ff;
    color: #7c3aed;
}

.ws-game-tag {
    font-size: 0.7rem;
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.9);
    color: #6b7280;
}

.ws-game-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.ws-game-description {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.1rem;
}

.ws-game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.ws-game-progress,
.ws-game-progress-alt {
    position: relative;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
    margin-top: 0.2rem;
}

.ws-game-progress-alt {
    background: #111827;
}

.ws-game-progress-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #38bdf8, #6366f1, #22c55e);
    transform-origin: left;
    animation: ws-progress-pulse 2.4s ease-in-out infinite alternate;
}

@keyframes ws-progress-pulse {
    from {
        transform: scaleX(0.45);
    }

    to {
        transform: scaleX(0.92);
    }
}

.ws-game-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.ws-game-link {
    font-size: 0.8rem;
    color: #6b7280;
    text-decoration-style: dotted;
    padding-inline: 0;
}

.ws-coming-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.86rem;
}

    .ws-coming-list li {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        margin-bottom: 0.25rem;
    }

        .ws-coming-list li::before {
            content: "▴";
            font-size: 0.65rem;
            color: #a5b4fc;
        }

/* RESPONSIVE TWEAKS */
@media (max-width: 767.98px) {
    .ws-hero-games {
        padding-top: 2.5rem;
        padding-bottom: 2.2rem;
    }

    .ws-hero-preview-grid {
        margin-top: 1.3rem;
    }
}

/* Title + Walter alignment */
.ws-hero-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Walter next to the title */
.ws-hero-walter-inline {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    padding: 3px;
    background-color: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.85);
    flex-shrink: 0;
}

/* Slightly smaller on narrow screens so it doesn’t overpower the text */
@media (max-width: 576px) {
    .ws-hero-walter-inline {
        width: 44px;
        height: 44px;
    }
}
