/* ========================================
   DICECORE.SHOP - CASINO GAMING EDUCATION
   Modern, Professional Casino Design
   ======================================== */

/* Root Variables */
:root {
  --primary: #5f5f5f;
  --secondary: #2d2d2d;
  --accent: #00d4ff;
  --background: #0f0f0f;
  --text: #f0f0f0;
  --text-dark: #1a1a1a;
  --border-light: #3a3a3a;
  --shadow: rgba(0, 0, 0, 0.5);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-md);
  color: var(--text);
}

h1 {
  font-size: 3rem;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: 0.8px;
}

h3 {
  font-size: 1.75rem;
  letter-spacing: 0.6px;
}

h4 {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: rgba(240, 240, 240, 0.9);
  font-size: 1rem;
}

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

a:hover {
  color: rgba(0, 212, 255, 0.8);
  text-decoration: underline;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--accent);
  color: var(--text-dark);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: rgba(0, 212, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(95, 95, 95, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(95, 95, 95, 0.9);
  box-shadow: 0 6px 20px rgba(95, 95, 95, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

/* ========================================
   ICONS
   ======================================== */

.casino-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  fill: currentColor;
}

.hero .casino-icon {
  width: 64px;
  height: 64px;
  margin-right: 12px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  background-color: var(--secondary);
  border-bottom: 1px solid var(--border-light);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.tagline {
  font-size: 0.75rem;
  color: rgba(0, 212, 255, 0.7);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nav {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-xs);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--secondary) 100%);
  padding: var(--spacing-2xl) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(240, 240, 240, 0.85);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   MAIN CONTENT WRAPPER
   ======================================== */

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-md);
}

/* ========================================
   SECTIONS & DIVIDERS
   ======================================== */

.section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.section-subtitle {
  color: rgba(240, 240, 240, 0.7);
  font-size: 1.1rem;
  margin-top: var(--spacing-md);
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--accent) 50%, var(--primary) 80%, transparent 100%);
  margin: var(--spacing-2xl) 0;
}

/* ========================================
   CARD LAYOUTS
   ======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.card {
  background-color: var(--secondary);
  border-radius: var(--border-radius);
