
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #7FA99B;
            height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .header {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 10px 20px;
            text-align: center;
            color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }

        .title {
            font-size: 1.8em;
            font-weight: bold;
            margin-bottom: 5px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .subtitle {
            font-size: 1em;
            opacity: 0.9;
        }

        .container {
            flex: 1;
            display: flex;
            flex-direction: column;
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px;
            width: 100%;
            min-height: 0;
        }

        .footer {
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.7);
            text-align: center;
            padding: 8px 20px;
            font-size: 0.8em;
            flex-shrink: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .rules-section {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .rules-title {
            background: #00bcd4;
            color: white;
            padding: 10px;
            margin: -20px -20px 15px -20px;
            border-radius: 10px 10px 0 0;
            font-size: 1.3em;
            font-weight: bold;
        }

        .rules-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .rules-list {
            list-style-type: disc;
            margin-left: 20px;
            line-height: 1.6;
            font-size: 1.2em;
            font-weight: 500;
        }

        .symbols-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 10px 0;
        }

        .symbol-card {
            width: 100px;
            height: 100px;
            border: 3px solid #333;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            font-size: 2.5em;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .quiz-section {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .quiz-content {
            display: flex;
            gap: 20px;
            flex: 1;
            min-height: 0;
        }

        .question-header {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
            flex-shrink: 0;
            width: 200px;
        }

        .question-counter {
            background: #2196f3;
            color: white;
            padding: 15px 20px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 1.2em;
        }

        .timer-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .timer-display {
            background: #333;
            color: white;
            padding: 20px 25px;
            border-radius: 15px;
            font-size: 2.5em;
            font-weight: bold;
            min-width: 140px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .timer-bar {
            width: 160px;
            height: 8px;
            background: #ddd;
            border-radius: 4px;
            overflow: hidden;
        }

        .start-timer-btn {
            background: #ee0606;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: bold;
            transition: all 0.3s ease;
            margin-bottom: 10px;
        }

        .start-timer-btn:hover {
            background: #ee0606;
            transform: translateY(-1px);
        }

        .continue-timer-btn {
            background: #ff9800;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: bold;
            transition: all 0.3s ease;
            margin-bottom: 10px;
            animation: pulse 1.5s infinite;
        }

        .continue-timer-btn:hover {
            background: #f57c00;
            transform: translateY(-1px);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
            }
        }

        .current-points {
            background: #2196f3;
            color: white;
            padding: 20px 30px;
            border-radius: 20px;
            font-size: 1.95em;
            font-weight: bold;
            margin: 8px 0;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            min-width: 180px;
        }

        .current-points.excellent {
            background: #4caf50;
        }

        .current-points.good {
            background: #aeea9f;
        }

        .current-points.average {
            background: #ff9800;
        }

        .current-points.poor {
            background: #f44336;
        }



        .timer-progress {
            height: 100%;
            background: linear-gradient(90deg, #f44336 0%, #ff9800 25%, #4caf50 75%, #2196f3 100%);
            transition: width 0.1s linear;
            border-radius: 4px;
        }

        .question-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .question-title {
            background: #ffeb3b;
            color: #333;
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 8px;
            font-size: 1.4em;
            font-weight: bold;
            text-align: center;
            flex-shrink: 0;
            line-height: 1.3;
        }

        .answers-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
            flex: 1;
            min-height: 0;
        }

        .answers-container.hidden {
            display: none;
        }

        .waiting-message {
            display: none;
            text-align: center;
            font-size: 1.2em;
            color: #666;
            padding: 20px;
            background: #f5f5f5;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        .waiting-message.show {
            display: block;
        }

        .answer-option {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
            min-height: 50px;
        }

        .answer-option:hover {
            background: #f5f5f5;
            border-color: #2196f3;
            transform: translateX(3px);
        }

        .answer-symbol {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.2em;
            font-weight: bold;
            flex-shrink: 0;
        }

        .answer-text {
            flex: 1;
            font-size: 1.2em;
            line-height: 1.4;
            font-weight: 500;
        }

        .correct-answer {
            border-color: #4caf50 !important;
            background: #e8f5e8 !important;
        }

        .explanation-section {
            background: #f0f8ff;
            border: 2px solid #4caf50;
            border-radius: 8px;
            padding: 12px;
            margin: 10px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }

        .explanation-title {
            font-size: 1em;
            font-weight: bold;
            color: #2e7d32;
            margin-bottom: 8px;
        }

        .explanation-text {
            font-size: 0.9em;
            line-height: 1.4;
            color: #333;
        }

        .navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            flex-shrink: 0;
        }

        .nav-button {
            background: #2196f3;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .nav-button:hover {
            background: #1976d2;
            transform: translateY(-1px);
        }

        .nav-button:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        .results-section {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .results-title {
            background: #4caf50;
            color: white;
            padding: 15px;
            margin: -20px -20px 20px -20px;
            border-radius: 10px 10px 0 0;
            font-size: 1.5em;
            font-weight: bold;
        }

        .smiley-container {
            display: flex;
            justify-content: space-around;
            margin: 30px 0;
            flex: 1;
            align-items: center;
        }

        .smiley-item {
            text-align: center;
        }

        .smiley {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3.5em;
            margin-bottom: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .smiley-excellent {
            background: #2196f3;
        }

        .smiley-good {
            background: #4caf50;
        }

        .smiley-average {
            background: #ff9800;
        }

        .smiley-poor {
            background: #f44336;
        }

        .smiley-score {
            font-size: 1.4em;
            font-weight: bold;
            color: #333;
        }

        .start-button-container {
            text-align: center;
            margin-top: 15px;
        }

        @media (max-width: 768px) {
            .title {
                font-size: 1.5em;
            }

            .symbols-container {
                flex-wrap: wrap;
                gap: 10px;
            }

            .symbol-card {
                width: 100px;
                height: 100px;
                font-size: 2em;
            }

            .smiley-container {
                flex-wrap: wrap;
                gap: 20px;
            }

            .smiley {
                width: 90px;
                height: 90px;
                font-size: 3em;
            }

            .smiley-score {
                font-size: 1.2em;
            }

            .quiz-content {
                flex-direction: column;
            }

            .question-header {
                flex-direction: row;
                justify-content: space-between;
                width: 100%;
                margin-bottom: 15px;
            }

            .timer-display {
                font-size: 1.8em;
                padding: 15px 20px;
            }

            .current-points {
                font-size: 1.4em;
                padding: 12px 20px;
                min-width: 100px;
            }

            .question-title {
                font-size: 1.2em;
            }

            .rules-list {
                font-size: 1.1em;
            }

            .footer {
                font-size: 0.7em;
                padding: 6px 15px;
            }
        }

        @media (max-height: 600px) {
            .header {
                padding: 8px 20px;
            }

            .title {
                font-size: 1.5em;
                margin-bottom: 3px;
            }

            .subtitle {
                font-size: 0.9em;
            }

            .container {
                padding: 10px;
            }

            .quiz-section,
            .rules-section {
                padding: 15px;
            }

            .smiley {
                width: 80px;
                height: 80px;
                font-size: 2.8em;
            }

            .smiley-score {
                font-size: 1.1em;
            }

            .rules-list {
                font-size: 1.1em;
                line-height: 1.5;
            }

            .current-points {
                font-size: 1.5em;
                padding: 12px 20px;
            }

            .footer {
                padding: 5px 15px;
                font-size: 0.7em;
            }
        }
    