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

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: #f7f8fc;
            color: #20243a;
            line-height: 1.6;
        }

        /* Top navigation */
        header {
            background: white;
            padding: 22px 5%;
            border-bottom: 1px solid #e9eaf2;
        }

        .navbar {
            max-width: 1250px;
            margin: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .site-title {
            font-size: 27px;
            font-weight: 800;
            color: #5946d8;
            text-decoration: none;
        }

        .nav-link {
            color: #555b70;
            text-decoration: none;
            font-weight: 600;
        }

        /* Introduction section */
        .hero {
            max-width: 1250px;
            margin: 45px auto;
            padding: 0 5%;
            display: flex;
            align-items: center;
            gap: 45px;
        }

        .logo-container {
            flex: 0 0 32%;
            text-align: center;
        }

        .logo {
            width: 100%;
            max-width: 280px;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 28px;
        }

        .hero-text {
            flex: 1;
        }

        .hero-text h2 {
            font-size: clamp(28px, 3.5vw, 43px);
            line-height: 1.2;
            margin-bottom: 18px;
        }

        .hero-text p {
            font-size: 17px;
            color: #62677b;
            margin-bottom: 15px;
        }

        .hero-highlight {
            color: #5946d8;
            font-weight: 700;
        }

        /* Quiz gallery */
        .quiz-section {
            max-width: 1250px;
            margin: 60px auto;
            padding: 0 5%;
        }

        .section-heading {
            margin-bottom: 25px;
        }

        .section-heading h2 {
            font-size: 30px;
            margin-bottom: 5px;
        }

        .section-heading p {
            color: #707589;
        }

        .quiz-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 24px;
        }

        .quiz-card {
            background: white;
            border: 1px solid #e9eaf2;
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .quiz-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 28px rgba(40, 40, 80, 0.10);
        }

        .quiz-image {
            display: block;
            width: 100%;
            aspect-ratio: 5 / 3;
            object-fit: cover;
            background: #e8e5ff;
        }

        .quiz-info {
            padding: 16px;
        }

        .quiz-info h3 {
            font-size: 17px;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .quiz-info p {
            font-size: 14px;
            color: #707589;
            margin-bottom: 15px;
        }

        .quiz-button {
            display: block;
            width: 100%;
            padding: 10px;
            background: #5946d8;
            color: white;
            text-align: center;
            text-decoration: none;
            border-radius: 9px;
            font-weight: 700;
            transition: background 0.2s;
        }

        .quiz-button:hover {
            background: #4331b5;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 30px 5%;
            color: #777b8e;
            background: white;
            border-top: 1px solid #e9eaf2;
            margin-top: 60px;
        }

        /* Responsive layout */
        @media (max-width: 950px) {
            .quiz-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 650px) {
            .hero {
                flex-direction: column;
                text-align: center;
                margin-top: 30px;
            }

            .logo-container {
                flex-basis: auto;
            }

            .logo {
                max-width: 180px;
            }

            .quiz-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 14px;
            }

            .quiz-info {
                padding: 12px;
            }

            .quiz-info h3 {
                font-size: 15px;
            }

            .site-title {
                font-size: 22px;
            }
        }

        @media (max-width: 380px) {
            .quiz-grid {
                grid-template-columns: 1fr;
            }
        }
