
* { 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; }
.hero { position: absolute; left: 0; top: 0; width: 50px; height: 50px;
  object-fit: cover; object-position: center; z-index: 1; opacity: 0;
  animation: fadeIn .6s .3s forwards; pointer-events: none; }
.content { position: relative; z-index: 3; padding: 0 10px 0 58px; height: 100%;
  display: flex; flex-direction: row; align-items: center; gap: 10px; }
.headline { font-weight: 800; line-height: 1.05; flex: 1; }
.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; }
.cta { align-self: center; padding: 5px 9px; margin-left: auto;
  background: #E8742A; color: #fff; font-weight: 700; font-size: 11px;
  border-radius: 3px; opacity: 0; transform: scale(.9); white-space: nowrap;
  animation: pop .4s 1.8s forwards, pulse 1.8s 2.6s infinite;
  box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.cta .arrow { margin-left: 5px; 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); } }
