:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --team-a-color: #e63946;
            --team-b-color: #1d3557;
            --timer-color: #2a9d8f;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
        }
        .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .scoreboard-display {
            background: linear-gradient(145deg, #f0f2f5, #ffffff);
            border-radius: 12px;
            padding: 2rem;
            border: 1px solid var(--border-color);
            margin-bottom: 2rem;
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
            position: relative;
            overflow: hidden;
        }
        .scoreboard-display::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--team-a-color), var(--timer-color), var(--team-b-color));
        }
        .teams-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        .team {
            text-align: center;
            flex: 1;
            padding: 1.5rem;
            border-radius: 10px;
            transition: all 0.3s;
        }
        .team.active {
            background-color: rgba(44, 125, 160, 0.05);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .team-a {
            border-top: 6px solid var(--team-a-color);
        }
        .team-b {
            border-top: 6px solid var(--team-b-color);
        }
        .team-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-color);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .team-score {
            font-size: 5rem;
            font-weight: 800;
            line-height: 1;
            margin: 1rem 0;
            font-family: 'Segoe UI', 'Roboto Mono', monospace;
            color: var(--text-color);
        }
        .team-a .team-name {
            color: var(--team-a-color);
        }
        .team-b .team-name {
            color: var(--team-b-color);
        }
        .vs-container {
            padding: 0 2rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-muted);
        }
        .timer-section {
            text-align: center;
            margin: 2rem 0;
            padding: 1.5rem;
            background-color: rgba(42, 157, 143, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(42, 157, 143, 0.2);
        }
        .timer-display {
            font-size: 3.5rem;
            font-weight: 800;
            font-family: 'Roboto Mono', monospace;
            color: var(--timer-color);
            margin: 1rem 0;
            padding: 0.5rem;
            background-color: white;
            border-radius: 8px;
            border: 2px solid rgba(42, 157, 143, 0.3);
        }
        .period-display {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
        .control-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1.5rem 0;
        }
        .score-btn {
            padding: 0.75rem 1.5rem;
            font-weight: 700;
            font-size: 1.1rem;
            border-radius: 8px;
            border: none;
            transition: all 0.2s;
        }
        .score-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .score-btn:active {
            transform: translateY(-1px);
        }
        .score-btn-team-a {
            background-color: var(--team-a-color);
            color: white;
        }
        .score-btn-team-b {
            background-color: var(--team-b-color);
            color: white;
        }
        .timer-btn {
            background-color: var(--timer-color);
            color: white;
        }
        .reset-btn {
            background-color: var(--danger-color);
            color: white;
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.15);
        }
        .game-presets {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .preset-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .preset-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        @media (max-width: 768px) {
            .team-score {
                font-size: 3.5rem;
            }
            .timer-display {
                font-size: 2.5rem;
            }
            .teams-container {
                flex-direction: column;
                gap: 1.5rem;
            }
            .vs-container {
                padding: 0;
                order: -1;
            }
        }
        @keyframes scoreUpdate {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        .score-update {
            animation: scoreUpdate 0.3s ease-in-out;
        }
        .statistics-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .stat-card {
            background-color: white;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .highlights-container {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        .highlight-item {
            display: flex;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(44, 125, 160, 0.1);
        }
        .highlight-item:last-child {
            border-bottom: none;
        }
        .highlight-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
        }
        .step-content {
            flex: 1;
        }
        .step-content h5 {
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        .tutorial-section {
            background-color: rgba(42, 157, 143, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        .tutorial-video {
            width: 100%;
            height: 300px;
            background-color: #2d2d2d;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin-bottom: 1rem;
        }
        .testimonial {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1rem 0;
            border: 1px solid var(--border-color);
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }
        .testimonial-author {
            display: flex;
            align-items: center;
            margin-top: 1rem;
        }
        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
        }
        .examples-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .example-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        .example-card:hover {
            transform: translateY(-5px);
        }
        .example-card h5 {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        @media (prefers-color-scheme: dark) {
            .tool-card, .scoreboard-display, .related-tools, .example-card, .testimonial, .stat-card {
                background-color: #2d2d2d;
                border-color: #404040;
            }
            }
        .shortcut-help {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 1000;
        }
        .shortcut-btn {
            background-color: var(--primary-color);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            transition: all 0.3s;
        }
        .shortcut-btn:hover {
            transform: scale(1.1);
        }
        .shortcut-modal .shortcut-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-color);
        }
        .shortcut-key {
            background-color: var(--light-gray);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-family: monospace;
            font-weight: bold;
        }
        .export-options {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }
        .sound-controls {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }
        .sound-toggle {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .sound-slider {
            width: 100px;
        }
        .feature-card {
            text-align: center;
            padding: 1.5rem;
            border-radius: 8px;
            background-color: rgba(44, 125, 160, 0.05);
            margin-bottom: 1rem;
        }
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
                        h1 { color: #2c7da0; }
                        .game-info { margin: 20px 0; }
                        .team { margin: 10px 0; padding: 10px; border-left: 4px solid; }
                        .team-a { border-color: #e63946; }
                        .team-b { border-color: #1d3557; }
                        table { width: 100%; border-collapse: collapse; margin: 20px 0; }
                        th, td { padding: 8px; text-align: left; border-bottom: 1px solid #ddd; }
                        th { background-color: #f2f2f2; }