:root{
  --bg:#0b1020;
  --card:#121933;
  --accent:#4f7cff;
  --text:#ffffff;
  --muted:#9aa3c7;
  --border:#1b244a;
}
*{box-sizing:border-box;margin:0;font-family:Inter,system-ui}
body{
  background:linear-gradient(180deg,#0b1020,#060914);
  color:var(--text);
}
.hidden{display:none}
.fade{animation:fade .35s ease}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1}}

/* HEADER */
.site-header{
  padding:20px;
  border-bottom:1px solid var(--border);
}
.site-header h1{font-size:22px}
.site-header p{color:var(--muted);font-size:14px;margin-top:4px}

/* SEARCH */
.search-wrap{
  padding: 12px 16px;
  background: rgba(10,16,40,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.featured-wrap.ready{
  opacity: 1;
}

/* SEARCH INPUT */

input, textarea {
  touch-action: manipulation;
}

.search-icon{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  font-size: 16px;
  pointer-events: none;
}
.search{
  width:100%;
  max-width:520px;
  background:#0f1530;
  border:1px solid var(--border);
  border-radius:999px;
  padding:12px 18px;
  color:#fff;
  font-size:14px;
  outline:none;
  transition:.2s;
}
.search::placeholder{color:#7f89b8}
.search:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(79,124,255,.25);
}

/* HERO INFO */
.hero-info{
  padding:18px;
  background:linear-gradient(120deg,rgba(79,124,255,.15),transparent);
}
.hero-info p{
  color:var(--muted);
  font-size:14px;
  max-width:650px;
}

/* GRID */
.container{padding:16px}
.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
@media(min-width:900px){
  .grid{grid-template-columns:repeat(6,1fr)}
}
.card{
  background:var(--card);
  border-radius:14px;
  padding:14px;
  cursor:pointer;
  transition:.2s;
}
.card:hover{transform:scale(1.05)}
.card img{width:100%;border-radius:12px}
.card h4{margin-top:10px}
.card span{color:#ffd34f;font-size:12px}

/* FOOTER */
footer{
  padding:20px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

/* DETAILS */
.back{padding:16px;color:var(--muted);cursor:pointer}
.hero{
  padding:24px;
  background:linear-gradient(120deg,rgba(79,124,255,.25),rgba(0,0,0,.7));
  border-bottom:1px solid var(--border);
}
.hero-top{
  display:flex;
  gap:16px;
  align-items:center;
}
.hero-top img{
  width:78px;
  height:78px;
  border-radius:18px;
}
.hero .meta{color:var(--muted);font-size:13px}
.full-download{
  margin-top:18px;
  background:var(--accent);
  padding:16px;
  text-align:center;
  border-radius:16px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 0 20px rgba(79,124,255,.4);
}

/* SECTIONS */
.section{
  padding:20px;
  border-bottom:1px solid var(--border);
}
.section h3{margin-bottom:8px}
.section p{color:var(--muted);font-size:14px}
.info-row{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
}

/* PERMISSIONS */
.permissions{padding:24px}
.permissions ul{list-style:none;margin-top:16px}
.permissions li{
  padding:12px 0;
  border-bottom:1px solid var(--border);
}
.allow{
  margin-top:20px;
  background:var(--accent);
  padding:16px;
  text-align:center;
  border-radius:16px;
  font-weight:600;
  cursor:pointer;
}

/* ═══════════════════════════════════════════════════
   PLAY STORE STYLE LOADER
═══════════════════════════════════════════════════ */
#loader, #finalLoader {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px 100px;
  position: relative;
}
#loader.hidden, #finalLoader.hidden { display: none; }

.ps-loader-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  gap: 12px;
}

/* STEP INDICATORS */
.ps-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 10px;
  width: 100%;
  justify-content: center;
}
.ps-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  transition: color .3s;
}
.ps-step.active { color: var(--accent); }
.ps-step.done   { color: #4dff9e; }

.ps-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 2px solid #1b244a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: background .3s, border-color .3s;
}
.ps-step.active .ps-step-dot {
  background: rgba(79,124,255,0.2);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(79,124,255,.4);
}
.ps-step.done .ps-step-dot {
  background: rgba(77,255,158,0.15);
  border-color: #4dff9e;
  color: #4dff9e;
}

