:root{
  --bg:#0b111b;
  --panel:#111a28;
  --panel-2:#172337;
  --blue:#2f80ed;
  --blue-2:#58a6ff;
  --silver:#d7dee8;
  --muted:#93a4bb;
  --white:#ffffff;
  --line:rgba(255,255,255,.12);
  --shadow:0 20px 50px rgba(0,0,0,.35);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

body{
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--white);
  line-height:1.6;
}

a{color:inherit}
.container{width:min(92%,1180px);margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(11,17,27,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.nav-wrap{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-mark{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--blue),#0b3d91);
  font-weight:900;
}

.brand strong{display:block;font-size:20px;line-height:1}
.brand small{display:block;color:var(--muted);font-size:12px;margin-top:5px}

.site-nav{display:flex;align-items:center;gap:24px}
.site-nav a{text-decoration:none;color:var(--silver);font-weight:700;font-size:14px}
.site-nav a:hover{color:var(--blue-2)}

.menu-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  color:var(--white);
  font-size:24px;
  padding:8px 12px;
  border-radius:10px;
}

.hero{
  min-height:680px;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(120deg,rgba(6,11,19,.96),rgba(12,40,79,.82),rgba(6,11,19,.92)),
    url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:150px;
  background:linear-gradient(transparent,var(--bg));
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:780px;
  margin-left:4%;
}

.eyebrow{
  color:var(--blue-2);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:13px;
  font-weight:900;
  margin-bottom:12px;
}

.hero h1{
  font-size:clamp(48px,8vw,92px);
  line-height:.95;
  margin-bottom:20px;
}

.hero-subtitle{
  font-size:clamp(22px,3vw,34px);
  color:var(--silver);
  margin-bottom:30px;
  font-weight:800;
}

.hero-actions,.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:13px 22px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid transparent;
  font-weight:900;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--blue),#0b5fba);
  color:var(--white);
}

.btn-outline{
  border-color:rgba(255,255,255,.28);
  color:var(--white);
  background:rgba(255,255,255,.06);
}

.btn-outline-dark{
  border-color:rgba(255,255,255,.22);
  color:var(--white);
  background:rgba(255,255,255,.08);
}

.quick-contact{
  margin-top:-52px;
  position:relative;
  z-index:10;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.quick-card{
  background:linear-gradient(180deg,var(--panel-2),var(--panel));
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  text-decoration:none;
  box-shadow:var(--shadow);
}

.quick-card span{font-size:30px;display:block;margin-bottom:8px}
.quick-card strong{display:block;font-size:18px}
.quick-card small{display:block;color:var(--muted);margin-top:4px}

.section{padding:88px 0}

.section-head{
  text-align:center;
  max-width:780px;
  margin:0 auto 34px;
}

.section-head h2{
  font-size:clamp(34px,5vw,52px);
  line-height:1.05;
  margin-bottom:12px;
}

.section-head p:not(.eyebrow){color:var(--muted)}

.price-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(180deg,var(--panel-2),var(--panel));
  border:1px solid var(--line);
  border-left:6px solid var(--blue);
  padding:18px;
  border-radius:18px;
  margin-bottom:20px;
}

.price-status strong{display:block}
.price-status small{display:block;color:var(--muted);margin-top:5px}

.refresh-btn{
  background:rgba(47,128,237,.15);
  border:1px solid rgba(88,166,255,.35);
  color:var(--white);
  border-radius:12px;
  padding:12px 16px;
  font-weight:800;
  cursor:pointer;
}

.featured-prices{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:22px;
}

.feature-box{
  background:linear-gradient(135deg,#12223a,#0f1724);
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  min-height:120px;
}

.feature-box strong{display:block;font-size:17px;color:var(--silver)}
.feature-box .feature-price{font-size:30px;font-weight:900;margin-top:8px}
.feature-box small{display:block;color:var(--muted);margin-top:8px}
.skeleton{color:var(--muted)}

.search-label{display:block;font-weight:900;margin-bottom:8px}

.metal-search{
  width:100%;
  padding:16px 18px;
  background:var(--panel);
  color:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  outline:none;
  margin-bottom:18px;
  font-size:16px;
}

.table-wrap{
  overflow-x:auto;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.price-table{
  width:100%;
  border-collapse:collapse;
  min-width:740px;
  background:var(--panel);
}

.price-table th{
  background:#0c274b;
  color:var(--white);
  text-align:left;
  padding:16px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.price-table td{
  padding:16px;
  border-top:1px solid var(--line);
  color:var(--silver);
}

.price-value{font-weight:900;color:var(--white)}
.change-up{color:#34d399;font-weight:900}
.change-down{color:#fb7185;font-weight:900}
.change-flat{color:var(--muted);font-weight:900}
.loading-cell,.empty-cell{text-align:center;color:var(--muted)!important;padding:30px!important}
.fine-print{color:var(--muted);font-size:14px;margin-top:14px}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.info-card,.about-panel,.contact-card,.contact-form-card,.map-card{
  background:linear-gradient(180deg,var(--panel-2),var(--panel));
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow);
}

.info-card p,.about-panel p,.contact-card p,.contact-form-card p{color:var(--muted)}

.about-section{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
}

.about-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:24px;
  align-items:center;
}

.about-grid h2{
  font-size:clamp(34px,5vw,54px);
  line-height:1.05;
  margin-bottom:16px;
}

.about-grid p{color:var(--muted)}

.contact-section{background:#07101d}

.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:22px;
}

.contact-card h3{margin-top:18px;color:var(--blue-2)}
.contact-card h3:first-child{margin-top:0}
.contact-card a{color:var(--white);font-weight:900;text-decoration:none}

.map-card{
  padding:0;
  overflow:hidden;
  min-height:460px;
}

.map-card iframe{
  width:100%;
  height:100%;
  min-height:460px;
  border:0;
  display:block;
}

.contact-form-card{margin-top:22px}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

form label{
  display:block;
  color:var(--silver);
  font-weight:800;
  margin-bottom:14px;
}

form input,form textarea{
  display:block;
  width:100%;
  margin-top:7px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px;
  background:#0b1422;
  color:var(--white);
  font:inherit;
}

.site-footer{
  background:#050a12;
  border-top:1px solid var(--line);
  padding:28px 0;
  color:var(--muted);
}

.footer-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.site-footer a{color:var(--silver);text-decoration:none}

@media(max-width:850px){
  .menu-toggle{display:block}
  .site-nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    padding:0 0 18px;
  }
  .site-nav.open{display:flex}
  .nav-wrap{align-items:flex-start;padding:14px 0}
  .hero{min-height:560px}
  .hero-content{margin-left:0}
  .quick-grid,.featured-prices,.cards-grid,.about-grid,.contact-grid,.form-row{grid-template-columns:1fr}
  .price-status{align-items:flex-start;flex-direction:column}
  .footer-grid{flex-direction:column;align-items:flex-start}
}

@media(max-width:520px){
  .hero{min-height:500px}
  .quick-contact{margin-top:-30px}
  .section{padding:64px 0}
}
