/* ── RUSTY TOKEN ARCADE REPAIR ── */
@import url('https://fonts.googleapis.com/css2?family=Boogaloo&family=Oswald:wght@400;600;700&family=Source+Sans+3:wght@400;600&display=swap');

:root {
  --rust:        #b84a0f;
  --rust-dark:   #7a2f07;
  --gold:        #d4920a;
  --gold-bright: #f5b800;
  --gold-pale:   #f0d070;
  --cream:       #f5ead0;
  --dark:        #1a1208;
  --dark2:       #231a0a;
  --steel:       #8a9aaa;
  --steel-light: #c8d4de;
}

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

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'Source Sans 3', sans-serif;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .45;
}

/* ── MARQUEE ── */
.marquee-bar {
  background: var(--dark2);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  overflow: hidden; padding: 8px 0; position: relative;
}
.marquee-bar::before, .marquee-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
}
.marquee-bar::before { left: 0;  background: linear-gradient(to right, var(--dark2), transparent); }
.marquee-bar::after  { right: 0; background: linear-gradient(to left,  var(--dark2), transparent); }
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem; letter-spacing: .12em;
  color: var(--gold-bright); padding: 0 2.5rem; text-transform: uppercase;
}
.marquee-track span::before { content: '✦'; margin-right: 2.5rem; color: var(--rust); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,12,4,.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--rust-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 2.5rem;
}
.nav-logo {
  font-family: 'Boogaloo', cursive; font-size: 1.6rem;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(245,184,0,.4);
  letter-spacing: .04em; text-decoration: none;
}
.nav-logo span { color: var(--rust); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'Oswald', sans-serif; font-size: .95rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel-light); text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--gold-bright); border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif; font-size: 1rem;
  letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; padding: .85rem 2.4rem;
  border-radius: 4px; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--rust); color: #fff;
  border: 2px solid var(--rust-dark);
  box-shadow: 0 4px 20px rgba(184,74,15,.5), inset 0 1px 0 rgba(255,255,255,.15);
  animation: glow-pulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  background: #d45a18;
  box-shadow: 0 6px 30px rgba(184,74,15,.7);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--gold-bright);
  border: 2px solid var(--gold); margin-left: 1rem;
}
.btn-secondary:hover { background: rgba(212,146,10,.15); transform: translateY(-2px); }

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(184,74,15,.5); }
  50%      { box-shadow: 0 4px 40px rgba(184,74,15,.9), 0 0 60px rgba(245,184,0,.2); }
}

