/*
Theme Name: PlayVerse Games
Theme URI: https://playversegames.gr
Author: AGENTHS
Author URI: https://agenths.gr
Description: Custom dark gaming theme for PlayVerse Games — arcade εξοπλισμός και custom gaming χώροι.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: playverse
*/

/* ─── RESET & ROOT ───────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a18;
  --bg2: #0f0f24;
  --violet: #2563eb;
  --violet-light: #60a5fa;
  --orange: #f97316;
  --cyan: #06b6d4;
  --white: #f1f5f9;
  --gray: #94a3b8;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(37,99,235,0.3);
  --glow-v: rgba(37,99,235,0.4);
  --glow-o: rgba(249,115,22,0.4);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: auto;
}

/* ─── PRELOADER ──────────────────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
}
#preloader .pre-logo {
  opacity: 0; display: flex;
  align-items: center; justify-content: center;
}
#preloader .pre-logo img {
  height: clamp(80px, 18vw, 160px); width: auto;
  filter: drop-shadow(0 0 24px rgba(37,99,235,0.7)) drop-shadow(0 0 48px rgba(6,182,212,0.3));
  animation: prelogoGlow 2s ease-in-out infinite;
}
@keyframes prelogoGlow {
  0%,100% { filter: drop-shadow(0 0 24px rgba(37,99,235,0.7)) drop-shadow(0 0 48px rgba(6,182,212,0.3)); }
  50%      { filter: drop-shadow(0 0 40px rgba(37,99,235,1))   drop-shadow(0 0 70px rgba(6,182,212,0.6)); }
}
#preloader .pre-line {
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--orange));
  border-radius: 2px;
}
#preloader .pre-sub {
  font-family: 'Inter', sans-serif; font-size: 0.85rem;
  letter-spacing: 0.2em; color: var(--gray);
  opacity: 0; text-transform: uppercase;
}

/* ─── NAV ────────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14,14,26,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(37,99,235,0.15);
  transition: padding 0.35s ease, background 0.35s ease;
}
nav.scrolled { padding: 6px 5%; background: rgba(14,14,26,0.95); }

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img {
  height: 72px; width: auto; display: block;
  filter: drop-shadow(0 0 8px rgba(37,99,235,0.5));
  transition: height 0.35s ease, filter 0.3s;
}
nav.scrolled .nav-logo-img { height: 42px; }
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(37,99,235,0.8)) drop-shadow(0 0 6px rgba(6,182,212,0.4));
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--gray); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.05em;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--violet); transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

/* Nav actions group (desktop) */
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile right group: lang + hamburger side by side */
.nav-mobile-right { display: none; align-items: center; gap: 8px; }
.lang-toggle-mobile { display: none; }

/* Language Toggle */
.lang-toggle {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55); padding: 5px 11px; border-radius: 20px;
  font-family: 'Orbitron', monospace; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; cursor: pointer; transition: all 0.2s; line-height: 1;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-cta {
  background: linear-gradient(135deg, var(--violet), var(--orange));
  color: white; border: none; padding: 10px 24px; border-radius: 50px;
  font-family: 'Orbitron', monospace; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 35px rgba(37,99,235,0.7), 0 0 60px rgba(249,115,22,0.3);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(14,14,26,0.97); backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Orbitron', monospace; font-size: 1.5rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: 0.1em; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--violet); }
.mobile-close {
  position: absolute; top: 24px; right: 5%;
  background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer;
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center; padding: 100px 5% 60px;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 60px 60px; z-index: 0; pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px);
  z-index: 0; pointer-events: none;
}

.float-icon {
  position: absolute; opacity: 0; pointer-events: none; z-index: 1;
  filter: drop-shadow(0 0 14px currentColor);
}
.anim-breathe { animation: breathe ease-in-out infinite; }
.anim-spin    { animation: spinSlow linear infinite; }
.anim-bounce  { animation: bounceFly ease-in-out infinite; }
.anim-drift   { animation: drift ease-in-out infinite; }
.anim-twinkle { animation: twinkle ease-in-out infinite; }

