/* ============================================================
   Thrillark CTA Block — Frontend Styles
   Brand: #1ab8c4 (teal) → #1a7ed4 (blue)
   Design: Sharp-edged confidence, fluid motion, premium feel
   ============================================================ */

.thrillark-cta-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 4px 0;
    transition: transform 0.18s cubic-bezier(0.34, 1.4, 0.64, 1),
                box-shadow 0.18s ease;
}

.thrillark-cta-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 126, 212, 0.22);
}

/* ── Filled (default) ── */
.thrillark-cta-wrap.is-filled {
    background: linear-gradient(108deg, #0d4f6e 0%, #0a3a5a 100%);
    border: none;
}
.thrillark-cta-wrap.is-filled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, rgba(26,184,196,0.18) 0%, rgba(26,126,212,0.08) 100%);
    pointer-events: none;
}
.thrillark-cta-wrap.is-filled .thrillark-cta-label { color: #ffffff; }
.thrillark-cta-wrap.is-filled .thrillark-cta-tag   { color: rgba(100,220,230,0.85); }

/* ── Ocean (teal fill) ── */
.thrillark-cta-wrap.is-ocean {
    background: linear-gradient(108deg, #1ab8c4 0%, #1a7ed4 100%);
    border: none;
}
.thrillark-cta-wrap.is-ocean .thrillark-cta-label { color: #ffffff; }
.thrillark-cta-wrap.is-ocean .thrillark-cta-tag   { color: rgba(255,255,255,0.7); }
.thrillark-cta-wrap.is-ocean .thrillark-cta-arrow-btn {
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.4);
}
.thrillark-cta-wrap.is-ocean .thrillark-cta-arrow-btn svg path { stroke: #ffffff; }

/* ── Outline ── */
.thrillark-cta-wrap.is-outline {
    background: transparent;
    border: 2px solid #1a7ed4;
}
.thrillark-cta-wrap.is-outline .thrillark-cta-label { color: #0a3d5c; }
.thrillark-cta-wrap.is-outline .thrillark-cta-tag   { color: #1ab8c4; }

/* ── Ghost ── */
.thrillark-cta-wrap.is-ghost {
    background: rgba(26, 184, 196, 0.06);
    border: 1.5px solid rgba(26, 184, 196, 0.3);
}
.thrillark-cta-wrap.is-ghost:hover {
    background: rgba(26, 126, 212, 0.08);
    border-color: rgba(26, 126, 212, 0.5);
}
.thrillark-cta-wrap.is-ghost .thrillark-cta-label { color: #0a3d5c; }
.thrillark-cta-wrap.is-ghost .thrillark-cta-tag   { color: #1a7ed4; }

/* ── Inner link reset ── */
.thrillark-cta-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

/* ── Left accent bar ── */
.thrillark-cta-link::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, #1ab8c4, #1a7ed4);
    opacity: 0;
    transform: scaleY(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.thrillark-cta-wrap:hover .thrillark-cta-link::before {
    opacity: 1;
    transform: scaleY(1);
}

/* ── Text column ── */
.thrillark-cta-text { flex: 1; min-width: 0; }

.thrillark-cta-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 3px;
    display: block;
}

.thrillark-cta-label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Arrow button ── */
.thrillark-cta-arrow-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1ab8c4 0%, #1a7ed4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.18s ease;
    box-shadow: 0 2px 8px rgba(26,126,212,0.35);
}
.thrillark-cta-wrap:hover .thrillark-cta-arrow-btn {
    transform: translateX(5px) scale(1.08);
    box-shadow: 0 4px 16px rgba(26,126,212,0.45);
}
.thrillark-cta-arrow-btn svg { display: block; }

/* ── Alignment helpers ── */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; }
