/* =========================================
   PIXEL STORE — SOCIAL LANDING PAGE
   ========================================= */

:root {
  --bg: #080d17;
  --bg-soft: #0d1523;
  --card: rgba(18, 29, 46, 0.72);
  --card-hover: rgba(24, 38, 59, 0.88);
  --text: #f4f7fb;
  --muted: #91a0b5;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #4da3ff;
  --blue-soft: #76c7ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background */
.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(55, 142, 229, 0.17), transparent 38%),
    linear-gradient(145deg, #080d17 0%, #0a111d 48%, #080d17 100%);
}

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(100, 170, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 170, 230, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.13;
  animation: float 10s ease-in-out infinite alternate;
}

.glow-one {
  background: #168cff;
  top: 8%;
  left: -180px;
}

.glow-two {
  background: #7a5cff;
  right: -180px;
  top: 45%;
  animation-delay: -4s;
}

@keyframes float {
  from { transform: translateY(-20px); }
  to { transform: translateY(30px); }
}

/* Layout */
.page {
  width: min(100% - 32px, 560px);
  margin: 0 auto;
  padding: 44px 0 28px;
}

/* Hero */
.hero {
  text-align: center;
  animation: reveal 0.8s ease both;
}

.brand-mark {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 17px;
  border: 1px solid rgba(118, 199, 255, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 55, 83, 0.72), rgba(8, 13, 23, 0.94));
  box-shadow:
    inset 0 0 24px rgba(77, 163, 255, 0.12),
    0 0 0 5px rgba(77, 163, 255, 0.035),
    0 14px 45px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.pixel {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(135deg, #bfe9ff, #4da3ff);
  box-shadow: 0 0 15px rgba(77, 163, 255, 0.45);
}

.p1 { left: 17px; top: 17px; }
.p2 { left: 32px; top: 17px; opacity: .8; }
.p3 { left: 47px; top: 17px; opacity: .55; }
.p4 { left: 17px; top: 32px; opacity: .75; }
.p5 { left: 32px; top: 32px; }
.p6 { left: 47px; top: 32px; opacity: .8; }
.p7 { left: 32px; top: 47px; opacity: .65; }

.verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  margin-bottom: 13px;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 999px;
  color: #9fd5ff;
  background: rgba(77, 163, 255, 0.07);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 9px;
}

h1 {
  font-size: clamp(38px, 11vw, 62px);
  line-height: 0.95;
  letter-spacing: 0.015em;
  font-weight: 800;
}

h1 span {
  color: #76c7ff;
  text-shadow: 0 0 30px rgba(77, 163, 255, 0.25);
}

.tagline {
  margin-top: 13px;
  color: #c6d0de;
  font-size: 15px;
  font-weight: 600;
}

.intro {
  max-width: 440px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* Sections */
.links-section {
  margin-top: 43px;
}

.section-heading {
  margin-bottom: 15px;
}

.eyebrow {
  color: #6faedb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-heading h2,
.about-card h2 {
  margin-top: 5px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

/* Social Cards */
.social-list {
  display: grid;
  gap: 10px;
}

.social-card {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: rgba(118, 199, 255, 0.22);
  box-shadow: var(--shadow);
}

.social-card:active {
  transform: scale(0.985);
}

.social-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-right: 13px;
  border-radius: 13px;
  color: white;
  background: #1877f2;
  font-size: 25px;
  font-weight: 800;
}

.instagram .social-icon {
  background: linear-gradient(145deg, #6937f4, #e9458d 55%, #ffb13b);
}

.tiktok .social-icon {
  background: linear-gradient(145deg, #111, #26303b);
}

.whatsapp .social-icon {
  background: #1ebc63;
}

.telegram .social-icon {
  background: #229ed9;
  font-size: 20px;
}

.instagram-icon {
  font-size: 30px;
  font-weight: 400;
}

.social-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.social-text strong {
  font-size: 14px;
  font-weight: 700;
}

.social-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.arrow {
  margin-left: auto;
  color: #7890a9;
  font-size: 20px;
  transition: transform .25s ease, color .25s ease;
}

.social-card:hover .arrow {
  color: #bce5ff;
  transform: translate(2px, -2px);
}

/* About */
.about-card {
  display: flex;
  gap: 15px;
  margin-top: 28px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 27, 43, 0.55);
  backdrop-filter: blur(18px);
}

.about-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 13px;
  color: #b9e4ff;
  background: rgba(77, 163, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.13);
}

.about-card h2 {
  font-size: 18px;
}

.about-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 28, 44, 0.64);
  color: #b9c7d7;
  font-size: 10px;
  font-weight: 700;
  transition: .25s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 199, 255, .22);
  color: white;
}

