/* ==========================================================================
   WorldSoftNet — page-level styles
   ========================================================================== */

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: rgba(255, 255, 255, .84); padding-block: var(--space-8) var(--space-9); }
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .lead { color: rgba(255, 255, 255, .74); max-width: 54ch; }
.hero .eyebrow { color: var(--teal-500); }
.hero .btn-row { margin-top: var(--space-6); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: orb 18s ease-in-out infinite alternate; }
.hero__orb--1 { width: 420px; height: 420px; right: -120px; top: -140px; background: #4a76ff; }
.hero__orb--2 { width: 360px; height: 360px; left: -120px; bottom: -160px; background: #14c8b4; animation-delay: -6s; opacity: .35; }
.hero__grid {
  position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
}
@keyframes orb { to { transform: translate(-40px, 40px) scale(1.1); } }

.hero__inner { position: relative; display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }

.hero__stats { display: flex; flex-wrap: wrap; gap: var(--space-6); margin: var(--space-7) 0 0; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero__stats dt { font-size: var(--fs-xs); color: rgba(255, 255, 255, .6); margin-top: .4rem; text-transform: uppercase; letter-spacing: .08em; }

.hero__phones { position: relative; min-height: 560px; }
.hero__phone { position: absolute; left: 50%; top: 0; }
.hero__phone--center { z-index: 2; top: 0; transform: translateX(-50%); animation: phone-float 7s ease-in-out infinite; }
.hero__phone--left { top: 80px; transform: translateX(-50%) translateX(-150px) rotate(-8deg); }
.hero__phone--right { top: 80px; transform: translateX(-50%) translateX(150px) rotate(8deg); }
@keyframes phone-float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-12px); } }
@media (max-width: 999px) {
  .hero__phones { min-height: 500px; }
  .hero__phone--center { --phone-w: 220px; }
  .hero__phone--left, .hero__phone--right { --phone-w: 160px; }
  .hero__phone--left { transform: translateX(-50%) translateX(-125px) rotate(-8deg); }
  .hero__phone--right { transform: translateX(-50%) translateX(125px) rotate(8deg); }
}
@media (max-width: 520px) {
  .hero__phones { min-height: 420px; }
  .hero__phone--center { --phone-w: 186px; }
  .hero__phone--left, .hero__phone--right { --phone-w: 126px; top: 64px; }
  .hero__phone--left { transform: translateX(-50%) translateX(-96px) rotate(-8deg); }
  .hero__phone--right { transform: translateX(-50%) translateX(96px) rotate(8deg); }
}

/* ---------- Game card ---------- */
.game-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.game-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-50); }
.game-card__media > svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.game-card:hover .game-card__media > svg { transform: scale(1.04); }
.game-card__phone { --phone-w: 70px; position: absolute; right: 18px; bottom: 14px; transform: rotate(6deg); transition: transform .4s var(--ease); box-shadow: 0 14px 28px rgba(4, 10, 30, .35); }
.game-card:hover .game-card__phone { transform: rotate(2deg) translateY(-6px); }
.game-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.game-card__body > .link-arrow { margin-top: auto; padding-top: var(--space-3); }
.game-card__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.game-card__title { margin: 0; font-size: 1.35rem; }
.game-card__title a { color: inherit; text-decoration: none; }
.game-card__title a:hover { color: var(--primary); }
.game-card__genre { font-size: var(--fs-xs) !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary) !important; margin: 0; }
.game-card__mechanic { font-size: var(--fs-xs) !important; background: var(--gray-50); padding: .6rem .8rem; border-radius: var(--radius-sm); }
.game-card__mechanic strong { color: var(--navy-900); }
