/* First screen of the approved GAZOIL campaign design. */
:root {
  --neon-navy: #061b48;
  --neon-lime: #e6ff35;
  --neon-sky: #e9f5ff;
}
.neon-header {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  gap: 2vw; min-height: 85px; padding: 12px 5.1vw; background: linear-gradient(100deg,#061739,#08265c 70%,#0b3268);
  border-bottom: 1px solid #bad6ff25;
}
.neon-logo { flex: 0 0 auto; width: clamp(108px,12.2vw,193px); aspect-ratio: 296/93; display: block; }
.neon-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.neon-links { display: flex; align-items: center; gap: clamp(14px,2.25vw,38px); color: #edf5ff; font-size: clamp(.78rem,1.02vw,1rem); font-weight: 630; white-space: nowrap; }
.neon-links > :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: inherit; text-align: start; text-decoration: none; }
.neon-tools { display: flex; align-items: center; gap: clamp(12px,1.4vw,25px); }
.neon-languages { display:flex; align-items:center; gap: 4px; font-size: .82rem; font-weight: 640; white-space: nowrap; }
.neon-languages button { min-width: 34px; min-height: 44px; border: 0; padding: 0; background: transparent; color: #e3f0ff; }
.neon-languages button[aria-pressed="true"] { color: #fff; text-decoration: underline var(--neon-lime) 2px; text-underline-offset: 7px; }
.neon-account { display:inline-flex; align-items:center; gap:9px; min-height: 44px; padding: 8px 13px; border: 1px solid #d5f847; border-radius: 8px; background: transparent; color: #f8fcff; font-size: .89rem; font-weight: 680; white-space: nowrap; }
.neon-menu { display:none; }
.neon-header :focus-visible, .neon-hero :focus-visible { outline-color: var(--neon-lime); }
.neon-person { position: relative; flex: 0 0 15px; height:17px; }
.neon-person::before { content:''; position:absolute; inset: 0 4px auto; aspect-ratio: 1; border: 1.5px solid currentColor; border-radius:50%; }
.neon-person::after { content:''; position:absolute; inset:auto 1px 0; height: 7px; border:1.5px solid currentColor; border-bottom:0; border-radius:7px 7px 0 0; }

.neon-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: calc(100svh - 85px); overflow: hidden; border-bottom: 1px solid #94c2f340; background: var(--neon-navy); color: var(--neon-sky); }
.neon-scene { position: absolute; z-index: -1; inset: 0; isolation: isolate; overflow: hidden; background: #092d6a; }
.neon-photo { position: absolute; inset: 0; display: block; }
.neon-station { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.neon-grade { position: absolute; inset: 0; background:
  linear-gradient(90deg,#061b49f9 0%,#061b49eb 16%,#061b49bd 28%,#061b4977 39%,#061b4900 62%),
  linear-gradient(0deg,#061b4ac7 0%,#061b4a15 24%,transparent 72%,#0827628c 100%); }
.neon-skyline { position:absolute; pointer-events:none; width:64vw; height:35vw; right: -13vw; top: 8.5%; transform: rotate(-13deg); border: 2px solid transparent; border-top: 2px solid #91e5ffb7; border-radius:50%; filter: drop-shadow(0 0 5px #39ccff) drop-shadow(0 0 14px #008cfa); opacity: .76; }
.neon-roadline { position:absolute; pointer-events:none; width:66vw; height:25vw; right:-15vw; bottom:8%; transform:rotate(-16deg); border: 4px solid transparent; border-bottom: 4px solid #dbff45db; border-radius:50%; filter:drop-shadow(0 0 7px #c6f738) drop-shadow(0 0 22px #2da1ff); opacity:.76; }
.neon-phone-halo { position: absolute; right: -8%; top: 4%; width: 44%; height: 95%; background: radial-gradient(ellipse at 62% 58%,#0779f559,transparent 74%); }

.neon-copy { position: relative; z-index: 1; width: min(52%, 760px); padding: 52px 0 73px 5.1vw; }
.neon-region { display:flex; align-items:center; gap: 11px; margin-bottom: 25px; color: #edf6ff; font-size:clamp(.86rem,1.27vw,1.12rem); font-weight:630; }
.neon-pin { position:relative; flex:0 0 12px; height:12px; margin:0 2px 2px; border-radius:8px 8px 8px 0; border:2px solid var(--neon-lime); transform:rotate(-45deg); }
.neon-pin::after { content:''; position:absolute; inset:2px; border:1px solid var(--neon-lime); border-radius:50%; }
.neon-hero h1 { font-weight: 840; font-size: clamp(3.05rem,5.28vw,6.25rem); line-height: .97; letter-spacing: -.067em; font-style: italic; color: #fff; }
.neon-hero h1 span { display:block; }
.neon-hero h1 .neon-main-line { white-space: nowrap; }
:is([lang="kk"],[lang="en"]) .neon-hero h1 .neon-main-line { white-space: normal; }
.neon-hero h1 .neon-highlight { color: var(--neon-lime); }
.neon-hero h1 .neon-highlight-first { margin-top: .105em; }
.neon-description { max-width: 27.2em; margin-top:30px; font-size: clamp(.98rem,1.29vw,1.25rem); font-weight: 490; line-height:1.5; color:#f2f7ff; }
.neon-actions { display:flex; flex-wrap:wrap; align-items:stretch; gap: 13px; margin-top: 36px; }
.neon-action { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:clamp(47px,4.25vw,61px); padding: 12px clamp(14px,1.6vw,24px); border: 1.5px solid transparent; border-radius: 10px; white-space:nowrap; font-weight:735; font-size:clamp(.81rem,1.12vw,1.05rem); line-height:1.2; transition: background-color 160ms ease, transform 140ms var(--ease); }
.neon-action:active { transform: translateY(1px); }
.neon-primary { background: var(--neon-lime); color: #0c2351; box-shadow: 0 9px 34px #253e7694; }
.neon-secondary { background: #081c4c67; border-color: #ebf3ff; color: #fff; }
.neon-download-icon,.neon-contract-icon { position:relative; flex:0 0 15px; height:20px; border:1.8px solid currentColor; border-radius: 3px; }
.neon-download-icon::after { content:''; position:absolute; inset:auto 2px 2px; border-top:1.5px solid currentColor; }
.neon-contract-icon { height:18px; }
.neon-contract-icon::after { content:''; position:absolute; inset:4px 2px auto; height:5px; border-block:1.5px solid currentColor; }

.neon-device { position:absolute; z-index:1; top:51%; right:6.8%; width: clamp(214px,17.65vw,304px); aspect-ratio: .526; transform: translateY(-50%) perspective(1100px) rotateY(-17deg) rotateX(6deg) rotateZ(10deg); transform-origin: center; }
.neon-device-shell { position:absolute; inset:0; border-radius: 14.4% / 7.8%; padding: 6px; background: linear-gradient(160deg,#e5f9ff 1%,#386eac 13%,#0e2338 32%,#99cbea 56%,#2a6192 66%,#020b22 86%,#6cb1ed 100%); border:1px solid #b9e5ff; box-shadow: -3px -1px 6px #cbf7ff, 0 0 27px #0497ff9c, 0 26px 42px #021340d1; }
.neon-device-shell::after { content:''; position:absolute; z-index:2; inset: 2px; border-radius:inherit; box-shadow:inset 0 0 0 1px #b2ecff72; pointer-events:none; }
.neon-screen {
  position:relative; width:100%; height:100%; overflow:hidden; container-type:inline-size;
  border:4px solid #061329; border-radius: 13.6% / 7.4%;
  background:radial-gradient(ellipse at 96% 23%,#1867df,transparent 58%),linear-gradient(155deg,#103c99,#071c4b 88%);
}
.neon-rewards { padding:16cqi 7cqi 7cqi; color:#fff; line-height:1.08; }
.neon-rewards-logo { width:36cqi; height:auto; margin-bottom:5cqi; filter:brightness(0) invert(1); }
.neon-rewards h2 { font-size:9.35cqi; font-weight:820; letter-spacing:-.035em; }
.neon-cashback {
  display:grid; grid-template-columns:1fr auto; align-items:center; gap:3cqi 2cqi;
  margin-top:6cqi; padding:5.5cqi; border-radius:5.5cqi; background:var(--neon-lime); color:#10274b;
}
.neon-cashback-value { font-size:22cqi; font-weight:850; letter-spacing:-.06em; line-height:.9; }
.neon-cashback p { grid-column:1/-1; max-width:25ch; color:#112b46; font-size:max(8px,5.75cqi); font-weight:690; line-height:1.15; }
.neon-bonus-coin {
  position:relative; display:grid; place-items:center; width:25cqi; aspect-ratio:1; overflow:hidden;
  border:1cqi solid #a5de18; border-radius:50%; color:#173833;
  background:linear-gradient(135deg,#fcffb9,#eaff48 33%,#b6e915 66%,#efff61);
  box-shadow:inset 0 0 0 1cqi #f5ff8e,1.7cqi 2.2cqi 0 #748e1a,2.9cqi 3.4cqi 4.8cqi #66841866;
  transform:rotate(13deg) scaleX(.91); font-size:15cqi; font-style:normal; font-weight:790; line-height:1;
}
.neon-bonus-coin::after {
  content:''; position:absolute; inset:-15% auto -15% -80%; width:43%;
  background:linear-gradient(90deg,transparent,#fffbd5a8,transparent); transform:skewX(-25deg);
}
.neon-discounts { margin:4.5cqi 0 0; }
.neon-discounts > div { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:3cqi; padding:3cqi 0; border-bottom:1px solid #a5cff05e; }
.neon-discounts dt { font-size:max(8px,5.8cqi); font-weight:670; }
.neon-discounts dd { margin:0; text-align:right; line-height:1; }
.neon-discounts dd span { display:block; color:var(--neon-lime); font-size:8.5cqi; font-weight:800; white-space:nowrap; }
.neon-discounts dd small { display:block; margin-top:1cqi; color:#d5e7ff; font-size:max(7px,4.35cqi); white-space:nowrap; }
.neon-rewards-note { margin-top:4cqi; color:#d5e7ff; font-size:max(8px,5.3cqi); line-height:1.2; }
@container (max-width:120px) {
  .neon-rewards { padding-block:14cqi 4cqi; }
  .neon-rewards-logo { width:31cqi; margin-bottom:3cqi; }
  .neon-cashback { margin-top:4cqi; padding:4.5cqi; }
  .neon-discounts { margin-top:3cqi; }
  .neon-discounts > div { padding-block:2cqi; }
}
.neon-screen::after { content:''; position:absolute; inset:0; background: linear-gradient(133deg,#c6f1ff2b,transparent 25%,transparent 85%,#8cdaff24); pointer-events:none; }
.neon-camera-slot { position:absolute; top:3.1%; left:50%; z-index:1; width:24%; height:4.1%; border-radius:24px; transform:translateX(-50%); background: #01112a; box-shadow:0 0 0 1px #1536616c; }
.neon-camera-slot::after { content:''; position:absolute; right:11%; top:28%; width:12%; aspect-ratio:1; border-radius:50%; background: radial-gradient(circle at 38% 40%,#4165a1,#142448 55%,#050a1b 73%); }
.neon-side-key { position:absolute; z-index:1; inset: 24% -2.2% auto auto; width:2.2%; height:10.5%; border-radius:2px; background:linear-gradient(90deg,#224776,#cce9fa 40%,#1b3762 92%); }

@media (max-width:1240px) {
  .neon-links { gap: 15px; }
  .neon-header { gap: 12px; padding-inline:4vw; }
  .neon-copy { padding-inline-start:4.5vw; width:54%; }
}
@media (max-width:1100px) {
  .neon-links { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 5% 14px; border-bottom: 1px solid #b8d7ff4d; background: #0a2350; box-shadow: 0 16px 28px #020b24a1; font-size: .96rem; }
  .neon-links[data-open="true"] { display: flex; }
  .neon-links > :is(a,button):not(:last-child) { border-bottom: 1px solid #b8d7ff2e; }
  .neon-menu { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c6daff45; border-radius: 8px; background: transparent; color: #f3f9ff; }
  .neon-menu i { position: relative; display: block; width: 17px; height: 12px; border-block: 1px solid currentColor; }
  .neon-menu i::after { content: ''; position: absolute; inset: 4.5px 0 auto; border-top: 1px solid currentColor; }
  .neon-device { right:6.4%; }
}
@media (max-width:750px) {
  .neon-header { min-height:66px; padding:8px 4.5%; }
  .neon-account { min-height:44px; gap:7px; padding:7px 9px; font-size:.8125rem; line-height:1.15; }
  .neon-tools { gap:8px; }
  .neon-languages { gap:3px; }
  #account-dialog .dialog-links { gap:8px; }
  #account-dialog .dialog-links a {
    min-height:48px;
    padding:9px 12px;
    border:1px solid #bdd7f1;
    border-radius:8px;
    background:#eef6fe;
    color:#123467;
    text-decoration:none;
  }
  #account-dialog .dialog-links a:active { background:#dceeff; }
  .neon-hero { display:flex; flex-direction:column; min-height:0; }
  .neon-copy { width:100%; padding:30px 5% 19px; background: radial-gradient(ellipse at 95% 90%,#0b387c,#061b48 77%); }
  .neon-hero h1 { font-size:clamp(2.22rem,8.9vw,4.4rem); }
  .neon-hero h1 .neon-main-line { white-space:normal; }
  .neon-hero h1 .neon-highlight { display:inline; }
  .neon-region { margin-bottom:19px; }
  .neon-description { margin-top:16px; font-size:.94rem; }
  .neon-actions { gap:7px; margin-top:22px; }
  .neon-action { flex:1; min-height:47px; gap:7px; padding:8px 7px; white-space:normal; }
  .neon-scene { position:relative; z-index:0; width:100%; min-height:327px; height:75vw; max-height:465px; }
  .neon-station { object-position:92% center; }
  .neon-grade { background:linear-gradient(180deg,#092a6a 0%,#061b4a17 17%,transparent 55%,#061b4a70 100%); }
  .neon-device { top:51%; right:8.2%; width:clamp(128px,33vw,178px); }
  .neon-device-shell { padding:3px; }
  .neon-screen { border-width:2px; }
  .neon-skyline { top:10%; right:-2%; width:72%; height:50%; }
  .neon-roadline { right:-17%; bottom:9%; width:80%; height:60%; }
}

@media (max-width:500px) {
  .neon-header { display:grid; grid-template-columns:minmax(70px,1fr) minmax(0,max-content) 44px; gap:0 9px; padding-bottom:2px; }
  .neon-logo { grid-area:1 / 1; max-width:100%; }
  .neon-tools { display:contents; }
  .neon-account { grid-area:1 / 2; min-width:0; justify-content:center; white-space:normal; overflow-wrap:anywhere; }
  .neon-menu { grid-area:1 / 3; }
  .neon-languages { grid-column:1 / -1; grid-row:2; gap:5px; margin-top:5px; border-top:1px solid #bad6ff25; }
  .neon-languages button { min-width:44px; }
}

@media (max-width:360px) {
  .neon-header { column-gap:8px; }
  .neon-logo { width:92px; }
  .neon-account { gap:6px; padding-inline:7px; }
}

@media (hover: hover) and (pointer: fine) {
  .neon-links > :is(a,button):hover { color: var(--neon-lime); }
  .neon-primary:hover { background-color: #f0ff72; }
  .neon-secondary:hover, .neon-account:hover, .neon-menu:hover { background-color: #1a407c; }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-neon-pending] :is(.neon-photo,.neon-device) { opacity: 0; }
  .neon-entering .neon-photo { animation: neon-station-rise 1240ms var(--ease) both; }
  .neon-entering .neon-device { animation: neon-device-in 980ms var(--ease) 80ms both; }
  .neon-entering .neon-bonus-coin::after { animation: neon-coin-glint 560ms var(--ease) 480ms both; }
  .neon-entering :is(.neon-skyline,.neon-roadline) { animation: neon-light-in 1100ms var(--ease) both; }
}

@keyframes neon-station-rise {
  from { opacity: .2; clip-path: polygon(0 94%,100% 49%,100% 100%,0 100%); transform: scale(1.025); }
  44% { opacity: 1; }
  to { opacity: 1; clip-path: polygon(0 -1%,100% -46%,100% 100%,0 100%); transform: scale(1); }
}
@keyframes neon-device-in {
  from { opacity: 0; transform: translate(25px,calc(-50% + 14px)) perspective(1100px) rotateY(-21deg) rotateX(7deg) rotateZ(13deg) scale(.96); }
  to { opacity: 1; }
}
@keyframes neon-light-in {
  from { opacity: .08; }
  to { opacity: .76; }
}
@keyframes neon-coin-glint {
  to { transform:translateX(465%) skewX(-25deg); }
}
