/* ============================================
   Classic Club Theme - Custom Styles
   Project 0090 - HHpoker Official Club
   ============================================ */

/* --- CSS Variables --- */
:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  --indigo-950: #1e1b4b;
  --gold: #c9a84c;
  --gold-light: #e4c96a;
  --gold-dark: #a68a38;
  --dark-bg: #0f0f1a;
  --dark-card: #1a1a2e;
  --dark-card-hover: #22223a;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --border-dark: rgba(255,255,255,0.06);
}

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

/* --- Body --- */
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar-blur {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 15, 26, 0.85);
  border-bottom: 1px solid rgba(79, 70, 229, 0.2);
  transition: all 0.3s ease;
}

.navbar-blur.scrolled {
  background: rgba(15, 15, 26, 0.95);
  border-bottom-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 4px 30px rgba(79, 70, 229, 0.15);
}

/* --- Logo --- */
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-800));
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #c7d2fe, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #0f0f1a 0%, #1e1b4b 30%, #312e81 60%, #1e1b4b 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(79, 70, 229, 0.2) 0%, transparent 50%);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.875rem;
  color: #c7d2fe;
  letter-spacing: 0.05em;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  color: var(--gold);
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #a5b4fc, #c7d2fe, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #a5b4fc;
  max-width: 560px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
  text-decoration: none;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.6);
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600));
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #c7d2fe;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(99, 102, 241, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-hero:hover {
  background: rgba(79, 70, 229, 0.15);
  border-color: var(--indigo-400);
  color: #fff;
  transform: translateY(-3px);
}

/* --- Floating Cards CSS Art --- */
.floating-cards {
  position: relative;
  width: 320px;
  height: 380px;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.playing-card {
  position: absolute;
  width: 160px;
  height: 224px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1e1b4b, #2d2a6e);
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.playing-card .card-inner {
  text-align: center;
}

.playing-card .card-suit {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 30px rgba(129, 140, 248, 0.6);
}

.playing-card .card-corner {
  position: absolute;
  font-size: 1rem;
  color: #a5b4fc;
  font-weight: 700;
}

.playing-card .card-corner.top-left {
  top: 12px;
  left: 14px;
}

.playing-card .card-corner.bottom-right {
  bottom: 12px;
  right: 14px;
  transform: rotate(180deg);
}

.playing-card.card-1 {
  top: 0;
  left: 0;
  transform: rotate(-12deg);
  z-index: 3;
  background: linear-gradient(145deg, #1e1b4b, #3730a3);
}

.playing-card.card-2 {
  top: 25px;
  left: 55px;
  transform: rotate(-3deg);
  z-index: 2;
  background: linear-gradient(145deg, #1e1b4b, #312e81);
}

.playing-card.card-3 {
  top: 55px;
  left: 110px;
  transform: rotate(7deg);
  z-index: 1;
  background: linear-gradient(145deg, #1e1b4b, #3730a3);
}

.playing-card.card-4 {
  top: 90px;
  left: 160px;
  transform: rotate(16deg);
  z-index: 0;
  background: linear-gradient(145deg, #1e1b4b, #2d2a6e);
}

.floating-cards:hover .card-1 { transform: rotate(-8deg) translateY(-10px); }
.floating-cards:hover .card-2 { transform: rotate(1deg) translateY(-5px); }
.floating-cards:hover .card-3 { transform: rotate(10deg) translateY(-3px); }
.floating-cards:hover .card-4 { transform: rotate(18deg) translateY(-2px); }

/* Glow orbs behind cards */
.floating-cards::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* --- Section Titles --- */
.section-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.15);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --- Feature Cards --- */
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  background: var(--dark-card-hover);
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(79, 70, 229, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-icon-circle.spade { background: rgba(79, 70, 229, 0.2); color: #a5b4fc; }
.feature-icon-circle.heart { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }
.feature-icon-circle.diamond { background: rgba(202, 138, 4, 0.2); color: #fde68a; }
.feature-icon-circle.club { background: rgba(22, 163, 74, 0.2); color: #86efac; }
.feature-icon-circle.spade2 { background: rgba(79, 70, 229, 0.2); color: #a5b4fc; }
.feature-icon-circle.heart2 { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.feature-card .card-accent {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Stats Section --- */
.stats-section {
  background: linear-gradient(180deg, #0f0f1a, #1a1a2e);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #e0e7ff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 40px;
  height: 3px;
  background: var(--indigo-600);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- Testimonial Cards --- */
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.testimonial-card .quote-mark {
  font-size: 3rem;
  color: var(--indigo-700);
  line-height: 1;
  font-family: 'Georgia', serif;
  margin-bottom: 12px;
}

.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card .member-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.15);
  color: #a5b4fc;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author .author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.testimonial-author .author-info span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* --- FAQ Accordion --- */
.faq-section {
  background: #0f0f1a;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  gap: 16px;
}

.faq-question:hover {
  color: #fff;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.faq-item.active .faq-question .faq-icon {
  background: var(--indigo-600);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(150deg, var(--indigo-600), var(--indigo-800), #4c1d95, var(--indigo-900));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 20px);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--indigo-700);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
  background: #eef2ff;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

/* --- Footer --- */
.footer-section {
  background: #0a0a16;
  border-top: 1px solid rgba(79, 70, 229, 0.2);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #a5b4fc;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(79, 70, 229, 0.6);
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600));
}

/* --- Download Page Styles --- */
.download-page {
  background: #0f0f1a;
  min-height: 100vh;
}

.download-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.download-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: #fff;
}

.download-icon.android {
  background: linear-gradient(135deg, #3ddc84, #01875f);
}

.download-icon.ios {
  background: linear-gradient(135deg, #636366, #1c1c1e);
}

.download-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.download-version {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.download-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.download-features li {
  color: #cbd5e1;
  font-size: 0.9rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-features li i {
  color: #22c55e;
  font-size: 0.8rem;
}

.btn-download-lg {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.btn-download-lg.android-btn {
  background: linear-gradient(135deg, #3ddc84, #00b36b);
  box-shadow: 0 8px 30px rgba(61, 220, 132, 0.3);
}

.btn-download-lg.android-btn:hover {
  box-shadow: 0 12px 40px rgba(61, 220, 132, 0.5);
  transform: translateY(-3px);
}

.btn-download-lg.ios-btn {
  background: linear-gradient(135deg, #636366, #3a3a3c);
  box-shadow: 0 8px 30px rgba(99, 99, 102, 0.3);
}

.btn-download-lg.ios-btn:hover {
  box-shadow: 0 12px 40px rgba(99, 99, 102, 0.5);
  transform: translateY(-3px);
}

.download-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 16px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Nav --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #0f0f1a;
  border-left: 1px solid rgba(79, 70, 229, 0.2);
  z-index: 1000;
  padding: 80px 32px 32px;
  transition: right 0.4s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* --- Scroll Reveal --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .floating-cards {
    width: 240px;
    height: 280px;
    margin: 0 auto;
  }
  .playing-card {
    width: 120px;
    height: 168px;
  }
  .playing-card .card-suit {
    font-size: 2.2rem;
  }
  .playing-card.card-2 { left: 40px; }
  .playing-card.card-3 { left: 80px; }
  .playing-card.card-4 { left: 120px; }

  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .btn-primary-hero,
  .btn-outline-hero {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
