/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #0b0d17;
  color: #e8e8f0;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(255, 107, 53, 0.15);
  color: #ff6b35;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 107, 53, 0.25);
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  color: #999;
  font-size: 1.1rem;
  margin-top: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: 0.3s ease;
}
.navbar.scrolled {
  background: rgba(11, 13, 23, 0.92);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-icon {
  font-size: 1.8rem;
  color: #ff6b35;
}
.nav-logo div { line-height: 1; }
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  display: block;
}
.logo-sub {
  font-size: 0.6rem;
  color: #ff6b35;
  letter-spacing: 4px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #aaa;
  transition: 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: #ff6b35;
  transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ========== CURSOR GLOW ========== */
#cursorGlow {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,107,53,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(255,107,53,0.06) 0%, transparent 50%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(255,255,255,0.2), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,0.15), transparent),
    radial-gradient(2px 2px at 90% 10%, rgba(255,255,255,0.15), transparent);
  background-size: 200px 200px;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* floating shapes */
.float-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  opacity: 0.07;
  border: 2px solid #ff6b35;
  animation: floatShape 12s infinite ease-in-out;
}
.shape-1 { width: 60px; height: 60px; top: 15%; left: 10%; border-radius: 0; transform: rotate(45deg); animation-delay: 0s; }
.shape-2 { width: 40px; height: 40px; top: 60%; left: 85%; border-radius: 50%; animation-delay: 2s; border-color: #ffaa33; }
.shape-3 { width: 50px; height: 50px; top: 75%; left: 20%; border-radius: 0; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); border: none; background: rgba(255,107,53,0.06); animation-delay: 4s; }
.shape-4 { width: 80px; height: 80px; top: 30%; left: 75%; border-radius: 0; transform: rotate(45deg); animation-delay: 1s; border-color: rgba(255,255,255,0.1); }
.shape-5 { width: 30px; height: 30px; top: 10%; left: 55%; border-radius: 50%; animation-delay: 3s; border-color: #ff6b35; }
.shape-6 { width: 45px; height: 45px; top: 82%; left: 65%; border-radius: 0; transform: rotate(30deg); animation-delay: 5s; background: rgba(255,107,53,0.05); border: none; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.07; }
  25% { transform: translateY(-30px) rotate(90deg); opacity: 0.12; }
  50% { transform: translateY(-10px) rotate(180deg); opacity: 0.07; }
  75% { transform: translateY(-40px) rotate(270deg); opacity: 0.12; }
}

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

/* SDR badge shimmer */
.hero-badge {
  display: inline-flex;
  gap: 4px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 6px;
  color: #ff6b35;
  border: 1px solid rgba(255,107,53,0.4);
  padding: 8px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease;
}
.hero-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.3), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}
.hero-badge span {
  display: inline-block;
  animation: badgePop 0.4s ease both;
}
.hero-badge span:nth-child(1) { animation-delay: 0.4s; }
.hero-badge span:nth-child(2) { animation-delay: 0.55s; }
.hero-badge span:nth-child(3) { animation-delay: 0.7s; }
@keyframes badgePop {
  0% { opacity: 0; transform: translateY(-10px) scale(0.5); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.1s both;
}
.title-line { display: block; color: #fff; }
.title-line.accent {
  background: linear-gradient(135deg, #ff6b35, #ffaa33, #ff6b35, #ffaa33);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* glitch text */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
}
.glitch::before {
  color: #ff6b35;
  animation: glitch1 8s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}
.glitch::after {
  color: #0af;
  animation: glitch2 8s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}
@keyframes glitch1 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  91% { transform: translate(-2px, 1px); opacity: 0.4; }
  92% { transform: translate(2px, -1px); opacity: 0.3; }
  93% { transform: translate(-1px, 2px); opacity: 0.5; }
  94% { transform: none; opacity: 0; }
}
@keyframes glitch2 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  91% { transform: translate(2px, -1px); opacity: 0.4; }
  92% { transform: translate(-2px, 1px); opacity: 0.3; }
  93% { transform: translate(1px, -2px); opacity: 0.5; }
  94% { transform: none; opacity: 0; }
}

.hero-sub {
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 40px;
  min-height: 1.8em;
}
.hero-sub::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: #ff6b35;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.3s both;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #e0440e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,53,0.35);
  animation: pulseGlow 3s infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.35); }
  50% { box-shadow: 0 4px 40px rgba(255,107,53,0.6); }
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  transform: translateY(-3px);
}
.btn-sm {
  padding: 10px 28px;
  font-size: 0.85rem;
}
.hero-scroll {
  margin-top: 60px;
  font-size: 1.8rem;
  color: #555;
  animation: bounce 2s infinite;
}

