/* ===========================
   ANEMOS LLC — STYLE.CSS
   =========================== */

:root {
  --bg: #060b1a;
  --bg2: #0a1428;
  --orange: #f97316;
  --orange-glow: rgba(249,115,22,0.4);
  --blue: #1d4ed8;
  --blue-light: #3b82f6;
  --cyan: #06b6d4;
  --green: #22c55e;
  --white: #f0f4ff;
  --muted: rgba(240,244,255,0.5);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);

  --font-display: 'Russo One', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

/* ===========================
   CURSOR
   =========================== */
.cursor {
  position: fixed;
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border: 2px solid rgba(249,115,22,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, width 0.3s, height 0.3s;
}
body:has(a:hover) .cursor { width: 22px; height: 22px; background: var(--cyan); }

/* ===========================
   CANVAS
   =========================== */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6,11,26,0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo-placeholder {
  display: none;
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  transition: box-shadow 0.3s, transform 0.2s !important;
}
.nav-cta:hover {
  box-shadow: 0 0 24px var(--orange-glow);
  transform: translateY(-1px);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1d4ed8, transparent);
  top: -100px; left: -150px;
  animation-duration: 10s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f97316, transparent);
  top: 20%; right: -80px;
  animation-duration: 8s;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent);
  bottom: 10%; left: 40%;
  animation-duration: 12s;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(249,115,22,0.5);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  background: rgba(249,115,22,0.08);
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title-line {
  display: block;
  font-size: clamp(52px, 8vw, 100px);
  color: var(--white);
  animation: fadeInUp 0.8s ease both;
}
.hero-title-line:first-child { animation-delay: 0.1s; }
.hero-title-line:last-child { animation-delay: 0.3s; }
.hero-title-accent {
  display: block;
  font-size: clamp(52px, 8vw, 100px);
  background: linear-gradient(90deg, var(--orange), var(--cyan), var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s 0.2s ease both, shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-sub em { font-style: italic; color: var(--orange); }
.hero-sub strong { color: var(--white); }

.hero-actions {
  animation: fadeInUp 0.8s 0.5s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  box-shadow: 0 0 40px var(--orange-glow), 0 8px 30px rgba(249,115,22,0.3);
  transform: translateY(-3px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  animation: fadeIn 1s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===========================
   SECTION COMMONS
   =========================== */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 48px;
}
.accent { color: var(--orange); }

/* ===========================
   GAMES
   =========================== */
.games {
  position: relative;
  z-index: 1;
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-title { margin-bottom: 0; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Game card is now a div (not anchor) */
.game-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 28px 20px;
  color: var(--white);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(249,115,22,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--orange-glow);
}
.game-card:hover::before { opacity: 1; }

.game-card-shine {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  transition: transform 0.6s;
  transform: skewX(-15deg);
  pointer-events: none;
}
.game-card:hover .game-card-shine {
  transform: skewX(-15deg) translateX(350%);
}

.game-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.game-icon-wrap {
  width: 90px; height: 90px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s, transform 0.3s;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}
.game-card:hover .game-icon-wrap {
  box-shadow: 0 12px 40px rgba(249,115,22,0.35);
  transform: scale(1.06);
}
.game-icon-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.game-info h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 8px;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.game-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249,115,22,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(249,115,22,0.2);
  white-space: nowrap;
}

/* ===========================
   GAME STORE LINKS
   =========================== */
.game-store-links {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
}

/* Pill badge: icon + label side by side */
.store-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  flex: 1;
  justify-content: center;
}
.store-icon svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.store-icon:hover {
  transform: translateY(-3px);
}
.store-icon:hover svg {
  transform: scale(1.2) rotate(-6deg);
}

/* Android / Google Play */
.store-android {
  background: rgba(249,115,22,0.1);
  border-color: rgba(249,115,22,0.28);
  color: var(--orange);
}
.store-android:hover {
  background: rgba(249,115,22,0.2);
  border-color: rgba(249,115,22,0.6);
  box-shadow: 0 6px 24px rgba(249,115,22,0.28);
}

/* iOS / App Store */
.store-ios {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.22);
  color: var(--blue-light);
}
.store-ios:hover {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.55);
  box-shadow: 0 6px 24px rgba(59,130,246,0.22);
}

/* ===========================
   ABOUT
   =========================== */
