/* Volta EV — concept HTML5 campaign (fictional brand). Shared styles for all formats. */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { width: 100%; height: 100%; overflow: hidden; }

body {
  background: #eceae4;
  color: #16171a;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(22, 23, 26, 0.12);
}

.logo {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.logo i {
  display: block;
  width: 10px;
  height: 10px;
  background: #4f6b00;
  transform: skewX(-18deg);
}

.count {
  position: absolute;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}

.count small {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  vertical-align: top;
}

.bar {
  position: absolute;
  height: 6px;
  background: rgba(22, 23, 26, 0.1);
}

.bar span {
  display: block;
  height: 100%;
  background: #4f6b00;
  transform-origin: left center;
  transform: scaleX(0);
}

.label,
.claim,
.tagline {
  position: absolute;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f6b00;
}

.claim em,
.tagline em {
  font-style: normal;
  color: #4f6b00;
}

.cta {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16171a;
  color: #eceae4;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.claim, .tagline, .cta { opacity: 0; }

/* ---------- 300×250 ---------- */
.s300x250 .logo { left: 20px; top: 20px; }
.s300x250 .label { left: 20px; top: 118px; }
.s300x250 .count { left: 16px; top: 136px; font-size: 92px; }
.s300x250 .bar { left: 20px; right: 20px; bottom: 22px; }
.s300x250 .claim { left: 20px; top: 92px; font-size: 34px; }
.s300x250 .tagline { left: 20px; top: 72px; font-size: 36px; }
.s300x250 .cta { left: 20px; bottom: 20px; height: 38px; padding: 0 16px; }

/* ---------- 300×600 ---------- */
.s300x600 .logo { left: 24px; top: 26px; }
.s300x600 .label { left: 24px; top: 300px; }
.s300x600 .count { left: 18px; top: 322px; font-size: 128px; }
.s300x600 .bar { left: 24px; right: 24px; top: 448px; }
.s300x600 .claim { left: 24px; top: 300px; font-size: 44px; }
.s300x600 .tagline { left: 24px; top: 260px; font-size: 48px; }
.s300x600 .cta { left: 24px; right: 24px; bottom: 28px; height: 46px; font-size: 13px; }
.s300x600 .lines { position: absolute; left: 24px; right: 24px; top: 92px; height: 140px; }
.s300x600 .lines span {
  display: block;
  height: 1px;
  margin-bottom: 22px;
  background: #16171a;
  opacity: 0.14;
  transform-origin: left center;
}

/* ---------- 320×100 ---------- */
.s320x100 .logo { left: 14px; top: 14px; font-size: 12px; }
.s320x100 .label { display: none; }
.s320x100 .count { left: 12px; top: 40px; font-size: 52px; }
.s320x100 .bar { left: 132px; right: 14px; top: 64px; height: 5px; }
.s320x100 .claim { left: 132px; top: 22px; font-size: 19px; }
.s320x100 .tagline { left: 14px; top: 40px; font-size: 22px; }
.s320x100 .cta { right: 14px; top: 50%; margin-top: -17px; height: 34px; padding: 0 12px; font-size: 11px; }
