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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f5ff;
  background: #050012;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* animated gradient bg */
.bg-gradient {
  position: fixed;
  inset: -40%;
  background: radial-gradient(circle at top, #3518ff 0, transparent 55%),
              radial-gradient(circle at bottom, #00eaff 0, transparent 60%);
  opacity: 0.35;
  filter: blur(12px);
  z-index: -2;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 10vw 10px 10vw;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 20px #00eaff;
  animation: logoPulse 2.6s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 12px #00eaff; }
  50%      { box-shadow: 0 0 26px #00ffff; }
}

.logo-text h1 {
  font-size: 26px;
  line-height: 1.2;
}

.logo-text span {
  color: #00eaff;
  text-shadow: 0 0 12px #00eaff;
}

.subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: #a3dfff;
}

/* privacy button */
.privacy-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00eaff, #ff3b7f);
  color: #050014;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(0,234,255,0.6);
}

/* banner */
.banner {
  text-align: center;
  padding: 10px 10vw 30px 10vw;
}

.banner h2 {
  font-size: 42px;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px #00eaff, 0 0 26px #00eaff, 0 0 42px #00f6ff;
  animation: neonPulse 3s ease-in-out infinite;
}

.banner p {
  font-size: 18px;
  color: #d0d5ff;
  text-shadow: 0 0 8px #0048ff;
  animation: neonSoft 4s ease-in-out infinite alternate;
}

/* games */
.games {
  padding: 10px 10vw 30px 10vw;
}

.section-title {
  font-size: 22px;
  margin-bottom: 16px;
  text-align: center;
  text-shadow: 0 0 10px #ff3b7f;
}

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

.game-card {
  background: rgba(8, 6, 40, 0.82);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  border: 1px solid #00eaff33;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border 0.18s ease;
}

.game-card img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 10px;
  box-shadow: 0 0 18px rgba(0,234,255,0.5);
}

.game-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.game-card p {
  font-size: 14px;
  color: #c1c6ff;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #00eaffaa;
  box-shadow: 0 0 26px rgba(0, 234, 255, 0.7);
}

/* about section */
.about {
  padding: 20px 10vw 40px 10vw;
  text-align: center;
}

.about h2 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 16px #00eaff, 0 0 32px #00f6ff;
}

.about-text {
  font-size: 28px;
  line-height: 1.8;
  color: #e4f5ff;
  background: rgba(10, 5, 40, 0.78);
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(0, 234, 255, 0.28);
  text-shadow: 0 0 10px #0050ff;
  animation: aboutGlow 3.5s ease-in-out infinite alternate;
}

/* footer */
.footer {
  text-align: center;
  padding: 16px 0 22px 0;
  font-size: 13px;
  color: #a0a4d8;
}

/* === NEON AI CHAT WIDGET === */
..neon-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #00eaff);
  box-shadow: 0 0 20px #00eaff, 0 0 45px #00ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  animation: neonChatPulse 2.4s ease-in-out infinite;
}

.neon-chat-icon {
  font-weight: 700;
  font-size: 20px;
  color: #050014;
  text-shadow: 0 0 6px #ffffff;
}

@keyframes neonChatPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 16px #00eaff; }
  50% { transform: scale(1.08); box-shadow: 0 0 32px #00ffff; }
}

