/* ========================================
   蒸汽朋克博彩主题 - 核心样式表
   Steampunk Casino Theme - Core Stylesheet
   ======================================== */

/* Local Font - IM Fell English */
@font-face {
  font-family: 'IM Fell English';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/im-fell-english.woff2') format('woff2');
}
@font-face {
  font-family: 'IM Fell English';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/im-fell-english-italic.woff2') format('woff2');
}

/* ========== CSS Variables ========== */
:root {
  --brass: #B87333;
  --brass-light: #D4944A;
  --brass-dark: #8B5A2B;
  --dark-brown: #654321;
  --dark-brown-deep: #3E2723;
  --iron-gray: #43464B;
  --iron-gray-light: #5A5D63;
  --steam-white: #F0EAD6;
  --steam-white-dim: #D4CFC0;
  --gold: #FFD700;
  --copper: #B87333;
  --shadow-dark: rgba(0,0,0,0.6);
  --shadow-medium: rgba(0,0,0,0.3);
  --font-title: 'IM Fell English', Georgia, serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --transition-smooth: all 0.3s ease;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--dark-brown-deep);
  color: var(--steam-white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brass-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(184,115,51,0.5);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--brass);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--steam-white-dim);
}

/* ========== Jammer Block (SEO) ========== */
.jammer-block {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
}

/* ========== Navigation ========== */
#steampunk-nav {
  background: linear-gradient(180deg, var(--dark-brown-deep) 0%, var(--dark-brown) 100%);
  border-bottom: 3px solid var(--brass);
  padding: 0.8rem 1.5rem;
  position: relative;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brass);
}

.nav-logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--brass);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--steam-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-left: 1px solid var(--iron-gray);
  transition: var(--transition-smooth);
}

.nav-links li:first-child a {
  border-left: none;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--brass);
  background: rgba(184,115,51,0.1);
}

/* Gear Menu Toggle (Mobile) */
.gear-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--brass);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.gear-menu-toggle::before {
  content: '⚙';
  font-size: 1.6rem;
  color: var(--brass);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s ease;
}

.gear-menu-toggle.active::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

/* ========== Hero Section ========== */
#steampunk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-brown-deep) 0%, var(--dark-brown) 50%, var(--iron-gray) 100%);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/gears-mechanism.webp') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-clock {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 4px solid var(--brass);
  background: radial-gradient(circle, var(--dark-brown) 0%, var(--dark-brown-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gearSpin 20s linear infinite;
  box-shadow: 0 0 30px rgba(184,115,51,0.3), inset 0 0 20px rgba(0,0,0,0.5);
}

.hero-clock-inner {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--brass);
  text-shadow: 0 0 10px rgba(184,115,51,0.5);
}

.hero-title {
  font-size: 3rem;
  color: var(--brass);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-slogan {
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  color: var(--steam-white);
  margin-bottom: 2rem;
  opacity: 0;
  animation: typewriter 2s ease-out 1s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-dark) 100%);
  color: var(--dark-brown-deep);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid var(--gold);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(184,115,51,0.4);
}

.hero-cta:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--brass) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,115,51,0.6);
  color: var(--dark-brown-deep);
}

/* Steam particles */
.steam-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(240,234,214,0.3);
  border-radius: 50%;
  animation: steamRise 4s ease-out infinite;
}

/* ========== Gear Module Layout ========== */
.gear-module {
  position: relative;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gear-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23B87333" stroke-width="3"/><circle cx="50" cy="50" r="10" fill="%23B87333"/><rect x="47" y="5" width="6" height="20" fill="%23B87333" rx="2"/><rect x="47" y="75" width="6" height="20" fill="%23B87333" rx="2"/><rect x="5" y="47" width="20" height="6" fill="%23B87333" rx="2"/><rect x="75" y="47" width="20" height="6" fill="%23B87333" rx="2"/></svg>') center/contain no-repeat;
  opacity: 0.5;
  animation: gearSpin 10s linear infinite;
}