@keyframes breathe {
  0%,100% { transform: scale(1);   opacity: 0.12; }
  50%      { transform: scale(1.2); opacity: 0.28; }
}
@keyframes spinSlow {
  0%   { transform: rotate(0deg);   opacity: 0.15; }
  50%  { opacity: 0.25; }
  100% { transform: rotate(360deg); opacity: 0.15; }
}
@keyframes bounceFly {
  0%,100% { transform: translateY(0)     rotate(-5deg); opacity: 0.12; }
  50%      { transform: translateY(-22px) rotate(5deg);  opacity: 0.26; }
}
@keyframes drift {
  0%   { transform: translate(0,0)       rotate(0deg);  opacity: 0.10; }
  25%  { transform: translate(12px,-18px) rotate(8deg);  opacity: 0.22; }
  50%  { transform: translate(-8px,-30px) rotate(-5deg); opacity: 0.16; }
  75%  { transform: translate(16px,-12px) rotate(10deg); opacity: 0.20; }
  100% { transform: translate(0,0)       rotate(0deg);  opacity: 0.10; }
}
@keyframes twinkle {
  0%,100% { transform: scale(0.8) rotate(-10deg); opacity: 0.08; }
  50%      { transform: scale(1.3) rotate(10deg);  opacity: 0.30; }
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.orb-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(37,99,235,0.32), transparent 70%);
  top: -160px; left: -160px; animation: orbFloat 12s ease-in-out infinite;
}
.orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,0.26), transparent 70%);
  bottom: -120px; right: -120px; animation: orbFloat 15s ease-in-out infinite reverse;
}
.orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(6,182,212,0.20), transparent 70%);
  top: 38%; left: 58%; animation: orbFloat 10s ease-in-out infinite 3s;
}
.orb-4 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(251,191,36,0.14), transparent 70%);
  top: 15%; right: 4%; animation: orbFloat 8s ease-in-out infinite 2s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.95); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.4);
  border-radius: 50px; padding: 8px 20px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--violet-light); margin-bottom: 30px;
  backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px; background: var(--orange);
  border-radius: 50%; animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.1; letter-spacing: 0.05em; margin-bottom: 8px;
}
.hero-title .play {
  color: #fff;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 0 20px rgba(255,255,255,0.5),
    0 0 40px rgba(96,165,250,0.4);
  -webkit-text-fill-color: unset;
}
.hero-title .verse {
  color: #7c3aed;
  text-shadow:
    0 0 8px rgba(124,58,237,1),
    0 0 20px rgba(124,58,237,0.8),
    0 0 50px rgba(124,58,237,0.5),
    0 0 90px rgba(124,58,237,0.3);
  -webkit-text-fill-color: unset;
}
.hero-title-sub {
  font-family: 'Orbitron', monospace; font-size: clamp(0.9rem,2.5vw,1.4rem);
  font-weight: 400; letter-spacing: 0.5em; color: var(--cyan);
  margin-bottom: 24px; text-transform: uppercase;
}
/* ── Scanlines overlay on hero ── */
#hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.13) 2px,
    rgba(0,0,0,0.13) 4px
  );
  animation: scanMove 8s linear infinite;
}
@keyframes scanMove {
  from { background-position: 0 0; }
  to   { background-position: 0 100px; }
}

/* ── Glitch title ── */
.hero-title-wrap { position: relative; display: inline-block; }

/* Glitch pseudo-layers */
.hero-title-wrap::before,
.hero-title-wrap::after {
  content: 'PLAYVERSE';
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.1; letter-spacing: 0.05em;
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; pointer-events: none;
}
.hero-title-wrap::before { color: var(--cyan);   mix-blend-mode: screen; }
.hero-title-wrap::after  { color: var(--orange);  mix-blend-mode: screen; }

