*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #0b0f14;
  color: #e8eef5;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
main {
  text-align: center;
  max-width: 28rem;
}
.props {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  line-height: 1;
}
.face {
  font-size: clamp(4rem, 18vw, 7rem);
}
.cigar {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: clamp(5.5rem, 22vw, 8.5rem);
  height: clamp(1.15rem, 4.2vw, 1.7rem);
  margin-left: 0.15rem;
  transform: rotate(-12deg);
  transform-origin: left center;
}
.cigar .ash {
  width: 12%;
  height: 92%;
  background: linear-gradient(90deg, #6b6560, #9a948c);
  border-radius: 2px 0 0 2px;
  flex-shrink: 0;
}
.cigar .body {
  width: 58%;
  height: 100%;
  background: linear-gradient(180deg, #8b5a2b 0%, #6b3f1a 45%, #4a2a10 100%);
  border-radius: 1px;
  flex-shrink: 0;
}
.cigar .band {
  position: absolute;
  left: 38%;
  width: 14%;
  height: 108%;
  top: -4%;
  background:
    linear-gradient(180deg, #c9a227 0%, #f0d060 40%, #a8841a 100%);
  border-left: 1px solid #5c4010;
  border-right: 1px solid #5c4010;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 140, 0.35);
  z-index: 1;
}
.cigar .tip {
  width: 18%;
  height: 100%;
  background: linear-gradient(180deg, #7a4a22 0%, #5a3214 100%);
  border-radius: 0 3px 3px 0;
  flex-shrink: 0;
}
.cigar .glow {
  width: 12%;
  height: 100%;
  margin-left: -2%;
  background: radial-gradient(circle at 70% 50%, #ffb040 0%, #ff5a00 55%, #8b1a00 100%);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px 3px rgba(255, 100, 20, 0.55);
  flex-shrink: 0;
  animation: ember 1.8s ease-in-out infinite alternate;
}
.cigar .smoke {
  position: absolute;
  right: -0.35rem;
  top: -1.6rem;
  width: 1.4rem;
  height: 2rem;
  pointer-events: none;
}
.cigar .smoke i {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 210, 220, 0.35);
  filter: blur(2px);
  animation: rise 2.4s ease-out infinite;
}
.cigar .smoke i:nth-child(2) {
  left: 55%;
  animation-delay: 0.7s;
  width: 10px;
  height: 10px;
}
.cigar .smoke i:nth-child(3) {
  left: 30%;
  animation-delay: 1.3s;
  width: 7px;
  height: 7px;
}
@keyframes ember {
  from { filter: brightness(0.9); box-shadow: 0 0 8px 2px rgba(255, 90, 20, 0.4); }
  to   { filter: brightness(1.15); box-shadow: 0 0 14px 4px rgba(255, 120, 30, 0.7); }
}
@keyframes rise {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  20%  { opacity: 0.55; }
  100% { transform: translate(6px, -28px) scale(1.5); opacity: 0; }
}
h1 {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.sub {
  margin: 0;
  color: #8b9bb0;
  font-size: 1rem;
  line-height: 1.45;
}
