        :root {
            --primary: #4A90E2;
            --bg-color: #f9fafb;
            --card-bg: #ffffff;
            --text-dark: #333333;
            --error: #e74c3c;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-color);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            color: var(--text-dark);
        }

        .language-switch {
            position: fixed;
            top: 16px;
            right: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 0, 0, 0.06);
            border-radius: 999px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            z-index: 10;
        }

        .language-switch label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .language-switch select {
            margin: 0;
            width: auto;
            padding: 8px 10px;
            border-radius: 999px;
            border: 1px solid #d1d5db;
            font-size: 14px;
        }

        .container {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 400px;
            padding: 24px;
            box-sizing: border-box;
        }

        h2 {
            margin-top: 0;
            font-size: 20px;
            text-align: center;
        }

        p.subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 20px;
            font-size: 14px;
        }

        /* CAPTCHA Grid Styles */
        .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 20px;
        }

        .grid-item {
            position: relative;
            aspect-ratio: 1 / 1;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
            border: 3px solid transparent;
            transition: all 0.2s ease;
            background-color: #eee; /* Placeholder background */
        }

        .grid-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .grid-item.selected {
            border-color: var(--primary);
            transform: scale(0.95);
        }

        .grid-item.selected::after {
            content: '✓';
            position: absolute;
            top: 5px;
            right: 5px;
            background-color: var(--primary);
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            font-weight: bold;
        }

        /* Buttons and Inputs */
        button {
            width: 100%;
            padding: 14px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        button:hover {
            background-color: #357abd;
        }

        .error-message {
            color: var(--error);
            text-align: center;
            margin-top: 15px;
            font-weight: bold;
            display: none;
        }

        /* Hidden Class for Flow */
        .hidden {
            display: none;
        }

        /* Post-Game Styles */
        .date-option {
            display: block;
            margin-bottom: 12px;
        }

        .date-option input[type="radio"] {
            display: none;
        }

        .date-card {
            padding: 16px;
            border: 2px solid #e1e4e8;
            border-radius: 8px;
            cursor: pointer;
            display: block;
            transition: all 0.2s ease;
            font-size: 15px;
        }

        .date-option input[type="radio"]:checked + .date-card {
            border-color: var(--primary);
            background-color: #eff6ff;
        }

        select {
            width: 100%;
            padding: 12px;
            margin-top: 10px;
            margin-bottom: 20px;
            border-radius: 8px;
            border: 2px solid #e1e4e8;
            font-size: 15px;
            background-color: white;
        }

        @media (max-width: 520px) {
            .language-switch {
                top: 12px;
                right: 12px;
                left: 12px;
                justify-content: space-between;
            }

            .container {
                margin-top: 72px;
                width: calc(100% - 24px);
            }
        }