/* Hot51 Official Support Center - Design System & Modern UI Styles */
:root {
  --bg-dark: #090b14;
  --bg-card: rgba(18, 22, 37, 0.75);
  --bg-card-hover: rgba(28, 34, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 0, 102, 0.3);
  
  --primary: #ff0066;
  --primary-glow: rgba(255, 0, 102, 0.35);
  --primary-gradient: linear-gradient(135deg, #ff0066 0%, #ff4b2b 100%);
  --secondary-gradient: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
  --accent-gold: #ffd700;
  --accent-green: #00e676;
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 25px rgba(255, 0, 102, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at 50% 0%, #1a0b2e 0%, #090b14 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography & Utilities */
a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
}

.text-green {
  color: var(--accent-green);
}

/* Header & Navbar - Sleek Modern Redesign */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(9, 11, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #ffffff !important;
  background: var(--primary-gradient);
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary);
  background: rgba(255, 0, 102, 0.1);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #121625;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 140px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 110;
}

.lang-dropdown.show {
  display: flex;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text-sub);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.lang-opt:hover, .lang-opt.active {
  background: rgba(255, 0, 102, 0.15);
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 102, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(255, 0, 102, 0.1);
  color: var(--primary);
}

/* Safety & Anti-Scam Top Warning Banner */
.security-banner {
  background: linear-gradient(90deg, #1e102d 0%, #2b0b1c 100%);
  border-bottom: 1px solid rgba(255, 0, 102, 0.25);
  padding: 10px 0;
  font-size: 0.88rem;
}

.security-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.security-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
}

.security-icon {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.domain-pill {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: bold;
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
  animation: pulse-green 1.6s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Search Box */
.search-wrapper {
  max-width: 680px;
  margin: 0 auto 40px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(18, 22, 37, 0.9);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 8px 12px 8px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(255, 0, 102, 0.25);
}

.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1.05rem;
  padding: 8px;
}

.search-box input::placeholder {
  color: #64748b;
}

.search-icon {
  color: #64748b;
  font-size: 1.3rem;
  margin-right: 8px;
}

/* Quick Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 0, 102, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Section Shared Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Troubleshooting Guide Section */
.guide-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.guides-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .guides-wrapper {
    grid-template-columns: 1fr;
  }
}

.guide-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.guide-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.guide-box.withdraw::before {
  background: var(--secondary-gradient);
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.guide-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 0, 102, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 0, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Trust & Security Feature Grid */
.trust-section {
  padding: 60px 0;
  background: rgba(14, 18, 30, 0.6);
  border-top: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  background: rgba(0, 230, 118, 0.03);
}

.trust-icon {
  font-size: 1.8rem;
  color: var(--accent-green);
}

.trust-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Cards Section */
.contact-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 0, 102, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-val {
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  word-break: break-all;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 4px;
}

.copy-btn:hover {
  transform: scale(1.15);
}

/* Floating Live Chat Widget Button */
.floating-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(255, 0, 102, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.floating-chat-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(255, 0, 102, 0.7);
}

.chat-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: var(--accent-green);
  border: 2px solid #090b14;
  border-radius: 50%;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #1e293b;
  color: #fff;
  border: 1px solid var(--accent-green);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.footer {
  margin-top: auto;
  background: #05060b;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .security-content {
    flex-direction: column;
    text-align: center;
  }
  
  .floating-chat-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