/* Active glitch class toggled by JS */
.hero-title-wrap.glitching::before {
  opacity: 1;
  animation: glitchLayerA 0.55s steps(5) forwards;
}
.hero-title-wrap.glitching::after {
  opacity: 1;
  animation: glitchLayerB 0.55s steps(5) forwards;
}
.hero-title-wrap.glitching .play,
.hero-title-wrap.glitching .verse {
  animation: glitchSkew 0.55s steps(5) forwards;
}

@keyframes glitchLayerA {
  0%  { transform: translate(-10px, 2px);  clip-path: inset(5% 0 85% 0);  opacity: 1; }
  20% { transform: translate(10px, -3px);  clip-path: inset(35% 0 45% 0); }
  40% { transform: translate(-8px, 4px);   clip-path: inset(60% 0 25% 0); }
  60% { transform: translate(12px, -2px);  clip-path: inset(15% 0 70% 0); }
  80% { transform: translate(-6px, 1px);   clip-path: inset(80% 0 5% 0);  }
  100%{ transform: translate(0);           clip-path: inset(100% 0 0 0);  opacity: 0; }
}
@keyframes glitchLayerB {
  0%  { transform: translate(10px, -2px);  clip-path: inset(55% 0 30% 0); opacity: 1; }
  20% { transform: translate(-12px, 3px);  clip-path: inset(15% 0 75% 0); }
  40% { transform: translate(8px, -4px);   clip-path: inset(70% 0 15% 0); }
  60% { transform: translate(-10px, 2px);  clip-path: inset(40% 0 50% 0); }
  80% { transform: translate(6px, -1px);   clip-path: inset(90% 0 2% 0);  }
  100%{ transform: translate(0);           clip-path: inset(100% 0 0 0);  opacity: 0; }
}
@keyframes glitchSkew {
  0%  { transform: skewX(-8deg)  translateX(-6px);  filter: brightness(1.8) hue-rotate(20deg); }
  25% { transform: skewX(6deg)   translateX(8px);   filter: brightness(0.6) hue-rotate(-20deg); }
  50% { transform: skewX(-5deg)  translateX(-4px);  filter: brightness(2.0) hue-rotate(40deg); }
  75% { transform: skewX(4deg)   translateX(5px);   filter: brightness(0.8); }
  100%{ transform: skewX(0)      translateX(0);     filter: none; }
}
.hero-desc {
  font-size: clamp(1rem,2vw,1.15rem); color: var(--gray);
  line-height: 1.7; max-width: 580px; margin: 0 auto 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--violet), var(--orange));
  color: white; border: none; padding: 16px 36px; border-radius: 50px;
  font-family: 'Orbitron', monospace; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; cursor: pointer; text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  box-shadow: 0 0 30px rgba(37,99,235,0.5), 0 0 60px rgba(249,115,22,0.2);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 50px rgba(37,99,235,0.8), 0 0 80px rgba(249,115,22,0.4);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  border: 2px solid rgba(37,99,235,0.5); padding: 14px 34px; border-radius: 50px;
  font-family: 'Orbitron', monospace; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; cursor: pointer; text-decoration: none;
  transition: all 0.3s; backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--violet); background: rgba(37,99,235,0.1);
  transform: translateY(-4px); box-shadow: 0 0 30px rgba(37,99,235,0.3);
}

.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--violet), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTION COMMONS ────────────────────────────────────────────────────────── */
section { padding: 100px 5%; }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before, .section-label::after {
  content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--violet); opacity: 0.5;
}
.section-label.centered { justify-content: center; }
.section-title {
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: clamp(1.8rem,4vw,3rem); line-height: 1.2; margin-bottom: 16px;
}
.section-title .accent   { color: var(--violet); }
.section-title .accent-o { color: var(--orange); }
.section-desc { color: var(--gray); font-size: 1.05rem; line-height: 1.7; max-width: 600px; }

