
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 320px; height: 50px; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
#ad { position: relative; display: block; width: 320px; height: 50px;
  text-decoration: none; color: #FFFFFF; cursor: pointer; overflow: hidden; }
.bg { position: absolute; inset: 0;
  background: linear-gradient(135deg, #152F4E 0%, #2D6AAF 100%); z-index: 0; }
.border { position: absolute; inset: 0; border: 1px solid rgba(0,0,0,0.12);
  pointer-events: none; z-index: 10; }
.content { position: relative; z-index: 2; padding: 6px; height: 100%;
  display: flex; flex-direction: column; gap: 4px; }
.eyebrow { font-size: 0px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.85);
  opacity: 0; transform: translateY(-6px); animation: fadeDown .5s .1s forwards; }
.headline { font-weight: 800; line-height: 1.05; margin-top: 2px; }
.headline .line1, .headline .line2 { display: block; opacity: 0; transform: translateY(10px); }
.headline .line1 { font-size: 14px; animation: fadeUp .5s .4s forwards; }
.headline .line2 { font-size: 14px; color: #E8742A; animation: fadeUp .5s .9s forwards; }
.tagline { font-size: 0px; font-weight: 500; color: rgba(255,255,255,0.9);
  margin-top: 4px; opacity: 0; animation: fadeIn .4s 1.4s forwards; }
.cta { align-self: flex-start; padding: 5px 12px;
  background: #E8742A; color: #fff; font-weight: 700; font-size: 11px;
  border-radius: 4px; opacity: 0; transform: scale(.9);
  animation: pop .4s 1.8s forwards, pulse 1.8s 2.6s infinite; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.cta .arrow { margin-left: 6px; display: inline-block; transition: transform .2s; }
#ad:hover .cta { background: #D4631E; }
#ad:hover .cta .arrow { transform: translateX(4px); }

@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { to { opacity: 1; } }
@keyframes pop      { to { opacity: 1; transform: scale(1); } }
@keyframes pulse    { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes heroIn   { from { opacity: 0; transform: translateY(10px); }
                       to   { opacity: 1; transform: translateY(0); } }

.content { flex-direction: row; align-items: center; gap: 8px; padding: 0 10px 0 58px; }
.eyebrow { display: none; }
.tagline { display: none; }
.headline { flex: 1; margin-top: 0; line-height: 1.0; }
.headline .line1, .headline .line2 { display: inline; font-size: 14px; }
.headline .line2 { margin-left: 4px; }
.cta { align-self: center; margin-top: 0; padding: 5px 9px; font-size: 11px; flex-shrink: 0; }
.hero { position: absolute; left: 0; bottom: -4px; width: 50px;
  height: auto; z-index: 1; opacity: 0; animation: heroIn .5s .3s forwards;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.2)); pointer-events: none; }