.neon-chat-window {
  position: fixed;
  right: 24px;
  bottom: 104px;
  width: 360px;
  max-width: 90vw;
  height: 470px;
  background: rgba(5, 0, 36, 0.92);
  border-radius: 14px;
  border: 1px solid #00eaff;
  box-shadow: 0 0 28px rgba(0, 234, 255, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  backdrop-filter: blur(8px);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.neon-chat-window.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.neon-chat-header {
  padding: 10px 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: left;
  color: #00eaff;
  text-shadow: 0 0 10px #00eaff;
  border-bottom: 1px solid #00eaff44;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.neon-chat-close {
  cursor: pointer;
  font-size: 14px;
  color: #88d9ff;
}

.neon-chat-messages {
  flex: 1;
  padding: 10px 12px 6px 12px;
  overflow-y: auto;
  font-size: 14px;
}

.neon-chat-msg {
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 10px;
  max-width: 90%;
  line-height: 1.4;
}

.neon-chat-msg-user {
  margin-left: auto;
  background: linear-gradient(135deg, #ff8a00, #ff3b7f);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 120, 0, 0.7);
}

.neon-chat-msg-ai {
  margin-right: auto;
  background: rgba(10, 20, 60, 0.95);
  color: #e4f5ff;
  border: 1px solid #00eaff66;
  box-shadow: 0 0 14px rgba(0, 234, 255, 0.5);
}

.neon-chat-input {
  display: flex;
  border-top: 1px solid #00eaff44;
}

.neon-chat-input input {
  flex: 1;
  padding: 10px;
  background: rgba(2, 0, 20, 0.9);
  border: none;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.neon-chat-input button {
  padding: 0 16px;
  border: none;
  background: linear-gradient(135deg, #00eaff, #00ffaa);
  color: #050014;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.neon-chat-input button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .privacy-btn {
    align-self: flex-end;
  }
  .games {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .about {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

/* Placeholder pages */
.placeholder {
  text-align: center;
  margin-top: 120px;
  color: #0ff;
}
.placeholder .back {
  display: inline-block;
  margin-top: 20px;
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
}

/* Menu */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #0005;
  position: sticky;
  top: 0;
}

.logo-small img {
  height: 40px;
}

/* old nav removed */

/* old nav removed */

.burger {
  display: none;
  color: #0ff;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 700px) {
  /* old nav removed */
  /* old nav removed */
  .burger {
    display: block;
  }
}


/* Neon decorative line under banner */
.neon-line {
  width: 60%;
  height: 3px;
  margin: 14px auto 4px auto;
  background: linear-gradient(90deg, transparent, #00eaff, transparent);
  filter: drop-shadow(0 0 10px #00eaff);
  animation: linePulse 3s ease-in-out infinite;
}

/* Neon text animations */
@keyframes neonPulse {
  0% { text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff; }
  50% { text-shadow: 0 0 20px #00f6ff, 0 0 40px #00f6ff; }
  100% { text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff; }
}

@keyframes neonSoft {
  0% { opacity: 0.82; }
  100% { opacity: 1; }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 6px #0048ff; }
  100% { text-shadow: 0 0 18px #00f0ff; }
}

@keyframes linePulse {
  0% { filter: drop-shadow(0 0 6px #00eaff); }
  50% { filter: drop-shadow(0 0 18px #00f6ff); }
  100% { filter: drop-shadow(0 0 6px #00eaff); }
}


.glow-title {
  font-size: 3rem;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff;
}

header .logo img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80px;
  z-index: 1000;
}


/* ABOUT v2.0 */
.about-section {
    padding: 120px 20px;
    background: #0a0a0f;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1.6s ease-out forwards;
}

.about-title {
    font-size: 52px;
    color: #ffffff;
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px #7d2cff, 0 0 40px #7d2cff;
    animation: neonPulse 2s infinite alternate;
}

.about-text {
    font-size: 22px;
    color: #bfbfe3;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInText 2.2s ease forwards 0.5s;
}

.about-text .highlight {
    color: #9f57ff;
    text-shadow: 0 0 10px #9f57ff, 0 0 25px #d38aff;
}

/* removed about-logo */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes neonPulse {
    0% { text-shadow: 0 0 15px #7d2cff, 0 0 30px #7d2cff; }
    100% { text-shadow: 0 0 35px #d38aff, 0 0 60px #d38aff; }
}

@keyframes glowLogo {
    0% { filter: drop-shadow(0 0 3px #7d2cff); }
    100% { filter: drop-shadow(0 0 18px #d38aff); }
}



/* === HERO SECTION (Neon Sci-Fi) === */

.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 10vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.35), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(160, 0, 255, 0.35), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 180, 255, 0.18), transparent 70%);
  filter: blur(40px);
  animation: heroGlow 8s ease-in-out infinite alternate;
  z-index: -2;
}

@keyframes heroGlow {
  0% { filter: blur(40px); opacity: 0.7; }
  100% { filter: blur(60px); opacity: 1; }
}

.hero-content {
  text-align: center;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff;
  animation: neonPulse 3s ease-in-out infinite;
  letter-spacing: 1px;
}

.hero-subtitle {
  margin-top: 14px;
  font-size: 20px;
  color: #d8ecff;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-btn {
  padding: 14px 34px;
  font-size: 18px;
  color: #050010;
  background: linear-gradient(135deg, #00eaff, #00ffaa);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 18px #00eaff;
  transition: 0.2s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 32px #00f6ff;
}

.hero-btn.secondary {
  background: transparent;
  color: #00eaff;
  border: 2px solid #00eaff;
  box-shadow: none;
}

.hero-btn.secondary:hover {
  color: #050010;
  background: #00eaff;
  box-shadow: 0 0 32px #00f6ff;
}

@media (max-width: 768px) {
  .hero { height: 55vh; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 16px; }
}


/* === Improved Games Section v4.0 === */
.section-neon-line {
  width: 160px;
  height: 3px;
  margin: 10px auto 30px auto;
  background: linear-gradient(90deg, transparent, #00eaff, transparent);
  filter: drop-shadow(0 0 12px #00eaff);
  animation: linePulse 3s ease-in-out infinite;
}

.game-card {
  background: rgba(10, 8, 40, 0.78);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  color: #eafaff;
  border: 1px solid #00eaff44;
  box-shadow: 0 0 28px rgba(0, 234, 255, 0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(0, 234, 255, 0.55);
}

.game-card img {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  margin-bottom: 10px;
  box-shadow: 0 0 18px #00eaffaa;
}

/* Footer v4 */
.footer-new {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  color: #8fbce8;
  font-size: 14px;
  opacity: 0.8;
}


/* === MINI GAMES v5.0 === */
.mini-games {
  margin-top: 80px;
  text-align: center;
}
.mini-grid {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.mini-card {
  width: 180px;
  padding: 16px;
  background: rgba(10, 8, 35, 0.85);
  border: 1px solid #00eaff44;
  border-radius: 16px;
  box-shadow: 0 0 22px #00eaff22;
  text-decoration: none;
  color: #e9faff;
  transition: .25s;
}
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 38px #00f0ff88;
}
.mini-card img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  margin-bottom: 10px;
  box-shadow: 0 0 14px #00eaffaa;
}

/* === CONTACT PAGE v5 === */
.contact-page {
  max-width: 550px;
  margin: 120px auto;
  text-align: center;
  color: #e8faff;
}
.contact-box {
  margin: 24px auto;
  padding: 20px;
  background: rgba(10, 15, 40, 0.85);
  border: 1px solid #00eaff55;
  border-radius: 14px;
  box-shadow: 0 0 18px #00eaff33;
}
.contact-box span {
  color: #00eaff;
  font-size: 20px;
}
.back-btn {
  margin-top: 20px;
  display: inline-block;
  color: #00eaff;
  text-decoration: none;
  font-size: 16px;
}


/* === GAMES PAGE v7.0 === */

.games-title {
  margin-top:140px;
  text-align:center;
  font-size:42px;
  font-weight:800;
  color:#eaffff;
  text-shadow:0 0 20px #00eaff,0 0 40px #00eaff;
}

.games-list, .mini-list {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:34px;
  margin-top:40px;
}

.game-card-big {
  width:260px;
  padding:20px;
  background:rgba(10,10,40,0.85);
  border-radius:20px;
  border:1px solid #00eaff55;
  text-align:center;
  text-decoration:none;
  color:#e9ffff;
  transition:0.25s;
  box-shadow:0 0 22px #00eaff22;
}

.game-card-big:hover {
  transform:translateY(-6px);
  box-shadow:0 0 40px #00f0ffaa;
}

.game-card-big img {
  width:140px;
  height:140px;
  border-radius:26px;
  margin-bottom:14px;
  box-shadow:0 0 22px #00eaffaa;
}

.game-card-big h3 {
  margin:6px 0;
  font-size:22px;
  color:#a7faff;
}

.game-card-big p {
  font-size:15px;
  opacity:0.8;
}



/* === GLOBAL SCI-FI BACKGROUND v8 === */
body::before {
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,255,255,0.12), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(170,0,255,0.12), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0,150,255,0.08), transparent 70%);
  filter: blur(45px);
  z-index:-3;
  animation: bgPulse 10s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0% { opacity:0.6; transform:scale(1); }
  100% { opacity:1; transform:scale(1.2); }
}

/* === SCROLL ANIMATION v8 === */
.fade-in {
  opacity:0;
  transform:translateY(20px);
  transition:0.8s ease;
}
.fade-in.visible {
  opacity:1;
  transform:translateY(0);
}

/* === PRELOADER === */
#preloader {
  position:fixed;
  inset:0;
  background:#050010;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:99999;
}
.preloader-circle {
  width:70px;
  height:70px;
  border:6px solid #00eaff;
  border-top-color:transparent;
  border-radius:50%;
  animation: spin 1s linear infinite, glow 2s ease-in-out infinite alternate;
}
@keyframes spin { to { transform:rotate(360deg);} }
@keyframes glow { 
  0% { box-shadow:0 0 10px #00eaff; }
  100% { box-shadow:0 0 25px #00eaff; }
}


/* === FOOTER v10.0 === */
.footer-x {
  margin-top:80px;
  padding:40px 0;
  text-align:center;
  position:relative;
  color:#bfeaff;
}

.footer-line {
  width:180px;
  height:3px;
  margin:0 auto 26px;
  background:linear-gradient(90deg, transparent,#00eaff,transparent);
  filter:drop-shadow(0 0 10px #00eaff);
}

.footer-content p {
  opacity:0.8;
  margin-top:10px;
  font-size:14px;
}

.footer-logo {
  width:90px;
  margin-bottom:10px;
  filter:drop-shadow(0 0 12px #00eaff);
}

.footer-socials {
  margin-top:20px;
  display:flex;
  justify-content:center;
  gap:30px;
}

.footer-socials .social {
  color:#00eaff;
  text-decoration:none;
  font-size:16px;
  transition:0.25s;
}

.footer-socials .social:hover {
  text-shadow:0 0 12px #00eaff;
  color:white;
}


/* === SECTION DIVIDERS v11 === */
.section-divider {
  width: 100%;
  height: 4px;
  margin: 60px 0;
  background: linear-gradient(90deg, transparent, #00eaff, transparent);
  animation: dividerGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 12px #00eaff);
}

@keyframes dividerGlow {
  0% { opacity:0.6; transform:scaleX(0.9); }
  100% { opacity:1; transform:scaleX(1.1); }
}

/* === GLOWING MENU v11 === */
/* old nav removed */
/* old nav removed */


/* === PROTUBERANCE NEON STREAKS v12 === */
.neon-streak {
  position: fixed;
  top: -200px;
  width: 4px;
  height: 180px;
  background: linear-gradient(to bottom, #00eaff, transparent);
  filter: drop-shadow(0 0 12px #00eaff);
  opacity: 0.7;
  z-index: -2;
  animation: streakFall 3.2s linear infinite;
}

@keyframes streakFall {
  0% { transform: translateY(-300px) translateX(0); opacity: 0.0; }
  20% { opacity: 1; }
  100% { transform: translateY(120vh) translateX(20px); opacity: 0; }
}

/* Slight random tilt */
.neon-streak:nth-child(3n) { transform: rotate(3deg); }
.neon-streak:nth-child(4n) { transform: rotate(-4deg); }
.neon-streak:nth-child(5n) { transform: rotate(2deg); }

/* MASSIVE BACKGROUND AURA */
body::after {
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,255,255,0.15), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(255,0,180,0.15), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0,180,255,0.12), transparent 70%);
  filter:blur(75px);
  z-index:-4;
  animation: aurabloom 12s ease-in-out infinite alternate;
}

@keyframes aurabloom {
  0% { opacity:0.6; transform:scale(1); }
  100% { opacity:1; transform:scale(1.35); }
}

/* MENU SUPERCHARGE */
/* old nav removed */


/* === HOLOGRAPHIC GAME CARDS v15.0 === */
.holo-card {
  position: relative;
  overflow: hidden;
  background: rgba(10,10,30,0.85);
  border-radius: 20px;
  border: 1px solid #00eaff55;
  box-shadow: 0 0 25px #00eaff33;
  transition: 0.25s ease;
  transform-style: preserve-3d;
}

.holo-card:hover {
  transform: rotateY(8deg) rotateX(6deg) scale(1.05);
  box-shadow: 0 0 35px #00f0ffaa;
}

/* Hologram sheen layer */
.holo-card::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, 
    transparent 0%, 
    rgba(0,255,255,0.25) 40%, 
    rgba(255,0,200,0.25) 60%, 
    transparent 100%);
  opacity:0;
  transition:0.4s;
  mix-blend-mode:screen;
}

.holo-card:hover::after {
  opacity:1;
}

/* Glitch scan lines */
.holo-lines {
  position:absolute;
  inset:0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0,255,255,0.06) 0px,
    rgba(0,255,255,0.06) 2px,
    transparent 3px,
    transparent 5px
  );
  mix-blend-mode: overlay;
  pointer-events:none;
  opacity:0.5;
}

/* Chromatic aberration (text shift) */
.holo-card h3, 
.holo-card p {
  position:relative;
}
.holo-card h3::before,
.holo-card p::before {
  content: attr(data-text);
  position:absolute;
  left:0; top:0;
  color:#ff00ff;
  transform:translateX(2px);
  opacity:0.4;
  pointer-events:none;
}
.holo-card h3::after,
.holo-card p::after {
  content: attr(data-text);
  position:absolute;
  left:0; top:0;
  color:#00ffff;
  transform:translateX(-2px);
  opacity:0.4;
  pointer-events:none;
}



/* === CLICK EXPLOSION v16 === */
.click-particle {
  position:fixed;
  width:6px;
  height:6px;
  background:#00eaff;
  border-radius:50%;
  pointer-events:none;
  z-index:9999;
  box-shadow:0 0 12px #00eaff;
}

.shockwave {
  position:fixed;
  width:8px;
  height:8px;
  border:3px solid #00eaff;
  border-radius:50%;
  transform:translate(-50%, -50%);
  pointer-events:none;
  z-index:9998;
  animation: shockExpand 0.6s ease-out forwards;
}

@keyframes shockExpand {
  from {
    width:8px; height:8px; opacity:1;
    box-shadow:0 0 18px #00eaff;
  }
  to {
    width:220px; height:220px; opacity:0;
    box-shadow:0 0 40px #00eaff55;
  }
}


/* === PARALLAX COSMOS v17 === */
.parallax-layer {
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  z-index:-7;
  transition:transform 0.1s linear;
  pointer-events:none;
}

/* BACK layer — faint nebula */
.layer-back {
  background-image:radial-gradient(circle at 40% 30%, rgba(0,80,255,0.4), transparent 70%);
  filter:blur(20px);
}

/* MID layer — stars */
.layer-mid {
  background-image:
    url('https://raw.githubusercontent.com/akabab/starwars-api/0.2.1/api/images/teal_stars.png');
  opacity:0.55;
}

/* FRONT layer — bright stars */
.layer-front {
  background-image:
    url('https://raw.githubusercontent.com/akabab/starwars-api/0.2.1/api/images/blue_stars.png');
  opacity:0.8;
}

/* Enhanced nav for desktop */
nav/* old nav removed */

/* Burger menu styling */
.burger {
    display: none;
    font-size: 32px;
    color: #00eaff;
    cursor: pointer;
}

/* Mobile */
@media(max-width: 800px) {
  nav/* old nav removed */
  nav/* old nav removed */
  .burger {
    display:block;
    position:absolute;
    top:20px;
    right:20px;
  }
}

/* FULL MOBILE OPTIMIZATION */
@media(max-width: 600px) {

  body { overflow-x:hidden; }

  header { height:70px; }

  .logo-small img {
      width:90px !important;
      height:auto;
  }

  .hero-frame{
      width:90% !important;
      height:38% !important;
  }

  .title{
      font-size:28px !important;
      text-align:center;
  }

  .subtitle{
      font-size:16px !important;
      text-align:center;
  }

  .buttons a, .btn{
      padding:12px 16px !important;
      font-size:16px !important;
  }

  nav/* old nav removed */

  .burger{
      display:block !important;
      right:15px;
      top:15px;
  }
}

/* iPhone SE (small screens) */
@media(max-width: 375px) {
  .title{ font-size:24px!important; }
  .subtitle{ font-size:14px!important; }
  .hero-frame{ height:34%!important; }
  .btn, .buttons a { font-size:14px!important; padding:10px 12px!important;}
}

/* Large phones (iPhone Pro Max, Samsung Ultra) */
@media(min-width: 430px) and (max-width:600px){
  .title{ font-size:32px!important; }
  .subtitle{ font-size:18px!important; }
  .hero-frame{ height:40%!important; }
}

/* Tablets (iPad, Samsung Tab) */
@media(min-width: 600px) and (max-width:1024px) {
  .hero-frame{ width:75%!important; height:45%!important; }
  .title{ font-size:40px!important; }
  nav/* old nav removed */
  .buttons a{ font-size:20px!important; }
}

/* Ultra-wide phones */
@media(min-width: 1024px) and (max-width:1280px){
  .hero-frame{ width:65%!important; }
}

/* COMBINED: Force nav above all layers */
nav/* old nav removed */
@media(max-width: 800px){
  nav/* old nav removed */
}

/* REMOVE LOGO + FORCE NAV TOPMOST */
nav/* old nav removed */
.burger {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 1000000 !important;
}

.back-btn{
 position:fixed;
 top:10px;
 left:10px;
 padding:10px 14px;
 background:rgba(0,20,30,0.7);
 color:#00eaff;
 border:2px solid #00eaff;
 border-radius:8px;
 text-decoration:none;
 font-size:18px;
 z-index:999999;
 box-shadow:0 0 10px #00eaff;
}
.back-btn:hover{
 background:rgba(0,80,100,0.8);
}

/* Ensure mobile menu opens correctly */
@media(max-width: 800px){
  nav/* old nav removed */
}

/* Chat & AI button mobile adaptation */
@media(max-width: 600px){
  .neon-chat-toggle{
    width:54px;
    height:54px;
    right:12px;
    bottom:12px;
  }
  .neon-chat-window{
    right:4px;
    left:4px;
    bottom:72px;
    width:auto;
    height:60vh;
    max-width:100%;
  }
}

/* FIXED TOP MENU */
#mainHeader {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 12px 16px;
    z-index: 9999999 !important;
    background: rgba(0,0,20,0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* NAV LINKS */
#mainNav a {
    margin-right: 24px;
    color: #00eaff;
    text-decoration: none;
    font-size: 20px;
    text-shadow: 0 0 6px #00eaff;
}

/* BURGER */
.burger {
    font-size: 34px;
    cursor: pointer;
    z-index: 10000000 !important;
    margin-right: 20px;
    color: #00eaff;
}

/* DESKTOP */
@media(min-width: 801px){
    #mainNav { display: flex !important; }
}

/* MOBILE PANEL */
@media(max-width: 800px){
    #mainNav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0; right: 0;
        width: 100%;
        background: rgba(0,0,20,0.95);
        padding: 20px;
        flex-direction: column;
        z-index: 9999999 !important;
    }
    #mainNav.open { display: flex !important; }
    #mainNav a { font-size: 26px; margin: 12px 0; }
}

/* CHAT FIXED CORNER */
.neon-chat-toggle {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 9999998 !important;
}
.neon-chat-window {
    position: fixed !important;
    right: 20px !important;
    bottom: 100px !important;
    z-index: 9999998 !important;
}

/* MOBILE CHAT */
@media(max-width: 600px){
    .neon-chat-window{
        left: 10px !important;
        right: 10px !important;
        bottom: 80px !important;
        height: 60vh !important;
        width: auto !important;
    }
}

/* RESTORED PRO AI ICON */
.neon-chat-toggle {
    width: 70px !important;
    height: 70px !important;
    background: radial-gradient(circle at 30% 30%, #ffffff, #00eaff) !important;
    border-radius: 50%;
    box-shadow: 0 0 22px #00eaff, 0 0 45px #00ffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.neon-chat-icon {
    color: #001122;
    font-size: 26px;
    font-weight: 900;
    text-shadow: 0 0 8px #00eaff;
}

/* FIX BACK-BUTTON BELOW MENU */
.back-btn {
    position: fixed !important;
    top: 80px !important; /* below fixed menu */
    left: 10px !important;
    z-index: 9999997 !important;
}

/* FIXED SAFE-AREA MENU */
#mainHeader {
    position: fixed;
    top: env(safe-area-inset-top);
    left: 0;
    width: 100%;
    padding: 14px 12px;
    padding-top: calc(14px + env(safe-area-inset-top));
    background: rgba(0,0,20,0.75);
    backdrop-filter: blur(10px);
    z-index: 9999999 !important;
    display: flex;
    align-items: center;
}

/* nav links */
#mainNav a {
    margin-right: 24px;
    font-size: 20px;
    color: #00eaff !important;
    text-decoration: none;
    text-shadow: 0 0 6px #00eaff;
}

/* burger */
.burger {
    font-size: 32px;
    margin-right: 16px;
    color: #00eaff;
    z-index: 10000000 !important;
    cursor: pointer;
}

/* desktop */
@media(min-width:801px){
   #mainNav { display:flex !important; }
}

/* mobile */
@media(max-width:800px){
   #mainNav {
       display:none;
       position: fixed;
       top: calc(60px + env(safe-area-inset-top));
       left:0; right:0;
       padding:20px;
       background:rgba(0,0,20,0.95);
       flex-direction:column;
   }
   #mainNav.open { display:flex !important; }
   #mainNav a { margin:12px 0; font-size:26px; }
}

/* Chat fixed */
.neon-chat-toggle {
    position: fixed !important;
    right: 20px !important;
    bottom: 22px !important;
    z-index: 9999998 !important;
}
@media(max-width:600px){
    .neon-chat-toggle {
        width:52px!important;
        height:52px!important;
    }
    .neon-chat-window {
        left:10px!important;
        right:10px!important;
        bottom:80px!important;
        width:auto!important;
        height:60vh!important;
    }
}

/* back button */
.back-btn {
    position:fixed!important;
    top: calc(70px + env(safe-area-inset-top)) !important;
    left:12px!important;
    z-index:9999997!important;
}



/* --- HARD MOBILE BURGER MENU OVERRIDE --- */

/* Reset all legacy nav styles */
nav, #mainNav, #mainNav a, .nav, .nav a {
    all: unset !important;
}

/* MAIN HEADER */
#mainHeader {
    position: fixed !important;
    top: env(safe-area-inset-top) !important;
    left: 0;
    width: 100%;
    padding-top: calc(10px + env(safe-area-inset-top)) !important;
    padding-bottom: 10px !important;
    padding-left: 14px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(0,0,20,0.75) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 99999999 !important;
}

/* BURGER BTN */
.burger {
    font-size: 34px !important;
    color: #00eaff !important;
    cursor: pointer !important;
    margin-right: 20px !important;
    z-index: 100000000 !important;
}

/* MENU LINKS */
#mainNav {
    display: flex !important;
    gap: 24px !important;
    margin-left: 12px !important;
}

#mainNav a {
    font-size: 20px !important;
    color: #00eaff !important;
    text-decoration: none !important;
    text-shadow: 0 0 8px #00eaff !important;
    font-weight: 500 !important;
}

/* MOBILE MODE */
@media(max-width:800px){
    #mainNav {
        display: none !important;
        position: fixed !important;
        top: calc(60px + env(safe-area-inset-top)) !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        padding: 20px !important;
        background: rgba(0,0,20,0.95) !important;
        z-index: 99999999 !important;
    }
    #mainNav.open {
        display: flex !important;
    }
    #mainNav a {
        margin: 14px 0 !important;
        font-size: 26px !important;
    }
}

/* FIX BACK BUTTON */
.back-btn {
    top: calc(90px + env(safe-area-inset-top)) !important;
    left: 10px !important;
    z-index: 9000000 !important;
}

/* FIX AI BUTTON */
.neon-chat-toggle {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    width: 64px !important;
    height: 64px !important;
    z-index: 99999990 !important;
}

@media(max-width:600px){
    .neon-chat-toggle {
        width: 52px !important;
        height: 52px !important;
    }
    .neon-chat-window {
        right: 10px !important;
        left: 10px !important;
        bottom: 80px !important;
        width: auto !important;
        height: 60vh !important;
    }
}