.wave-divider { width: 100%; overflow: hidden; line-height: 0; position: relative; }
.wave-divider svg { display: block; width: 100%; }
.wave-divider::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(124,58,237,0.45) 0%,
    rgba(6,182,212,0.38) 20%,
    rgba(249,115,22,0.32) 40%,
    rgba(6,182,212,0.38) 60%,
    rgba(124,58,237,0.45) 80%,
    rgba(249,115,22,0.32) 100%);
  background-size: 400% 100%;
  animation: waveGrad 16s linear infinite;
  mix-blend-mode: screen;
}
@keyframes waveGrad {
  0%   { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* ─── STATS ──────────────────────────────────────────────────────────────────── */
#stats { background: linear-gradient(135deg, #13132a 0%, #1a1030 100%); padding: 80px 5%; }
.stats-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 40px; margin-top: 60px;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stat-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.1));
  border: 1px solid rgba(37,99,235,0.35); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--violet); margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}
.stat-item:hover .stat-icon {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 20px rgba(37,99,235,0.45); color: var(--cyan);
}
.stat-num {
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: clamp(2.5rem,6vw,4rem);
  background: linear-gradient(135deg, var(--violet), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}
.stat-label { color: var(--gray); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em; }

/* ─── SERVICES ───────────────────────────────────────────────────────────────── */
#services { max-width: 1200px; margin: 0 auto; padding: 100px 5%; }
.services-header { margin-bottom: 60px; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 28px;
}
.service-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 24px; padding: 40px 36px; position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s;
  backdrop-filter: blur(12px); cursor: pointer; transform-style: preserve-3d;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-gradient, linear-gradient(90deg, var(--violet), var(--orange)));
  border-radius: 24px 24px 0 0;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.08), transparent 60%);
  pointer-events: none;
}
.service-card:nth-child(1) { --card-gradient: linear-gradient(90deg, var(--violet), var(--cyan)); }
.service-card:nth-child(2) { --card-gradient: linear-gradient(90deg, var(--orange), #fbbf24); }
.service-card:nth-child(3) { --card-gradient: linear-gradient(90deg, var(--cyan), var(--violet)); }
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(37,99,235,0.2);
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(249,115,22,0.1));
  border: 1px solid rgba(37,99,235,0.3); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg); box-shadow: 0 0 20px rgba(37,99,235,0.5);
}
.service-title {
  font-family: 'Orbitron', monospace; font-size: 1.1rem;
  font-weight: 700; margin-bottom: 14px; color: var(--white);
}
.service-desc { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--violet-light); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.05em; transition: gap 0.3s, color 0.3s;
}
.service-link:hover { gap: 14px; color: var(--orange); }

