/* ============================================
 * TUTORIAL SCENE
 * Re-extracted from old_style.css
 * Contains all #ojol-tutorial-root styles
 * ============================================ */

#ojol-tutorial-root {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  pointer-events: auto;
  z-index: 100;
  background: linear-gradient(180deg, #bafec3 0%, #63eb9d 35%, #09de76 100%);
}

#ojol-tutorial-root .tutorial-scene {
  width: 100%;
  max-width: 720px;
  height: calc(100vh - 50px);
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#ojol-tutorial-root .bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.28);
  pointer-events: none;
}

#ojol-tutorial-root .bubble.b1 { width: 120px; height: 120px; top: -40px; right: -30px; }

#ojol-tutorial-root .bubble.b2 { width: 90px; height: 90px; top: 60px; left: -30px; }

#ojol-tutorial-root .bubble.b3 { width: 140px; height: 140px; bottom: 160px; left: -40px; opacity: 0.6; }

#ojol-tutorial-root .bub-inner {
  background: #cbfed4;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

#ojol-tutorial-root .tutorial-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 20px 20px 140px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#ojol-tutorial-root .tutorial-header {
  text-align: center;
  margin-bottom: 8px;
}

#ojol-tutorial-root .tutorial-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00c853;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(74, 222, 128, 0.9), 0 0 28px rgba(22, 163, 74, 0.7);
}

#ojol-tutorial-root .tutorial-subtitle {
  font-size: 14px;
  color: #03352a;
  opacity: 0.8;
  margin-top: 4px;
}

#ojol-tutorial-root .hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  position: relative;
}

#ojol-tutorial-root .hero-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: tutorialPulse 2s ease-in-out infinite;
}

#ojol-tutorial-root .hero-avatar {
  width: 100px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  animation: tutorialFloat 2s ease-in-out infinite;
}

#ojol-tutorial-root .tutorial-card {
  background: rgba(15, 23, 42, 0.94);
  border-radius: 24px;
  border: 2px solid #00e676;
  padding: 20px 16px;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  position: relative;
}

#ojol-tutorial-root .tutorial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34,197,94,0.2), transparent 55%);
  pointer-events: none;
  border-radius: inherit;
}

#ojol-tutorial-root .card-header {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

#ojol-tutorial-root .card-title {
  font-size: 22px;
  font-weight: 800;
  color: #5df2a2;
  margin-bottom: 4px;
}

#ojol-tutorial-root .card-subtitle {
  font-size: 12px;
  color: #94a3b8;
}

#ojol-tutorial-root .instruction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

#ojol-tutorial-root .instruction-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.7);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.18s ease-out, background 0.18s ease-out;
}

#ojol-tutorial-root .instruction-item:hover {
  transform: translateX(4px);
  background: rgba(30, 41, 59, 0.9);
}

#ojol-tutorial-root .instruction-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}

#ojol-tutorial-root .instruction-text { flex: 1; }

#ojol-tutorial-root .instruction-title {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 2px;
}

#ojol-tutorial-root .instruction-desc {
  font-size: 11px;
  color: #94a3b8;
}

#ojol-tutorial-root .powerups-section {
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

#ojol-tutorial-root .powerups-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffc46b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-align: center;
}

#ojol-tutorial-root .powerups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#ojol-tutorial-root .powerup-card {
  background: rgba(30, 41, 59, 0.6);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.18s ease-out;
}

#ojol-tutorial-root .powerup-card:hover {
  transform: translateY(-2px);
}

#ojol-tutorial-root .powerup-icon {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}

#ojol-tutorial-root .powerup-name {
  font-size: 11px;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 2px;
}

#ojol-tutorial-root .powerup-effect {
  font-size: 10px;
  color: #94a3b8;
}

#ojol-tutorial-root .tips-card {
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-tutorial-root .tips-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#ojol-tutorial-root .tips-icon { font-size: 20px; }

#ojol-tutorial-root .tips-title {
  font-size: 14px;
  font-weight: 700;
  color: #03352a;
}

#ojol-tutorial-root .tips-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#ojol-tutorial-root .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #0f5135;
}

#ojol-tutorial-root .tip-bullet {
  color: #00c853;
  font-weight: 700;
}

#ojol-tutorial-root .bottom-lounge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 24px 20px;
  background: #ffffff0a;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(5px);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
}

#ojol-tutorial-root .shop-container {
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  flex-direction: column;
  color: #000000;
  font-size: 12px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-tutorial-root .btm-lounge-img {
  height: 32px;
  width: auto;
}

#ojol-tutorial-root .neo-btn {
  padding: 10px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 30% 0%, #facc15, #f97316);
  color: #111827;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 4px 7px 0px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(15, 23, 42, 0.9);
  text-transform: uppercase;
}

#ojol-tutorial-root .toast {
  position: absolute;
  left: 50%;
  bottom: 140px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #e5e7eb;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
  z-index: 20;
}

#ojol-tutorial-root .toast.show {
  opacity: 1;
}

#ojol-tutorial-root .tutorial-fade-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #bafec3 0%, #63eb9d 35%, #09de76 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  z-index: 9999;
}

#ojol-tutorial-root .tutorial-fade-overlay.active {
  opacity: 1;
  pointer-events: auto;
}