/*
Theme Name: Jalwa Game
Theme URI: https://example.com/jalwa-game
Author: Jalwa Game
Author URI: https://example.com
Description: A vibrant, colorful single-page landing theme for Jalwa Game with rainbow gradients, neon glows, animated rotating logo ring, floating colored particles, shimmering CTA buttons, and a live giftcode countdown.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jalwa-game
Tags: landing-page, one-page, custom-colors, custom-logo
*/

:root {
  --bg-0: #0a0716;
  --bg-1: #14082a;
  --fg: #ffffff;
  --pink: #ff36a8;
  --purple: #a64bff;
  --cyan: #1ad9ff;
  --green: #19d36b;
  --yellow: #ffc933;
  --orange: #ff7733;
  --blue: #3370ff;
  --gradient-rainbow: linear-gradient(90deg, #ff36a8, #a64bff, #3370ff, #1ad9ff, #19d36b);
  --gradient-sunset: linear-gradient(90deg, #ffc933, #ff7733, #ff36a8);
  --gradient-bg: radial-gradient(ellipse at top, #2a0f59 0%, #0f0726 50%, #060418 100%);
  --shadow-neon-pink: 0 0 30px rgba(255,54,168,.6), 0 0 60px rgba(255,54,168,.3);
  --shadow-neon-cyan: 0 0 30px rgba(26,217,255,.6), 0 0 60px rgba(26,217,255,.3);
  --shadow-glow: 0 10px 40px -10px rgba(166,75,255,.5);
}

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

html, body { min-height: 100vh; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background: var(--gradient-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.jw-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  overflow: hidden;
}

/* Background blobs */
.jw-blobs { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.jw-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .3;
}
.jw-blob.b1 { top: -10%; left: -10%; width: 40rem; height: 40rem; background: var(--gradient-rainbow); animation: pulse-glow 3s ease-in-out infinite; }
.jw-blob.b2 { bottom: -15%; right: -10%; width: 35rem; height: 35rem; background: var(--gradient-sunset); opacity: .25; animation: pulse-glow 3s ease-in-out 1.5s infinite; }
.jw-blob.b3 { top: 33%; right: 25%; width: 18rem; height: 18rem; background: var(--cyan); opacity: .2; }

/* Particles */
.jw-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.jw-particle {
  position: absolute;
  border-radius: 50%;
  animation: float-up linear infinite;
}

/* Card */
.jw-card-wrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
  border-radius: 24px;
  padding: 2px;
  background: var(--gradient-rainbow);
  background-size: 200% auto;
  box-shadow: var(--shadow-glow);
  animation: shimmer 3s linear infinite;
}
.jw-card {
  border-radius: 22px;
  background: rgba(15, 7, 38, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px 24px;
}
@media (min-width: 480px) {
  .jw-card { padding: 40px 32px; }
}

/* Badge */
.jw-badge-row { display: flex; justify-content: center; margin-bottom: 16px; }
.jw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  background: rgba(255,54,168,.15);
  border: 1px solid rgba(255,54,168,.4);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #ff80c4;
}
.jw-icon { width: 16px; height: 16px; flex-shrink: 0; }
.jw-icon.sm { width: 14px; height: 14px; }

/* Headings */
.jw-title {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .15em;
  background: var(--gradient-rainbow);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}
@media (min-width: 480px) { .jw-title { font-size: 36px; } }

.jw-subtitle {
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3em;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Logo ring */
.jw-logo-wrap { position: relative; margin: 32px auto; width: 14rem; height: 14rem; }
.jw-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--gradient-rainbow); opacity: .9; animation: spin-slow 8s linear infinite; }
.jw-ring-inner { position: absolute; inset: 6px; border-radius: 50%; background: var(--bg-0); }
.jw-ring-glow { position: absolute; inset: 14px; border-radius: 50%; background: var(--gradient-sunset); opacity: .6; filter: blur(8px); }
.jw-logo-circle {
  position: absolute; inset: 18px; border-radius: 50%;
  background: #0f0726;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.jw-logo {
  width: 80%; height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255,54,168,.6));
  animation: bounce-slow 2.5s ease-in-out infinite;
}
.jw-crown {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px;
  color: var(--yellow);
  filter: drop-shadow(0 0 10px var(--yellow));
}

/* Users online */
.jw-users {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 24px;
}
.jw-dot { position: relative; display: inline-flex; width: 12px; height: 12px; }
.jw-dot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green); opacity: .75;
  animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}
.jw-dot::after {
  content: ''; position: relative; display: inline-block;
  width: 12px; height: 12px; border-radius: 50%; background: var(--green);
}
.jw-users-icon { width: 16px; height: 16px; color: #80ecff; }
.jw-users-count { font-weight: 700; }
.jw-users-label { font-size: 14px; color: rgba(255,255,255,.7); }

/* Buttons */
.jw-buttons { display: flex; flex-direction: column; gap: 12px; }
.jw-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  border-radius: 16px;
  padding: 16px 24px;
  font-weight: 800;
  letter-spacing: .1em;
  background-size: 200% auto;
  transition: transform .15s ease;
  animation: shimmer 3s linear infinite;
  cursor: pointer;
  border: none;
}
.jw-btn:hover { transform: scale(1.03); }
.jw-btn:active { transform: scale(.98); }
.jw-btn-primary {
  color: #fff;
  background-image: linear-gradient(90deg, #3370ff, #a64bff, #19d36b);
  box-shadow: var(--shadow-neon-pink);
}
.jw-btn-vip {
  color: #1a0a3a;
  background-image: linear-gradient(90deg, #ffc933, #ff7733, #ff36a8);
  box-shadow: var(--shadow-neon-cyan);
}
.jw-btn .jw-icon { transition: transform .2s ease; }
.jw-btn-primary:hover .jw-icon { transform: translateX(4px); }
.jw-btn-vip:hover .jw-icon { transform: rotate(12deg); }

/* Giftcode */
.jw-gift { margin-top: 32px; text-align: center; }
.jw-gift-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-weight: 700; letter-spacing: .25em; font-size: 13px;
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jw-gift-icon { color: #ff80c4; width: 16px; height: 16px; }
.jw-timer-wrap {
  position: relative; border-radius: 16px; padding: 2px;
  background: var(--gradient-rainbow);
}
.jw-timer {
  border-radius: 14px; background: var(--bg-0);
  padding: 20px 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 48px; font-weight: 900; letter-spacing: .15em;
  background-clip: padding-box;
}
.jw-timer-text {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255,54,168,.5);
}
@media (min-width: 480px) { .jw-timer { font-size: 60px; } }

/* Footer */
.jw-footer {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.7);
}
.jw-footer-icon { color: #4dee93; width: 16px; height: 16px; }

/* Animations */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(255,54,168,.5), 0 0 80px rgba(166,75,255,.3); }
  50% { box-shadow: 0 0 60px rgba(26,217,255,.7), 0 0 120px rgba(25,211,107,.4); }
}
@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
