﻿/* Shared content page image utilities */
.content-media {
  display: block;
  height: auto;
}

.content-media--center {
  margin: 0 auto;
}

.content-media--hero {
  max-width: 80%;
}

.content-media--full {
  max-width: 100%;
}

.content-media--rounded {
  border-radius: 8px;
}

@media (max-width: 600px) {
  .content-media--hero {
    max-width: 95%;
  }
}

/* Homepage content enhancements */

/* kinetic-marquee */
.ci-marquee-wrap {
  overflow: hidden;
  background: linear-gradient(135deg, #0033cc, #1a6fff);
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ci-mq-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.ci-mq-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  padding: 0 24px;
  flex-shrink: 0;
}

.ci-mq-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

/* mesh-gradient stats bar */
.ci-stats-bar {
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(26, 111, 255, 0.3);
  border-bottom: 2px solid rgba(26, 111, 255, 0.3);
  padding: 40px 24px;
  margin: 32px 0;
}

.ci-mesh-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ci-stats-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ci-stat-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(26, 111, 255, 0.25);
}

.ci-stat-item:last-child {
  border-right: none;
}

.ci-odometer {
  font-family: monospace;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #80b3ff;
  letter-spacing: -0.03em;
  overflow: hidden;
  height: 1.15em;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.ci-odo-digit {
  display: inline-block;
  overflow: hidden;
  height: 1.15em;
}

.ci-odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ci-odo-strip span {
  display: block;
  height: 1.15em;
  line-height: 1.15;
}

.ci-stat-suffix {
  font-family: monospace;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 700;
  color: #80b3ff;
}

.ci-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(180, 210, 255, 0.6);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  .ci-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .ci-stat-item:nth-child(2) {
    border-right: none;
  }
}

/* gradient reveal h2 headings */
.reveal-h2 {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #80b3ff 50%, #1a6fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reveal-h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1a6fff, #66aaff, #1a6fff);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-h2.is-visible::after {
  transform: scaleX(1);
}

.reveal-h2-wrap {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-h2-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* spotlight-border on cards */
.features-grid .feature-card,
.games-grid .game-card {
  position: relative;
  overflow: hidden;
}

.features-grid .feature-card::before,
.games-grid .game-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle 160px at var(--mx, 50%) var(--my, 50%),
    rgba(26, 111, 255, 0.12),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.features-grid .feature-card:hover::before,
.games-grid .game-card:hover::before {
  opacity: 1;
}

.features-grid .feature-card > *,
.games-grid .game-card > * {
  position: relative;
  z-index: 1;
}

/* particle-button */
.ci-pb-particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
}

.ci-pb-confetti {
  position: fixed;
  width: 6px;
  height: 11px;
  pointer-events: none;
  z-index: 99999;
  border-radius: 2px;
}

.ci-pb-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  border: 2px solid;
  opacity: 0;
}

/* hero CTA buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.btn.btn-register {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a6fff, #0033cc);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(26, 111, 255, 0.55),
    0 4px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.18s;
}

.btn.btn-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: ciShimmer 2.2s ease-in-out infinite;
}

.btn.btn-register:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 30px rgba(26, 111, 255, 0.8),
    0 6px 28px rgba(0, 0, 0, 0.4);
}

.btn.btn-register:active {
  transform: scale(0.97);
}

.btn.btn-download {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 10px;
  background: transparent;
  color: #4d94ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #1a6fff;
  box-shadow:
    0 0 12px rgba(26, 111, 255, 0.3),
    inset 0 0 12px rgba(26, 111, 255, 0.06);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.18s,
    background 0.18s,
    color 0.18s;
  animation: ciPulseGlow 2.5s ease-in-out infinite;
}

.btn.btn-download:hover {
  background: rgba(26, 111, 255, 0.12);
  color: #80b3ff;
  box-shadow:
    0 0 28px rgba(26, 111, 255, 0.6),
    inset 0 0 18px rgba(26, 111, 255, 0.1);
  transform: translateY(-2px) scale(1.03);
  animation: none;
}

.btn.btn-download:active {
  transform: scale(0.97);
}

.btn.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(26, 111, 255, 0.3);
  backdrop-filter: blur(8px);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}

.btn.btn-login:hover {
  background: rgba(26, 111, 255, 0.15);
  color: #fff;
  border-color: rgba(26, 111, 255, 0.7);
  transform: translateY(-2px) scale(1.03);
}

.btn.btn-login:active {
  transform: scale(0.97);
}

/* navbar CTA buttons */
.nav-btn.download,
.nav-btn.login,
.mobile-buttons .btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.18s,
    background 0.18s;
}

