/* BlackCopper homepage v3 opening: brand intro (.bci), counter scene (.bcs), printing receipt (.bcr) */
:root { --bc-cu: #c8834e; --bc-cu-2: #e6a774; --bc-arc: #2e8ac0; }

/* ---------- 2 · Brand intro ---------- */
.bci { position: relative; min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); background: radial-gradient(120% 90% at 50% 38%, #0b1622 0%, #05080c 55%, #000 100%); color: #f5f5f7; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; text-align: center; }
.bci__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.bci__glow { position: absolute; left: 50%; top: 44%; width: 70vmax; height: 70vmax; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(46,138,192,.20), rgba(200,131,78,.07) 55%, transparent 72%); z-index: -1; pointer-events: none; animation: bciBreath 7s ease-in-out infinite; }
@keyframes bciBreath { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .8; } }
.bci__inner { position: relative; padding: 56px 20px 96px; width: 100%; max-width: 980px; }
.bci__logo { width: min(760px, 88vw); margin: 0 auto; }
.bci__svg { display: block; width: 100%; height: auto; overflow: visible; }
.bci-ring { fill: none; stroke: #fff; stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 139px 139.5px; }
.bci-arc { fill: none; stroke: var(--bc-arc); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bci-pulse { fill: none; stroke: var(--bc-arc); stroke-width: 2; opacity: 0; transform-origin: 139px 139.5px; }
.bci-l, .bci-tri, .bci-bar, .bci-line { opacity: 0; }
.bci-marks { transform-origin: 139px 139.5px; transform: scale(.4) rotate(-120deg); }
.bci-black, .bci-copper { transform: translateY(26px); }
.bci-tri { fill: var(--bc-arc); transform: translateX(70px); }
.bci-line { fill: #fff; transform-origin: 10px 279px; transform: scaleX(0); }
.bci-tag { transform: translateX(-18px); letter-spacing: 0; }
.bci-bar { fill: #fff; transform: translateX(60px); }
.bci__lead { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.45; color: rgba(245,245,247,.78); margin: 38px auto 30px; max-width: 640px; opacity: 0; transform: translateY(14px); }
.bci__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(14px); }
.bci__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); opacity: 0; }
.bci__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: bciScroll 1.8s ease-in-out infinite; }
@keyframes bciScroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.bci.is-play .bci-ring { animation: bciDraw 1.1s cubic-bezier(.65,0,.35,1) .1s forwards; }
.bci.is-play .bci-arc { animation: bciDraw .9s cubic-bezier(.65,0,.35,1) .55s forwards; }
.bci.is-play .bci-marks { animation: bciMarks .8s cubic-bezier(.2,1.4,.4,1) .75s forwards; }
.bci.is-play .bci-black { animation: bciUp .8s cubic-bezier(.2,.8,.2,1) 1s forwards; }
.bci.is-play .bci-copper { animation: bciUp .8s cubic-bezier(.2,.8,.2,1) 1.15s forwards; }
.bci.is-play .bci-tri { animation: bciIn .55s cubic-bezier(.2,.9,.2,1.15) 1.55s forwards; }
.bci.is-play .bci-line { animation: bciLine .8s cubic-bezier(.65,0,.35,1) 1.7s forwards; }
.bci.is-play .bci-tag { animation: bciIn .8s ease-out 2.05s forwards; }
.bci.is-play .bci-bar { animation: bciIn .6s cubic-bezier(.2,.9,.2,1.1) 2.25s forwards; }
.bci.is-play .bci-pulse { animation: bciPulse 3.2s ease-out 2.6s infinite; }
.bci.is-play .bci-pulse--2 { animation-delay: 4.2s; }
.bci.is-play .bci__lead { animation: bciUp .9s ease-out 2.45s forwards; }
.bci.is-play .bci__ctas { animation: bciUp .9s ease-out 2.65s forwards; }
.bci.is-play .bci__scroll { animation: bciUp .9s ease-out 3.1s forwards; }
@keyframes bciDraw { to { stroke-dashoffset: 0; } }
@keyframes bciMarks { to { opacity: 1; transform: none; } }
@keyframes bciUp { to { opacity: 1; transform: none; } }
@keyframes bciIn { to { opacity: 1; transform: none; } }
@keyframes bciLine { 0% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes bciPulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.bci.is-done .bci-ring, .bci.is-done .bci-arc { stroke-dashoffset: 0; }

/* ---------- 3 · Counter scene ---------- */
.bcs { position: relative; background: linear-gradient(180deg, #000 0%, #070b10 40%, #0c1118 100%); color: #f5f5f7; padding: 110px 0 90px; overflow: hidden; }
.bcs__head { text-align: center; position: relative; z-index: 1; }
.bcs__grad { background: linear-gradient(90deg, #6fc3ff 0%, var(--bc-arc) 40%, var(--bc-cu-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bcs__sub { color: rgba(245,245,247,.6); font-size: 17px; margin: 18px 0 0; }
.bcs__stage { position: relative; width: min(1240px, 96vw); margin: 40px auto 0; aspect-ratio: 1240 / 600; }
.bcs__floor { position: absolute; left: -6%; right: -6%; bottom: 0; height: 58%; background: radial-gradient(60% 70% at 50% 30%, rgba(46,138,192,.16), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 70%); border-top: 1px solid rgba(255,255,255,.07); transform: perspective(900px) rotateX(58deg); transform-origin: 50% 0; top: 52%; }
.bcs__beam { position: absolute; left: 50%; top: -30%; width: 70%; height: 120%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 55%, rgba(120,160,200,.16), rgba(46,138,192,.05) 45%, transparent 72%); pointer-events: none; }
.bcs-item { position: absolute; display: block; color: inherit; z-index: 2; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .5s ease, filter .5s ease; -webkit-tap-highlight-color: transparent; }
.bcs-item img { display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 30px rgba(0,0,0,.65)); -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgba(255,255,255,.16)); transition: filter .5s ease; }
.bcs-item:hover, .bcs-item:focus-visible { color: inherit; }
/* layout: back row */
.bcs-item--lbl  { left: 1%;    width: 17.5%; bottom: 30%; }
.bcs-item--rcp  { left: 19.5%; width: 11.5%; bottom: 30%; }
.bcs-item--pos  { left: 33%;   width: 24%;   bottom: 27%; z-index: 1; }
.bcs-item--scn  { left: 59.5%; width: 11.5%; bottom: 33%; }
.bcs-item--hpos { left: 76%;   width: 15.5%; bottom: 31%; }
/* front row */
.bcs-item--sw   { left: 4%;    width: 31%;   bottom: 3%; z-index: 3; }
.bcs-item--cash { left: 66%;   width: 23%;   bottom: 0;  z-index: 3; }
.bcs__stage.is-focus .bcs-item { opacity: .5; filter: saturate(.4); }
.bcs__stage.is-focus .bcs-item.is-on { opacity: 1; filter: none; transform: translateY(-14px) scale(1.04); z-index: 5; }
.bcs-item.is-on img { filter: drop-shadow(0 34px 34px rgba(0,0,0,.7)) drop-shadow(0 0 26px rgba(46,138,192,.45)); }
.bcs-dot { position: absolute; left: 50%; top: 26%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(46,138,192,.55); pointer-events: none; transition: opacity .3s; }
.bcs-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(110,195,255,.9); animation: bcsPing 2.2s ease-out infinite; }
@keyframes bcsPing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.bcs-item.is-on .bcs-dot { opacity: 0; }
.bcs-card { position: absolute; left: 50%; bottom: calc(100% + 18px); transform: translate(-50%, 10px); min-width: 230px; padding: 14px 18px 15px; border-radius: 16px; background: rgba(18,20,24,.9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.5); text-align: left; opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.bcs-card::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 18px; background: linear-gradient(rgba(255,255,255,.5), transparent); }
.bcs-card__k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-cu-2); }
.bcs-card__n { display: block; font-size: 16px; font-weight: 600; color: #fff; margin: 5px 0 8px; letter-spacing: -.01em; }
.bcs-card__go { font-size: 14px; color: #6fc3ff; }
.bcs-item.is-on .bcs-card { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bcs-item--sw .bcs-card, .bcs-item--cash .bcs-card { bottom: calc(100% + 8px); }
.bcs__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 46px; position: relative; z-index: 3; }
.bcs-chip { appearance: none; border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; font: 500 14px/1 var(--bc-font); color: rgba(245,245,247,.82); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .25s, color .25s, box-shadow .25s; }
.bcs-chip:hover, .bcs-chip.is-on { background: #fff; color: #000; box-shadow: none; }

/* ---------- 1 · Printing receipt ---------- */
.bcr { background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%); padding: 70px 0 100px; overflow: hidden; }
.bcr__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.bcr__copy { padding-bottom: 150px; }
.bcr__sub { font-size: 19px; line-height: 1.5; color: var(--bc-muted); margin: 22px 0 32px; max-width: 520px; }
.bcr__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bcr__device { --w: 380px; position: relative; width: var(--w); margin: 0 auto; padding-top: 375px; }
.bcr__printer { position: relative; display: block; width: 100%; height: auto; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.bcr__shadow { position: absolute; left: 8%; right: 8%; bottom: -14px; height: 30px; background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent); z-index: 0; }
/* slot sits 33.4% down the photo; window bottom = slot line */
.bcr__paperwin { position: absolute; left: 20.6%; width: 58.8%; bottom: calc(var(--w) * .838); height: 620px; overflow: hidden; z-index: 2; pointer-events: none; }
.bcr__paper { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(100%); background: linear-gradient(90deg, #f1efe9, #fcfbf8 12%, #fffefb 50%, #fcfbf8 88%, #efede6); color: #26272a; box-shadow: 0 10px 30px rgba(0,0,0,.12), inset 0 -26px 22px -18px rgba(0,0,0,.18); pointer-events: auto; }
.bcr__paper.is-print { animation: bcrFeed 3.6s steps(46) forwards; }
.bcr__paper.is-done { transform: none; animation: bcrCut .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes bcrFeed { to { transform: none; } }
@keyframes bcrCut { 0% { transform: translateY(3px); } 100% { transform: none; } }
.bcr__tear { height: 7px; background: linear-gradient(-45deg, transparent 3.5px, #fdfcf9 0) 0 0 / 7px 7px repeat-x, linear-gradient(45deg, transparent 3.5px, #fdfcf9 0) 0 0 / 7px 7px repeat-x; margin-top: -7px; }
.bcr__rc { padding: 18px 18px 28px; font: 500 12.5px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .02em; text-align: center; }
.bcr__rc :where(p) { margin: 0; color: #26272a; font-size: 1em; line-height: inherit; }
.bcr__brand { font: 800 21px/1.1 var(--bc-font) !important; letter-spacing: .16em !important; }
.bcr__brand sup { font-size: 9px; top: -1em; }
.bcr__tagl { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; margin-top: 4px !important; }
.bcr__meta { display: flex; justify-content: space-between; margin-top: 12px !important; font-size: 11px; color: #55575c !important; }
.bcr__rule { border-top: 1.5px dashed #9a9ca1; margin: 10px 0 !important; }
.bcr__h { font-weight: 800; letter-spacing: .2em; margin-bottom: 4px !important; }
.bcr-line { display: flex; align-items: baseline; gap: 6px; color: #26272a; text-decoration: none; padding: 2px 0; }
.bcr-line span { white-space: nowrap; }
.bcr-line i { flex: 1; border-bottom: 1.5px dotted #a9abb0; transform: translateY(-3px); }
.bcr-line b { font-weight: 800; color: var(--bc-arc); }
.bcr-line:hover { color: var(--bc-cu); }
.bcr-line:hover span { text-decoration: underline; text-underline-offset: 3px; }
.bcr__tot { display: flex; justify-content: space-between; }
.bcr__tot--big { font-size: 16px; font-weight: 800; margin-top: 4px !important; }
.bcr__bc { display: block; width: 86%; height: 52px; margin: 10px auto 4px; fill: #1d1e20; }
.bcr__thanks { font-weight: 700; letter-spacing: .26em; font-size: 11px; margin-top: 8px !important; }
.bcr__device.is-print .bcr__printer { animation: bcrHum .12s linear 30; }
@keyframes bcrHum { 50% { transform: translateY(.6px); } }

@media (max-width: 991px) {
  .bcr__grid { grid-template-columns: 1fr; }
  .bcr__copy { padding-bottom: 0; text-align: center; }
  .bcr__sub { margin-left: auto; margin-right: auto; }
  .bcr__ctas { justify-content: center; }
}
@media (max-width: 767px) {
  .bci__inner { padding: 40px 16px 90px; }
  .bci__ctas .bc-btn { flex: 1 1 100%; }
  .bcs { padding: 80px 0 64px; }
  .bcs__scroller { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-top: 120px; margin-top: -80px; }
  .bcs__scroller::-webkit-scrollbar { display: none; }
  .bcs__stage { width: 165vw; margin: 0; }
  .bcs-card { min-width: 0; padding: 11px 14px; transform: translate(-50%, 6px) scale(.92); }
  .bcs-item.is-on .bcs-card { transform: translate(-50%, 0) scale(.92); }
  .bcs-card__n { font-size: 14px; }
  .bcs-dot { width: 11px; height: 11px; margin: -5px 0 0 -5px; }
  .bcs__chips { margin-top: 30px; gap: 8px; }
  .bcs-chip { padding: 8px 13px; font-size: 13px; }
  .bcr { padding: 80px 0 70px; }
  .bcr__device { --w: 270px; padding-top: 320px; margin-top: 24px; }
  .bcr__paperwin { height: 560px; }
  .bcr__rc { padding: 14px 10px 22px; font-size: 9.6px; }
  .bcr__brand { font-size: 15px !important; }
  .bcr__tagl, .bcr__meta, .bcr__thanks { font-size: 8.5px; }
  .bcr__tot--big { font-size: 12px; }
  .bcr__bc { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .bci-ring, .bci-arc { stroke-dashoffset: 0; }
  .bci-l, .bci-tri, .bci-bar, .bci-line, .bci__lead, .bci__ctas, .bci__scroll { opacity: 1 !important; transform: none !important; animation: none !important; }
  .bci-pulse, .bci__glow, .bcs-dot::after { animation: none !important; }
  .bcr__paper { transform: none; animation: none !important; }
}
