/*
Theme Name: Xitcoin XTC
Theme URI: https://xitcoin.org
Author: Kcalb Ltd
Author URI: https://kcalb.com
Description: Xitcoin official theme (XTC) with futuristic orange grid background.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xitcoin-xtc
Tags: dark, custom-menu, featured-images, responsive-layout
*/

:root{
  --xtc-bg-0:#060607;
  --xtc-bg-1:#0b0b10;
  --xtc-line: rgba(255,255,255,.10);
  --xtc-line-2: rgba(255,255,255,.14);

  --xtc-text: rgba(255,255,255,.88);
  --xtc-muted: rgba(255,255,255,.58);

  --xtc-o1:#FB8D00;
  --xtc-o2:#ffaa33;
  --xtc-o3:#ffbb44;

  --xtc-max: 1100px;
  --xtc-wide: 1300px;
  --xtc-r: 22px;
  --xtc-shadow: 0 36px 90px rgba(0,0,0,.55);

  --xtc-btn-font: 600;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body.xtc-body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--xtc-bg-0);
  color: var(--xtc-text);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }
a:visited{ color: inherit; }
a:hover{ text-decoration: underline; text-decoration-color: rgba(255,255,255,.24); }

.xtc-bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(251,141,0,.12), transparent 60%),
    radial-gradient(900px 520px at 82% 25%, rgba(255,170,51,.08), transparent 60%),
    radial-gradient(800px 520px at 55% 78%, rgba(251,141,0,.06), transparent 60%),
    linear-gradient(180deg, #060607, #050506);
}

.xtc-bg::after{
  content:"";
  position:absolute;
  inset:-2px;
  opacity:.34;
  background:
    repeating-linear-gradient(0deg, rgba(251,141,0,.10) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(251,141,0,.08) 0 1px, transparent 1px 34px);
  mask: radial-gradient(74% 64% at 50% 18%, #000 0 72%, transparent 100%);
  pointer-events:none;
}

.xtc-wide{
  width:100%;
  max-width: var(--xtc-wide);
  margin: 0 auto;
  padding: 0 16px;
}

.xtc-site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(6,6,7,.58);
}

.xtc-site-header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.xtc-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}

.xtc-brand__img{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.xtc-brand__name{
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  display:flex;
  align-items:baseline;
  gap: 6px;
  white-space: nowrap;
}

.xtc-grad{
  background: linear-gradient(90deg, var(--xtc-o1), var(--xtc-o2), var(--xtc-o1));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.xtc-brand__tag{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}

.xtc-nav{ display:flex; align-items:center; justify-content:center; flex: 1 1 auto; }
.xtc-nav ul{ list-style:none; margin:0; padding:0; display:flex; align-items:center; gap: 10px; flex-wrap:wrap; }
.xtc-nav li{ margin:0; padding:0; position:relative; }
.xtc-nav a{ 
  display:inline-flex;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: rgba(255,255,255,.84);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration:none;
}
.xtc-nav a:hover{
  text-decoration:none;
  background: rgba(251,141,0,.10);
  border-color: rgba(251,141,0,.35);
  color: rgba(255,255,255,.94);
}

.xtc-nav .menu-item-has-children > a::after{
  content:"▾";
  font-size: 11px;
  opacity: .7;
  margin-left: 8px;
  transform: translateY(-1px);
}

.xtc-nav .sub-menu{
  display:none;
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(8,8,10,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
}
.xtc-nav li:hover > .sub-menu{ display:block; }
.xtc-nav .sub-menu a{ width:100%; justify-content:flex-start; }

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

.xtc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 13px;
  border-radius: 14px;
  font-weight: var(--xtc-btn-font);
  letter-spacing: .02em;
  text-decoration:none;
  border: 1px solid transparent;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  user-select:none;
  white-space:nowrap;
  outline:none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}
.xtc-btn:hover{ transform: translateY(-1px); text-decoration:none; }
.xtc-btn:active{ transform: translateY(1px) scale(.99); }

.xtc-btn-primary{
  background: linear-gradient(90deg, var(--xtc-o1), var(--xtc-o2));
  border-color: rgba(251,141,0,.65);
  color: #0a0a0c;
  box-shadow: 0 22px 60px rgba(251,141,0,.16);
}
.xtc-btn-primary:hover{ filter: brightness(1.04); }

.xtc-btn-dark{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(0,0,0,.30);
}
.xtc-btn-outline{
  background: rgba(255,255,255,.02);
  border-color: rgba(251,141,0,.55);
  color: var(--xtc-o2);
  box-shadow: 0 18px 42px rgba(251,141,0,.06);
}
.xtc-btn-outline:hover{
  background: rgba(251,141,0,.10);
  border-color: rgba(251,141,0,.85);
  color: rgba(255,255,255,.96);
  box-shadow: 0 22px 60px rgba(251,141,0,.10);
}

.xtc-btn-dark:hover{
  background: rgba(251,141,0,.10);
  border-color: rgba(251,141,0,.55);
  color: rgba(255,255,255,.96);
  box-shadow: 0 22px 60px rgba(251,141,0,.10);
}

.xtc-nav-toggle{
  display:none;
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.90);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  cursor:pointer;
  line-height: 1;
}
.xtc-nav-toggle:hover{
  background: rgba(251,141,0,.10);
  border-color: rgba(251,141,0,.45);
}

.xtc-mobile-panel{
  display:none;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 10px 0 14px;
}
.xtc-mobile-panel.is-open{ display:block; }

.xtc-mobile-panel nav ul{ flex-direction: column; align-items: stretch; gap: 8px; }
.xtc-mobile-panel nav a{ width: 100%; justify-content:space-between; }
.xtc-mobile-panel nav .sub-menu{ position: static; display:block; border: 0; background: transparent; box-shadow:none; padding: 0 0 0 10px; }
.xtc-mobile-panel nav .sub-menu a{ background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }

@media (max-width: 980px){
  .xtc-nav{ display:none; }
  .xtc-nav-toggle{ display:inline-flex; }
}

.xtc-wrap{
  min-height: calc(100vh - 64px);
  display:grid;
  place-items:start center;
  padding: 26px 16px 30px;
}

.xtc-shell{
  width:100%;
  max-width: var(--xtc-max);
  border: 1px solid var(--xtc-line);
  border-radius: calc(var(--xtc-r) + 6px);
  background: linear-gradient(135deg, rgba(11,11,16,.78), rgba(6,6,7,.78));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--xtc-shadow);
  overflow:hidden;
  position:relative;
  isolation:isolate;
}
.xtc-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(34em 18em at 16% 12%, rgba(251,141,0,.18), transparent 62%);
  pointer-events:none;
  z-index:-1;
}

