@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Exo+2:wght@400;600;800;900&family=Inter:wght@300;400;500;600&family=Orbitron:wght@500;700;900&family=Rajdhani:wght@600;700&display=swap');

:root {
  /* Earthy Old Mine Color Palette */
  --bg-primary: #120d0a; /* Dark mine tunnel black-brown */
  --bg-secondary: #1e1510; /* Weathered deep timber brown */
  --bg-surface: #2a1e17; /* Rocky cave brown */
  --border-color: #5c3e2f; /* Rusted copper / iron */
  --iron-grey: #3a3f44; /* Heavy metallic iron */
  
  --gradient-gold: linear-gradient(135deg, #d48c22, #f3b03c);
  --glow-gold: rgba(243, 176, 60, 0.4);
  
  --gradient-amber: linear-gradient(135deg, #e65c00, #f9d423); /* Lantern fire glow */
  --glow-amber: rgba(230, 92, 0, 0.5);
  
  --gradient-cyan: linear-gradient(135deg, #10b981, #059669); /* Rich raw emerald green */
  --glow-cyan: rgba(16, 185, 129, 0.45);
  
  --gradient-orange: linear-gradient(135deg, #c2410c, #ea580c);
  --glow-orange: rgba(234, 88, 12, 0.4);
  
  --gradient-premium: linear-gradient(135deg, #d48c22, #f9d423, #10b981);
  
  /* Industrial Glass Overlay */
  --glass-bg: rgba(30, 21, 16, 0.85);
  --glass-blur: blur(12px);
  --glass-border: 1px solid rgba(212, 140, 34, 0.25);
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  
  --text-primary: #f8f1ea; /* Soft warm parchment */
  --text-secondary: #d4c4b7;
  --text-muted: #9c887a;
  --text-accent: #f3b03c;
  
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-rugged: 'Courier Prime', monospace; /* For classic mine ledger look */
  
  --max-width: 1320px;
  --radius-lg: 12px; /* Sharper industrial edges */
  --radius-md: 8px;
  --radius-sm: 4px;
  
  --transition: all 0.3s ease-in-out;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: radial-gradient(circle at 50% 50%, rgba(30, 21, 16, 0.5) 0%, var(--bg-primary) 100%);
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Hazard Warning Bar Above Hero */
.hazard-disclaimer-bar {
  background: #000;
  border-bottom: 3px solid #f3b03c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  color: #f3b03c;
  font-family: var(--font-rugged);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hazard-stripes {
  height: 14px;
  width: 120px;
  background: repeating-linear-gradient(
    -45deg,
    #f3b03c,
    #f3b03c 6px,
    #000 6px,
    #000 12px
  );
}

/* Background Atmosphere & flickering fog */
.underground-fog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 20%, rgba(243, 176, 60, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 40%, rgba(230, 92, 0, 0.04) 0%, transparent 50%);
  pointer-events: none;
  animation: undergroundFlicker 8s infinite alternate;
}

/* Improved Slim Header */
.header-wrapper {
  position: fixed;
  top: 38px; /* Perfectly aligned below hazard disclaimer */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  z-index: 1000;
  padding: 0 10px;
}

.header-container {
  background: rgba(26, 18, 14, 0.95);
  border: 2px solid #5c3e2f;
  border-radius: 4px; /* More industrial structure */
  padding: 6px 18px; /* Extremely slim padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

/* Steel Rivets Deco for Old Mine style */
.header-container::before, .header-container::after {
  content: '●';
  position: absolute;
  color: #3a3f44;
  font-size: 8px;
  text-shadow: 1px 1px 0px rgba(255,255,255,0.1);
}
.header-container::before { top: 4px; left: 6px; }
.header-container::after { bottom: 4px; right: 6px; }

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 30px; /* Slimmer logo */
  height: 30px;
  background: var(--gradient-amber);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--glow-amber);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.navigation-links {
  display: flex;
  gap: 16px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(92, 62, 47, 0.3);
  border: 1px solid rgba(212, 140, 34, 0.4);
}

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

.treasure-badge {
  background: rgba(243, 176, 60, 0.1);
  border: 1px solid rgba(243, 176, 60, 0.3);
  border-radius: 4px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-rugged);
  font-size: 0.75rem;
  color: #f3b03c;
}

.btn-premium {
  background: var(--gradient-gold);
  color: #120d0a;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  box-shadow: 0 2px 10px var(--glow-gold);
  border: 1px solid #ffca6e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-premium:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--glow-amber);
  background: var(--gradient-amber);
}

.btn-secondary {
  background: rgba(58, 41, 31, 0.4);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(92, 62, 47, 0.5);
  border-color: #f3b03c;
  color: #fff;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  padding: 130px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max-width);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(26, 18, 14, 0.6);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(92, 62, 47, 0.3);
}

.hero-tagline {
  font-family: var(--font-display);
  color: #f3b03c;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-tagline::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-amber);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 900;
  background: linear-gradient(135deg, #FFF 40%, #d4c4b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlowPulse 2s infinite alternate;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.hero-disclaimer {
  font-size: 0.72rem;
  font-family: var(--font-rugged);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 2px solid #e65c00;
  padding-left: 10px;
}

.hero-visual-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Added Image Element styling with golden lantern frame */
.hero-mine-image-container {
  width: 100%;
  max-width: 480px;
  border: 6px solid #2a1e17;
  outline: 2px solid #5c3e2f;
  box-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 20px var(--glow-amber);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #120d0a;
}

.hero-mine-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.hero-mine-image-container:hover .hero-mine-image {
  transform: scale(1.05);
}

.hero-mine-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,21,16,0.9) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating dynamic visual gems */
.floating-gem {
  position: absolute;
  animation: gemFloat 5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 15px var(--glow-gold));
}
.gem-1 { top: 5%; left: 8%; width: 35px; animation-delay: 0s; }
.gem-2 { bottom: 8%; right: 8%; width: 50px; animation-delay: 1s; filter: drop-shadow(0 0 15px var(--glow-cyan)); }
.gem-3 { top: 35%; right: -2%; width: 40px; animation-delay: 2s; filter: drop-shadow(0 0 15px var(--glow-orange)); }

/* Game Section Styling with Wood & Steel frames */
.game-section {
  padding: 80px 20px;
  background: #17110e;
  border-top: 3px solid #5c3e2f;
  border-bottom: 3px solid #5c3e2f;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: #f3b03c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 0px #5c3e2f;
}

.section-desc {
  color: var(--text-secondary);
}

.game-outer-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #251a14;
  border: 4px solid #5c3e2f;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
  position: relative;
}

/* Timber support layout frame simulation */
.game-outer-container::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid #f3b03c;
  pointer-events: none;
  opacity: 0.35;
  border-radius: calc(var(--radius-lg) + 4px);
}

.game-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 2px solid #5c3e2f;
  padding-bottom: 12px;
}

.game-title-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: glowBlink 1.5s infinite;
}