/* ─── WHY US ─────────────────────────────────────────────────────────────────── */
#why { background: linear-gradient(135deg, #13132a 0%, #0e0e1a 100%); padding: 100px 5%; }
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.why-item {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 32px; display: flex; gap: 20px; align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.why-item:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-4px); }
.why-num {
  width: 54px; height: 54px; min-width: 54px;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(6,182,212,0.08));
  border: 1px solid rgba(37,99,235,0.35); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--violet);
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}
.why-item:hover .why-num {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 20px rgba(37,99,235,0.45); color: var(--cyan);
}
.why-text h4 {
  font-family: 'Orbitron', monospace; font-size: 0.95rem;
  font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.why-text p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* ─── GALLERY ────────────────────────────────────────────────────────────────── */
#gallery { max-width: 1200px; margin: 0 auto; padding: 100px 5%; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 10px; margin-top: 40px;
}
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; background: rgba(255,255,255,0.03); }
.gallery-item img {
  width: 100%; height: auto; object-fit: cover; display: block;
  aspect-ratio: 4/3; transition: transform 0.4s ease, filter 0.3s;
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.1); }
/* Placeholder για όταν δεν υπάρχουν εικόνες */
.gallery-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s;
}
.gallery-item:nth-child(1) .gallery-placeholder { background: linear-gradient(135deg,#1a1040,#2d1b69,#1a2a4a); aspect-ratio: 21/9; }
.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg,#1a0f30,#3b1f5e,#0f2a3a); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg,#0f1a30,#1a2a5e,#30101a); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg,#1a1530,#2d2069,#0f1a3a); }
.gallery-item:hover .gallery-placeholder { transform: scale(1.06); filter: brightness(1.2); }
/* Empty state */
.gallery-empty {
  text-align: center; padding: 80px 20px; color: var(--gray);
  background: var(--card-bg); border: 1px dashed var(--card-border);
  border-radius: 24px; margin-top: 40px;
}
.gallery-empty i { font-size: 2.5rem; color: rgba(37,99,235,0.3); display: block; margin-bottom: 16px; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(14,14,26,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  font-size: 1.6rem; color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(0.85); }

/* ─── GALLERY LIGHTBOX ────────────────────────────────────────────────────────── */
.gl-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  flex-direction: column;
}
.gl-overlay.active { display: flex; }
.gl-img-wrap { max-width: 90vw; max-height: 80vh; display: flex; align-items: center; justify-content: center; }
.gl-img-wrap img { max-width: 90vw; max-height: 78vh; object-fit: contain; border-radius: 10px; box-shadow: 0 0 60px rgba(0,0,0,0.8); }
.gl-close {
  position: fixed; top: 20px; right: 24px; background: rgba(255,255,255,0.1); border: none;
  color: #fff; font-size: 1.4rem; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; z-index: 10000; transition: background 0.2s;
}
.gl-close:hover { background: rgba(255,255,255,0.25); }
.gl-prev, .gl-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  font-size: 1.3rem; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; z-index: 10000; transition: background 0.2s;
}
.gl-prev { left: 16px; } .gl-next { right: 16px; }
.gl-prev:hover, .gl-next:hover { background: rgba(255,255,255,0.25); }
.gl-caption { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 12px; min-height: 20px; }
.gl-dots { display: flex; gap: 8px; margin-top: 10px; }
.gl-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.2s; border: none; }
.gl-dot.active { background: var(--accent); }

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────────── */
#testimonials { max-width: 1200px; margin: 0 auto; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 28px; display: flex; flex-direction: column;
  gap: 16px; transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.4);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.testimonial-text {
  color: var(--gray); font-size: 0.93rem; line-height: 1.8;
  flex: 1; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace; font-size: 0.65rem; font-weight: 700; color: #fff;
}
.testimonial-name { font-weight: 700; font-size: 0.88rem; color: var(--white); }
.testimonial-role { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ─── SYNEKMETALLEFSI MODAL ──────────────────────────────────────────────────── */
.synekm-overlay {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.75); align-items: center; justify-content: center;
  padding: 20px;
}
.synekm-overlay.active { display: flex; }
@keyframes synekmPop {
  0%   { transform: scale(0.7); opacity: 0; }
  70%  { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.synekm-box {
  background: linear-gradient(145deg, #0f0f2a, #1a1040);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 24px; padding: 40px 36px; max-width: 560px; width: 100%;
  position: relative; animation: synekmPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
  box-shadow: 0 0 60px rgba(99,102,241,0.15);
}
.synekm-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.06); border: none; color: rgba(255,255,255,0.5);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 0.9rem;
  transition: all 0.2s;
}
.synekm-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.synekm-icon {
  width: 56px; height: 56px; background: linear-gradient(135deg,var(--violet),var(--cyan));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; margin-bottom: 20px;
}
.synekm-title {
  font-family: 'Orbitron', monospace; font-size: 1.1rem; font-weight: 800;
  color: var(--white); margin-bottom: 20px; letter-spacing: 0.06em;
}
.synekm-body p {
  color: var(--gray); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px;
}
.synekm-body strong { color: var(--violet-light); }
.synekm-cta { margin-top: 24px; display: inline-flex; }

/* ─── CTA BAND ───────────────────────────────────────────────────────────────── */
#cta-band {
  background: linear-gradient(135deg, #1a0a2e 0%, #0a1a2e 50%, #1a0a1a 100%);
  padding: 100px 5%; position: relative; overflow: hidden; text-align: center;
}
#cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.15), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-title {
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: clamp(1.8rem,4vw,3rem); line-height: 1.2; margin-bottom: 20px;
}
.cta-desc { color: var(--gray); font-size: 1.05rem; line-height: 1.7; margin-bottom: 40px; }

