/* =============================================
   SATTA MASTER KING - Custom Styles
   ============================================= */

:root {
  --primary: #ff6600;
  --secondary: #ffcc00;
  --dark-bg: #1a1a1a;
  --card-bg: #ffffff;
  --text-dark: #222222;
  --text-light: #ffffff;
  --red-result: #cc0000;
  --green-result: #006600;
  --border-color: #ff6600;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff8e1;
  color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }

/* ---- Top Ticker Bar ---- */
.ticker-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ---- Header ---- */
.site-header {
  background: linear-gradient(135deg, #ffcc00 0%, #ff9900 50%, #ff6600 100%);
  padding: 12px 0 8px;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 4px 12px rgba(255,102,0,0.35);
}

.site-logo {
  max-height: 80px;
}

.site-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.site-tagline {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  text-transform: uppercase;
}

/* ---- Navbar ---- */
.main-nav {
  background: #222;
  border-bottom: 3px solid var(--primary);
}

.main-nav .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
  background: var(--primary);
  color: #fff !important;
}

.main-nav .navbar-toggler {
  border-color: var(--primary);
}

.main-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ff6600' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ---- Today's Result Hero ---- */
.result-hero {
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  border: 3px solid var(--primary);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(255,102,0,0.3);
  margin-bottom: 20px;
}

.result-hero .game-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-hero .result-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--red-result);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  line-height: 1.1;
}

.result-hero .result-time {
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
}

.result-hero .result-date {
  font-size: 1rem;
  color: #333;
  font-weight: 700;
}

/* ---- Section Headings ---- */
.section-heading {
  background: linear-gradient(90deg, var(--primary), #ff9900);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: 0 3px 10px rgba(255,102,0,0.3);
}

/* ---- Game Result Cards ---- */
.game-card {
  background: #fff;
  border: 2px solid var(--secondary);
  border-top: 4px solid var(--primary);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,102,0,0.2);
}

.game-card .g-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.game-card .g-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red-result);
}

.game-card .g-number.pending {
  color: #aaa;
  font-size: 1.5rem;
}

.game-card .g-time {
  font-size: 0.78rem;
  color: #777;
  font-weight: 600;
}

