/*
Theme Name: Hello Elementor Child - Zhong Kui Codex
Theme URI: https://zhongkuicodex.gg/
Description: Custom high-performance dark mythic child theme for Black Myth: Zhong Kui database.
Author: Zhong Kui Team
Template: hello-elementor
Version: 1.1.0
*/

:root {
  --bg-abyss: #07080c;
  --bg-card: #12141e;
  --bg-surface: #1a1d2b;
  --crimson-accent: #e11d48;
  --gold-accent: #f59e0b;
  --jade-accent: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-abyss) !important;
  color: var(--text-main) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.font-mythic {
  font-family: 'Cinzel', serif;
}

/* ================= RESPONSIVE LAYOUT GRIDS ================= */
.zk-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .zk-layout-grid {
    grid-template-columns: 3fr 1fr;
    gap: 32px;
  }
}

.zk-2col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .zk-2col-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.zk-infobox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 800px) {
  .zk-infobox-grid {
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }
}

/* ================= CARDS & BOXES ================= */
.zk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
  width: 100%;
}
@media (min-width: 768px) {
  .zk-card {
    padding: 24px;
    border-radius: 16px;
  }
}

.zk-disclaimer-box {
  background: rgba(0, 0, 0, 0.6);
  border-left: 3px solid var(--gold-accent);
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-muted);
  border-radius: 6px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Responsive 16:9 Video Wrapper */
.video-responsive-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(225, 29, 72, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  background: #000;
  width: 100%;
}
.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Tables */
.zk-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: 8px;
}

/* Mobile Touch Helpers */
a, button {
  touch-action: manipulation;
}