/* ─── CONTACT ────────────────────────────────────────────────────────────────── */
#contact { max-width: 1100px; margin: 0 auto; padding: 100px 5%; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; margin-top: 60px; align-items: start;
}
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; color: var(--gray); font-size: 0.95rem;
}
.contact-detail i {
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.3);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--violet); flex-shrink: 0; font-size: 1rem;
}
.contact-detail a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.contact-detail a:hover { color: var(--violet-light); }
.contact-form {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 24px; padding: 40px; backdrop-filter: blur(12px);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(37,99,235,0.2); border-radius: 12px;
  padding: 14px 18px; color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--violet); box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-success {
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4);
  border-radius: 12px; padding: 16px 20px; color: #4ade80;
  margin-bottom: 24px; font-size: 0.95rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
footer { background: #080811; border-top: 1px solid rgba(37,99,235,0.15); padding: 60px 5% 30px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 50px; flex-wrap: wrap;
}
.footer-brand .foot-logo { text-decoration: none; display: inline-block; margin-bottom: 14px; }
.footer-brand .foot-logo img {
  height: 34px; width: auto; display: block;
  filter: drop-shadow(0 0 6px rgba(37,99,235,0.4));
}
.footer-brand p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-links h4 {
  font-family: 'Orbitron', monospace; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--violet); margin-bottom: 16px; text-transform: uppercase;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray); text-decoration: none; font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--gray); font-size: 0.82rem; }
.footer-credit a {
  color: rgba(255,255,255,0.25); font-size: 0.75rem; text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.3s;
}
.footer-credit a:hover { color: var(--violet); }

/* ─── WHATSAPP & BACK TOP ────────────────────────────────────────────────────── */
#whatsapp-btn {
  position: fixed; bottom: 30px; right: 30px; z-index: 200;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: white; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s; cursor: pointer;
}
#whatsapp-btn:hover { transform: scale(1.15) translateY(-4px); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
#back-top {
  position: fixed; bottom: 100px; right: 30px; z-index: 200;
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.4);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--violet); cursor: pointer; transition: all 0.3s;
  opacity: 0; pointer-events: none; backdrop-filter: blur(10px);
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: rgba(37,99,235,0.3); transform: translateY(-4px); }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── CATALOG PAGE ───────────────────────────────────────────────────────────── */
.catalog-hero {
  padding: 160px 5% 80px; text-align: center;
  position: relative; overflow: hidden; background: var(--bg);
}
.catalog-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 60px 60px; z-index: 0;
}
.catalog-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.catalog-hero .orb { position: absolute; }

.catalog-body { max-width: 1200px; margin: 0 auto; padding: 120px 5% 100px; }
.catalog-page-header { margin-bottom: 32px; }

/* Filter bar */
/* ── Toolbar: search + dropdown ─────────────────────────── */
.catalog-toolbar {
  display: flex; gap: 12px; align-items: stretch;
  margin-bottom: 32px; flex-wrap: wrap;
}
.catalog-search { position: relative; flex: 1; min-width: 200px; }
.catalog-search input {
  width: 100%; height: 100%; background: var(--card-bg);
  border: 1px solid var(--card-border); border-radius: 12px;
  padding: 14px 18px 14px 48px; color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.catalog-search input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.catalog-search input::placeholder { color: var(--gray); }
.catalog-search .search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gray); font-size: 1rem; pointer-events: none;
}

/* Category dropdown */
.catalog-cat-dropdown {
  position: relative; display: flex; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 12px; min-width: 220px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.catalog-cat-dropdown:focus-within {
  border-color: var(--violet); box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.cat-dropdown-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--violet-light); font-size: 0.9rem; pointer-events: none;
}
.cat-dropdown-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gray); font-size: 0.75rem; pointer-events: none;
  transition: transform 0.2s;
}
.catalog-cat-dropdown select {
  width: 100%; appearance: none; background: transparent; border: none; outline: none;
  padding: 14px 40px 14px 42px; color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.92rem; cursor: pointer;
}
.catalog-cat-dropdown select option { background: #13132a; color: var(--white); }

.catalog-count { font-size: 0.85rem; color: var(--gray); margin-bottom: 20px; }
.catalog-count span { color: var(--violet-light); font-weight: 600; }

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }

