:root {
            --primary: #5b86e5;
            --secondary: #36d1dc;
            --accent: #ff7e5f;
            --danger: #ff4d4d;
            --warning: #ffb347;
            --light: #f8f9fa;
            --dark: #2d3436;
            --text: #2d3436;
            --gray: #636e72;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.7;
            color: var(--text);
            background-color: #f5f7fa;
            position: relative;
        }

        body::after {
            content: "HAND INJURY";
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-15deg);
            font-size: 25vw;
            font-weight: 900;
            color: rgba(91, 134, 229, 0.03);
            z-index: -1;
            pointer-events: none;
            white-space: nowrap;
            opacity: 0.8;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 3rem 0;
            margin-bottom: 2rem;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="white" stroke-width="0.5" stroke-opacity="0.1"><path d="M20,50 Q35,20 50,50 T80,50"/></svg>');
            opacity: 0.3;
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
            position: relative;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        h2 {
            color: var(--primary);
            margin: 3rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--accent);
            font-size: 2rem;
            font-weight: 600;
            position: relative;
        }

        h2::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100px;
            height: 2px;
            background: var(--secondary);
        }

        h3 {
            color: var(--primary);
            margin: 2rem 0 1rem;
            font-size: 1.5rem;
            font-weight: 600;
        }

        h4 {
            color: var(--dark);
            margin: 1.5rem 0 1rem;
            font-size: 1.3rem;
        }

        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            padding: 2rem;
            margin-bottom: 2.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }

        ul, ol {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }

        li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.8rem;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        li:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.7rem;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
        }

        .nested-list {
            padding-left: 1.5rem;
            margin-top: 0.5rem;
        }

        .nested-list li:before {
            background: var(--gray);
            width: 6px;
            height: 6px;
            top: 0.6rem;
        }

        .emergency-box {
            background: linear-gradient(to right, rgba(255, 77, 77, 0.1), rgba(255, 77, 77, 0.05));
            border-left: 4px solid var(--danger);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.2); }
            70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
        }

        .warning-box {
            background: linear-gradient(to right, rgba(255, 179, 71, 0.1), rgba(255, 179, 71, 0.05));
            border-left: 4px solid var(--warning);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }

        .info-box {
            background: linear-gradient(to right, rgba(91, 134, 229, 0.1), rgba(91, 134, 229, 0.05));
            border-left: 4px solid var(--primary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }

        .causes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .cause-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-top: 3px solid var(--primary);
            transition: transform 0.3s ease;
        }

        .cause-card:hover {
            transform: translateY(-3px);
        }

        .cause-card h4 {
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
        }

        .cause-card h4::before {
            content: "•";
            color: var(--accent);
            font-size: 2rem;
            margin-right: 0.5rem;
            line-height: 1;
        }

        .clinical-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .feature-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-left: 3px solid var(--secondary);
        }

        .feature-card h4 {
            color: var(--secondary);
            margin-bottom: 0.8rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
        }

        th {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            font-weight: 600;
            padding: 1rem;
            text-align: left;
        }

        td {
            padding: 1rem;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            background: white;
        }

        tr:nth-child(even) td {
            background-color: #f9f9f9;
        }

        tr:hover td {
            background-color: #f1f7fe;
        }

        .signs {
            color: var(--danger);
            font-weight: 600;
        }

        .technique {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 2rem 0;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-left: 4px solid var(--accent);
        }

        .technique-title {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .technique-title::before {
            content: "↳";
            margin-right: 0.5rem;
            color: var(--accent);
        }

        footer {
            text-align: center;
            margin-top: 4rem;
            padding: 2rem;
            color: var(--gray);
            font-size: 0.9rem;
            border-top: 1px solid rgba(0,0,0,0.1);
        }

        .image-container {
            margin: 2rem 0;
            text-align: center;
        }

        .image-container img {
            max-width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .image-caption {
            margin-top: 0.5rem;
            font-style: italic;
            color: var(--gray);
        }

        .image-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .image-grid-item {
            background: #f0f0f0;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            min-height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        @media print {
            body::after {
                opacity: 0.1;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 1.5rem;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            h2 {
                font-size: 1.7rem;
            }
            
            .causes-grid, .clinical-features, .image-grid {
                grid-template-columns: 1fr;
            }
            
            table {
                display: block;
                overflow-x: auto;
            }
        }