.nav-btn.download,
.mobile-buttons .btn:last-child {
  background: linear-gradient(135deg, #1a6fff, #0033cc);
  color: #fff !important;
  border: none;
  box-shadow: 0 0 14px rgba(26, 111, 255, 0.5);
}

.nav-btn.download::before,
.mobile-buttons .btn:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: ciShimmer 2.2s ease-in-out infinite;
}

.nav-btn.download:hover,
.mobile-buttons .btn:last-child:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 24px rgba(26, 111, 255, 0.75);
}

.nav-btn.login,
.mobile-buttons .btn:first-child {
  background: transparent;
  color: #4d94ff !important;
  border: 2px solid #1a6fff;
  box-shadow: 0 0 10px rgba(26, 111, 255, 0.25);
  animation: ciPulseGlow 2.5s ease-in-out infinite;
}

.nav-btn.login:hover,
.mobile-buttons .btn:first-child:hover {
  background: rgba(26, 111, 255, 0.12);
  color: #80b3ff !important;
  box-shadow: 0 0 22px rgba(26, 111, 255, 0.55);
  transform: translateY(-2px) scale(1.04);
  animation: none;
}

.nav-btn.download:active,
.nav-btn.login:active,
.mobile-buttons .btn:active {
  transform: scale(0.97);
}

@keyframes ciShimmer {
  0% {
    left: -100%;
  }

  60%,
  100% {
    left: 160%;
  }
}

@keyframes ciPulseGlow {
  0%,
  100% {
    box-shadow:
      0 0 12px rgba(26, 111, 255, 0.3),
      inset 0 0 12px rgba(26, 111, 255, 0.06);
  }

  50% {
    box-shadow:
      0 0 22px rgba(26, 111, 255, 0.55),
      inset 0 0 18px rgba(26, 111, 255, 0.1);
  }
}

/* glowing hero h1 */
.hero h1 {
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  background: linear-gradient(135deg, #ffffff 0%, #80b3ff 55%, #1a6fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 0 18px rgba(26, 111, 255, 0.55))
    drop-shadow(0 0 40px rgba(26, 111, 255, 0.25));
  animation: ciH1Glow 3s ease-in-out infinite;
}

@keyframes ciH1Glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 14px rgba(26, 111, 255, 0.5))
      drop-shadow(0 0 32px rgba(26, 111, 255, 0.2));
  }

  50% {
    filter:
      drop-shadow(0 0 28px rgba(26, 111, 255, 0.85))
      drop-shadow(0 0 60px rgba(26, 111, 255, 0.35));
  }
}

/* typewriter hero subtitle */
.ci-type-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #4d94ff;
  vertical-align: middle;
  margin-left: 2px;
  animation: ciCursorBlink 0.7s step-end infinite;
}

@keyframes ciCursorBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

#ci-hero-subtitle {
  min-height: 1.5em;
}

/* coverflow section */
.ci-cf-section {
  padding: 20px 0 40px;
  perspective: 1200px;
  overflow: hidden;
  user-select: none;
}

.ci-cf-track {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  position: relative;
  transform-style: preserve-3d;
}

.ci-cf-item {
  position: absolute;
  width: 260px;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(26, 111, 255, 0.18);
}

.ci-cf-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}

.ci-cf-item-content {
  position: relative;
  z-index: 2;
}

.ci-cf-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.ci-cf-item p {
  font-size: 13px;
  color: rgba(200, 220, 255, 0.8);
  line-height: 1.4;
}

.ci-cf-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.ci-cf-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #1a6fff;
  background: transparent;
  color: #4d94ff;
  font-size: 18px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-cf-btn:hover {
  background: rgba(26, 111, 255, 0.2);
  color: #fff;
}

.ci-cf-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.ci-cf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(26, 111, 255, 0.3);
  transition:
    background 0.3s,
    transform 0.3s;
  cursor: pointer;
}

.ci-cf-dot.active {
  background: #1a6fff;
  transform: scale(1.4);
}

@media (max-width: 600px) {
  .ci-cf-item {
    width: 200px;
    height: 240px;
    padding: 18px;
  }

  .ci-cf-track {
    height: 270px;
  }
}

.promo-patterns-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: promo-patterns;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.promo-patterns-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  border: 1px solid rgba(26, 111, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10, 20, 45, 0.78), rgba(4, 10, 26, 0.92));
  color: #edf4ff;
  line-height: 1.55;
  min-height: 100%;
}

.promo-patterns-list li::before {
  counter-increment: promo-patterns;
  content: counter(promo-patterns);
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1a6fff, #0af2fb);
  color: #00112d;
  font-size: 0.82rem;
  font-weight: 700;
}

.promo-patterns-list--compact {
  margin-top: 1rem;
}

.promo-patterns-list--compact li {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  font-size: 0.96rem;
}

@media (max-width: 768px) {
  .promo-patterns-list {
    grid-template-columns: 1fr;
  }
}