/* ========== GAMES SECTION ========== */
.games-section {
  background: linear-gradient(180deg, #0b0d17 0%, #11142a 50%, #0b0d17 100%);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.game-card {
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.4s;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  perspective: 1000px;
}
.game-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.game-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(
    transparent, rgba(255,107,53,0.3), transparent, rgba(255,170,51,0.3), transparent
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
  animation: spinBorder 4s linear infinite;
}
@keyframes spinBorder {
  to { transform: rotate(360deg); }
}
.game-card:hover::before {
  opacity: 1;
}
.game-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.game-banner {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
}
.omi-banner .game-banner-bg {
  position: absolute;
  inset: 0;
  background: url('omi background.png') center / cover no-repeat;
}
.omi-banner .game-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}
.padpro-banner .game-banner-bg {
  position: absolute;
  inset: 0;
  background: url('padpro background.png') center / cover no-repeat;
}
.padpro-banner .game-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}
.game-logo {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  object-fit: contain;
}
.game-type {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ccc;
  border: 1px solid rgba(255,255,255,0.1);
}
.game-lang-badge {
  position: relative;
  z-index: 1;
  background: rgba(255,107,53,0.2);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #ff6b35;
  font-weight: 600;
  border: 1px solid rgba(255,107,53,0.3);
}
.game-body {
  padding: 28px;
}
.game-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
}
.game-name-si {
  font-size: 1.1rem;
  color: #ff6b35;
}
.game-desc {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.game-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.game-features li {
  font-size: 0.82rem;
  color: #bbb;
  padding: 4px 0;
}

/* ========== FEATURES ========== */
.features-section {
  background: #11142a;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(30px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  border-color: rgba(255,107,53,0.3);
  background: rgba(255,107,53,0.06);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255,107,53,0.08), 0 0 60px rgba(255,107,53,0.04);
}
.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-card p {
  color: #888;
  font-size: 0.9rem;
}

/* ========== CALLOUT ========== */
.callout-section {
  padding: 80px 0;
}
.callout-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.06) 0%, transparent 70%);
  animation: floatBox 6s ease-in-out infinite;
}
@keyframes floatBox {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.callout-quote {
  font-size: 1.4rem;
  font-style: italic;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 16px;
}
.callout-author {
  color: #ff6b35;
  font-weight: 600;
  font-size: 1rem;
}
.callout-badge {
  margin-top: 24px;
  display: inline-block;
  background: rgba(255,255,255,0.04);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #aaa;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: #1a1d33;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 16px 20px;
  margin-left: auto;
  display: block;
}
.modal-body {
  padding: 0 28px 28px;
}

/* ========== FOOTER ========== */
.footer {
  background: #080a14;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-tagline {
  margin-top: 12px;
  color: #ff6b35 !important;
  font-weight: 600;
}
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a {
  color: #777;
  font-size: 0.9rem;
  transition: 0.3s;
}
.footer-links a:hover { color: #ff6b35; }
.footer-contact p {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-email {
  display: inline-block;
  color: #ff6b35;
  font-weight: 500;
  margin-bottom: 8px;
}
.footer-phone {
  display: inline-block;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 16px;
  transition: 0.3s;
}
.footer-phone:hover {
  color: #ff6b35;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
  transition: 0.3s;
}
.footer-social a:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  background: rgba(255,107,53,0.1);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 0;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-title { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(11,13,23,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: 0.4s;
    border-left: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
  .game-features { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .callout-box { padding: 32px 20px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}