.xtc-shell-head{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.xtc-h1{
  margin:0;
  font-weight: 950;
  line-height: 1.10;
  letter-spacing: -.02em;
  font-size: clamp(22px, 3vw, 34px);
}

.xtc-sub{
  margin: 0;
  color: var(--xtc-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.xtc-main{
  padding: 18px;
  display:grid;
  gap: 16px;
}

.xtc-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: calc(var(--xtc-r) + 4px);
  padding: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.30);
  overflow:hidden;
}
.xtc-card::before{
  content:"";
  display:block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, rgba(251,141,0,.85), rgba(255,170,51,.55), rgba(251,141,0,.15));
  opacity:.55;
  border-radius: 999px;
  margin-bottom: 14px;
}

.xtc-content{ color: rgba(255,255,255,.82); line-height: 1.75; font-weight: 600; }
.xtc-content p{ margin: 0 0 12px; }
.xtc-content h1,.xtc-content h2,.xtc-content h3,.xtc-content h4{ color: rgba(255,255,255,.92); }
.xtc-content a{ text-decoration: underline; text-decoration-color: rgba(251,141,0,.35); text-underline-offset: 2px; }
.xtc-content a:hover{ text-decoration-color: rgba(251,141,0,.65); }


.xtc-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 9px 12px;
  border-radius:999px;
  background: rgba(251,141,0,.10);
  border: 1px solid rgba(251,141,0,.35);
  color: var(--xtc-o2);
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 11px;
  box-shadow: 0 0 18px rgba(251,141,0,.08);
}

.xtc-dot{
  width:7px; height:7px;
  border-radius:999px;
  background: var(--xtc-o1);
  box-shadow: 0 0 14px rgba(251,141,0,.55);
  animation: xtc-pulse 1.8s ease-in-out infinite;
}

@keyframes xtc-pulse{
  0%,100%{ opacity:.55; transform:scale(.95); }
  50%{ opacity:1; transform:scale(1.15); }
}

.xtc-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10.5px;
  white-space: nowrap;
}

.xtc-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.xtc-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  text-decoration:none;
  user-select:none;
  white-space:nowrap;
  box-shadow: 0 18px 48px rgba(0,0,0,.26);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, filter .18s ease;
  font-weight: 700;
  line-height: 1;
}
.xtc-link:hover{ transform: translateY(-1px); text-decoration:none; }
.xtc-link:active{ transform: translateY(1px) scale(.99); }

.xtc-link-primary{
  background: linear-gradient(90deg, var(--xtc-o1), var(--xtc-o2));
  border-color: rgba(251,141,0,.65);
  color: #0a0a0c;
  box-shadow: 0 22px 60px rgba(251,141,0,.14);
}
.xtc-link-primary:hover{ filter: brightness(1.04); }

.xtc-link-outline{
  background: rgba(255,255,255,.03);
  border-color: rgba(251,141,0,.55);
  color: var(--xtc-o2);
  box-shadow: 0 18px 42px rgba(251,141,0,.06);
}
.xtc-link-outline:hover{
  background: rgba(251,141,0,.10);
  border-color: rgba(251,141,0,.80);
  box-shadow: 0 18px 42px rgba(251,141,0,.10);
}

@media (prefers-reduced-motion: reduce){
  .xtc-dot{ animation:none; }
}

.xtc-site-footer{
  margin-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(6,6,7,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.xtc-footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px 0 12px;
  flex-wrap:wrap;
}

.ino-social{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}

.ino-social a{
  width: 36px;
  height: 36px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.ino-social a:hover{
  transform: translateY(-1px);
  border-color: rgba(251,141,0,.55);
  background: rgba(251,141,0,.10);
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(251,141,0,.10);
  text-decoration:none;
}
.ino-social svg{ width: 18px; height: 18px; display:block; }

.xtc-footer-menu ul{ list-style:none; margin:0; padding:0; display:flex; gap: 14px; flex-wrap:wrap; }
.xtc-footer-menu a{ color: rgba(255,255,255,.70); font-weight: 700; font-size: 12.5px; }
.xtc-footer-menu a:hover{ color: rgba(255,255,255,.92); text-decoration-color: rgba(251,141,0,.45); }

.xtc-footer-bottom{
  padding: 10px 0 18px;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  font-weight: 700;
  text-align:center;
  letter-spacing:.02em;
}

@media (max-width: 700px){
  .xtc-footer-row{ justify-content:center; }
  .xtc-footer-menu ul{ justify-content:center; }
}

@media (max-width: 480px){
  .xtc-brand__img{ width: 30px; height: 30px; }
  .xtc-brand__tag{ display:none; }
}

.ino-social svg{ fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px){
  .xtc-header-actions a.xtc-btn{ display:none; }
  .xtc-header-actions a.xtc-btn-primary{ display:inline-flex; }
}