.game-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
  backdrop-filter: blur(12px);
}
.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.4),
    0 0 30px rgba(37,99,235,0.2);
  border-color: rgba(37,99,235,0.5);
}
.game-card.hidden { display: none; }

.game-image-wrap { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.game-image-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s; padding: 8px; }
.game-card:hover .game-image-wrap img { transform: scale(1.04); }
.game-image-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg,#0f1a35,#1a2a5e,#0a1025); transition: transform 0.5s;
}
.game-card:hover .game-image-placeholder { transform: scale(1.05); }

.stock-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; backdrop-filter: blur(8px);
}
.stock-badge.in-stock { background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.5); color: #4ade80; }
.stock-badge.out-of-stock { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.4); color: #f87171; }

.game-card-body { padding: 20px; }
.game-category-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 10px;
}
.cat-fighting   { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.4);  color: #f87171; }
.cat-racing     { background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.4); color: #fb923c; }
.cat-shooting   { background: rgba(6,182,212,0.15);  border: 1px solid rgba(6,182,212,0.4);  color: #22d3ee; }
.cat-sports     { background: rgba(34,197,94,0.15);  border: 1px solid rgba(34,197,94,0.4);  color: #4ade80; }
.cat-classics   { background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.4); color: #a78bfa; }
.cat-arcade-mix { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4); color: #fbbf24; }
.cat-default    { background: rgba(37,99,235,0.15);  border: 1px solid rgba(37,99,235,0.4);  color: #60a5fa; }

.game-title {
  font-family: 'Orbitron', monospace; font-size: 1rem;
  font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.3;
}
.game-price-wrap { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.game-price-label { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.game-price { font-family: 'Orbitron', monospace; font-size: 1.1rem; font-weight: 700; color: var(--orange); }
.game-price .woocommerce-Price-amount { font-family: 'Orbitron', monospace; color: var(--orange); }

.game-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(6,182,212,0.08));
  border: 1px solid rgba(37,99,235,0.35); border-radius: 10px;
  color: var(--violet-light); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.04em; cursor: pointer;
  transition: all 0.3s; font-family: 'Orbitron', monospace;
}
.game-cta:hover {
  background: linear-gradient(135deg, rgba(37,99,235,0.3), rgba(6,182,212,0.15));
  border-color: var(--violet); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 0 20px rgba(37,99,235,0.3);
}

.no-games { text-align: center; padding: 80px 20px; color: var(--gray); grid-column: 1 / -1; }
.no-games i { font-size: 3rem; color: rgba(37,99,235,0.3); display: block; margin-bottom: 16px; }

/* Card hover overlay */
.game-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,24,0.65);
  display: flex; align-items: center; justify-content: center;
  gap: 8px; color: var(--white);
  font-family: 'Orbitron', monospace; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; opacity: 0;
  transition: opacity 0.3s; border-radius: 16px 16px 0 0;
  backdrop-filter: blur(2px); cursor: pointer;
}
.game-card-overlay i { font-size: 1.1rem; }
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card { cursor: pointer; }

/* ─── PRODUCT MODAL ──────────────────────────────────────────────────────────── */
.pv-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.pv-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.pv-modal {
  background: linear-gradient(135deg, #0f0f24, #13132a);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 24px;
  max-width: 860px; width: 100%;
  max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(37,99,235,0.15);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.pv-modal-overlay.open .pv-modal {
  transform: translateY(0) scale(1);
}
.pv-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray); font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s; z-index: 1;
}
.pv-modal-close:hover { background: rgba(239,68,68,0.2); color: #ef4444; border-color: rgba(239,68,68,0.4); }

.pv-modal-image-wrap {
  position: relative; border-radius: 24px 0 0 24px; overflow: hidden;
  height: 420px; background: rgba(255,255,255,0.03); flex-shrink: 0;
}
.pv-modal-image-wrap img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.pv-modal-image-wrap .stock-badge {
  position: absolute; top: 16px; left: 16px;
}
.pv-modal-body {
  padding: 40px 36px;
  display: flex; flex-direction: column;
  overflow-y: auto; max-height: 420px;
}
.pv-modal-title {
  font-family: 'Orbitron', monospace; font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.3;
}
.pv-modal-desc {
  color: var(--gray); font-size: 0.95rem; line-height: 1.75;
  margin-bottom: 20px;
  max-height: 140px; overflow-y: auto;
}
/* Specs grid: τιμή + διαστάσεις */
.pv-modal-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
}
.pv-spec-box {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 14px 16px;
}
.pv-spec-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4); font-weight: 600;
}
.pv-spec-label i { margin-right: 5px; }
.pv-spec-value {
  font-size: 0.95rem; font-weight: 600; color: var(--white);
}
.pv-price-value {
  font-family: 'Orbitron', monospace; font-size: 1.2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--violet-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pv-modal-desc::-webkit-scrollbar { width: 4px; }
.pv-modal-desc::-webkit-scrollbar-track { background: transparent; }
.pv-modal-desc::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.4); border-radius: 2px; }
.pv-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.pv-modal-actions .btn-primary,
.pv-modal-actions .btn-secondary { padding: 12px 24px; font-size: 0.8rem; }

