<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>World Cup 2026 Crystal Ball Challenge — Scoring System</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
:root {
    --wc-blue: #0057d8;
    --wc-blue-dark: #003f9e;
    --wc-navy: #071936;
    --wc-text: #0b1b38;
    --wc-muted: #5d6f8d;
    --wc-border: #dfe7f3;
    --wc-gold: #f6b400;
    --wc-gold-soft: #fff7dd;
    --wc-card: rgba(255,255,255,.96);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--wc-text);
    background:
        linear-gradient(rgba(2, 18, 52, .18), rgba(2, 18, 52, .18)),
        url("worldcup_leaderboard_bg.svg") center center / cover fixed no-repeat;
}

.wc-scoring-page {
    width: min(1180px, calc(100% - 48px));
    margin: 32px auto;
}

.wc-scoring-card {
    background: var(--wc-card);
    border-radius: 26px;
    box-shadow: 0 22px 70px rgba(0,0,0,.26);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.6);
}

.wc-scoring-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 42px 28px;
    border-bottom: 1px solid var(--wc-border);
}

.wc-title-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
}

.wc-trophy {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 52px;
    background: linear-gradient(145deg, #fff4c3, #ffd45e);
    box-shadow: inset 0 0 0 1px rgba(160, 113, 0, .15);
}

.wc-scoring-hero h1 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #071936;
}

.wc-scoring-hero p {
    margin: 9px 0 0;
    color: var(--wc-muted);
    font-size: 18px;
}

.wc-back-link {
    color: var(--wc-blue);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.wc-back-link:hover {
    color: var(--wc-blue-dark);
    text-decoration: underline;
}

.wc-content {
    padding: 30px 42px 38px;
}

.wc-summary {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    margin-bottom: 26px;
}

.wc-panel {
    border: 1px solid var(--wc-border);
    border-radius: 18px;
    background: #fff;
    padding: 22px 24px;
}

.wc-panel.gold {
    border-color: #f1c84d;
    background: linear-gradient(100deg, #fff8de, #fffdf5);
}

.wc-panel h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--wc-navy);
}

.wc-panel p {
    margin: 0;
    color: var(--wc-muted);
    line-height: 1.55;
    font-size: 16px;
}

.wc-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--wc-blue);
    color: #fff;
    font-weight: 800;
    margin-right: 8px;
}

.wc-table-wrap {
    border: 1px solid var(--wc-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.wc-scoring-table {
    width: 100%;
    border-collapse: collapse;
}

.wc-scoring-table th {
    background: linear-gradient(180deg, #0867e8, #004fbe);
    color: #fff;
    text-align: left;
    padding: 16px 18px;
    font-size: 15px;
    letter-spacing: .01em;
}

.wc-scoring-table td {
    padding: 16px 18px;
    border-top: 1px solid #edf2f8;
    vertical-align: top;
    font-size: 15px;
}

.wc-scoring-table tr:first-child td {
    border-top: none;
}

.wc-points {
    font-weight: 800;
    color: var(--wc-blue);
    white-space: nowrap;
}

.wc-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #064fb5;
    font-weight: 700;
    font-size: 13px;
}

.wc-note {
    margin-top: 22px;
    padding: 18px 20px;
    border-left: 5px solid var(--wc-gold);
    background: var(--wc-gold-soft);
    border-radius: 14px;
    color: #42340a;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .wc-scoring-page {
        width: min(100% - 24px, 1180px);
        margin: 16px auto;
    }

    .wc-scoring-hero {
        display: block;
        padding: 26px 22px 22px;
    }

    .wc-title-wrap {
        align-items: flex-start;
    }

    .wc-trophy {
        width: 56px;
        height: 56px;
        font-size: 36px;
        border-radius: 16px;
    }

    .wc-back-link {
        display: inline-block;
        margin-top: 18px;
    }

    .wc-content {
        padding: 22px;
    }

    .wc-summary {
        grid-template-columns: 1fr;
    }

    .wc-table-wrap {
        overflow-x: auto;
    }

    .wc-scoring-table {
        min-width: 760px;
    }
}
</style>
</head>
<body>
<div class="wc-scoring-page">
    <div class="wc-scoring-card">
        <div class="wc-scoring-hero">
            <div class="wc-title-wrap">
                <div class="wc-trophy">🏆</div>
                <div>
                    <h1>Crystal Ball Challenge Scoring</h1>
                    <p>How points and correct picks are calculated for the World Cup 2026 leaderboard.</p>
                </div>
            </div>
            <a class="wc-back-link" href="leaderboard.php">Back to Leaderboard →</a>
        </div>

        <div class="wc-content">
            <div class="wc-summary">
                <div class="wc-panel gold">
                    <h2><span class="wc-number">16</span>Correct picks total</h2>
                    <p>
                        The Top 8 teams count as eight separate picks. The final score counts as two separate picks:
                        winning team goals and runner-up goals.
                    </p>
                </div>

                <div class="wc-panel">
                    <h2>Leaderboard sorting</h2>
                    <p>
                        Players are ranked by total points first, then by correct picks. If still tied, the earlier submitted entry ranks higher.
                    </p>
                </div>
            </div>

            <div class="wc-table-wrap">
                <table class="wc-scoring-table">
                    <thead>
                        <tr>
                            <th>Prediction</th>
                            <th>Correct-pick count</th>
                            <th>Points</th>
                            <th>How it is scored</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td><strong>Top 8 teams</strong></td>
                            <td><span class="wc-pill">8 picks</span></td>
                            <td class="wc-points">5 pts each</td>
                            <td>Each selected team that reaches the final Top 8 earns points. Order does not matter.</td>
                        </tr>
                        <tr>
                            <td><strong>Champion pick</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">25 pts</td>
                            <td>Correctly predict the tournament champion.</td>
                        </tr>
                        <tr>
                            <td><strong>Runner-up pick</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">15 pts</td>
                            <td>Correctly predict the team that loses the final.</td>
                        </tr>
                        <tr>
                            <td><strong>Third-place pick</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">10 pts</td>
                            <td>Correctly predict the third-place team.</td>
                        </tr>
                        <tr>
                            <td><strong>Top scorer pick</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">10 pts</td>
                            <td>Correctly predict the tournament top scorer. If there is an official tie, any tied top scorer can be accepted.</td>
                        </tr>
                        <tr>
                            <td><strong>Final score — winner goals</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">5 pts</td>
                            <td>Correctly predict the number of goals scored by the champion in the final.</td>
                        </tr>
                        <tr>
                            <td><strong>Final score — runner-up goals</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">5 pts</td>
                            <td>Correctly predict the number of goals scored by the runner-up in the final.</td>
                        </tr>
                        <tr>
                            <td><strong>Final goes to penalties</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">5 pts</td>
                            <td>Correctly predict whether the final is decided by penalties.</td>
                        </tr>
                        <tr>
                            <td><strong>Host team that goes furthest</strong></td>
                            <td><span class="wc-pill">1 pick</span></td>
                            <td class="wc-points">5 pts</td>
                            <td>Correctly predict which host nation advances the furthest.</td>
                        </tr>
                    </tbody>
                </table>
            </div>

            <div class="wc-note">
                <strong>Total possible:</strong> 120 points and 16 correct picks.
                The leaderboard can display “Correct picks” as a value such as <strong>7 / 16</strong>.
            </div>
        </div>
    </div>
</div>
</body>
</html>