.action-btn.primary {
  background: rgba(30, 188, 99, 0.09);
  border-color: rgba(30, 188, 99, 0.17);
}

.action-icon {
  font-size: 19px;
}

/* Footer */
footer {
  text-align: center;
  padding: 38px 0 10px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dce6f2;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.mini-pixels {
  display: flex;
  gap: 2px;
  align-items: end;
}

.mini-pixels i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #76c7ff;
}

.mini-pixels i:nth-child(2),
.mini-pixels i:nth-child(4) {
  height: 8px;
}

footer p {
  margin-top: 12px;
  color: #7e8ea2;
  font-size: 11px;
}

footer small {
  display: block;
  margin-top: 8px;
  color: #536276;
  font-size: 9px;
}

/* Entrance */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-card,
.about-card,
.quick-actions {
  animation: reveal 0.65s ease both;
}

.social-card:nth-child(1) { animation-delay: .10s; }
.social-card:nth-child(2) { animation-delay: .16s; }
.social-card:nth-child(3) { animation-delay: .22s; }
.social-card:nth-child(4) { animation-delay: .28s; }
.social-card:nth-child(5) { animation-delay: .34s; }

/* Desktop */
@media (min-width: 700px) {
  .page {
    padding-top: 65px;
  }

  .social-list {
    gap: 11px;
  }

  .social-card {
    min-height: 74px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* Cyberpunk motion layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.018) 0,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: .28;
}

.background::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 1px;
  background: #76c7ff;
  box-shadow: 0 0 18px #4da3ff;
  top: 30%;
  left: -140px;
  opacity: .55;
  animation: scanLine 7s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(0) rotate(-12deg); opacity: 0; }
  8% { opacity: .55; }
  52% { opacity: .55; }
  60%, 100% { transform: translateX(calc(100vw + 280px)) rotate(-12deg); opacity: 0; }
}

.brand-mark {
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: inset 0 0 25px rgba(77,163,255,.06), 0 14px 45px rgba(0,0,0,.25); }
  50% { box-shadow: inset 0 0 32px rgba(77,163,255,.13), 0 0 30px rgba(77,163,255,.08), 0 14px 45px rgba(0,0,0,.25); }
}

.pixel:nth-child(odd) { animation: pixelBlink 2.8s ease-in-out infinite; }
.pixel:nth-child(even) { animation: pixelBlink 2.8s ease-in-out infinite .45s; }

@keyframes pixelBlink {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; filter: brightness(1.35); }
}

.social-card {
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 180%;
  top: -40%;
  left: -130px;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
  transition: left .7s ease;
}

.social-card:hover::before {
  left: calc(100% + 60px);
}

.social-card:nth-child(1) { animation-delay: .08s; }
.social-card:nth-child(2) { animation-delay: .18s; }
.social-card:nth-child(3) { animation-delay: .28s; }
.social-card:nth-child(4) { animation-delay: .38s; }
.social-card:nth-child(5) { animation-delay: .48s; }

@media (max-width: 420px) {
  .page {
    width: min(100% - 22px, 560px);
    padding-top: 30px;
  }

  .intro {
    font-size: 12px;
    padding: 0 6px;
  }

  .social-card {
    min-height: 64px;
    border-radius: 15px;
  }

  .social-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    margin-right: 11px;
  }

  .social-text strong { font-size: 13px; }
  .social-text small { font-size: 9px; }

  .quick-actions {
    gap: 7px;
  }
}