/* ── SECTION SHARED ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'Oswald', sans-serif; font-size: .8rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--rust); margin-bottom: .6rem;
}
.section-title {
  font-family: 'Boogaloo', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold-pale);
  text-shadow: 2px 2px 0 var(--rust-dark);
  margin-bottom: 1rem; line-height: 1.1;
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(to right, var(--rust), var(--gold));
  border-radius: 2px; margin-bottom: 2.5rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: grid; place-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(184,74,15,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(212,146,10,.10) 0%, transparent 60%),
    var(--dark);
  padding: 6rem 2rem 4rem; text-align: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.08) 3px, rgba(0,0,0,.08) 4px);
  pointer-events: none; animation: scanlines 8s linear infinite;
}
@keyframes scanlines {
  from { background-position: 0 0; }
  to   { background-position: 0 40px; }
}
.bolt { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c8c8c8, #555); box-shadow: 0 0 0 3px #333, 0 0 0 5px #888; }
.bolt-tl { top: 1.5rem; left: 1.5rem; }
.bolt-tr { top: 1.5rem; right: 1.5rem; }
.bolt-bl { bottom: 1.5rem; left: 1.5rem; }
.bolt-br { bottom: 1.5rem; right: 1.5rem; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-logo-img {
  width: min(380px, 80vw);
  filter: drop-shadow(0 0 40px rgba(212,146,10,.6)) drop-shadow(0 4px 20px rgba(0,0,0,.8));
  animation: float 5s ease-in-out infinite; margin-bottom: 1rem;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 1.5rem;
}
.hero-tagline em { font-style: normal; color: var(--gold-bright); }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem); color: #c8b890;
  max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.lights-row { display: flex; justify-content: center; gap: 18px; margin-bottom: 1.5rem; }
.light {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px 3px rgba(245,184,0,.8);
  animation: blink 1.4s ease-in-out infinite;
}
.light:nth-child(2n) { animation-delay: .2s; background: var(--rust); box-shadow: 0 0 8px 3px rgba(184,74,15,.8); }
.light:nth-child(3n) { animation-delay: .4s; }
.light:nth-child(4n) { animation-delay: .7s; background: #fff; box-shadow: 0 0 8px 3px rgba(255,255,255,.7); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ── SERVICES ── */
.services { background: var(--dark2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 1rem;
}
.service-card {
  background: linear-gradient(145deg, #2a1c0a, #1a1208);
  border: 1px solid rgba(212,146,10,.25);
  border-radius: 8px; padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: inherit; display: block;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(to right, var(--rust), var(--gold));
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(184,74,15,.3);
  border-color: rgba(212,146,10,.5);
}
.service-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; filter: drop-shadow(0 0 8px rgba(245,184,0,.4)); }
.service-name {
  font-family: 'Oswald', sans-serif; font-size: 1.2rem;
  letter-spacing: .08em; color: var(--gold-bright);
  margin-bottom: .6rem; text-transform: uppercase;
}
.service-desc { font-size: .95rem; color: #b8a880; line-height: 1.6; }

/* ── PROCESS ── */
.process { background: var(--dark); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; position: relative; margin-top: 1rem;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.step { text-align: center; padding: 2rem 1.5rem; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--rust-dark));
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(212,146,10,.5);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Boogaloo', cursive; font-size: 1.8rem; color: #fff;
  margin: 0 auto 1.2rem; position: relative; z-index: 2;
}
.step-title { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: .1em; color: var(--gold-pale); text-transform: uppercase; margin-bottom: .5rem; }
.step-desc { font-size: .9rem; color: #a09070; line-height: 1.6; }

/* ── ABOUT ── */
.why { background: var(--dark2); position: relative; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-text p { color: #c8b890; line-height: 1.8; margin-bottom: 1.2rem; font-size: 1.05rem; }
.why-text strong { color: var(--gold-pale); }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat-box {
  background: linear-gradient(145deg, #2a1c0a, #1a1208);
  border: 1px solid rgba(212,146,10,.25);
  border-radius: 8px; padding: 1.5rem; text-align: center;
}
.stat-num {
  font-family: 'Boogaloo', cursive; font-size: 2.8rem;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(245,184,0,.5);
  line-height: 1; display: block;
}
.stat-label {
  font-family: 'Oswald', sans-serif; font-size: .8rem;
  letter-spacing: .15em; color: var(--steel);
  text-transform: uppercase; margin-top: .3rem; display: block;
}

/* ── CONTACT ── */
.contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.8rem; }
.contact-icon {
  font-size: 1.5rem; width: 48px; height: 48px;
  background: linear-gradient(145deg, #2a1c0a, #1a1208);
  border: 1px solid rgba(212,146,10,.3);
  border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
}
.contact-label { font-family: 'Oswald', sans-serif; font-size: .8rem; letter-spacing: .15em; color: var(--rust); text-transform: uppercase; margin-bottom: .2rem; }
.contact-value { color: var(--cream); font-size: 1rem; }
.contact-value a { color: var(--cream); text-decoration: none; transition: color .2s; }
.contact-value a:hover { color: var(--gold-bright); }

.contact-form {
  background: linear-gradient(145deg, #2a1c0a, #1a1208);
  border: 1px solid rgba(212,146,10,.25);
  border-radius: 8px; padding: 2.5rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-family: 'Oswald', sans-serif;
  font-size: .82rem; letter-spacing: .15em;
  color: var(--gold); text-transform: uppercase; margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(0,0,0,.4);
  border: 1px solid rgba(212,146,10,.3);
  border-radius: 4px; padding: .75rem 1rem;
  color: var(--cream); font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,146,10,.15); }
.form-group textarea { height: 120px; resize: vertical; }
.form-group select option { background: #1a1208; }
.form-group select { cursor: pointer; }

.form-success {
  display: none; text-align: center; padding: 2rem;
  font-family: 'Oswald', sans-serif; font-size: 1.2rem;
  color: var(--gold-bright); letter-spacing: .1em;
}
.form-success .success-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ── FOOTER ── */
footer {
  background: #0f0b05;
  border-top: 2px solid var(--rust-dark);
  padding: 2.5rem 2rem; text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { font-family: 'Boogaloo', cursive; font-size: 1.8rem; color: var(--gold-bright); text-shadow: 0 0 12px rgba(245,184,0,.4); margin-bottom: .6rem; }
.footer-logo span { color: var(--rust); }
.footer-links { display: flex; justify-content: center; gap: 2rem; list-style: none; margin: .8rem 0 1rem; }
.footer-links a { font-family: 'Oswald', sans-serif; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy { font-size: .85rem; color: #6a5a3a; margin-top: .5rem; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--rust); border: 2px solid var(--gold);
  color: #fff; font-size: 1.2rem;
  display: grid; place-items: center;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 15px rgba(184,74,15,.5);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #d45a18; transform: translateY(-3px); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--dark2); border: 1px solid var(--gold);
  color: var(--gold-pale); font-family: 'Oswald', sans-serif;
  font-size: .95rem; letter-spacing: .08em;
  padding: .9rem 2rem; border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  opacity: 0; transition: all .35s; z-index: 500;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: .75rem 1.2rem; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(15,8,2,.98);
    border-bottom: 2px solid var(--rust-dark);
    padding: .5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .85rem 1.5rem; border-bottom: 1px solid rgba(212,146,10,.1); }
  .nav-toggle { display: flex; }
  .btn-secondary { margin-left: 0; margin-top: .75rem; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .hero-desc br { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 5rem 1.2rem 3rem; }
  section { padding: 3.5rem 1.2rem; }
  .contact-form { padding: 1.5rem; }
  .why-stats { grid-template-columns: 1fr 1fr; }
}
