        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            color: white;
        }
        
        .container {
            background-color: rgba(0, 0, 0, 0.7);
            border-radius: 15px;
            padding: 25px;
            width: 90%;
            max-width: 800px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            text-align: center;
        }
        
        h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: #fdbb2d;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .game-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            font-size: 1.2rem;
            background-color: rgba(255, 255, 255, 0.1);
            padding: 10px;
            border-radius: 10px;
        }
        
        .hangman-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 20px 0;
        }
        
        .hangman-figure {
            width: 200px;
            height: 250px;
            position: relative;
            margin-bottom: 20px;
        }
        
        .part {
            display: none;
        }
        
        .gallows {
            height: 10px;
            width: 150px;
            background-color: #8B4513;
            position: absolute;
            top: 40px;
            right: 0;
        }
        
        .gallows:before {
            content: '';
            position: absolute;
            height: 250px;
            width: 10px;
            background-color: #8B4513;
            top: -40px;
            left: 0;
        }
        
        .gallows:after {
            content: '';
            position: absolute;
            height: 10px;
            width: 100px;
            background-color: #8B4513;
            top: -40px;
            left: 0;
        }
        
        .head {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 5px solid white;
            position: absolute;
            top: 90px;
            right: 55px;
            display: none;
        }
        
        .body {
            width: 5px;
            height: 80px;
            background-color: white;
            position: absolute;
            top: 135px;
            right: 70px;
            display: none;
        }
        
        .left-arm {
            width: 40px;
            height: 5px;
            background-color: white;
            position: absolute;
            top: 155px;
            right: 70px;
            transform: rotate(30deg);
            display: none;
        }
        
        .right-arm {
            width: 40px;
            height: 5px;
            background-color: white;
            position: absolute;
            top: 155px;
            right: 35px;
            transform: rotate(-30deg);
            display: none;
        }
        
        .left-leg {
            width: 40px;
            height: 5px;
            background-color: white;
            position: absolute;
            top: 230px;
            right: 70px;
            transform: rotate(120deg);
            display: none;
        }
        
        .right-leg {
            width: 40px;
            height: 5px;
            background-color: white;
            position: absolute;
            top: 230px;
            right: 35px;
            transform: rotate(-120deg);
            display: none;
        }
        
        .word-display {
            font-size: 2.5rem;
            letter-spacing: 10px;
            margin: 25px 0;
            min-height: 60px;
            font-weight: bold;
            color: #fdbb2d;
        }
        
        .letters {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin: 20px 0;
        }
        
        .letter {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #3498db;
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .letter:hover {
            background-color: #2980b9;
            transform: scale(1.05);
        }
        
        .letter.disabled {
            background-color: #7f8c8d;
            cursor: not-allowed;
            opacity: 0.6;
            transform: scale(0.95);
        }
        
        .message {
            font-size: 1.5rem;
            margin: 20px 0;
            min-height: 40px;
            color: #e74c3c;
            font-weight: bold;
        }
        
        .controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
        
        button {
            padding: 12px 25px;
            font-size: 1.1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        #reset {
            background-color: #2ecc71;
            color: white;
        }
        
        #reset:hover {
            background-color: #27ae60;
        }
        
        #clear-storage {
            background-color: #e74c3c;
            color: white;
        }
        
        #clear-storage:hover {
            background-color: #c0392b;
        }
        
        .instructions {
            margin-top: 25px;
            padding: 15px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            text-align: left;
        }
        
        .instructions h2 {
            margin-bottom: 10px;
            color: #fdbb2d;
        }
        
        .instructions ul {
            padding-left: 20px;
        }
        
        .instructions li {
            margin-bottom: 8px;
        }
        .footer {
            margin-top: 25px;
            padding: 15px;
            text-align: center;
            color: #b8b8b8;
        }
        .footer h2 {
            margin-bottom: 10px;
            color: #fdbb2d;
        }
        
        .footer ul {
            padding-left: 20px;
        }
        
        .footer li {
            margin-bottom: 8px;
        }
        .footer a {
            color: #b8b8b8 !important;
        }
        
        @media (max-width: 600px) {
            .container {
                width: 95%;
                padding: 15px;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .letter {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .word-display {
                font-size: 1.8rem;
                letter-spacing: 5px;
            }
        }

