/* Standalone styling for the Go-Link redirect page.
   Ported from go_proxy.html's old inline <style> block. */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #f8fafc;
}
.proxy-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    margin: 1rem;
    text-align: center;
}
.proxy-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.proxy-countdown {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    min-height: 1.5em;
}
.proxy-countdown .count {
    font-weight: 700;
    color: #38bdf8;
}
.proxy-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.proxy-link {
    display: inline-block;
    padding: 0.75em 1.5em;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.proxy-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}
.proxy-security {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}
.proxy-security svg {
    width: 16px;
    height: 16px;
    fill: #22c55e;
    flex-shrink: 0;
}

/* Ad-block popup — shown when the /ads.js bait fails to load, since a blocker
   that eats the bait will also eat the affiliate destination. */
.proxy-adblock {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(6px);
    z-index: 10;
}
.proxy-adblock[hidden] { display: none; }
.proxy-adblock-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.proxy-adblock-icon {
    width: 44px;
    height: 44px;
    fill: #f59e0b;
    margin-bottom: 1rem;
}
.proxy-adblock-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.proxy-adblock-msg {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.proxy-adblock .proxy-link {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.proxy-adblock-continue {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: underline;
}
.proxy-adblock-continue:hover { color: #94a3b8; }