.game-card .whatsapp-btn {
  margin-top: 8px;
  font-size: 0.8rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.game-card .whatsapp-btn:hover { background: #1da851; }

/* ---- Satta Chart Table ---- */
.satta-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.satta-chart {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 700px;
}

.satta-chart thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 8px 4px;
  border: 1px solid #e55a00;
  font-size: 11px;
  text-transform: uppercase;
}

.satta-chart tbody tr:nth-child(even) { background: #fff9e6; }
.satta-chart tbody tr:nth-child(odd)  { background: #ffffff; }

.satta-chart tbody td {
  text-align: center;
  padding: 6px 4px;
  border: 1px solid #ffe082;
  font-weight: 600;
  font-size: 12px;
  color: #333;
}

.satta-chart tbody td.month-label {
  background: #ffcc00;
  font-weight: 800;
  color: #222;
  font-size: 11px;
  white-space: nowrap;
}

.satta-chart tbody td.highlight {
  color: var(--red-result);
  font-weight: 800;
}

/* ---- Fast Result Table ---- */
.fast-result-table {
  width: 100%;
  border-collapse: collapse;
}

.fast-result-table th {
  background: #222;
  color: #ffcc00;
  padding: 8px 12px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid #444;
}

.fast-result-table td {
  padding: 8px 12px;
  border: 1px solid #ffe082;
  font-size: 13px;
  font-weight: 600;
  vertical-align: middle;
}

.fast-result-table tbody tr:nth-child(even) { background: #fff9e6; }
.fast-result-table tbody tr:hover { background: #fff3cd; }

.fast-result-table td.result-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red-result);
  text-align: center;
}

.badge-live {
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---- Info / Article Sections ---- */
.info-section {
  background: #fff;
  border: 1px solid #ffe082;
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.info-section h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ---- Footer ---- */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 36px 0 16px;
  font-size: 13px;
  margin-top: 40px;
}

.site-footer h5 {
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: 14px;
}

.site-footer a { color: #bbb; font-size: 13px; }
.site-footer a:hover { color: var(--secondary); }

.footer-bottom {
  background: #000;
  color: #777;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  margin-top: 20px;
}

.footer-divider {
  border-color: #333;
  margin: 16px 0;
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 1050;
  transition: transform 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
#chat-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary), #ff9900);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255,102,0,0.5);
  z-index: 2000;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-toggle:hover { transform: scale(1.08); }

#chat-window {
  position: fixed;
  bottom: 90px;
  right: 18px;
  width: 340px;
  max-height: 500px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

#chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(90deg, var(--primary), #ff9900);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.chat-header .chat-avatar {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.chat-header .chat-status {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.chat-header .close-chat {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
}

.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.chat-msg.bot {
  background: #fff3cd;
  color: #333;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid #ffe082;
}

.chat-msg.user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-msg .msg-time {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 4px;
  display: block;
}

.chat-typing {
  display: none;
  align-self: flex-start;
  background: #fff3cd;
  border: 1px solid #ffe082;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 8px 14px;
  font-size: 12px;
  color: #888;
}

.chat-typing span {
  display: inline-block;
  width: 6px; height: 6px;
  background: #aaa;
  border-radius: 50%;
  margin: 0 2px;
  animation: typing-dot 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.4); opacity: 1; }
}

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #eee;
}

.chat-input-area input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-area input:focus { border-color: var(--primary); }

.chat-input-area button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-input-area button:hover { background: #e05500; }

/* ============================================================
   AI PANEL
   ============================================================ */
#ai-panel-btn {
  position: fixed;
  bottom: 160px;
  right: 20px;
  background: linear-gradient(135deg, #6c3fc5, #9b59b6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(108,63,197,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

#ai-panel-btn:hover { transform: scale(1.08); }

#ai-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: min(92vw, 560px);
  max-height: 86vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

#ai-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

#ai-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2999;
  display: none;
}

#ai-overlay.open { display: block; }

.ai-panel-header {
  background: linear-gradient(90deg, #6c3fc5, #9b59b6);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-panel-header .ai-icon {
  font-size: 28px;
}

.ai-panel-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.ai-panel-header p {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

.ai-panel-header .close-ai {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.ai-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.ai-tabs .nav-link {
  color: #555;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px 6px 0 0;
}

.ai-tabs .nav-link.active {
  background: #6c3fc5 !important;
  color: #fff !important;
  border-color: #6c3fc5 !important;
}

.ai-feature-card {
  background: linear-gradient(135deg, #f5f0ff, #ede7fb);
  border: 1px solid #d1b3ff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ai-feature-card:hover {
  box-shadow: 0 4px 16px rgba(108,63,197,0.2);
  transform: translateY(-2px);
}

.ai-feature-card h6 {
  color: #6c3fc5;
  font-weight: 700;
  margin-bottom: 4px;
}

.ai-feature-card p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.ai-result-box {
  background: #f5f0ff;
  border: 1px solid #d1b3ff;
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  color: #333;
  min-height: 80px;
  margin-top: 12px;
  line-height: 1.7;
}

.ai-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid #eee;
  background: #fff;
}

.ai-input-area input {
  flex: 1;
  border: 1.5px solid #d1b3ff;
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13px;
  outline: none;
}

.ai-input-area input:focus { border-color: #6c3fc5; }

.ai-input-area button {
  background: linear-gradient(90deg, #6c3fc5, #9b59b6);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ai-input-area button:hover { opacity: 0.9; }

/* ---- Quick Links Panel ---- */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-link-btn {
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  border: none;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .site-title { font-size: 1.6rem; }
  .result-hero .result-number { font-size: 2.6rem; }
  #chat-window { width: calc(100vw - 28px); right: 14px; bottom: 80px; }
  #ai-panel { width: 96vw; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .site-title { font-size: 1.3rem; }
  .game-card .g-number { font-size: 1.8rem; }
  .satta-chart { font-size: 10px; }
}

/* ---- Utility ---- */
.text-orange { color: var(--primary) !important; }
.text-yellow { color: var(--secondary) !important; }
.bg-orange  { background: var(--primary) !important; }
.bg-yellow  { background: var(--secondary) !important; }
.border-orange { border-color: var(--primary) !important; }

.blinking-text {
  animation: blink 1s step-start infinite;
  color: var(--red-result);
  font-weight: 800;
}

.marquee-wrap {
  background: #222;
  color: #ffcc00;
  padding: 6px 0;
  overflow: hidden;
}

.marquee-inner {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.disclaimer-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-left: 5px solid #ff6600;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: #555;
  margin: 20px 0;
  line-height: 1.7;
}

/* ── Page Hero Banner ── */
.page-hero {
  width:100%;max-height:230px;object-fit:cover;border-radius:10px;
  margin-bottom:22px;box-shadow:0 4px 16px rgba(0,0,0,0.15);
}

/* ── Breadcrumb ── */
.page-breadcrumb {
  background:#fff8e1;border-bottom:2px solid #ffe082;
  padding:8px 0;font-size:13px;
}
.page-breadcrumb a { color:var(--primary);font-weight:600; }
.page-breadcrumb .separator { margin:0 6px;color:#aaa; }

/* ── Game Info Card ── */
.game-info-card {
  background:linear-gradient(135deg,#fff8e1,#fff3cd);
  border:2px solid #ffe082;border-top:5px solid var(--primary);
  border-radius:12px;padding:22px 18px;text-align:center;
  box-shadow:0 4px 16px rgba(255,102,0,0.12);margin-bottom:20px;
}
.game-info-card .big-num {
  font-size:4rem;font-weight:900;color:#cc0000;line-height:1.1;
  text-shadow:2px 2px 0 rgba(0,0,0,0.08);
}
.game-info-card .game-label {
  font-size:1.1rem;font-weight:800;color:var(--primary);
  text-transform:uppercase;letter-spacing:1px;
}
.game-info-card .time-badge {
  display:inline-block;background:var(--primary);color:#fff;
  font-size:12px;font-weight:700;padding:4px 14px;border-radius:20px;margin-top:6px;
}

/* ── Stat Boxes ── */
.stat-box {
  background:#fff;border:2px solid #ffe082;border-radius:10px;
  padding:18px 12px;text-align:center;margin-bottom:16px;
}
.stat-box .stat-num { font-size:2.2rem;font-weight:900;color:var(--primary); }
.stat-box .stat-label { font-size:12px;font-weight:600;color:#777;margin-top:2px; }

/* ── FAQ Accordion ── */
.faq-item { border:1px solid #ffe082;border-radius:8px;margin-bottom:10px;overflow:hidden; }
.faq-question {
  background:#fff8e1;padding:14px 18px;font-weight:700;font-size:14px;
  color:#333;cursor:pointer;display:flex;justify-content:space-between;align-items:center;
}
.faq-question:hover { background:#fff3cd; }
.faq-answer { background:#fff;padding:14px 18px;font-size:13px;color:#555;line-height:1.8; }

/* ── Contact Form ── */
.contact-form .form-control {
  border:1.5px solid #ffe082;border-radius:8px;font-size:13px;
}
.contact-form .form-control:focus { border-color:var(--primary);box-shadow:0 0 0 3px rgba(255,102,0,0.12); }
.contact-form .btn-submit {
  background:linear-gradient(90deg,var(--primary),#ff9900);
  color:#fff;border:none;padding:12px 36px;font-weight:700;
  font-size:15px;border-radius:8px;width:100%;
}

/* ── Page Active Nav ── */
.main-nav .nav-link.page-active {
  background:var(--primary)!important;color:#fff!important;
  border-radius:4px;
}

/* ── Result Timeline ── */
.timeline { position:relative;padding-left:30px; }
.timeline::before { content:'';position:absolute;left:10px;top:0;bottom:0;width:2px;background:#ffe082; }
.timeline-item { position:relative;margin-bottom:18px; }
.timeline-item::before {
  content:'';position:absolute;left:-24px;top:4px;width:12px;height:12px;
  background:var(--primary);border-radius:50%;border:2px solid #fff;
  box-shadow:0 0 0 2px var(--primary);
}
.timeline-item .t-time { font-size:11px;font-weight:700;color:var(--primary); }
.timeline-item .t-text { font-size:13px;color:#444;line-height:1.6; }

/* ============================================
   GLASS CARD (Inner Pages)
   ============================================ */
.glass-card {
  background: #fff;
  border: 1px solid #ffe082;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ============================================
   STICKY CHATBOT WIDGET
   ============================================ */
.sticky-chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.scb-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcc00, #ff6600);
  color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,102,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.scb-toggle:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(255,102,0,0.5); }
.scb-badge {
  position: absolute; top: -4px; right: -4px;
  background: #cc0000; color: #fff;
  font-size: 0.6rem; font-weight: 700;
  padding: 2px 6px; border-radius: 20px;
  animation: pulseBadge 1.5s ease-in-out infinite;
}
@keyframes pulseBadge { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.scb-window {
  display: none; flex-direction: column;
  width: 320px; background: #fff;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,102,0,0.2);
  animation: slideUpChat 0.3s ease;
}
@keyframes slideUpChat { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.scb-header {
  background: linear-gradient(135deg, #ffcc00, #ff6600);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; color: #fff;
}
.scb-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.scb-name { font-weight: 700; font-size: 0.9rem; }
.scb-status { font-size: 0.72rem; opacity: 0.85; display: flex; align-items: center; gap: 4px; }
.online-dot { width: 8px; height: 8px; background: #28a745; border-radius: 50%; display: inline-block; }
.scb-close {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.85rem; transition: background 0.2s;
}
.scb-close:hover { background: rgba(255,255,255,0.35); }
.scb-body {
  padding: 14px; background: #fff8e1;
  height: 230px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.scb-body::-webkit-scrollbar { width: 4px; }
.scb-body::-webkit-scrollbar-thumb { background: #ffcc00; border-radius: 2px; }
.scb-msg { display: flex; }
.scb-msg span {
  padding: 9px 13px; border-radius: 16px;
  font-size: 0.8rem; max-width: 88%; line-height: 1.55;
}
.scb-msg.ai span {
  background: #fff; border: 1px solid #ffe082;
  color: #333; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 4px 16px 16px 16px;
}
.scb-msg.user { justify-content: flex-end; }
.scb-msg.user span {
  background: #ff6600; color: #fff;
  border-radius: 16px 4px 16px 16px;
}
.scb-input-bar {
  padding: 10px 12px; background: #fff;
  border-top: 1px solid rgba(255,102,0,0.1);
  display: flex; gap: 8px; align-items: center;
}
.scb-inp {
  flex: 1; border: 1px solid #ffe082;
  border-radius: 50px; padding: 8px 14px;
  font-size: 0.8rem; outline: none; background: #fff; color: #333;
}
.scb-inp:focus { border-color: #ff6600; }
.scb-send {
  background: #ff6600; color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.scb-send:hover { background: #e65c00; }
@media (max-width: 480px) {
  .sticky-chatbot { bottom: 16px; right: 14px; }
}
