/* 012p6.online — Main Stylesheet */
/* Self-contained, no external CDN dependencies */
/* Color scheme: Dark navy + Gold accent (similar to tkslot.wine) */

:root {
  --color-bg: #0a0e17;
  --color-bg-elevated: #111827;
  --color-card: #1a2234;
  --color-border: #2d3a52;
  --color-border-light: #3d4d6b;
  --color-text: #e8ebf1;
  --color-text-muted: #9aa4b8;
  --color-gold: #d4a843;
  --color-gold-light: #e8c56d;
  --color-gold-dark: #b8923a;
  --color-red: #e03e3e;
  --color-green: #2eb872;
  --color-blue: #3b82f6;
  --font-sans: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
  --container-max: 1200px;
  --header-h: 64px;
}

@font-face {
  font-family: 'Prompt';
  src: url('../vendor/fonts/Prompt-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../vendor/fonts/Prompt-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../vendor/fonts/Prompt-SemiBold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../vendor/fonts/Prompt-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-light); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
ul, ol { padding-left: 1.5rem; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }
.main { flex: 1; padding: 2rem 0; }
.section { margin-bottom: 3rem; }

/* ===== Header / Navigation ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.25rem; color: var(--color-text);
  text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.875rem; color: var(--color-bg);
  letter-spacing: 0.02em;
}
.logo-img { border-radius: 8px; }
.logo-text { white-space: nowrap; letter-spacing: 0.01em; }
.nav { display: none; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.875rem; color: var(--color-text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--color-gold); background: rgba(212, 168, 67, 0.1); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg); font-weight: 600;
  padding: 0.625rem 1.25rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { color: var(--color-bg); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: var(--transition); }

@media (min-width: 768px) {
  .nav { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative; padding: calc(var(--header-h) + 3rem) 0 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 168, 67, 0.08) 0%, transparent 70%),
    var(--color-bg);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a843' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 36v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 6V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212, 168, 67, 0.15); border: 1px solid var(--color-gold);
  color: var(--color-gold); padding: 0.5rem 1rem; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--color-gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2;
  margin-bottom: 1rem; color: var(--color-text);
}
.hero h1 .highlight { color: var(--color-gold); }
.hero .lead { font-size: 1.125rem; color: var(--color-text-muted); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg); box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--color-bg); }
.btn-secondary {
  background: var(--color-card); color: var(--color-text); border: 1px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.hero-img { margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; border-radius: var(--radius-lg); }

/* ===== Quick Stats Bar ===== */
.stats-bar { background: var(--color-bg-elevated); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; margin-bottom: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { padding: 0.5rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--color-gold); font-family: var(--font-mono); }
.stat-label { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Table of Contents ===== */
.toc { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; }
.toc-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: var(--color-text); }
.toc-title::before { content: ''; width: 4px; height: 20px; background: var(--color-gold); border-radius: 2px; }
.toc-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .toc-list { grid-template-columns: repeat(2, 1fr); } }
.toc-list a { display: block; padding: 0.75rem 1rem; background: var(--color-bg-elevated); border-radius: var(--radius-md); color: var(--color-text); font-weight: 500; font-size: 0.9375rem; border: 1px solid transparent; transition: all var(--transition); }
.toc-list a:hover { border-color: var(--color-gold); color: var(--color-gold); background: var(--color-bg); transform: translateX(4px); }

/* ===== Content Sections ===== */
.content-section { margin-bottom: 3rem; }
.content-section h2 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-text);
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-gold); display: inline-block;
}
.content-section h3 {
  font-size: 1.25rem; font-weight: 600; margin: 2rem 0 1rem; color: var(--color-gold);
}
.content-section p { margin-bottom: 1.25rem; color: var(--color-text); }
.content-section p:last-child { margin-bottom: 0; }
.content-section strong { color: var(--color-gold-light); }
.content-section ul, .content-section ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.content-section li { margin-bottom: 0.5rem; color: var(--color-text); }
.content-section li::marker { color: var(--color-gold); }

/* ===== Tables ===== */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { background: var(--color-bg-elevated); font-weight: 600; color: var(--color-gold); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
td { color: var(--color-text); font-size: 0.9375rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(212, 168, 67, 0.05); }
.table-note { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.5rem; }

/* ===== Image Blocks ===== */
.img-block { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-block img { width: 100%; height: auto; }
.img-caption { text-align: center; font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.5rem; }

/* ===== Feature Cards Grid ===== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
}
.card:hover { border-color: var(--color-gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.25rem; }
.card-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-text); }
.card-desc { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.6; }
.card-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--color-text-muted); }
.card-meta span { display: flex; align-items: center; gap: 0.25rem; }
.card-meta .icon { color: var(--color-gold); }

/* ===== FAQ Accordion ===== */
.faq { margin-top: 3rem; }
.faq-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--color-text); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; background: var(--color-card); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; background: none; border: none; color: var(--color-text);
  font-size: 1rem; font-weight: 600; font-family: inherit; cursor: pointer; text-align: left;
}
.faq-question:hover { color: var(--color-gold); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--color-gold); transition: transform var(--transition); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--color-text-muted); line-height: 1.7; }
.faq-answer p { margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--color-gold-light); }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.1) 0%, rgba(184, 146, 58, 0.05) 100%);
  border: 1px solid var(--color-gold); border-radius: var(--radius-lg); padding: 3rem 2rem; text-align: center; margin: 3rem 0;
}
.cta-section h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-text); }
.cta-section p { color: var(--color-text-muted); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
.footer { background: var(--color-bg-elevated); border-top: 1px solid var(--color-border); padding: 3rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.7; max-width: 300px; }
.footer-title { font-size: 0.875rem; font-weight: 600; color: var(--color-gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: 0.5rem; }
.footer-links a { color: var(--color-text-muted); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--color-border); text-align: center; color: var(--color-text-muted); font-size: 0.8125rem; }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-gold); }

/* ===== Mobile Menu Overlay ===== */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  z-index: 999; display: none; flex-direction: column; padding: calc(var(--header-h) + 2rem) 1.5rem 2rem; gap: 1rem;
}
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay .nav-link { padding: 1rem; font-size: 1.125rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); text-align: center; }
.mobile-menu-overlay .nav-cta { text-align: center; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-gold); }
.breadcrumbs .sep { color: var(--color-border-light); }

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 48px; height: 48px;
  border-radius: 50%; background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition); z-index: 100;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ===== Utility ===== */
.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; }
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }