        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 40px 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        header {
            text-align: center;
            margin-bottom: 50px;
            color: white;
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Flexbox layout */
        .flex-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }

        .transform-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            width: 380px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
        }

        .transform-card:hover {
            transform: translateY(-5px);
        }

        .transform-card h2 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .badge {
            background: #667eea;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: bold;
        }

        .description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 25px;
            font-size: 0.95rem;
        }

        /* 3D Demo Area */
        .demo-container {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            border-radius: 12px;
            margin-bottom: 20px;
            perspective: 1000px;
        }

        .demo-box {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.1rem;
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
            transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
        }

        /* Specific Transform Examples */
        .rotatex-example:hover {
            transform: rotateX(60deg);
        }

        .rotatey-example:hover {
            transform: rotateY(60deg);
        }

        .rotatez-example:hover {
            transform: rotateZ(45deg);
        }

        .translatez-example:hover {
            transform: translateZ(100px);
        }

        .scalez-example:hover {
            transform: scaleZ(3) rotateX(45deg);
        }

        .rotate3d-example:hover {
            transform: rotate3d(1, 1, 1, 45deg);
        }

        .code-block {
            background: #2d3748;
            color: #68d391;
            padding: 15px;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            border-left: 4px solid #68d391;
        }

        .syntax-comment { color: #a0aec0; }
        .syntax-prop { color: #fc8181; }
        .syntax-val { color: #63b3ed; }

        .note {
            margin-top: 15px;
            padding: 10px;
            background: #e6fffa;
            border-left: 4px solid #38b2ac;
            border-radius: 4px;
            font-size: 0.85rem;
            color: #2c7a7b;
        }

        @media (max-width: 768px) {
            .flex-wrapper {
                flex-direction: column;
                align-items: center;
            }
            
            .transform-card {
                width: 100%;
                max-width: 400px;
            }
            
            h1 {
                font-size: 2rem;
            }
        }