/* Hide stock badge inside modal */
.pv-modal-overlay .stock-badge { display: none !important; }

/* Gallery thumbnails */
.pv-modal-thumbs {
  display: none;
}
.pv-modal-thumb {
  width: 52px; height: 52px; border-radius: 8px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15); cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.pv-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-modal-thumb:hover,
.pv-modal-thumb.active { border-color: var(--violet); transform: scale(1.08); }

/* Prev/Next arrows */
.pv-modal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s; z-index: 5;
}
.pv-modal-arrow:hover { background: rgba(124,58,237,0.6); border-color: rgba(124,58,237,0.8); }
.pv-modal-arrow.prev { left: 10px; }
.pv-modal-arrow.next { right: 10px; }
.pv-modal-arrow[hidden] { display: none; }

/* No image fallback in modal */
.pv-modal-image-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.05));
}

@media (max-width: 640px) {
  .pv-modal { grid-template-columns: 1fr; overflow-y: auto; }
  .pv-modal-image-wrap { border-radius: 24px 24px 0 0; height: 200px; max-height: 200px; }
  .pv-modal-image-wrap img { height: 200px; object-fit: contain; }
  .pv-modal-body { padding: 24px 20px; max-height: none; overflow-y: visible; }
  .pv-modal-arrow { width: 30px; height: 30px; font-size: 0.75rem; }
}

/* ─── IMAGE ZOOM LIGHTBOX ────────────────────────────────────────────────────── */
.imgzoom-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.imgzoom-overlay.open { opacity: 1; pointer-events: all; }
.imgzoom-overlay img {
  max-width: 92vw; max-height: 92vh;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.imgzoom-overlay.open img { transform: scale(1); }
.imgzoom-close {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.imgzoom-close:hover { background: rgba(239,68,68,0.4); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-right { display: flex; }
  .lang-toggle-mobile { display: flex; font-size: 0.6rem; padding: 4px 8px; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .catalog-toolbar { flex-direction: column; }
  .catalog-cat-dropdown { min-width: unset; }

  /* ── Gallery: 2 στήλες, αν μονός αριθμός → τελευταία full width ── */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* ── Catalog: 2 στήλες, αν μονός αριθμός → τελευταία full width ── */
  .games-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .game-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* ── Testimonials: horizontal slider ── */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 82vw;
    scroll-snap-align: center;
    max-width: 340px;
  }
}
