* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: #fff;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    img {
        max-width: 250px;
        height: auto;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 36px;
        color: #2c2c2c;
        margin-bottom: 20px;
        font-weight: 600;
    }

    p {
        font-size: 18px;
        color: #666;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .btn-home {
        display: inline-block;
        background: white;
        color: #4a90e2;
        padding: 16px 50px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 17px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid #4a90e2;
    }

    .btn-home:hover {
        background: #4a90e2;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
    }

    /* Botón flotante soporte */
    .support-btn {
        position: fixed;
        top: 30px;
        right: 30px;
        background: #ffffff;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(151, 154, 158, 0.4);
        transition: all 0.3s ease;
        border: none;
        overflow: hidden;
        padding: 12px;
    }

    .support-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(74, 144, 226, 0.5);
        background: #357abd;
    }

    .support-btn img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        margin: 0;
    }

    /* Panel de soporte */
    .support-panel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        padding: 35px;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        width: 90%;
        max-width: 420px;
        border: 1px solid #e0e0e0;
    }

    .support-panel.active {
        opacity: 1;
        pointer-events: all;
        transform: translate(-50%, -50%) scale(1);
    }

    .support-panel h3 {
        color: #2c2c2c;
        font-size: 24px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .support-panel > p {
        color: #666;
        font-size: 15px;
        margin-bottom: 25px;
    }

    .support-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .support-options a {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 20px;
        background: #fafafa;
        border: 1px solid #ececec;
        border-radius: 8px;
        color: #2c2c2c;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .support-options a:hover {
        background: #f0f0f0;
        border-color: #4a90e2;
        transform: translateX(5px);
    }

    .support-options svg,
    .support-options img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .btn-return {
        display: block;
        width: 100%;
        background: white;
        color: #4a90e2;
        padding: 14px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid #4a90e2;
        text-align: center;
    }

    .btn-return:hover {
        background: #4a90e2;
        color: white;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 28px;
        color: #999;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s;
        line-height: 1;
    }

    .close-btn:hover {
        color: #333;
    }

    /* Overlay oscuro */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Modal de advertencia inactividad */
    .inactivity-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        padding: 35px;
        z-index: 1001;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        width: 90%;
        max-width: 400px;
        text-align: center;
        border: 1px solid #e0e0e0;
    }

    .inactivity-modal.active {
        opacity: 1;
        pointer-events: all;
        transform: translate(-50%, -50%) scale(1);
    }

    .inactivity-modal h3 {
        color: #2c2c2c;
        font-size: 22px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .inactivity-modal p {
        color: #666;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .timer-display {
        font-size: 48px;
        font-weight: bold;
        color: #4a90e2;
        margin: 20px 0;
    }

    .modal-buttons {
        display: flex;
        gap: 12px;
        margin-top: 25px;
    }

    .btn-stay {
        flex: 1;
        background: #4a90e2;
        color: white;
        padding: 14px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-stay:hover {
        background: #357abd;
        transform: translateY(-2px);
    }

    .btn-leave {
        flex: 1;
        background: white;
        color: #666;
        padding: 14px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        border: 2px solid #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-leave:hover {
        background: #f5f5f5;
        border-color: #999;
    }

    /* Responsive */
    @media (max-width: 768px) {
        h1 {
            font-size: 28px;
        }

        p {
            font-size: 16px;
        }

        img {
            max-width: 200px;
        }

        .support-btn {
            width: 55px;
            height: 55px;
            top: 20px;
            right: 20px;
        }

        .support-panel {
            padding: 30px 25px;
            width: 95%;
        }

        .support-panel h3 {
            font-size: 20px;
        }

        .inactivity-modal {
            padding: 30px 25px;
        }

        .timer-display {
            font-size: 40px;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 24px;
        }

        .btn-home {
            padding: 14px 40px;
            font-size: 16px;
        }

        .modal-buttons {
            flex-direction: column;
        }
    }