/* ================================================================
   PUBLIC SPORTS AND GAME CATALOG
   ================================================================ */

.pp-sport-description {
    color: #5f6b7a;
    line-height: 1.6;
    margin: -0.35rem 0 1.25rem;
}

.pp-sport-game-summary {
    background: #f8faff;
}

.pp-sport-view-button {
    display: inline-flex;
    margin-top: 1.25rem;
    font-weight: 800;
}

.pp-game-status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 900;
    white-space: nowrap;
}

.pp-game-status-live {
    background: #dcfce7;
    color: #166534;
}

.pp-game-status-beta,
.pp-game-status-development {
    background: #dbeafe;
    color: #1d4ed8;
}

.pp-game-status-coming {
    background: #eef1f5;
    color: #4b5563;
}

.pp-game-page {
    max-width: 1180px;
    margin: 0 auto;
}

.pp-page-back-link {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #1E73E8;
    text-decoration: none;
    font-weight: 800;
}

.pp-page-back-link:hover {
    text-decoration: underline;
}

.pp-game-page-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.25rem;
    margin-bottom: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #0A1F44 0%, #102B5E 60%, #1E5EFF 100%);
    color: #ffffff;
}

.pp-game-page-eyebrow {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pp-game-page-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
}

.pp-game-page-hero p {
    max-width: 760px;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.6;
}

.pp-game-list {
    display: grid;
    gap: 1rem;
}

.pp-game-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e1e6ed;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(10, 31, 68, 0.06);
}

.pp-game-card-copy {
    min-width: 0;
}

.pp-game-card-heading,
.pp-create-game-card-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pp-game-card h2,
.pp-create-game-card h3 {
    margin: 0;
    color: #0A1F44;
    font-weight: 900;
}

.pp-game-card p,
.pp-create-game-card p {
    margin: 0.65rem 0 0;
    color: #5f6b7a;
    line-height: 1.55;
}

.pp-game-card-actions {
    flex: 0 0 auto;
}

.pp-game-unavailable {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    background: #eef1f5;
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.pp-create-catalog {
    display: grid;
    gap: 1.5rem;
}

.pp-create-sport-section {
    padding: 1.5rem;
    border: 1px solid #e1e6ed;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(10, 31, 68, 0.06);
}

.pp-create-sport-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pp-create-sport-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
}

.pp-sport-identity-catalog {
    width: 76px;
    height: 100px;
    margin: -0.25rem 0;
}

.pp-create-sport-heading h2 {
    margin: 0;
    color: #0A1F44;
    font-size: 1.75rem;
    font-weight: 900;
}

.pp-create-game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pp-create-game-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid #e1e6ed;
    border-radius: 16px;
    background: #f8faff;
}