.gear-module-title {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.gear-module-title h2 {
  font-size: 2rem;
  color: var(--brass);
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  position: relative;
  display: inline-block;
}

.gear-module-title h2::after {
  content: '';
  display: block;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  margin: 0.5rem auto 0;
}

/* ========== Section Backgrounds ========== */
.section-dark {
  background: var(--dark-brown-deep);
}

.section-brown {
  background: linear-gradient(180deg, var(--dark-brown) 0%, var(--dark-brown-deep) 100%);
}

.section-gray {
  background: linear-gradient(180deg, var(--iron-gray) 0%, var(--dark-brown-deep) 100%);
}

.section-workshop {
  background: linear-gradient(180deg, #4A3728 0%, var(--dark-brown-deep) 100%);
  position: relative;
}

.section-workshop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/brass-copper-bg.webp') center/cover no-repeat;
  opacity: 0.08;
}

/* ========== Brand Story Module ========== */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.brand-story-image {
  border: 3px solid var(--brass);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.brand-story-content h3 {
  color: var(--brass-light);
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184,115,51,0.3);
}

.brand-story-content h3:first-child {
  margin-top: 0;
}

/* ========== Game Cards Grid ========== */
.game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.game-card {
  background: linear-gradient(145deg, var(--dark-brown) 0%, var(--iron-gray) 100%);
  border: 2px solid var(--brass);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(184,115,51,0.3);
  border-color: var(--gold);
}

.game-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-card-body {
  padding: 1.2rem;
}

.game-card-body h4 {
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.game-card-body p {
  font-size: 0.9rem;
  color: var(--steam-white-dim);
}

.game-card-tag {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(184,115,51,0.2);
  border: 1px solid var(--brass);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--brass);
  margin-top: 0.5rem;
}

/* ========== Feature List ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: rgba(67,70,75,0.3);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  border-color: var(--brass);
  background: rgba(67,70,75,0.5);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h4 {
  color: var(--brass);
  margin-bottom: 0.5rem;
}

/* ========== VIP Section ========== */
.vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.vip-tier {
  background: linear-gradient(145deg, var(--dark-brown) 0%, rgba(67,70,75,0.5) 100%);
  border: 2px solid var(--brass);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.vip-tier::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184,115,51,0.1) 0%, transparent 70%);
  animation: gearSpin 15s linear infinite;
}

.vip-tier:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(184,115,51,0.3);
}

.vip-tier h4 {
  position: relative;
  z-index: 1;
}

.vip-tier p {
  position: relative;
  z-index: 1;
}

.vip-tier-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  z-index: 1;
}

/* ========== APP Download Section ========== */
.app-download-section {
  position: relative;
  overflow: hidden;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.app-feature-card {
  background: rgba(101,67,33,0.4);
  border: 1px solid var(--brass);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.app-feature-card:hover {
  background: rgba(101,67,33,0.6);
  transform: translateY(-3px);
}

.app-step {
  background: rgba(67,70,75,0.3);
  border-left: 4px solid var(--brass);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.app-step-number {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: var(--brass);
  color: var(--dark-brown-deep);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: bold;
  margin-right: 0.8rem;
}

/* ========== Blog / Journal ========== */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.journal-card {
  background: linear-gradient(145deg, var(--dark-brown) 0%, var(--iron-gray) 100%);
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.journal-card:hover {
  border-color: var(--brass);
  box-shadow: 0 6px 20px rgba(184,115,51,0.2);
}

.journal-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.journal-card-body {
  padding: 1.2rem;
}

.journal-card-date {
  font-size: 0.85rem;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

/* ========== License Module ========== */
.license-module {
  background: linear-gradient(135deg, rgba(67,70,75,0.4) 0%, rgba(62,39,35,0.4) 100%);
  border: 2px solid var(--brass);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.license-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(184,115,51,0.2);
  border: 1px solid var(--brass);
  border-radius: 4px;
  font-family: var(--font-title);
  color: var(--brass);
  margin: 0.5rem;
}

/* ========== Footer ========== */
#steampunk-footer {
  background: linear-gradient(180deg, var(--iron-gray) 0%, #1a1a1a 100%);
  border-top: 3px solid var(--brass);
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
}

#steampunk-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/mechanism-detail.webp') center/cover no-repeat;
  opacity: 0.05;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--brass);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184,115,51,0.3);
  font-family: var(--font-title);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--steam-white-dim);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
  color: var(--brass);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--brass);
  color: var(--dark-brown-deep);
}

.footer-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.footer-payment-icon {
  padding: 0.3rem 0.8rem;
  background: rgba(184,115,51,0.15);
  border: 1px solid var(--brass);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--steam-white-dim);
}

