.lgbt-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.lgbt-popup {
    background: white;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: 20px;
}

.lgbt-popup-header {
    background: linear-gradient(
        to right,
        #e40303,
        #ff8c00,
        #ffed00,
        #008026,
        #24408e,
        #732982
    );
    padding: 30px;
    color: white;
    text-align: center;
}

.lgbt-popup-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lgbt-popup-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.lgbt-popup-content h3 {
    color: #732982;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.lgbt-popup-content p {
    margin-bottom: 20px;
}

.lgbt-popup-content .personal-note {
    background: #fff3cd;
    border-left: 4px solid #ff8c00;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

.lgbt-popup-content .warning {
    background: #f8d7da;
    border-left: 4px solid #e40303;
    padding: 20px;
    margin: 30px 0;
    font-weight: bold;
}

.lgbt-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.lgbt-popup-close:hover {
    transform: scale(1.1);
    background: #f0f0f0;
}

.lgbt-popup-footer {
    background: #f5f5f5;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.lgbt-popup-footer button {
    background: linear-gradient(to right, #732982, #24408e);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.lgbt-popup-footer button:hover {
    transform: scale(1.05);
}

.sound-button {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100000;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.sound-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.sound-button:active {
    transform: translateY(-50%) scale(0.95);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(228, 3, 3, 0.5);
    }
    50% {
        box-shadow: 0 10px 50px rgba(228, 3, 3, 0.9);
    }
}
