:root {
    --vgsr-cyan: #06b6d4;
    --vgsr-cyan-glow: rgba(6, 182, 212, 0.4);
    --vgsr-bg: rgba(10, 10, 15, 0.85);
    --vgsr-card-bg: rgba(15, 23, 42, 0.95);
    --vgsr-text: #f8fafc;
    --vgsr-text-muted: #94a3b8;
    --vgsr-border: rgba(255, 255, 255, 0.08);
    --vgsr-z-index: 999999;
}

#vgsr-app-root {
    position: fixed;
    z-index: var(--vgsr-z-index);
    pointer-events: none;
    inset: 0;
}

.vgsr-trigger-btn {
    position: absolute;
    right: 24px;
    bottom: 100px; 
    width: 64px;
    height: 64px;
    background: var(--vgsr-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50%;
    border: 1px solid var(--vgsr-cyan);
    box-shadow: 0 0 20px var(--vgsr-cyan-glow), inset 0 0 15px rgba(6, 182, 212, 0.1);
    color: var(--vgsr-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    pointer-events: auto;
    touch-action: none;
    will-change: transform;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.vgsr-trigger-btn:active {
    cursor: grabbing;
}

.vgsr-trigger-btn:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.8);
    background: rgba(6, 182, 212, 0.1);
    color: #fff;
}

.vgsr-trigger-btn svg {
    width: 28px;
    height: 28px;
}

.vgsr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    z-index: calc(var(--vgsr-z-index) + 1);
}

.vgsr-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vgsr-modal-card {
    background: var(--vgsr-card-bg);
    border: 1px solid var(--vgsr-border);
    border-top: 1px solid var(--vgsr-cyan);
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: var(--vgsr-text);
    font-family: system-ui, -apple-system, sans-serif;
    text-align: center;
}

.vgsr-modal-overlay.is-active .vgsr-modal-card {
    transform: translateY(0) scale(1);
}

.vgsr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--vgsr-text-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.vgsr-modal-close:hover {
    color: #fff;
}

.vgsr-headline {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #22d3ee, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vgsr-text {
    font-size: 0.95rem;
    color: var(--vgsr-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.vgsr-grid-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.vgsr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, filter 0.2s;
}

.vgsr-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.vgsr-btn-paypal { background: #0070ba; }
.vgsr-btn-coffee { background: #FFDD00; color: #111; }
.vgsr-btn-custom { background: #334155; border: 1px solid #475569; }

.vgsr-crypto-group {
    border-top: 1px solid var(--vgsr-border);
    padding-top: 20px;
}

.vgsr-crypto-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vgsr-text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}

.vgsr-crypto-row {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--vgsr-border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--vgsr-text);
}

.vgsr-crypto-row:hover {
    border-color: var(--vgsr-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.vgsr-crypto-row:active {
    transform: scale(0.98);
}

.vgsr-crypto-row.is-copied {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    color: #22c55e;
}

.vgsr-crypto-symbol {
    font-weight: 800;
    font-size: 0.85rem;
    color: #a855f7;
    width: 45px;
    text-align: left;
}

.vgsr-crypto-addr {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    color: var(--vgsr-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    text-align: left;
    margin: 0 12px;
}

.vgsr-crypto-copy {
    color: var(--vgsr-text-muted);
    display: flex;
}
.vgsr-crypto-row.is-copied .vgsr-crypto-copy {
    color: #22c55e;
}