.game-name {
  font-family: var(--font-rugged);
  font-size: 1.1rem;
  font-weight: 700;
  color: #f3b03c;
}

.game-controls {
  display: flex;
  gap: 8px;
}

.game-control-btn {
  background: #34241d;
  border: 1px solid #5c3e2f;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.game-control-btn:hover {
  background: #f3b03c;
  color: #000;
  transform: scale(1.05);
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.95);
  background: #000;
  border: 2px solid #120d0a;
}

/* Explicit styling to fit the game perfectly inside the responsive container frame */
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Features Grid section */
.features-section {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #1c1511;
  border: 2px solid #3a291f;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-card::before {
  content: '⚙';
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 80px;
  color: rgba(92, 62, 47, 0.08);
  pointer-events: none;
  font-family: var(--font-display);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #f3b03c;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  background: #251c16;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(243, 176, 60, 0.1);
  border: 1px solid #f3b03c;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-card:nth-child(even) .feature-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Stats Dashboard Panel */
.stats-section {
  padding: 60px 20px;
  background: #1c1511;
  border-top: 2px solid #3a291f;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.stat-item {
  background: #231b15;
  border: 1px solid #5c3e2f;
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-amber);
}

.stat-value {
  font-family: var(--font-rugged);
  font-size: 2.3rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-item:nth-child(even) .stat-value {
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Modals Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 10, 0.95);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #1e1510;
  border: 3px solid #f3b03c;
  box-shadow: 0 0 40px rgba(243, 176, 60, 0.2);
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  padding: 30px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
}

.instruction-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.instruction-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  background: #f3b03c;
  color: #000;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-rugged);
  flex-shrink: 0;
}