.ps-step-line {
  flex: 1;
  height: 2px;
  background: #1b244a;
  margin: 0 6px;
  margin-bottom: 22px; /* align with dot center */
  min-width: 30px;
  transition: background .3s;
}
.ps-step-line.done { background: #4dff9e; }

/* RING + ICON */
.ps-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 8px 0 4px;
}

.ps-ring {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
  position: absolute;
  top: 0; left: 0;
}

.ps-ring-bg {
  fill: none;
  stroke: #1b244a;
  stroke-width: 6;
}

.ps-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 0.5s ease;
  filter: drop-shadow(0 0 6px rgba(79,124,255,.7));
}

.ps-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}

/* PERCENT */
.ps-percent {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

/* APP NAME + STATUS */
.ps-app-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.ps-status-text {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  min-height: 18px;
  transition: color .3s;
}
.ps-size-text {
  font-size: 12px;
  color: #6a78aa;
  text-align: center;
}

/* PILL PROGRESS BAR */
.ps-bar-wrap {
  width: 100%;
  height: 8px;
  background: #111830;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #1b244a;
}
.ps-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4f7cff, #8eb5ff, #4f7cff);
  background-size: 200% 100%;
  animation: flow 1.8s linear infinite;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(79,124,255,.5);
  transition: width 0.5s ease;
}
@keyframes flow {
  0%  { background-position: 0% }
  100%{ background-position: 200% }
}

/* STATUS CHIPS */
.ps-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}
.ps-chip {
  background: rgba(77,255,158,0.08);
  border: 1px solid rgba(77,255,158,0.2);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  color: #4dff9e;
  animation: chipIn .3s ease both;
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


.vanta-bg{
  position: relative;
}
.vanta-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(11,16,32,.85),rgba(11,16,32,.95));
  z-index:0;
}
.vanta-bg > *{
  position:relative;
  z-index:1;
}
#vanta-root{
  position: relative;
  min-height: 100vh;
}
#vanta-root::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(11,16,32,0.88),rgba(11,16,32,0.95));
  z-index: 0;
}
#vanta-root > *{
  position: relative;
  z-index: 1;
}

/* DARK CONTENT BOX */
.content-box{
  background: rgba(6,10,24,0.92) !important;
  border: 1px solid #1b244a;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}
.section{
  margin: 16px;
  background: none !important;
}
.section.content-box{
  padding:18px;
}
.permissions-box{
  max-width:520px;
  margin:40px auto;
}

/* BOTTOM NAV */
.bottom-nav{
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,14,34,.95);
  border: 1px solid #1b244a;
  border-radius: 20px;
  display: flex;
  gap: 8px;
  padding: 10px;
  z-index: 999;
  backdrop-filter: blur(8px);
}
.nav-item{
  flex: 1;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: .2s;
}
.nav-item.active{
  background: var(--accent);
  color: #fff;
}
.nav-item svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}
.bottom-nav.hidden-nav{
  display: none !important;
}

/* APP CARD BADGE */
.card-icon-wrap{
  position: relative;
}
.app-badge{
  position: absolute;
  top: -6px;
  left: -6px;
  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  text-transform: uppercase;
}

/* HEADER */
.header-center{ text-align: center; }
.site-title{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.site-tagline {
  font-size: 14px;
  margin-top: 8px;
  color: #9aa4c7;
  letter-spacing: 0.5px;
}
.site-logo{
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}

/* CARD FEATURE TEXT */
.card-feature{
  margin-top: 4px;
  font-size: 12px;
  color: #7fa3ff;
  font-weight: 600;
  line-height: 1.3;
}
.star-rating{
  margin-top: 4px;
  color: #ffd34f;
  font-size: 14px;
  letter-spacing: 1px;
}

/* FEATURED CARD */
.featured-card{
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  padding: 18px;
  color: #fff;
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.featured-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.85));
  border-radius: 22px;
}
.featured-card::after{
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,0.12),transparent);
  transform: rotate(25deg);
  animation: glassShine 8s infinite linear;
  pointer-events: none;
}
.featured-card > *{ position: relative; z-index: 1; }
.featured-wrap{ margin-bottom: 20px; }

