/* ============================================
   GAMA 777 - SEO Sub-Pages Shared CSS
   Same design language as index, separate file
   ============================================ */

:root {
  --fire: #F64501;
  --fire2: #FF6B2B;
  --fire3: #D93A00;
  --bg: #0C0C0C;
  --bg2: #141414;
  --bg3: #1E1E1E;
  --bg4: #282828;
  --white: #F5F5F5;
  --gray: #777;
  --gray2: #444;
  --gray3: #333;
  --green: #00E676;
  --red: #FF3D57;
  --blue: #448AFF;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(246,69,1,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(246,69,1,0.04) 0%, transparent 60%);
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--fire); border-radius: 4px; }

/* === NAV === */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12,12,12,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg4);
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-logo {
  width: 38px; height: 38px;
  background: var(--fire); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.topbar-logo img { width: 100%; height: 100%; object-fit: cover; }
.topbar-name {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 0.95rem;
  color: var(--white); letter-spacing: 1px;
}
.topbar-name em { font-style: normal; color: var(--fire); }
.topbar-tag {
  font-size: 0.5rem; color: var(--gray); letter-spacing: 3px;
  text-transform: uppercase; display: block; margin-top: 1px;
}
.topbar-right { display: flex; align-items: center; gap: 8px; }
.tb-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: var(--radius); border: 1px solid var(--bg4);
  cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 0.68rem; text-decoration: none; transition: all 0.2s;
  background: transparent; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px;
}
.tb-btn:hover { border-color: var(--fire); color: var(--fire); }
.tb-btn-wa { border-color: rgba(0,230,118,0.3); color: var(--green); }
.tb-btn-wa:hover { background: rgba(0,230,118,0.08); border-color: var(--green); }
.tb-btn-fire { background: var(--fire); border-color: var(--fire); color: #fff; }
.tb-btn-fire:hover { background: var(--fire2); }

/* === PAGE CONTAINER === */
.page-wrap {
  position: relative; z-index: 1;
  margin-top: 56px;
  padding: 48px 20px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}

/* === BREADCRUMB === */
.breadcrumb {
  font-size: 0.7rem; color: var(--gray); margin-bottom: 28px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--fire); }
.breadcrumb .bc-sep { color: var(--gray2); }
.breadcrumb .bc-current { color: var(--fire); font-weight: 600; }

/* === PAGE HEADER === */
.page-hdr { margin-bottom: 36px; }
.page-hdr h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--white);
  line-height: 1.2; margin-bottom: 10px;
}
.page-hdr h1 .hl { color: var(--fire); }
.page-hdr-sub {
  font-size: 0.85rem; color: var(--gray); line-height: 1.7;
  max-width: 600px;
}
.page-hdr-line {
  width: 32px; height: 2px; background: var(--fire); margin: 12px 0 0;
}

/* === CONTENT CARD === */
.content-card {
  background: var(--bg2); border: 1px solid var(--bg4); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px;
}
.content-card h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 1.1rem; color: var(--white); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--bg4);
}
.content-card h2 i { color: var(--fire); margin-right: 8px; }
.content-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 0.95rem; color: var(--white); margin: 18px 0 8px;
}
.content-card p {
  font-size: 0.82rem; color: var(--gray); line-height: 1.8; margin-bottom: 12px;
}
.content-card ul, .content-card ol {
  margin: 8px 0 14px 20px; color: var(--gray); font-size: 0.82rem; line-height: 1.9;
}
.content-card li { margin-bottom: 4px; }
.content-card strong { color: var(--white); }
.content-card a { color: var(--fire); text-decoration: none; }
.content-card a:hover { text-decoration: underline; }

/* === RESULT TABLE === */
.result-table {
  width: 100%; border-collapse: collapse; margin: 14px 0;
}
.result-table th {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  font-weight: 700; color: var(--fire); text-transform: uppercase;
  letter-spacing: 2px; padding: 10px 14px; text-align: left;
  background: var(--bg3); border-bottom: 1px solid var(--bg4);
}
.result-table td {
  font-size: 0.8rem; color: var(--white); padding: 10px 14px;
  border-bottom: 1px solid var(--bg4);
}
.result-table tr:hover td { background: var(--bg3); }
.result-table .time-cell {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--gray);
}
.result-table .status-live {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 2px; font-size: 0.58rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(0,230,118,0.1); color: var(--green);
}
.result-table .status-closed {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 2px; font-size: 0.58rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(255,61,87,0.06); color: var(--red);
}