.footer-bottom {
  border-top: 1px solid rgba(184,115,51,0.3);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--iron-gray-light);
  margin-bottom: 0.5rem;
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 3px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--brass);
  margin: 1rem auto;
  background: rgba(184,115,51,0.1);
}

.footer-license {
  font-size: 0.8rem;
  color: var(--iron-gray-light);
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* ========== Inner Page Styles ========== */
.inner-hero {
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-brown-deep) 0%, var(--dark-brown) 50%, var(--iron-gray) 100%);
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/gears-mechanism.webp') center/cover no-repeat;
  opacity: 0.1;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
}

.inner-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.inner-content h2 {
  margin-top: 2rem;
}

.inner-content h3 {
  margin-top: 1.5rem;
  color: var(--brass-light);
}

.content-image-block {
  margin: 2rem 0;
  border: 2px solid var(--brass);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.content-image-caption {
  padding: 0.8rem;
  background: rgba(184,115,51,0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--brass);
  font-style: italic;
}

.strategy-box {
  background: rgba(67,70,75,0.3);
  border: 1px solid var(--brass);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.strategy-box h4 {
  color: var(--brass);
  margin-bottom: 0.8rem;
}

.story-block {
  background: linear-gradient(135deg, rgba(101,67,33,0.3) 0%, rgba(67,70,75,0.3) 100%);
  border-left: 4px solid var(--brass);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.story-block h4 {
  font-style: normal;
  color: var(--brass);
}

/* ========== APP Download Page ========== */
.cockpit-bg {
  position: relative;
  min-height: 100vh;
}

.cockpit-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/cockpit-interior.webp') center/cover no-repeat;
  opacity: 0.15;
}

.qr-compass {
  display: inline-block;
  width: 200px;
  height: 200px;
  border: 4px solid var(--brass);
  border-radius: 50%;
  padding: 20px;
  background: radial-gradient(circle, var(--dark-brown) 0%, var(--dark-brown-deep) 100%);
  box-shadow: 0 0 20px rgba(184,115,51,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gearSpin 20s linear infinite;
}

.qr-compass img {
  border-radius: 4px;
}

.qr-section {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.qr-item {
  text-align: center;
}

.qr-item p {
  margin-top: 1rem;
  color: var(--brass);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

/* ========== Animations ========== */
@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gearSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes typewriter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes steamRise {
  0% {
    opacity: 0.6;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-200px) scale(2);
  }
}

@keyframes pressureGauge {
  0%, 100% { transform: rotate(-30deg); }
  50% { transform: rotate(30deg); }
}

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

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ========== Pressure Gauge Decoration ========== */
.pressure-gauge-deco {
  width: 80px;
  height: 80px;
  border: 3px solid var(--brass);
  border-radius: 50%;
  position: relative;
  margin: 1rem auto;
  background: radial-gradient(circle, var(--iron-gray) 0%, var(--dark-brown-deep) 100%);
}

.pressure-gauge-deco::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 30px;
  background: var(--brass);
  transform-origin: bottom center;
  animation: pressureGauge 3s ease-in-out infinite;
  border-radius: 2px;
}

/* ========== Pipe Decorations ========== */
.pipe-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brass), var(--brass), transparent);
  margin: 0;
  position: relative;
}

.pipe-divider::before,
.pipe-divider::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--dark-brown-deep);
}

.pipe-divider::before { left: 20%; }
.pipe-divider::after { right: 20%; }

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  html { font-size: 14px; }

  .gear-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-brown-deep);
    flex-direction: column;
    border-top: 2px solid var(--brass);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    border-left: none;
    border-bottom: 1px solid rgba(184,115,51,0.2);
    padding: 1rem 1.5rem;
  }

  .hero-title { font-size: 2rem; }
  .hero-clock { width: 150px; height: 150px; }
  .hero-clock-inner { font-size: 1.8rem; }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .game-cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vip-tiers {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qr-section {
    flex-direction: column;
    align-items: center;
  }

  .gear-module {
    padding: 2.5rem 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title { font-size: 1.6rem; }
  .hero-slogan { font-size: 1rem; }

  .gear-module {
    padding: 2rem 0.8rem;
  }
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.text-brass { color: var(--brass); }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
