/* ============================================================
   GuvenHost Welcome Popup (promo bar 2026-05-02 topbar'a tasindi)
   2026-05-01 (welcome popup), updated 2026-05-02
   - .gh-welcome-*: ilk ziyarette acilan modal (scale-fade)
   ============================================================ */


.gh-welcome-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gh-welcome-overlay.is-visible {
    display: flex;
    opacity: 1;
}

.gh-welcome-overlay.is-closing {
    opacity: 0;
}

.gh-welcome-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(.2,1.3,.4,1), opacity 0.4s ease;
    display: flex;
    flex-direction: column;
}

.gh-welcome-overlay.is-visible .gh-welcome-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.gh-welcome-overlay.is-closing .gh-welcome-modal {
    transform: scale(0.92) translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.gh-welcome-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gh-welcome-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12) 0%, transparent 40%);
    animation: gh-welcome-image-pulse 4s ease-in-out infinite;
}

.gh-welcome-image img {
    position: relative;
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
    z-index: 2;
}

.gh-welcome-image-emoji {
    position: relative;
    font-size: 92px;
    z-index: 2;
    animation: gh-welcome-emoji-bounce 2.5s ease-in-out infinite;
}

.gh-welcome-body {
    padding: 26px 28px 22px;
    text-align: center;
}

.gh-welcome-title {
    margin: 0 0 8px;
    font-family: 'Rubik', 'Karla', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.gh-welcome-subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.gh-welcome-discount {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px dashed #f59e0b;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.gh-welcome-discount-line1 {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.gh-welcome-discount-line2 {
    font-family: 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #b45309;
    letter-spacing: -0.5px;
    line-height: 1;
}

.gh-welcome-discount-line3 {
    font-size: 13px;
    color: #92400e;
    margin-top: 6px;
}

.gh-welcome-discount-line3 code {
    display: inline-block;
    background: #fff;
    border: 1px solid #f59e0b;
    color: #b91c1c;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    margin: 0 2px;
}

.gh-welcome-cta {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
    text-align: center;
    letter-spacing: 0.2px;
}

.gh-welcome-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(220, 38, 38, 0.5);
    color: #fff;
}

.gh-welcome-dismiss {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s ease;
}

.gh-welcome-dismiss:hover {
    color: #475569;
}

.gh-welcome-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 999px;
    color: #475569;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.gh-welcome-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

@keyframes gh-welcome-image-pulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

@keyframes gh-welcome-emoji-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-8px) scale(1.05); }
}

/* Mobile */
@media (max-width: 480px) {
    .gh-welcome-image { height: 160px; }
    .gh-welcome-image-emoji { font-size: 72px; }
    .gh-welcome-body { padding: 22px 20px 18px; }
    .gh-welcome-title { font-size: 20px; }
    .gh-welcome-discount-line2 { font-size: 24px; }
    .gh-welcome-cta { padding: 12px 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .gh-welcome-modal,
    .gh-welcome-image::before,
    .gh-welcome-image-emoji {
        animation: none !important;
        transition: opacity 0.2s ease !important;
    }
}
