/* ===================================================
   STEAMi Floating Widget — National Academy of STEAM
   =================================================== */

/* ── Widget Bubble ──────────────────────────────── */
.steami-widget {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    user-select: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.steami-widget.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* Avatar circle */
.steami-avatar-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D3461 0%, #2E5AA8 50%, #C8962A 100%);
    padding: 4px;
    box-shadow:
        0 0 0 4px rgba(200,150,42,0.4),
        0 16px 40px rgba(29,52,97,0.5);
    animation: steami-float 3.2s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
}

/* Spinning gradient ring behind avatar */
.steami-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(
        #C8962A 0deg,
        #1D3461 90deg,
        #2E5AA8 180deg,
        #C8962A 270deg,
        #1D3461 360deg
    );
    z-index: -1;
    animation: steami-ring-spin 4s linear infinite;
    opacity: 0.75;
}

.steami-widget:hover .steami-avatar-wrap {
    box-shadow:
        0 0 0 6px rgba(200,150,42,0.65),
        0 22px 52px rgba(29,52,97,0.6);
}

.steami-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #fff;
}

/* Fallback gradient shown when image fails to load */
.steami-av-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

/* Online dot */
.steami-online-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid #fff;
    animation: steami-pulse 2.2s infinite;
    box-shadow: 0 0 6px rgba(34,197,94,0.7);
}

/* Ground shadow — shrinks as avatar rises */
.steami-widget::after {
    content: '';
    display: block;
    width: 70px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(29,52,97,0.28) 0%, transparent 70%);
    border-radius: 50%;
    margin: 6px auto 0;
    animation: steami-shadow 3.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes steami-shadow {
    0%   { transform: scaleX(1);    opacity: 0.28; }
    50%  { transform: scaleX(0.5);  opacity: 0.08; }
    100% { transform: scaleX(1);    opacity: 0.28; }
}

