/* ==========================================================================
   KAMO99 - Affiliate SEO Engine Stylesheet (Deep Blue & Black Cyber Luxury)
   Reference: https://kamo99-wallet.com/
   Visual Protocol: Zero CLS Media Frame (16:9, 800x450)
   ========================================================================== */

:root {
  --bg-deep: #060b18;
  --bg-darker: #030812;
  --bg-card: #0c1a33;
  --bg-card-grad-top: #112b59;
  --bg-card-grad-bottom: #050a14;
  --primary-navy: #11203d;
  --accent-blue: #1a66ff;
  --accent-blue-light: #4d88ff;
  --accent-blue-dark: #003399;
  --accent-cyan: #00ffff;
  --accent-gold: #f9cd2e;
  --text-main: #f4f6f8;
  --text-muted: #a5b4e8;
  --text-slate: #94a3b8;
  --border-blue: rgba(26, 102, 255, 0.4);
  --border-glow: rgba(51, 119, 255, 0.6);
  --container-max: 1170px;
}

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

html {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(26, 102, 255, 0.16), transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(0, 68, 204, 0.14), transparent 50%),
    var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 72px;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #ffffff;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. Sticky Header & Navigation (KAMO99 Deep Navy & Laser Line)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.header-main {
  position: relative;
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(90% 140% at 50% 30%, rgba(26, 102, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #11203d 0%, #050a14 100%);
  border-bottom: 1px solid rgba(51, 119, 255, 0.35);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 12px rgba(26, 102, 255, 0.25);
  padding: 10px 0;
}

.header-main::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1a66ff, #ffffff, #4d88ff, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 54px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

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

.header-bottom {
  background: linear-gradient(90deg, #030812 0%, #0c1e3a 50%, #030812 100%);
  border-bottom: 1px solid rgba(26, 102, 255, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 8px 0;
}

.main-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
}

.main-nav li a:hover,
.main-nav li a.active {
  background: linear-gradient(180deg, #1a66ff 0%, #003399 100%);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(26, 102, 255, 0.6);
}

/* ==========================================================================
   2. Cyber Luxury VIP Buttons (KAMO99 Signature)
   ========================================================================== */
.btn-vip {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(180deg, #3377ff 0%, #0044cc 45%, #002266 100%);
  border: 1px solid #1a66ff;
  border-radius: 14px;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(0, 136, 255, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.7);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.btn-vip.btn-gold {
  background: linear-gradient(180deg, #ffdd55 0%, #e5a000 50%, #996600 100%);
  border-color: #ffe680;
  color: #ffffff !important;
}

.btn-vip:hover {
  background: linear-gradient(180deg, #4d88ff 0%, #1a66ff 50%, #003399 100%);
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7),
    0 0 50px rgba(26, 102, 255, 0.8);
}

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 1.5rem 0;
}

.cta-bar .btn-vip {
  min-width: 190px;
  padding: 13px 26px;
  font-size: 1.02rem;
}

/* ==========================================================================
   3. Notice Board Marquee (KAMO99 Neon Announcement)
   ========================================================================== */
.notice-board {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #060b18;
  border: 2px solid #195adc;
  border-radius: 12px;
  padding: 8px 16px;
  margin: 16px 0;
  box-shadow: 0 0 18px rgba(25, 90, 220, 0.35);
  overflow: hidden;
}

.notice-badge {
  background: linear-gradient(90deg, #ffd700 0%, #ff6b00 100%);
  color: #050a14;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.notice-text {
  color: #e0e0ff;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   4. Breadcrumb Navigation (Silo Upward Linking)
   ========================================================================== */
.breadcrumb-nav {
  background: rgba(12, 26, 51, 0.65);
  border: 1px solid rgba(26, 102, 255, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  margin: 16px 0;
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-list li + li::before {
  content: "›";
  color: var(--accent-blue-light);
  font-weight: 700;
}

.breadcrumb-list li a {
  color: var(--accent-cyan);
  font-weight: 500;
}

.breadcrumb-list li[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   5. Typography & Headings (KAMO99 Neon Blue Aura)
   ========================================================================== */
h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff 0%, #80bfff 45%, #00ffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(26, 102, 255, 0.55));
}

h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: #ffffff;
  font-weight: 700;
  margin: 1.75rem 0 0.85rem;
  text-shadow:
    0 0 5px #1a66ff,
    0 0 12px #1a66ff,
    0 0 22px #0044cc;
}

h3 {
  font-size: 1.18rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #e2e8f0;
  font-size: 1rem;
}

.direct-answer {
  background: linear-gradient(90deg, rgba(26, 102, 255, 0.16) 0%, rgba(12, 26, 51, 0.75) 100%);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin-bottom: 1.25rem;
  color: #f8fafc;
  font-size: 1.02rem;
}

/* ==========================================================================
   6. Content Containers & Cards (.bg-1 & .bg-2 from KAMO99)
   ========================================================================== */
.content-box,
.bg-1 {
  background: linear-gradient(180deg, #112b59 0%, #050a14 100%);
  border: 1px solid rgba(26, 102, 255, 0.45);
  border-radius: 18px;
  padding: 26px 24px;
  margin-bottom: 22px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.86),
    0 0 16px rgba(26, 102, 255, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.content-box:hover,
.bg-1:hover {
  border-color: rgba(102, 170, 255, 0.85);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(26, 102, 255, 0.45);
}

.section-ribbon,
.bg-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 18px;
  margin: 1.5rem 0 1rem;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(51, 119, 255, 0.55);
  background: linear-gradient(90deg, #02050a 0%, #0a1930 22%, #1a4080 50%, #0a1930 78%, #02050a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(26, 102, 255, 0.35);
}

/* ==========================================================================
   7. Zero CLS Media Frame (Exact Fit - No Cropping or Empty Bars)
   ========================================================================== */
.media-frame {
  margin: 1.75rem auto;
  max-width: 880px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #060d1d;
  border: 1px solid rgba(26, 102, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(26, 102, 255, 0.25);
  text-align: center;
}

.media-frame.media-square {
  max-width: 560px;
}

.content-media-img {
  width: 100%;
  height: auto;
  display: block;
}

.media-frame figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  background: rgba(8, 15, 32, 0.95);
  border-top: 1px solid rgba(26, 102, 255, 0.25);
}

/* ==========================================================================
   8. Silo Navigation Grid & Feature Cards
   ========================================================================== */
.silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 1.25rem 0;
}

.silo-card {
  background: linear-gradient(180deg, #0e2247 0%, #060d1d 100%);
  border: 1px solid rgba(26, 102, 255, 0.4);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.silo-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85), 0 0 22px rgba(26, 102, 255, 0.5);
}

.silo-card h3 {
  margin-top: 0;
  color: #ffffff;
  font-size: 1.15rem;
}

.silo-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.silo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ==========================================================================
   9. Structured Lists & Comparison Tables (GEO Data Standards)
   ========================================================================== */
.feature-list {
  margin: 1rem 0 1.25rem 1.25rem;
}

.feature-list li {
  margin-bottom: 0.65rem;
  color: #e2e8f0;
}

.feature-list li strong {
  color: var(--accent-cyan);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 14px;
  border: 1px solid rgba(26, 102, 255, 0.4);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  background: #071124;
  text-align: left;
  font-size: 0.95rem;
}

.seo-table th {
  background: linear-gradient(180deg, #1a4080 0%, #0c1e3a 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 13px 16px;
  border-bottom: 2px solid var(--accent-blue);
}

.seo-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(26, 102, 255, 0.2);
  color: #e2e8f0;
}

.seo-table tr:nth-child(even) td {
  background: rgba(17, 43, 89, 0.35);
}

.seo-table tr:hover td {
  background: rgba(26, 102, 255, 0.18);
}

/* ==========================================================================
   10. FAQ Section (GEO & FAQPage Schema Alignment)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1rem;
}

.faq-item {
  background: rgba(9, 20, 42, 0.9);
  border: 1px solid rgba(26, 102, 255, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
}

.faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.faq-answer {
  margin-bottom: 0;
  color: #dbeafe;
  font-size: 0.96rem;
}

/* ==========================================================================
   11. Footer & Trust Badges + Mobile Sticky Bar
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(26, 102, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #0c1a33 0%, #030812 100%);
  border-top: 1px solid rgba(26, 102, 255, 0.3);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.92);
  padding: 40px 0 30px;
  margin-top: 48px;
  color: #e8eaed;
}

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

.footer-col h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent-blue);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links li a:hover {
  color: var(--accent-cyan);
}

.trust-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(26, 102, 255, 0.2);
  border-bottom: 1px solid rgba(26, 102, 255, 0.2);
  margin-bottom: 20px;
}

.trust-certs img {
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-slate);
}

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: linear-gradient(180deg, #0c1e3a 0%, #030812 100%);
  border-top: 2px solid #004cff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 6px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.9);
}

.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d7d7d7;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 2px;
}

.mobile-bottom-bar a.highlight {
  color: var(--accent-cyan);
  font-weight: 800;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  .content-box, .bg-1 {
    padding: 18px 16px;
  }
  .cta-bar .btn-vip {
    width: 100%;
  }
}