/* MOBILE FEATURED */
@media (max-width: 768px){
  .featured-wrap{ padding-left: 0 !important; padding-right: 0 !important; }
  .featured-track{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    gap: 0;
  }
  .featured-card{
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw !important;
    border-radius: 0 !important;
    scroll-snap-align: start;
    height: 65vw;
    max-height: 380px;
    min-height: 280px;
    padding: 24px 20px;
    display: flex;
    justify-content: flex-end;
  }
  .featured-card::before{ border-radius: 0 !important; }
  .featured-name{ font-size: 22px; }
  .featured-desc{ font-size: 12px; -webkit-line-clamp: 5; }
}

/* DESKTOP FEATURED */
@media (min-width: 769px){
  .featured-track{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .featured-card{
    flex: 0 0 360px;
    width: 360px;
    max-width: 360px;
    border-radius: 20px;
  }
  .featured-desc{ font-size: 13px; -webkit-line-clamp: 6; }
}
.featured-track{
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overflow: hidden !important;
  scroll-snap-type: none !important;
}
.featured-card{
  touch-action: pan-y !important;
  scroll-snap-align: none !important;
}
.featured-app{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.featured-app img{
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.featured-name{ font-size: 18px; font-weight: 700; }
.featured-badge{
  background: linear-gradient(135deg,#ff8a00,#ff3d00);
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
  font-weight: 700;
  width: fit-content;
}
.featured-meta{
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-top: 6px;
}
.featured-pill{
  background: rgba(0,0,0,.4);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #1b244a;
}
.featured-header{ text-align: left; margin-bottom: 14px; }
.featured-header h2{ font-size: 20px; margin-bottom: 4px; }
.featured-header p{ font-size: 13px; color: #9aa4c7; }
.featured-wrap{ margin-top: 28px; padding: 0 20px; }
.featured-desc{
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  text-align: left;
}
.featured-meta{ text-align: left; }

/* GLASS HEADER */
.top-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 22px;
  background: rgba(10,15,35,0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo{ width: 28px; height: 28px; border-radius: 8px; }

@keyframes glassShine {
  0%  { transform: translateX(-120%) rotate(25deg); }
  100%{ transform: translateX(220%) rotate(25deg); }
}

/* ═══════════════════════════════════════════════════
   DOWNLOAD READY SCREEN
═══════════════════════════════════════════════════ */
#downloadReady{
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px 100px;
}
#downloadReady.hidden{ display: none; }

.dl-ready-wrap{
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.dl-ready-check{
  font-size: 64px;
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes popIn{
  from{ transform: scale(0); opacity: 0; }
  to  { transform: scale(1); opacity: 1; }
}

.dl-ready-title{
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.dl-ready-sub{
  font-size: 14px;
  color: var(--muted);
  margin-top: -6px;
}

/* FILE INFO CARD */
.dl-file-card{
  width: 100%;
  text-align: left;
  padding: 20px !important;
}

.dl-file-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1b244a;
}

.dl-file-icon{
  width: 58px;
  height: 58px;
  border-radius: 14px;
  flex-shrink: 0;
}

.dl-file-name{
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.dl-file-ver{
  font-size: 13px;
  color: var(--accent);
  margin-top: 3px;
}

/* INFO GRID */
.dl-info-grid{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dl-info-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(27,36,74,.6);
  font-size: 14px;
}
.dl-info-row:last-child{ border-bottom: none; }

.dl-info-label{
  color: var(--muted);
  font-size: 13px;
}

.dl-info-val{
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-align: right;
  max-width: 56%;
  word-break: break-all;
}

.dl-safe{
  color: #4dff9e;
}

/* DOWNLOAD NOW BUTTON */
.dl-now-btn{
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #4f7cff, #2d56e0);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(79,124,255,.45);
  transition: transform .15s, box-shadow .15s;
  letter-spacing: 0.3px;
}
.dl-now-btn:active{
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(79,124,255,.3);
}

/* (old verify modal removed) */

/* ═══════════════════════════════════════════════════
   DEVICE VERIFICATION REQUIRED — FULL SCREEN
═══════════════════════════════════════════════════ */
#verifyBanner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px 100px;
}
#verifyBanner.hidden { display: none; }

.vr-screen {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
}

/* Frozen bar at top */
.vr-top { width: 100%; }

.vr-frozen-bar-wrap {
  width: 100%;
  background: rgba(6,10,24,0.92);
  border: 1px solid #1b244a;
  border-radius: 14px;
  padding: 14px 16px;
}

.vr-frozen-bar {
  width: 100%;
  height: 8px;
  background: #111830;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid #1b244a;
}

.vr-frozen-bar::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #4f7cff, #8eb5ff);
  border-radius: 999px;
}

/* Pulsing warning on the frozen end */
.vr-frozen-bar::before {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  top: -3px;
  width: 10px;
  height: 14px;
  background: #ffcc44;
  border-radius: 3px;
  animation: warnPulse 1.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes warnPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

.vr-frozen-label {
  margin-top: 8px;
  font-size: 12px;
  color: #ffcc44;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Main card */
.vr-card {
  width: 100%;
  background: rgba(6,10,24,0.95);
  border: 1px solid #1b244a;
  border-radius: 22px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}

/* Pulsing icon */
.vr-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 4px;
}

.vr-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,165,0,0.5);
  animation: pulseRing 1.6s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.vr-icon {
  font-size: 48px;
  position: relative;
  z-index: 1;
}

.vr-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.vr-sub {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.vr-sub strong { color: #ffcc44; }

/* Steps list */
.vr-steps-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #1b244a;
  border-radius: 14px;
  overflow: hidden;
}

.vr-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #1b244a;
  font-size: 14px;
}
.vr-step-item:last-child { border-bottom: none; }

.vr-step-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}

.vr-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.vr-step-item.done { background: rgba(77,255,158,0.04); }
.vr-step-item.done .vr-step-num {
  background: rgba(77,255,158,0.15);
  color: #4dff9e;
  border: 1px solid rgba(77,255,158,0.3);
}
.vr-step-item.done strong { color: #4dff9e; }

.vr-step-item.pending { background: rgba(255,200,60,0.06); }
.vr-step-item.pending .vr-step-num {
  background: rgba(255,200,60,0.2);
  color: #ffcc44;
  border: 1px solid rgba(255,200,60,0.4);
  animation: warnPulse 1.2s ease-in-out infinite;
}
.vr-step-item.pending strong { color: #ffcc44; }

.vr-step-item.locked { opacity: 0.5; }
.vr-step-item.locked .vr-step-num {
  background: rgba(255,255,255,0.06);
  border: 1px solid #2a3570;
}

/* CTA Button */
.vr-cta-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #ff8a00, #ff5500);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255,100,0,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .15s, box-shadow .15s;
  letter-spacing: 0.3px;
}
.vr-cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(255,100,0,.25);
}
.vr-arrow {
  font-size: 18px;
  animation: arrowBounce 1s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

.vr-note {
  font-size: 12px;
  color: #6a78aa;
  text-align: center;
}
/* --- NOVI SEARCH EFEKTI --- */
.search-input {
  position: relative;
  /* Dodajemo border radius na wrapper kako bi glow efekat bio zaobljen */
  border-radius: 14px; 
}

/* Animacija za rotirajucu glow liniju oko celog inputa */
.search-input::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent, var(--primary), transparent);
  background-size: 200% 100%;
  border-radius: 16px;
  z-index: -1;
  animation: borderGlow 3s linear infinite;
  opacity: 0.8;
}

@keyframes borderGlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.search-input input {
  width: 100%;
  padding: 16px 44px 16px 20px; /* Malo veci padding da lepse dise */
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,20,55,0.9); /* Malo tamnije da naglasi okvir */
  color: #fff;
  font-size: 16px;
  position: relative;
  z-index: 1; /* Da bude preko glow okvira */
  box-shadow: 0 4px 15px rgba(0,0,0,0.5); /* Mala dubina */
}

/* Pulsirajuci placeholder tekst */
.search-input input::placeholder {
  color: var(--text-muted);
  animation: pulsePlaceholder 2s ease-in-out infinite;
}

@keyframes pulsePlaceholder {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; color: var(--accent-blue); text-shadow: 0 0 8px rgba(77, 163, 255, 0.4); }
}

/* Hover/Focus na search */
.search-input input:focus {
  outline: none;
  background: rgba(20, 26, 66, 0.95);
}



/* FIKSIRANJE DIMENZIJA SLIKA NA KARTICAMA */
.card-icon-wrap img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.featured-app img {
  object-fit: cover;
}
