/* ══════════════════════════════════════════════════════
   TNR Streamlabs Widgets  v2.0
   No iframes — clean card UI with direct links
   Layout: Ticker → Goal → Button
   ══════════════════════════════════════════════════════ */

/* ── Combo container ─────────────────────────────────── */
.tnr-slw-combo {
    max-width: 680px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ── Cards (Ticker & Goal) ───────────────────────────── */
.tnr-slw-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tnr-slw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.tnr-slw-card-icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}

.tnr-slw-card-content {
    flex: 1;
    min-width: 0;
}

.tnr-slw-card-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.tnr-slw-card-desc {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.tnr-slw-card-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(67, 181, 129, 0.12);
    color: #43b581;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(67, 181, 129, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tnr-slw-card-btn:hover {
    background: rgba(67, 181, 129, 0.22);
    color: #5ddb9e;
    border-color: rgba(67, 181, 129, 0.4);
    text-decoration: none;
}

/* ── Tip Button (Row 3) ──────────────────────────────── */
.tnr-slw-tip-wrap {
    text-align: center;
    padding: 4px 0;
}

.tnr-slw-tip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 480px;
    padding: 20px 36px;
    background: linear-gradient(135deg, #43b581 0%, #2ecc71 50%, #27ae60 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 14px;
    box-shadow:
        0 6px 24px rgba(46, 204, 113, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tnr-slw-tip-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    border-radius: inherit;
    pointer-events: none;
}

.tnr-slw-tip-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 34px rgba(46, 204, 113, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
}

.tnr-slw-tip-btn:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 14px rgba(46, 204, 113, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.tnr-slw-tip-icon {
    font-size: 26px;
    line-height: 1;
}

.tnr-slw-tip-text {
    line-height: 1.2;
}

/* ── Error ────────────────────────────────────────────── */
.tnr-slw-error {
    color: #e74c3c;
    font-size: 14px;
    padding: 12px 16px;
    background: #fdf0ef;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .tnr-slw-combo {
        margin: 20px 12px;
        gap: 14px;
    }

    .tnr-slw-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }

    .tnr-slw-card-btn {
        width: 100%;
        text-align: center;
    }

    .tnr-slw-tip-btn {
        font-size: 17px;
        padding: 16px 24px;
        max-width: 100%;
    }

    .tnr-slw-tip-icon {
        font-size: 22px;
    }
}