.pp-create-game-card .btn {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .pp-game-page-hero,
    .pp-game-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .pp-create-sport-heading {
        align-items: center;
    }

    .pp-create-sport-identity {
        gap: 0.65rem;
    }

    .pp-sport-identity-catalog {
        width: 54px;
        height: 72px;
        margin: 0;
    }

    .pp-game-page-hero {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .pp-create-game-grid {
        grid-template-columns: 1fr;
    }

    .pp-game-card-actions {
        width: 100%;
    }

    .pp-game-card-actions .btn {
        width: 100%;
    }
}

/* ================================================================
   SHARED PUBLIC SPORT OVERVIEWS
   ================================================================ */

.pp-overview-page {
    width: min(1080px, calc(100% - 2rem));
    margin: 1.25rem auto 3rem;
}

.pp-overview-hero {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    min-height: 213px;
    box-sizing: border-box;
    padding: 1.4rem 1.6rem;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #081b3a 0%, #10326a 70%, #1e73e8 125%);
    box-shadow: 0 12px 30px rgba(10, 31, 68, 0.16);
    overflow: hidden;
}

.pp-overview-hero-soccer {
    background: linear-gradient(135deg, #081b3a 0%, #10326a 68%, #f97316 140%);
}

.pp-overview-hero h1 {
    margin: 0.18rem 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 950;
    line-height: 1.05;
}

.pp-overview-hero p {
    max-width: 720px;
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.pp-overview-hero .pp-game-status {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pp-overview-hero .pp-game-status-placeholder {
    visibility: hidden;
}

.pp-overview-sport-logo {
    width: 125px;
    height: 165px;
    align-self: center;
    justify-self: start;
    transform: translateY(-2px);
}

.pp-overview-sport-logo .pp-sport-identity-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pp-football-page .pp-overview-hero {
    grid-template-columns: 145px minmax(0, 1fr);
}

.pp-overview-section,
.pp-overview-highlight,
.pp-overview-beta,
.pp-overview-actions {
    margin-top: 0.85rem;
    padding: 1.1rem;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(10, 31, 68, 0.05);
}

.pp-overview-heading {
    margin-bottom: 0.75rem;
}

.pp-overview-label {
    color: #f36c21;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pp-overview-section h2,
.pp-overview-highlight h2,
.pp-overview-beta h2,
.pp-overview-actions h2 {
    margin: 0.12rem 0 0.3rem;
    color: #0a1f44;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 950;
    line-height: 1.14;
}

.pp-overview-heading p,
.pp-overview-highlight p,
.pp-overview-beta p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.pp-overview-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.pp-overview-game-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-overview-card {
    padding: 0.85rem;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    background: #f8fafc;
}

.pp-overview-card h3 {
    margin: 0 0 0.3rem;
    color: #0a1f44;
    font-size: 1rem;
    font-weight: 900;
}

.pp-overview-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.48;
}

.pp-overview-difficulty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.pp-overview-difficulty-grid .pp-overview-card > span {
    display: inline-flex;
    margin-bottom: 0.5rem;
    padding: 0.27rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.pp-overview-difficulty-easy > span {
    color: #7a4b00;
    background: #fff0c2;
}

.pp-overview-difficulty-medium > span {
    color: #075985;
    background: #dff3ff;
}

.pp-overview-difficulty-hard > span {
    color: #991b1b;
    background: #fee2e2;
}

.pp-overview-highlight {
    color: #ffffff;
    background: linear-gradient(135deg, #0a1f44 0%, #123772 100%);
}

.pp-overview-highlight h2,
.pp-overview-highlight p {
    color: #ffffff;
}

.pp-overview-highlight p {
    opacity: 0.8;
}

.pp-overview-beta,
.pp-overview-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pp-overview-beta > div:first-child {
    max-width: 680px;
}

.pp-overview-beta-action,
.pp-overview-action-buttons {
    flex: 0 0 auto;
}

.pp-overview-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.pp-overview-notice {
    max-width: 360px;
    padding: 0.7rem 0.8rem;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #f8fafc;
}

.pp-overview-notice strong,
.pp-overview-notice span {
    display: block;
}

.pp-overview-notice strong {
    color: #0a1f44;
}

.pp-overview-notice span {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.82rem;
}

.pp-overview-notice-success {
    border-color: #a7e2c8;
    background: #effbf5;
}

.pp-football-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.pp-football-switcher a {
    padding: 0.45rem 0.8rem;
    border: 1px solid #dfe6ef;
    border-radius: 999px;
    color: #0a1f44;
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.pp-football-switcher a:hover {
    border-color: #1e73e8;
    color: #1e73e8;
}

.pp-football-competition {
    margin-top: 0.85rem;
    padding: 1.15rem;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(10, 31, 68, 0.05);
    scroll-margin-top: 90px;
}

.pp-football-competition-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.pp-football-competition-heading h2 {
    margin: 0.12rem 0 0.25rem;
    color: #0a1f44;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 950;
}

.pp-football-competition-heading p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.pp-football-subsection {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e5eaf1;
}

.pp-football-subsection > h3 {
    margin: 0 0 0.6rem;
    color: #0a1f44;
    font-size: 0.9rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pp-football-page .pp-overview-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.pp-football-page .pp-overview-card h4 {
    margin: 0 0 0.3rem;
    color: #0a1f44;
    font-size: 1rem;
    font-weight: 900;
}

.pp-football-competition-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.9rem;
    padding: 0.8rem;
    border-radius: 13px;
    background: #edf4ff;
}

.pp-football-competition-footer > div:first-child {
    max-width: 650px;
}

.pp-football-competition-footer strong,
.pp-football-competition-footer span {
    display: block;
}

.pp-football-competition-footer strong {
    color: #0a1f44;
}

.pp-football-competition-footer span {
    margin-top: 0.15rem;
    color: #52657d;
    font-size: 0.86rem;
    line-height: 1.45;
}

@media (max-width: 820px) {
    .pp-overview-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp-overview-hero {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 169px;
    }

    .pp-overview-sport-logo {
        width: 94px;
        height: 124px;
        transform: none;
    }

    .pp-football-page .pp-overview-hero {
        grid-template-columns: 112px minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .pp-overview-page {
        width: 100%;
        margin: 0 0 2rem;
    }

    .pp-overview-page > .pp-page-back-link {
        margin: 0.75rem 1rem;
    }

    .pp-overview-hero,
    .pp-overview-section,
    .pp-overview-highlight,
    .pp-overview-beta,
    .pp-overview-actions {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .pp-overview-hero {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 140px;
        padding: 1rem;
    }

    .pp-football-page .pp-overview-hero {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .pp-overview-sport-logo {
        width: 82px;
        height: 108px;
        transform: none;
    }

    .pp-overview-game-grid,
    .pp-overview-game-grid-two,
    .pp-overview-difficulty-grid {
        grid-template-columns: 1fr;
    }

    .pp-overview-beta,
    .pp-overview-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pp-overview-beta-action,
    .pp-overview-beta-action .btn,
    .pp-overview-action-buttons,
    .pp-overview-action-buttons .btn {
        width: 100%;
    }

    .pp-football-switcher {
        padding: 0 0.75rem;
    }

    .pp-football-switcher a {
        flex: 1 1 0;
        text-align: center;
    }

    .pp-football-competition {
        padding: 1rem;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .pp-football-competition-heading,
    .pp-football-competition-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .pp-football-page .pp-overview-game-grid {
        grid-template-columns: 1fr;
    }
}
