/* ========================================
   HHPoker 德扑圈 - Custom Styles
   Theme: Warm Premium Casino Red & Amber
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --bg-deep: #0a0000;
  --bg-maroon: #1a0a0a;
  --bg-red-dark: #2d0a0a;
  --bg-card: #2d0f0f;
  --bg-card-hover: #3d1515;
  --red-primary: #dc2626;
  --red-dark: #991b1b;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-pale: #fcd34d;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --text-white: #ffffff;
  --text-light: #e5e5e5;
  --text-muted: #a0a0a0;
  --border-red: #3d1515;
  --border-gold: #f59e0b;
  --overlay-red: rgba(220, 38, 38, 0.15);
  --shadow-gold: 0 0 20px rgba(245, 158, 11, 0.3);
  --shadow-red: 0 4px 20px rgba(220, 38, 38, 0.3);
}

/* ---- Smooth Scroll ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-white);
  overflow-x: hidden;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #991b1b, #dc2626);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b91c1c, #ef4444);
}

/* ---- Felt Texture Pattern ---- */
.felt-texture {
  background-color: #1a3a1a;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(34, 139, 34, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 139, 34, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 100, 0, 0.3) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    );
  background-blend-mode: overlay;
}

/* ---- Gold Gradient Text ---- */
.text-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 30%, #fcd34d 50%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-bronze {
  background: linear-gradient(135deg, #cd853f 0%, #deb887 30%, #f5deb3 50%, #cd853f 70%, #8b6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-amber-custom {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Red Card Styles ---- */
.card-red {
  background: linear-gradient(145deg, #2d0f0f 0%, #1a0808 100%);
  border: 1px solid #3d1515;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.card-red:hover {
  background: linear-gradient(145deg, #3d1515 0%, #2d0a0a 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
}

.card-red-gold-top {
  background: linear-gradient(145deg, #2d0f0f 0%, #1a0808 100%);
  border: 1px solid #3d1515;
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.card-red-gold-top:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

/* ---- Navbar Styles ---- */
.navbar {
  background: rgba(26, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2d1515;
  transition: all 0.3s ease;
}
.navbar.shrink {
  padding-top: 4px;
  padding-bottom: 4px;
  background: rgba(26, 10, 10, 0.97);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
  transform: translateX(-50%) scaleX(1);
}
.nav-link:hover {
  color: var(--gold);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(26, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid #3d1515;
  padding: 80px 30px 30px;
}
.mobile-menu.open {
  right: 0;
}
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Button Styles ---- */
.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a0a0a;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-amber:hover {
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}
.btn-amber-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid var(--amber);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-amber:hover {
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}
.btn-red:hover {
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5);
  transform: translateY(-2px);
}

/* ---- FAQ Accordion ---- */
.accordion-item {
  border: 1px solid #3d1515;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #2d0f0f;
  transition: all 0.3s ease;
}
.accordion-item.active {
  background: #1a0808;
  border-color: #f59e0b;
}
.accordion-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #fbbf24;
  transition: all 0.3s ease;
  user-select: none;
}
.accordion-header:hover {
  background: rgba(245, 158, 11, 0.05);
}
.accordion-icon {
  font-size: 18px;
  color: #f59e0b;
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 24px 20px;
}
.accordion-body p {
  color: #d0d0d0;
  line-height: 1.7;
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  background: linear-gradient(145deg, #2d0f0f 0%, #1a0808 100%);
  border: 1px solid #3d1515;
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}
.testimonial-quote {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 48px;
  color: rgba(245, 158, 11, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars {
  color: #f59e0b;
}

/* ---- Stat Counter ---- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Divider ---- */
.gold-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.4), transparent);
}

/* ---- Customer Service Floating Button ---- */
.cs-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
  border: none;
  animation: pulse-cs 2s ease-in-out infinite;
}
.cs-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
}

@keyframes pulse-cs {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 4px 35px rgba(245, 158, 11, 0.7), 0 0 50px rgba(245, 158, 11, 0.3);
  }
}

/* CS Popup */
.cs-popup {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 320px;
  background: linear-gradient(160deg, #2d0f0f 0%, #1a0808 100%);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 28px 22px 22px;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.15);
}
.cs-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.cs-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #f59e0b;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cs-popup-close:hover {
  color: #fbbf24;
  transform: rotate(90deg);
}
.cs-qr-placeholder {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 13px;
  border: 2px solid #f59e0b;
}

/* ---- Scroll To Top ---- */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 996;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@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 slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), 0 0 40px rgba(245, 158, 11, 0.1);
  }
  50% {
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.5), 0 0 70px rgba(245, 158, 11, 0.2);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Reveal on scroll classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Gradient Overlay ---- */
.gradient-overlay-red {
  background: linear-gradient(180deg, rgba(26, 10, 10, 0.9) 0%, rgba(153, 27, 27, 0.7) 50%, rgba(26, 10, 10, 0.95) 100%);
}

.gradient-overlay-hero {
  background: linear-gradient(135deg, rgba(26, 10, 10, 0.95) 0%, rgba(220, 38, 38, 0.5) 50%, rgba(0, 0, 0, 0.9) 100%);
}

/* ---- Timeline ---- */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #f59e0b, #f59e0b, transparent);
  transform: translateX(-50%);
}
.timeline-dot {
  width: 16px;
  height: 16px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ---- CTA Banner Gradient ---- */
.cta-gradient {
  background: linear-gradient(135deg, #2d0a0a 0%, #dc2626 30%, #991b1b 70%, #1a0a0a 100%);
}

/* ---- Form Styles ---- */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: #1a0a0a;
  border: 1px solid #3d1515;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}
.form-input::placeholder {
  color: #6b6b6b;
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* ---- Hero Image Container ---- */
.hero-img-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3), 0 0 60px rgba(245, 158, 11, 0.1);
  border: 2px solid #3d1515;
}
.hero-img-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.1) 100%);
  pointer-events: none;
}

/* ---- Footer Top Border ---- */
.footer-border {
  border-top: 3px solid #dc2626;
}

/* ---- Section Headings ---- */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
  border-radius: 2px;
}

/* ---- Info Card Icon Circle ---- */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  transition: all 0.3s ease;
}
.card-red:hover .icon-circle,
.card-red-gold-top:hover .icon-circle {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* ---- Map Placeholder ---- */
.map-placeholder {
  background: linear-gradient(145deg, #2d0f0f 0%, #1a0808 100%);
  border: 1px solid #3d1515;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ---- Business Hours Table ---- */
.hours-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #2d1515;
}
.hours-table tr:last-child td {
  border-bottom: none;
}

/* ---- Responsive helpers ---- */
@media (max-width: 768px) {
  .cs-float-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 22px;
  }
  .cs-popup {
    width: 280px;
    right: 10px;
    bottom: 80px;
  }
  .scroll-top-btn {
    bottom: 80px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
}