@media (min-width: 900px) {
  .page {
    width: 620px;
  }

  .social-card {
    min-height: 78px;
    padding: 13px 16px;
  }

  .about-card {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark, .pixel, .background::after {
    animation: none !important;
  }
}


/* Real Pixel Store logo */
.brand-mark.real-logo {
  display: grid;
  place-items: center;
  padding: 11px;
  overflow: hidden;
  isolation: isolate;
}

.brand-mark.real-logo::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(118, 199, 255, .45),
    transparent 30%,
    rgba(118, 199, 255, .25),
    transparent 65%
  );
  animation: logoOrbit 5s linear infinite;
}

.brand-mark.real-logo::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 20px;
  background: rgba(8, 13, 23, .88);
  z-index: -1;
}

.brand-mark.real-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 7px rgba(118, 199, 255, .35))
    drop-shadow(0 0 20px rgba(77, 163, 255, .16));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoOrbit {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 7px rgba(118, 199, 255, .35))
      drop-shadow(0 0 20px rgba(77, 163, 255, .16));
  }
  50% {
    transform: scale(1.035);
    filter:
      drop-shadow(0 0 12px rgba(118, 199, 255, .52))
      drop-shadow(0 0 28px rgba(77, 163, 255, .25));
  }
}

@media (max-width: 380px) {
  .page {
    width: min(100% - 22px, 560px);
    padding-top: 30px;
  }

  .brand-mark.real-logo {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }

  .social-card {
    min-height: 64px;
    padding: 9px 10px;
  }

  .social-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    margin-right: 10px;
  }
}


/* =========================================
   STORE NAME — NEXIUM ONLY
   ========================================= */

/*
  Add your properly licensed Nexium webfont here:
  fonts/Nexium-Regular.woff2

  The fallback keeps the page working if the font file
  has not been added yet.
*/
@font-face {
  font-family: "Nexium";
  src: url("./fonts/Nexium-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.store-name {
  font-family: "Nexium", "Inter", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 10.5vw, 62px);
  line-height: 0.95;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(118, 199, 255, 0.14),
    0 0 28px rgba(77, 163, 255, 0.18);
}

.store-name span {
  color: #f4f7fb;
}

.store-name span:last-child {
  color: #76c7ff;
}

.brand-mark.real-logo {
  display: grid;
  place-items: center;
  padding: 5px;
  border-radius: 50%;
  isolation: isolate;
}

.brand-mark.real-logo::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(118, 199, 255, 0.58) 70deg,
    transparent 135deg,
    rgba(77, 163, 255, 0.32) 230deg,
    transparent 300deg
  );
  animation: logoOrbit 5s linear infinite;
}

.brand-mark.real-logo::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(118, 199, 255, 0.12), transparent 42%),
    rgba(8, 13, 23, 0.94);
  box-shadow: inset 0 0 24px rgba(77, 163, 255, 0.09);
}

.brand-mark.real-logo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  filter:
    drop-shadow(0 0 8px rgba(118, 199, 255, 0.38))
    drop-shadow(0 0 22px rgba(77, 163, 255, 0.18));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoOrbit {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(0.97);
  }
  50% {
    transform: scale(1.015);
  }
}

@media (max-width: 380px) {
  .brand-mark.real-logo {
    width: 76px;
    height: 76px;
    padding: 4px;
  }

  .store-name {
    font-size: clamp(31px, 10vw, 42px);
    letter-spacing: 0.015em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark.real-logo::before,
  .brand-mark.real-logo img {
    animation: none;
  }
}


/* Arabic RTL */
html[dir="rtl"] body { direction: rtl; font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .social-card, html[dir="rtl"] .about-card, html[dir="rtl"] .action-btn { direction: rtl; }
html[dir="rtl"] .social-icon { margin-right: 0; margin-left: 13px; }
html[dir="rtl"] .arrow { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .about-card { text-align: right; }
html[dir="rtl"] .store-name { direction: ltr; font-family: "Nexium", "Inter", Arial, sans-serif; text-align: center; }
html[dir="rtl"] .intro, html[dir="rtl"] .social-text small, html[dir="rtl"] .about-card p { line-height: 1.9; }
html[dir="rtl"] .eyebrow { letter-spacing: 0.08em; }
@media (max-width: 520px) { html[dir="rtl"] .social-icon { margin-left: 10px; } }
