/* ===== O-World Zoo Neukgu Theme - Custom Styles ===== */
/* Version: 2.1.0 | Updated: 2025-07-15 */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --accent-gold: #f59e0b;
  --accent-orange: #ea580c;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes pawPrint {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.3; }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HEADER ===== */
.header.scrolled {
  background: rgba(10, 14, 23, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-link.active {
  color: var(--accent-gold) !important;
  background: rgba(245, 158, 11, 0.1) !important;
}
.nav-support {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
  color: #fff !important;
}
.nav-external:hover {
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
}

/* ===== MOBILE NAV ===== */
#mobileNavOverlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobileNavOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO TEXT SHADOW ===== */
.text-shadow-lg {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.text-shadow-md {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* ===== ANIMATE ON SCROLL ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NEWS CARD ===== */
.news-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== TOKEN LINK CARD ===== */
.token-link-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
  color: #fff !important;
}
.lang-btn:hover:not(.active) {
  color: var(--accent-gold) !important;
}

/* ===== ALERT ===== */
.neukgu-alert {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.2);
}
.neukgu-alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ===== BACK TO TOP ===== */
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAW PARTICLES ===== */
.paw-particle {
  position: absolute;
  font-size: 24px;
  opacity: 0.1;
  animation: pawPrint 4s ease-in-out infinite;
  pointer-events: none;
}

/* ===== SPEECH BUBBLE ===== */
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--bg-card);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #navLinks > a:not(.nav-support):not(.nav-external) {
    display: none;
  }
}

/* ===== HOVER -translate-y utility ===== */
.hover\:-translate-y-0\.75:hover {
  transform: translateY(-3px);
}

/* ===== GAME PREVIEW HOVER ===== */
.group:hover .group-hover\:opacity-100 {
  opacity: 1 !important;
}
.group:hover .group-hover\:scale-\[1\.03\] {
  transform: scale(1.03);
}

/* ===== IFRAME RESPONSIVE ===== */
iframe {
  max-width: 100%;
}