/* LINE Browser Escape Overlay Styling */
#line-escape-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    padding: 20px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#line-escape-overlay.active {
    opacity: 1;
    visibility: visible;
}

.escape-content {
    max-width: 320px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.escape-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.escape-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffd700;
}

.escape-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.escape-btn {
    background: linear-gradient(135deg, #ffd700, #ffae00);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s ease;
    width: 100%;
    display: block;
    text-decoration: none;
}

.escape-btn:active {
    transform: scale(0.95);
}

.escape-hint {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.escape-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(10px); }
}
