

:root{
  --blue-900:#0b3d91;
  --blue-700:#184ea6;
  --blue-800:#0d2a59;
  --gold-500:#f0c24b;
  --gold-600:#d2a43b;
  --ink:#0b1220;
  --ink-70: rgba(8, 12, 22, 0.7);
  --ink-60: rgba(8, 12, 22, 0.6);
  --white: #f7f8fb;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 40px;
}

.logo {
  height: clamp(180px, 25vw, 280px);
  width: auto;
  margin: 20px auto;
  display: block;
}

}



*{box-sizing:border-box}
/* === GLOBAL BACKGROUND (Crossfire5) === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: url("/images/mining-background.png") center center no-repeat fixed;
  background-size: cover;
  background-color: #0a0a0a; /* fallback for slow loads */
  color: #f2f2f2; /* light text contrast */
  font-family: Arial, sans-serif;
}

a{color: var(--gold-500); text-decoration: none}
a:hover{color: var(--gold-600); text-decoration: underline}

.container{
  width:min(1200px, 92%);
  margin-inline:auto;
}

.site-header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(6px);
  background: linear-gradient(to bottom, rgba(5,10,20,.7), rgba(5,10,20,.35));
  border-bottom: 1px solid rgba(240, 194, 75, .25);
} .brand img{ height:auto; width:auto; display:block }  /* don’t constrain */

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: .75rem 0;
}
.brand{ display:flex; align-items:center; gap:.75rem; }

.brand .title{ font-family: "Brush Script MT", "Brush Script Std", cursive; font-size:2rem; color: var(--gold-500); letter-spacing:.5px; text-shadow: 0 1px 0 rgba(0,0,0,.4)}
.nav a{ margin-left:1rem; font-weight:600 }

.hero{
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero h1{
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 .75rem 0;
  letter-spacing:.3px;
}
.lead{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color:#e9ecf6;
  max-width: 70ch;
}
.badges{ display:flex; gap:.5rem; margin-top:1rem; flex-wrap:wrap }
.badge{
  display:inline-flex; align-items:center; gap:.5rem;
  border:1px solid rgba(240, 194, 75, .45);
  padding:.35rem .6rem; border-radius:999px;
  background: rgba(11,61,145,.25);
  font-size:.9rem;
}

.section{
  background: rgba(5,10,20,.65);
  border: 1px solid rgba(240, 194, 75, .15);
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}

h2{ font-size: clamp(1.4rem,3.3vw,2rem); margin:0 0 .5rem }
ul{ padding-left:1rem; margin:.25rem 0 }
li{ margin:.2rem 0 }

.grid{
  display:grid; gap:1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cta-bar{
  display:flex; gap: .75rem; flex-wrap: wrap; margin-top:1rem;
}
.btn{
  display:inline-block; padding:.7rem 1rem; border-radius: 12px; font-weight:700;
  border:1px solid rgba(240, 194, 75, .35); background: rgba(11,61,145,.3);
}
.btn.primary{
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color:#231c08; border-color: rgba(255,255,255,.25);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.btn.secondary{ background: rgba(11,61,145,.35); }

footer{
  opacity:.9; padding:2rem 0 3rem; font-size:.95rem;
}

.small{ font-size:.95rem; color:#e5e8f2 }
kbd{ background:#111827; border:1px solid #374151; border-bottom-width:2px; padding:.08rem .4rem; border-radius:.4rem; color:#e5e7eb; font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace }

/* --- FORCE LOGO SIZE TO 2 INCHES (192px) --- */
.logo {
  height: 192px !important;
  width: 192px !important;
  display: block;
  margin: 20px auto;
  object-fit: contain;
  
  /* === OVERRIDE: FORCE CROSSFIRE LOGO SIZE === */
header img,
.site-header img,
.brand img,
.logo {
  height: 192px !important;   /* 2 inches tall */
  width: 192px !important;    /* 2 inches wide */
  max-width: none !important;
  display: block !important;
  margin: 20px auto !important;
  object-fit: contain !important;
  background: none !important;
}

/* =========================
   Mobile polish (phones)
   ========================= */
@media (max-width: 768px) {
  /* Background: avoid mobile stutter from fixed images */
  html, body {
    background-attachment: scroll;
    background-position: center top;
  }
  .container { width: 94%; }
}

/* Phones (<= 640px) */
@media (max-width: 640px) {
  /* Header layout */
  .site-header .nav {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .5rem 0;
  }
  .brand { flex-direction: column; }
  .brand .title {
    font-size: 1.75rem;
    text-align: center;
  }

  /* Logo: override any inline size to fit mobile */
  .site-header .brand img,
  .site-header img.logo {
    height: 140px !important;   /* good mobile size */
    width: auto !important;
    margin: 10px auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  /* Nav links: bigger tap targets */
  .nav a {
    display: inline-block;
    padding: .5rem .75rem;
    margin: .15rem .25rem;
    border-radius: 8px;
    background: rgba(11,61,145,.25);
  }

  /* Hero & text sizes */
  .hero { padding: 2.25rem 0 1.25rem; }
  .hero h1 { font-size: 1.75rem; }
  .lead { font-size: 1rem; max-width: 100%; }

  /* Cards & grid */
  .section { padding: 1rem; margin: .75rem 0; }
  .grid { grid-template-columns: 1fr; }

  /* Buttons full-width on phone */
  .cta-bar { gap: .5rem; }
  .btn { width: 100%; text-align: center; }
}


}