/* Inner Pages Structure Styling */
.inner-hero {
  padding: 150px 20px 60px;
  background: radial-gradient(circle at top, rgba(92, 62, 47, 0.3) 0%, var(--bg-primary) 100%);
  text-align: center;
  border-bottom: 2px solid #3a291f;
}

.inner-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.inner-hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  text-shadow: 2px 2px 0 #000;
}

.inner-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

.inner-content-section {
  padding: 60px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Premium Vault Showcase Grid */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.vault-card {
  background: #1c1511;
  border: 2px solid #3a291f;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.vault-card:hover {
  transform: translateY(-4px);
  border-color: #f3b03c;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.vault-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #120d0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-svg-visual {
  width: 100%;
  height: 100%;
}

.vault-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000;
  border: 1px solid #f3b03c;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-rugged);
  font-size: 0.7rem;
  color: #f3b03c;
}

.vault-body {
  padding: 20px;
}

.vault-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}

.vault-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.vault-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #3a291f;
  padding-top: 12px;
  font-family: var(--font-rugged);
  font-size: 0.8rem;
}

/* Contact form layout */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-card-box {
  background: #1c1511;
  border: 2px solid #5c3e2f;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #f3b03c;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  background: #120d0a;
  border: 1px solid #5c3e2f;
  border-radius: 4px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: #f3b03c;
  box-shadow: 0 0 10px rgba(243, 176, 60, 0.25);
}

.contact-details-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-card {
  background: #1c1511;
  border: 1px solid #3a291f;
  padding: 20px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.detail-icon {
  width: 38px;
  height: 38px;
  background: rgba(243, 176, 60, 0.1);
  border: 1px solid #f3b03c;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3b03c;
  flex-shrink: 0;
}

.faq-box {
  margin-top: 60px;
}

.faq-title {
  text-align: center;
  margin-bottom: 30px;
}

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

.faq-item {
  background: #1c1511;
  border: 1px solid #3a291f;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #fff;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.faq-item.active .faq-answer {
  padding: 0 20px 16px;
  max-height: 200px;
}

/* Legal text styling */
.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #1c1511;
  border: 2px solid #5c3e2f;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.legal-content h3 {
  margin: 24px 0 12px;
  font-size: 1.2rem;
  color: #f3b03c;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  margin: 10px 0 16px 20px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* Footer structure */
.footer-container {
  background: #0b0806;
  border-top: 3px solid #5c3e2f;
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 30px;
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-link-item a:hover {
  color: #f3b03c;
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(92, 62, 47, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 850px;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(156, 136, 122, 0.4);
}

/* Animations declarations */
@keyframes undergroundFlicker {
  0% { opacity: 0.8; }
  30% { opacity: 0.95; }
  35% { opacity: 0.75; }
  60% { opacity: 0.9; }
  65% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes textGlowPulse {
  0% { text-shadow: 0 0 10px rgba(230, 92, 0, 0.4); }
  100% { text-shadow: 0 0 20px rgba(243, 176, 60, 0.8); }
}

@keyframes glowBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes gemFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(6deg); }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-text-content {
    align-items: center;
  }
  .hero-tagline {
    justify-content: center;
  }
  .hero-disclaimer {
    justify-content: center;
    border-left: none;
    border-top: 2px solid #e65c00;
    padding-left: 0;
    padding-top: 10px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hazard-disclaimer-bar {
    position: relative;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
  }
  .hazard-stripes {
    display: none; /* Hide stripes to save space on mobile */
  }
  .header-wrapper {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    padding: 10px;
    margin: 0 auto;
  }
  .header-container {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    align-items: center;
    text-align: center;
  }
  .logo-area {
    justify-content: center;
  }
  .navigation-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }
  .nav-link {
    font-size: 0.72rem;
    padding: 4px 6px;
  }
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  .header-actions .btn-premium {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
  .hero-section {
    padding: 40px 20px;
    min-height: auto;
  }
  .inner-hero {
    padding: 60px 20px 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand-box, .footer-logo, .footer-contact-info, .footer-contact-item {
    align-items: center;
    justify-content: center;
  }
  /* Table Responsive Conversion */
  .inner-content-section table, 
  .inner-content-section tbody, 
  .inner-content-section tr, 
  .inner-content-section td {
    display: block;
    width: 100%;
  }
  .inner-content-section tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
  }
  .inner-content-section td {
    padding: 4px 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
  }
}

.svg-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}