.about {
  position: relative;
  z-index: 1;
  padding: 120px 60px;
  background: linear-gradient(to bottom, transparent, rgba(29,78,216,0.06), transparent);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.about-stats {
  display: flex;
  gap: 40px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 30px var(--orange-glow);
}
.stat-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.about-visual {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}
#tagsCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===========================
   PLATFORMS
   =========================== */
.platforms {
  position: relative;
  z-index: 1;
  padding: 100px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.platforms .section-title { margin-bottom: 48px; }

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(249,115,22,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3), 0 0 30px var(--orange-glow);
}
.platform-card:hover::before { opacity: 1; }

.platform-ios::before {
  background: radial-gradient(circle at 20% 50%, rgba(59,130,246,0.08), transparent 70%);
}
.platform-ios:hover {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3), 0 0 30px rgba(59,130,246,0.3);
}

.platform-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  transition: transform 0.3s;
}
.platform-card:hover .platform-icon { transform: scale(1.1) rotate(-4deg); }
.platform-ios .platform-icon { color: var(--blue-light); }
.platform-icon svg { width: 26px; height: 26px; }

.platform-info {
  flex: 1;
  text-align: left;
}
.platform-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 4px;
}
.platform-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.platform-arrow {
  width: 20px; height: 20px;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.platform-card:hover .platform-arrow {
  transform: translate(3px, -3px);
  color: var(--orange);
}
.platform-ios:hover .platform-arrow { color: var(--blue-light); }

/* ===========================
   CONTACT
   =========================== */
.contact {
  position: relative;
  z-index: 1;
  padding: 120px 60px;
  text-align: center;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.contact-inner .section-title { margin-bottom: 16px; }
.contact-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 6px;
  transition: color 0.2s, text-shadow 0.3s;
}
.contact-email:hover {
  color: var(--orange);
  text-shadow: 0 0 30px var(--orange-glow);
}
.contact-email svg {
  width: 24px; height: 24px;
  transition: transform 0.2s;
}
.contact-email:hover svg { transform: translate(4px, -4px); }

.contact-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--card-border);
  padding: 36px 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
}
.footer-logo-img {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}
.footer-stores {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-play {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: text-shadow 0.2s;
}
.footer-play:hover { text-shadow: 0 0 16px var(--orange-glow); }
.footer-ios { color: var(--blue-light) !important; }
.footer-ios:hover { text-shadow: 0 0 16px rgba(59,130,246,0.5) !important; }

.footer-divider {
  color: var(--card-border);
  font-size: 16px;
}
.footer-privacy {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.footer-privacy:hover { color: var(--white); }
.footer-privacy-ios:hover { color: var(--blue-light); }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-brand { font-size: 15px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }

  .hero { padding: 100px 24px 80px; }
  .hero-title-line,
  .hero-title-accent { font-size: clamp(40px, 10vw, 72px); }

  .games { padding: 80px 24px; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .about { padding: 80px 24px; }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { height: 320px; }
  .about-stats { gap: 24px; }

  .platforms { padding: 60px 24px; }
  .platforms-grid { grid-template-columns: 1fr; gap: 14px; }

  .contact { padding: 80px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-stores { justify-content: center; }
}

@media (max-width: 600px) {
  .nav-links li:not(:last-child) { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 12px; }

  .hero { padding: 90px 20px 70px; }
  .hero-badge { font-size: 10px; padding: 6px 14px; }
  .hero-sub { font-size: 15px; }
  .btn-primary { padding: 14px 28px; font-size: 14px; }

  .games-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game-card { padding: 18px 14px 16px; }
  .game-icon-wrap { width: 72px; height: 72px; border-radius: 18px; }
  .game-info h3 { font-size: 13px; }
  .game-tag { font-size: 10px; padding: 3px 8px; }
  .store-icon { padding: 7px 12px; font-size: 11px; }
  .store-icon svg { width: 13px; height: 13px; }

  .section-title { font-size: clamp(28px, 8vw, 44px); }

  .about-visual { height: 260px; }
  .about-stats { gap: 16px; }
  .stat-num { font-size: 34px; }

  .contact-email { font-size: clamp(16px, 5vw, 22px); }

  .platform-card { padding: 20px 20px; gap: 14px; }
  .platform-name { font-size: 17px; }
}