/* === INFO GRID (2 col) === */
.info-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 16px 0;
}
.info-box {
  background: var(--bg); border: 1px solid var(--bg4); border-radius: var(--radius);
  padding: 16px; text-align: center;
}
.info-box-val {
  font-family: 'JetBrains Mono', monospace; font-size: 1.3rem;
  font-weight: 800; color: var(--fire);
}
.info-box-lbl {
  font-size: 0.6rem; color: var(--gray); text-transform: uppercase;
  letter-spacing: 2px; margin-top: 4px;
}

/* === CTA BOX === */
.cta-box {
  background: var(--bg2); border: 1px solid var(--bg4); border-radius: var(--radius);
  padding: 32px; text-align: center; margin: 24px 0;
}
.cta-box h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.2rem; color: var(--white); margin-bottom: 10px;
}
.cta-box p { font-size: 0.82rem; color: var(--gray); margin-bottom: 18px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius); border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.82rem;
  text-decoration: none; transition: all 0.25s; text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--fire); color: #fff; box-shadow: 0 4px 20px rgba(246,69,1,0.3);
}
.cta-btn:hover { background: var(--fire2); transform: translateY(-2px); }
.cta-btn-ghost {
  background: var(--bg3); color: var(--white); border: 1px solid var(--bg4); box-shadow: none;
}
.cta-btn-ghost:hover { border-color: var(--fire); color: var(--fire); }

/* === MARKET LINKS GRID === */
.market-links {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px;
  margin: 16px 0;
}
.market-link {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--bg4); border-radius: var(--radius);
  padding: 12px 14px; text-decoration: none; transition: all 0.2s;
}
.market-link:hover { border-color: rgba(246,69,1,0.3); transform: translateY(-1px); }
.market-link-icon { color: var(--fire); font-size: 0.7rem; }
.market-link-text {
  font-size: 0.75rem; color: var(--white); font-weight: 600;
}

/* === FAQ SECTION === */
.faq-item {
  border-bottom: 1px solid var(--bg4); padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 0.88rem; color: var(--white); margin-bottom: 6px;
}
.faq-q i { color: var(--fire); margin-right: 6px; font-size: 0.7rem; }
.faq-a { font-size: 0.8rem; color: var(--gray); line-height: 1.7; }

/* === FOOTER === */
footer {
  background: var(--bg); border-top: 1px solid var(--bg4);
  padding: 32px 20px 40px; position: relative; z-index: 1;
  margin-top: 48px;
}
.ft-in { max-width: 1000px; margin: 0 auto; }
.ft-top {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--bg4);
}
.ft-brand-text { font-size: 0.72rem; color: var(--gray); margin-top: 8px; max-width: 220px; line-height: 1.6; }
.ft-col h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  font-weight: 700; color: var(--fire); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 10px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.ft-col ul li a { font-size: 0.72rem; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.ft-col ul li a:hover { color: var(--fire); }
.ft-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  align-items: center; text-align: center; margin-top: 12px;
}
.ft-copy { font-size: 0.65rem; color: var(--gray2); }
.ft-copy b { color: var(--fire); }

/* === FLOAT WA === */
.fl-wa {
  position: fixed; right: 16px; bottom: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: var(--radius);
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3); transition: all 0.25s;
  animation: flGlow 2s ease-in-out infinite;
}
@keyframes flGlow {
  0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,0.3); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.6), 0 0 0 6px rgba(37,211,102,0.06); }
}
.fl-wa:hover { transform: scale(1.1); border-radius: 50%; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .page-wrap { padding: 32px 16px; }
  .info-grid-2 { grid-template-columns: 1fr 1fr; }
  .market-links { grid-template-columns: 1fr; }
  .ft-top { flex-direction: column; }
}
@media (max-width: 480px) {
  .info-grid-2 { grid-template-columns: 1fr; }
  .tb-btn .tb-lbl { display: none; }
}
