/**
* HOYA8 - Modern Gaming Platform Design
* Version: 2.0.0
* Designed for Modern Casino Experience
*/

/* ===============================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   =============================== */
:root {
  /* New Color Palette */
  --periwinkle: #cec2ff;
  --periwinkle-2: #b3b3f1;
  --pink-lavender: #dcb6d5;
  --puce: #cf8ba9;
  --china-rose: #b15e6c;
  
  /* Colors */
  --primary-gradient: linear-gradient(135deg, #b3b3f1 0%, #cec2ff 100%);
  --secondary-gradient: linear-gradient(135deg, #dcb6d5 0%, #cf8ba9 100%);
  --danger-gradient: linear-gradient(135deg, #cf8ba9 0%, #b15e6c 100%);
  --dark-gradient: linear-gradient(135deg, #b15e6c 0%, #8b4a5a 100%);
  
  --primary-color: #b3b3f1;
  --primary-light: #cec2ff;
  --primary-dark: #9999d9;
  --secondary-color: #dcb6d5;
  --secondary-light: #e8d0e3;
  --secondary-dark: #cf8ba9;
  --accent-color: #b15e6c;
  --accent-light: #cf8ba9;
  --accent-dark: #8b4a5a;
  
  --neutral-900: #263238;
  --neutral-800: #37474f;
  --neutral-700: #455a64;
  --neutral-600: #546e7a;
  --neutral-500: #607d8b;
  --neutral-400: #78909c;
  --neutral-300: #90a4ae;
  --neutral-200: #b0bec5;
  --neutral-100: #cfd8dc;
  --neutral-50: #eceff1;
  --white: #ffffff;
  
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --info-color: #2196f3;
  
  /* Typography */
  --font-primary: "微軟正黑體", "PingFang TC", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "微軟正黑體", "PingFang TC", "Noto Sans TC", "Roboto", sans-serif;
  
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  
  /* Spacing */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 2.5rem;   /* 40px */
  --space-3xl: 3rem;     /* 48px */
  --space-4xl: 4rem;     /* 64px */
  --space-5xl: 6rem;     /* 96px */
  
  /* Border Radius */
  --radius-sm: 0.375rem; /* 6px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-2xl: 1.5rem;  /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(26, 35, 126, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(255, 193, 7, 0.4);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ===============================
   GLOBAL RESET & BASE STYLES
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--neutral-800);
  background: linear-gradient(135deg, #f8f9ff 0%, #e8eaf6 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
  word-break: keep-all;
  text-wrap: balance;
  hyphens: none;
}

h1 { 
  font-size: clamp(2rem, 4vw + 1rem, var(--text-5xl));
  line-height: 1.1;
}
h2 { 
  font-size: clamp(1.5rem, 3vw + 0.5rem, var(--text-4xl));
  line-height: 1.2;
}
h3 { 
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, var(--text-3xl));
  line-height: 1.3;
}
h4 { 
  font-size: clamp(1.125rem, 2vw + 0.5rem, var(--text-2xl));
  line-height: 1.4;
}
h5 { 
  font-size: clamp(1rem, 1.5vw + 0.25rem, var(--text-xl));
  line-height: 1.5;
}
h6 { 
  font-size: clamp(0.875rem, 1vw + 0.25rem, var(--text-lg));
  line-height: 1.5;
}

p {
  margin-bottom: var(--space-md);
  color: var(--neutral-700);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: justify;
  text-justify: inter-ideograph;
  max-width: 65ch;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus styles for accessibility */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===============================
   UTILITY COMPONENTS
   =============================== */

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  right: var(--space-lg);
  bottom: var(--space-lg);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 20px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.back-to-top i:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Preloader styles removed - not used in templates */

/* ===============================
   HEADER COMPONENT
   =============================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(26, 35, 126, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  padding: var(--space-sm) 0;
}

#header.header-scrolled {
  background: var(--primary-gradient);
  box-shadow: var(--shadow-xl);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
}

/* Logo */
.logo {
  margin: 0;
}

.logo a {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.logo a:hover {
  color: var(--secondary-color);
  text-shadow: var(--shadow-glow-gold);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu ul li {
  margin: 0 var(--space-md);
  position: relative;
}

.nav-menu ul li a {
  display: flex;
  align-items: center;
  color: var(--white);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: keep-all;
}

.nav-menu ul li a:hover,
.nav-menu ul li.active a {
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-menu ul li a i {
  margin-right: var(--space-xs);
  font-size: var(--text-lg);
}

/* Get Started Button */
.get-started-btn {
  background: var(--secondary-gradient) !important;
  color: var(--neutral-900) !important;
  padding: var(--space-md) var(--space-xl) !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: var(--shadow-lg) !important;
  transition: all var(--transition-fast) !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  word-break: keep-all !important;
  min-width: fit-content !important;
}

.get-started-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-glow-gold) !important;
  color: var(--neutral-900) !important;
}

/* ===============================
   HERO SECTION
   =============================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  overflow: hidden;
  padding: var(--space-5xl) 0 var(--space-4xl);
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(244, 67, 54, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

#hero h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  word-break: keep-all;
  text-wrap: balance;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

#hero h2 {
  font-size: var(--text-xl);
  color: var(--secondary-light);
  margin-bottom: var(--space-md);
  font-weight: 600;
  animation: fadeInUp 1s ease-out 0.2s both;
  word-break: keep-all;
  text-wrap: balance;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

#hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn-get-started {
  background: var(--secondary-gradient);
  color: var(--neutral-900);
  padding: var(--space-lg) var(--space-3xl);
  border-radius: var(--radius-2xl);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
  animation: fadeInUp 1s ease-out 0.6s both;
  min-width: 200px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: keep-all;
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-gold);
  color: var(--neutral-900);
}

.btn-get-started i {
  margin-left: var(--space-sm);
}

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

/* ===============================
   MAIN CONTENT SECTIONS
   =============================== */
#main {
  position: relative;
  z-index: 1;
}

/* About Section */
.about {
  padding: var(--space-5xl) 0;
  background: var(--white);
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.about .content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-xl);
}

.about .content h3 {
  color: var(--primary-color);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.about .icon-boxes {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--neutral-100);
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.icon-box i {
  font-size: var(--text-4xl);
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  display: block;
}

.icon-box h4 {
  color: var(--primary-color);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.icon-box p {
  color: var(--neutral-600);
  line-height: 1.7;
}

/* Features Section */
.features {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8eaf6 100%);
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-5xl);
}

.section-title h2 {
  color: var(--primary-color);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.section-title p {
  color: var(--neutral-600);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.features .content {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  margin-bottom: var(--space-4xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.features .content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.features .content img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
}

.features .content h3 {
  color: var(--primary-color);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  border-left: 4px solid var(--secondary-color);
  padding-left: var(--space-lg);
}

.features .content .font-italic {
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

/* Clients Section */
#clients {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

#clients .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

#clients img {
  max-height: 60px;
  opacity: 0.7;
  transition: all var(--transition-fast);
  filter: grayscale(100%);
}

#clients img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ===============================
   FOOTER
   =============================== */
#footer {
  background: var(--dark-gradient);
  color: var(--white);
}

.footer-top {
  padding: var(--space-5xl) 0 var(--space-3xl);
}

.footer-top .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-contact h3 {
  color: var(--secondary-color);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.footer-contact p {
  color: var(--neutral-300);
  line-height: 1.8;
}

.footer-links h4 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

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

.footer-links ul li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.footer-links ul li i {
  color: var(--secondary-color);
  margin-right: var(--space-sm);
}

.footer-links ul li a {
  color: var(--neutral-300);
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(3px);
}

.footer-newsletter h4 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.footer-newsletter p {
  color: var(--neutral-300);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

#footer .copyright {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--neutral-600);
  text-align: center;
  color: var(--neutral-400);
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: var(--text-2xl);
  cursor: pointer;
  padding: var(--space-sm);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--primary-gradient);
    transition: 0.3s;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: var(--space-lg);
    height: 100%;
  }
  
  .nav-menu ul li {
    margin: var(--space-sm) 0;
    width: 100%;
  }
  
  .nav-menu ul li a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }
  
  #hero {
    padding: var(--space-4xl) 0 var(--space-3xl);
    min-height: 80vh;
  }
  
  #hero h1 {
    font-size: var(--text-4xl);
  }
  
  #hero h2 {
    font-size: var(--text-lg);
  }
  
  .about .content,
  .about .icon-boxes,
  .features .content {
    padding: var(--space-xl);
  }
  
  .icon-box {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .features .content {
    margin-bottom: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .get-started-btn,
  .btn-get-started {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
  }
  
  .about .content,
  .about .icon-boxes,
  .features .content {
    padding: var(--space-lg);
  }
  
  .footer-top {
    padding: var(--space-3xl) 0 var(--space-xl);
  }
}

/* ===============================
   ANIMATION UTILITIES
   =============================== */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

/* ===============================
   ACCESSIBILITY ENHANCEMENTS
   =============================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --neutral-700: #000000;
    --neutral-300: #ffffff;
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================
   ENHANCED HEADER STYLES
   =============================== */
.logo-text {
  font-weight: 900;
  font-size: var(--text-3xl);
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-suffix {
  color: var(--white);
  font-weight: 300;
  opacity: 0.9;
}

.nav-text {
  margin-left: var(--space-xs);
  font-size: var(--text-sm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

/* ===============================
   ENHANCED HERO STYLES
   =============================== */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.floating-card {
  position: absolute;
  width: 60px;
  height: 40px;
  background: var(--secondary-gradient);
  border-radius: var(--radius-md);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.floating-dice {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border-radius: var(--radius-sm);
  opacity: 0.08;
  animation: spin-float 8s ease-in-out infinite;
}

.dice-1 {
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}

.dice-2 {
  bottom: 40%;
  right: 10%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes spin-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(90deg);
  }
  50% {
    transform: translateY(-5px) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-lg);
  color: var(--secondary-color);
  font-size: var(--text-sm);
  font-weight: 600;
}

.hero-badge i {
  margin-right: var(--space-sm);
  color: var(--secondary-color);
}

.brand-highlight {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.highlight-amount {
  color: var(--secondary-color);
  font-weight: 800;
  font-size: 1.2em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-learn-more:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-learn-more i {
  margin-right: var(--space-sm);
}

.hero-features {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
}

.feature-item i {
  margin-right: var(--space-sm);
  color: var(--secondary-color);
  font-size: var(--text-lg);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 400px;
  margin: 0 auto;
}

.game-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.game-card:nth-child(1) {
  grid-column: 1 / -1;
  margin-bottom: var(--space-md);
}

.game-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-gradient);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: all var(--transition-fast);
}

.card-icon i {
  font-size: var(--text-2xl);
  color: var(--neutral-900);
}

.game-card h3 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.game-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin: 0;
}

.live-card:hover .card-icon {
  background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
}

.sports-card:hover .card-icon {
  background: linear-gradient(135deg, #38a169 0%, #68d391 100%);
}

.slot-card:hover .card-icon {
  background: linear-gradient(135deg, #805ad5 0%, #b794f6 100%);
}

/* ===============================
   ENHANCED RESPONSIVE DESIGN
   =============================== */
@media (max-width: 991px) {
  .hero-actions {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }
  
  .btn-get-started,
  .btn-learn-more {
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: var(--text-xl);
  }
  
  .nav-text {
    display: none;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-cards {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 300px;
  }
  
  .game-card:nth-child(1) {
    grid-column: auto;
    margin-bottom: 0;
  }
  
  .hero-features {
    gap: var(--space-md);
  }
  
  .feature-item {
    font-size: var(--text-xs);
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-md);
  }
  
  .hero-actions {
    gap: var(--space-sm);
  }
  
  .btn-get-started,
  .btn-learn-more {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
  }
  
  .game-card {
    padding: var(--space-lg);
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
  }
  
  .card-icon i {
    font-size: var(--text-xl);
  }
}