/* Name tag ribbon */
.steami-name-tag {
    margin-top: 8px;
    background: linear-gradient(135deg, #1D3461, #C8962A);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(29,52,97,0.35);
    white-space: nowrap;
}

/* Dismiss (×) button */
.steami-dismiss {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    border: 2px solid #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.steami-widget:hover .steami-dismiss {
    opacity: 1;
    pointer-events: auto;
}
.steami-dismiss:hover { transform: scale(1.2); background: #dc2626; }

/* ── Toggle button (when widget is hidden) ───────── */
.steami-toggle {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 9998;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1D3461, #C8962A);
    box-shadow: 0 8px 28px rgba(29,52,97,0.45);
    animation: steami-bounce 2.5s ease-in-out infinite;
    transition: transform 0.2s;
}
.steami-toggle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.steami-toggle.hidden { display: none; }
.steami-toggle:hover { transform: scale(1.12); }

/* ── Chat Box ─────────────────────────────────────── */
.steami-chat-box {
    position: fixed;
    bottom: 168px;
    right: 28px;
    width: 380px;
    max-height: 560px;
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.03),
        0 16px 48px rgba(29,52,97,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
    border: 1.5px solid rgba(29,52,97,0.12);

    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    transition: opacity 0.32s cubic-bezier(0.34,1.56,0.64,1),
                transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.steami-chat-box.open {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Header */
.steami-cb-header {
    background: linear-gradient(135deg, #1D3461 0%, #2A5298 55%, #C8962A 100%);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.steami-cb-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.steami-cb-avatar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: linear-gradient(135deg, #1D3461 0%, #2E5AA8 50%, #C8962A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
/* Chatbot image inside header avatar circle */
.steami-cb-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.steami-cb-name {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.steami-cb-sub {
    display: block;
    color: rgba(255,255,255,0.82);
    font-size: 11px;
    margin-top: 1px;
}
.steami-cb-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.steami-full-btn {
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    transition: background 0.2s;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.3);
}
.steami-full-btn:hover { background: rgba(255,255,255,0.32); color: #fff; }
.steami-cb-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.steami-cb-close:hover { background: rgba(255,255,255,0.32); }

/* Status dot (replaces 🟢 emoji) */
.steami-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    box-shadow: 0 0 5px rgba(34,197,94,0.8);
    animation: steami-pulse 2.2s infinite;
}

/* Question counter badge */
.steami-q-counter {
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255,255,255,0.28);
    white-space: nowrap;
    transition: background 0.3s, border-color 0.3s;
}
.steami-q-counter.steami-q-counter-done {
    background: rgba(200,150,42,0.55);
    border-color: rgba(200,150,42,0.8);
}

/* Redirect card */
.steami-redirect-bubble {
    background: linear-gradient(135deg, #f0f5ff 0%, #fffbf0 100%) !important;
    border: 1.5px solid rgba(200,150,42,0.35);
    border-radius: 18px 18px 18px 4px !important;
    padding: 18px 16px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(200,150,42,0.12) !important;
}
.steami-redirect-icon {
    font-size: 26px;
    color: #C8962A;
    line-height: 1;
}
.steami-redirect-bubble p {
    margin: 0;
    font-size: 13px;
    color: #1e293b;
    line-height: 1.55;
}
.steami-redirect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1D3461, #2E5AA8);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(29,52,97,0.3);
    margin-top: 4px;
    width: 100%;
    justify-content: center;
}
.steami-redirect-btn:hover {
    background: linear-gradient(135deg, #C8962A, #f0b429);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200,150,42,0.42);
}

/* Disabled input after redirect */
.steami-cb-input-row input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    color: #94a3b8;
}
#steami-send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

/* Messages area */
.steami-cb-msgs {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    background: #f6f8ff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.steami-cb-msgs::-webkit-scrollbar { width: 4px; }
.steami-cb-msgs::-webkit-scrollbar-thumb { background: #d0d8f0; border-radius: 4px; }

/* Message rows */
.steami-msg {
    display: flex;
    gap: 8px;
    animation: steami-msg-in 0.25s ease;
}
.steami-msg.user { flex-direction: row-reverse; }
.steami-msg.no-anim { animation: none; }

.steami-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid #e0e8ff;
}

/* Chatbot image in message bubbles */
.steami-msg-bot-img {
    object-fit: cover;
    border: 1.5px solid #e0e8ff;
    background: #fff;
}

.steami-av-icon {
    background: linear-gradient(135deg, #1D3461 0%, #2E5AA8 50%, #C8962A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}
.emoji-av {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #eef2ff;
}
.steami-user-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D3461, #2E5AA8);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.steami-msg-body { max-width: 78%; display: flex; flex-direction: column; }
.steami-msg.user .steami-msg-body { align-items: flex-end; }

.steami-bubble {
    padding: 10px 14px;
    border-radius: 18px 18px 18px 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    color: #1e293b;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
}
.steami-msg.user .steami-bubble {
    background: linear-gradient(135deg, #1D3461, #2E5AA8);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 2px 10px rgba(29,52,97,0.25);
}
.steami-time {
    font-size: 10px;
    color: #aab0c4;
    margin-top: 4px;
    padding: 0 4px;
}

/* Typing dots */
.steami-typing-bubble {
    background: #e8ecf8 !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center;
    gap: 5px;
    min-width: 52px;
}
.steami-typing-bubble span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    animation: steami-dot 1.4s infinite;
}
.steami-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.steami-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

/* Suggestion chips */
.steami-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px 6px;
    background: #f6f8ff;
    border-top: 1px solid #eef0fa;
    flex-shrink: 0;
}
.steami-chip {
    background: #eef1ff;
    border: 1.5px solid #d0d8f5;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1D3461;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.steami-chip:hover {
    background: #1D3461;
    color: #fff;
    border-color: #1D3461;
    transform: translateY(-1px);
}

/* Input row */
.steami-cb-input-row {
    display: flex;
    gap: 8px;
    padding: 10px 14px 8px;
    background: #fff;
    border-top: 1px solid #f0f2fa;
    flex-shrink: 0;
    align-items: center;
}
.steami-cb-input-row input {
    flex: 1;
    border: 1.5px solid #e0e8ff;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 13.5px;
    outline: none;
    color: #1e293b;
    background: #f6f8ff;
    transition: border-color 0.2s;
}
.steami-cb-input-row input:focus { border-color: #2E5AA8; background: #fff; }
.steami-cb-input-row input::placeholder { color: #aab0c4; }

#steami-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1D3461, #2E5AA8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
#steami-send:hover {
    background: linear-gradient(135deg, #C8962A, #f0b429);
    transform: scale(1.08);
}

/* Footer */
.steami-cb-footer {
    text-align: center;
    font-size: 10.5px;
    color: #aab0c4;
    padding: 6px 14px 10px;
    background: #fff;
    flex-shrink: 0;
}
.steami-cb-footer a {
    color: #1D3461;
    text-decoration: none;
    font-weight: 700;
}
.steami-cb-footer a:hover { text-decoration: underline; }

/* ── Animations ─────────────────────────────────── */
@keyframes steami-float {
    0%   { transform: translateY(0px)   rotate(-1deg) scale(1); }
    25%  { transform: translateY(-12px) rotate(0deg)  scale(1.03); }
    50%  { transform: translateY(-18px) rotate(1deg)  scale(1.05); }
    75%  { transform: translateY(-10px) rotate(0deg)  scale(1.02); }
    100% { transform: translateY(0px)   rotate(-1deg) scale(1); }
}

@keyframes steami-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes steami-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    50%       { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

@keyframes steami-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@keyframes steami-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes steami-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-6px); opacity: 1; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 480px) {
    .steami-widget  { bottom: 20px; right: 16px; }
    .steami-toggle  { bottom: 20px; right: 16px; }
    .steami-avatar-wrap { width: 72px; height: 72px; }
    .steami-chat-box {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 140px;
        border-radius: 18px;
        max-height: calc(100vh - 180px);
    }
    .steami-chips-row { display: none; }
    /* Icon-only "Full Chat" button to prevent header overflow on narrow screens */
    .steami-full-btn { font-size: 0; padding: 5px 9px; }
    .steami-full-btn i { font-size: 14px; }
    .steami-cb-header-actions { gap: 6px; }
}

/* =====================================================
   STEAMi — Homepage Feature Section
   ===================================================== */
.steami-hp-section {
    background: linear-gradient(160deg, #f0f5ff 0%, #ffffff 50%, #f5f0ff 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

/* faint decorative blobs */
.steami-hp-section::before,
.steami-hp-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.steami-hp-section::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(29,52,97,0.06) 0%, transparent 70%);
    top: -120px; left: -120px;
}
.steami-hp-section::after {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(200,150,42,0.08) 0%, transparent 70%);
    bottom: -100px; right: -80px;
}

/* Two-column inner layout */
.steami-hp-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ── Left: visual column ── */
.steami-hp-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Avatar ring */
.steami-hp-avatar-ring {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D3461, #2E5AA8 50%, #C8962A);
    padding: 5px;
    box-shadow:
        0 0 0 6px rgba(200,150,42,0.2),
        0 20px 60px rgba(29,52,97,0.3);
    animation: steami-float 4s ease-in-out infinite;
    flex-shrink: 0;
}
.steami-hp-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #fff;
}
.steami-hp-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.steami-hp-online {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    border: 4px solid #fff;
    animation: steami-pulse 2.2s infinite;
    box-shadow: 0 0 8px rgba(34,197,94,0.7);
}

/* Preview conversation card */
.steami-hp-preview {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 8px 40px rgba(29,52,97,0.13);
    border: 1.5px solid rgba(29,52,97,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shp-msg {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    opacity: 0;
    animation: steami-msg-in 0.5s ease forwards;
}
.shp-msg:nth-child(1) { animation-delay: 0.3s; }
.shp-msg:nth-child(2) { animation-delay: 0.9s; }
.shp-msg.shp-delay-1  { animation-delay: 1.5s; }
.shp-msg.shp-delay-2  { animation-delay: 2.4s; }
.shp-msg.shp-delay-3  { animation-delay: 3.2s; }

.shp-msg.user { flex-direction: row-reverse; }

.shp-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #e0e8ff;
    background: #eef2ff;
}

.shp-bubble {
    padding: 9px 13px;
    border-radius: 16px 16px 16px 4px;
    background: #f0f4ff;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
    max-width: 82%;
}
.shp-msg.user .shp-bubble {
    background: linear-gradient(135deg, #1D3461, #2E5AA8);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
}

/* ── Right: content column ── */
.steami-hp-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.steami-hp-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 10px 0 16px;
}
.steami-hp-name {
    background: linear-gradient(135deg, #1D3461, #C8962A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steami-hp-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 24px;
}

.steami-hp-try {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.steami-hp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.steami-hp-chip {
    background: #eef2ff;
    border: 1.5px solid #dde5ff;
    color: #1D3461;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}
.steami-hp-chip:hover {
    background: #1D3461;
    color: #fff;
    border-color: #1D3461;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29,52,97,0.25);
}

/* CTA row */
.steami-hp-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.steami-hp-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1D3461 0%, #2E5AA8 60%, #C8962A 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 28px rgba(29,52,97,0.35);
}
.steami-hp-open-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(29,52,97,0.45);
}
.steami-hp-btn-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.7);
    background: #fff;
}
.steami-hp-btn-arrow {
    font-size: 18px;
    transition: transform 0.2s;
}
.steami-hp-open-btn:hover .steami-hp-btn-arrow { transform: translateX(4px); }

.steami-hp-full-link {
    color: #1D3461;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #C8962A;
    padding-bottom: 2px;
    transition: color 0.2s;
}
.steami-hp-full-link:hover { color: #C8962A; }

.steami-hp-note {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* ── Intro tooltip bubble on floating widget ── */
.steami-intro-tooltip {
    position: fixed;
    bottom: 152px;
    right: 28px;
    background: #fff;
    border-radius: 16px 16px 4px 16px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(29,52,97,0.2);
    border: 1.5px solid rgba(29,52,97,0.12);
    font-size: 13.5px;
    color: #1e293b;
    max-width: 220px;
    z-index: 9998;
    animation: steami-msg-in 0.4s ease;
    line-height: 1.5;
    cursor: pointer;
}
.steami-intro-tooltip strong { color: #1D3461; }
.steami-intro-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 24px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    filter: drop-shadow(0 2px 2px rgba(29,52,97,0.1));
}
.steami-intro-tooltip-close {
    position: absolute;
    top: 6px; right: 8px;
    background: none; border: none;
    font-size: 14px; color: #94a3b8;
    cursor: pointer; line-height: 1;
}
.steami-intro-tooltip-close:hover { color: #ef4444; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .steami-hp-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .steami-hp-visual { align-items: center; }
    .steami-hp-chips  { justify-content: center; }
    .steami-hp-ctas   { justify-content: center; }
    .steami-hp-title  { font-size: 30px; }
    .steami-hp-try    { text-align: center; }
    .steami-hp-note   { text-align: center; }
    .steami-intro-tooltip { bottom: 120px; right: 16px; }
}

@media (max-width: 480px) {
    .steami-hp-section { padding: 56px 0 64px; }
    .steami-hp-title   { font-size: 26px; }
    .steami-hp-avatar-ring { width: 120px; height: 120px; }
    .steami-hp-preview { display: none; }
}
