:root{
  --bg:#0f1114;
  --bg2:#151820;
  --surface:#1a1e26;
  --surface2:#222832;
  --ink:#f0f2f5;
  --ink2:#c5cad4;
  --muted:#8892a2;
  --green:#4A9B4E;
  --green-light:#5cb85c;
  --green-dark:#3d8240;
  --green-glow:rgba(74,155,78,.15);
  --orange:#D96A3B;
  --orange-light:#e8834f;
  --orange-glow:rgba(217,106,59,.12);
  --border:rgba(255,255,255,.06);
  --shadow:rgba(0,0,0,.4);
  --radius:12px;
  --max:1200px;
  --gold:#D4A843;
}

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

body{
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,sans-serif;
  background:var(--bg);
  position:relative;
  overflow-x:hidden;
  line-height:1.6;
  min-height:100vh;
}
/* Gradient overlay for depth */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74,155,78,.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(217,106,59,.06) 0%, transparent 40%),
    linear-gradient(180deg, rgba(15,17,20,.3) 0%, transparent 30%, transparent 70%, rgba(15,17,20,.5) 100%);
}

a{color:inherit;text-decoration:none}
.wrap{width:min(var(--max), calc(100% - 40px)); margin:0 auto;}

/* ===== HEADER ===== */
header{
  position:relative;
  z-index:100;
  background:linear-gradient(180deg, rgba(15,17,20,.98) 0%, rgba(21,24,32,.95) 100%);
  border-bottom:2px solid var(--green);
  backdrop-filter:blur(12px);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px 0;
  gap:24px;
}
.nav-logo{
  display:flex;
  align-items:center;
}
.nav-logo img{
  display:block;
  width:auto;
  height:auto;
  max-height:56px;
  max-width:min(320px, 78vw);
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 6px 24px rgba(0,0,0,.5));
  transition:transform .3s, filter .3s;
}
.nav-logo:hover img{transform:scale(1.03)}

/* Header fades and sits behind content on scroll */
header.scrolled{
  background:linear-gradient(180deg, rgba(15,17,20,.6) 0%, rgba(21,24,32,.4) 100%);
  border-bottom-color:rgba(74,155,78,.3);
}
header.scrolled .nav-logo img{
  max-height:44px;
  max-width:min(280px, 72vw);
  filter:drop-shadow(0 4px 16px rgba(0,0,0,.3)) brightness(.7);
}
header.scrolled .nav-links{
  opacity:.5;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-link{
  padding:10px 18px;
  font-size:14px;
  font-weight:500;
  color:var(--ink2);
  border-radius:8px;
  transition:all .2s;
  letter-spacing:.3px;
}
.nav-link:hover{
  color:var(--ink);
  background:var(--green-glow);
}
.nav-link.nav-link--current,
.nav-link[aria-current="page"]{
  color:var(--green-light);
  background:rgba(74,155,78,.14);
  font-weight:600;
}
.nav-btn{
  padding:10px 22px;
  font-size:14px;
  font-weight:600;
  color:#fff;
  background:linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius:8px;
  box-shadow:0 4px 12px rgba(74,155,78,.25);
  transition:all .2s;
}
.nav-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(74,155,78,.35);
}
.mobile-menu{display:none;background:none;border:none;padding:8px;cursor:pointer}
.mobile-menu svg{width:28px;height:28px;stroke:var(--ink);stroke-width:2}

/* ===== HERO ===== */
.hero{
  padding:80px 0 100px;
  text-align:center;
  position:relative;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  background:var(--green-glow);
  border:1px solid rgba(74,155,78,.3);
  border-radius:50px;
  font-size:13px;
  font-weight:500;
  color:var(--green-light);
  margin-bottom:24px;
}
.hero-badge svg{width:16px;height:16px;stroke:currentColor;fill:none}
.hero h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(36px, 6vw, 64px);
  font-weight:700;
  line-height:1.1;
  margin-bottom:20px;
  background:linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero h1 span{
  background:linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  -webkit-background-clip:text;
  background-clip:text;
}
.hero-sub{
  font-size:18px;
  color:var(--muted);
  max-width:500px;
  margin:0 auto 36px;
}
.hero-btns{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  font-size:15px;
  font-weight:600;
  border-radius:10px;
  transition:all .2s;
}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow:0 4px 16px rgba(74,155,78,.3);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(74,155,78,.4);
}
.btn-secondary{
  color:var(--ink);
  background:var(--surface);
  border:1px solid var(--border);
}
.btn-secondary:hover{
  background:var(--surface2);
  border-color:rgba(255,255,255,.12);
}

/* ===== FUEL GRADES STRIP ===== */
.fuel-strip{
  background:linear-gradient(180deg, var(--surface) 0%, var(--bg2) 100%);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:28px 0 32px;
}
.fuel-strip-head{
  text-align:center;
  margin-bottom:20px;
}
.fuel-strip-eyebrow{
  display:inline-block;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--green);
  margin-bottom:6px;
}
.fuel-strip-title{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(18px, 2.5vw, 22px);
  font-weight:600;
  color:var(--ink2);
}
.fuel-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.fuel-item{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:22px 14px 20px;
  background:var(--surface2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  transition:border-color .25s, box-shadow .25s, transform .25s;
  overflow:hidden;
}
.fuel-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, var(--green-dark), var(--green-light));
  opacity:.85;
}
.fuel-item:hover{
  border-color:rgba(74,155,78,.35);
  box-shadow:0 12px 32px rgba(0,0,0,.35), 0 0 0 1px rgba(74,155,78,.12) inset;
  transform:translateY(-2px);
}
.fuel-grade-name{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(17px, 2.2vw, 20px);
  font-weight:700;
  color:var(--ink);
  letter-spacing:-.02em;
  line-height:1.2;
}
.fuel-grade-detail{
  margin-top:8px;
  font-size:13px;
  font-weight:500;
  color:var(--muted);
  letter-spacing:.02em;
}

/* ===== SERVICES ===== */
.services{
  padding:80px 0;
}
.section-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--green);
  margin-bottom:12px;
}
.section-label::before{
  content:"";
  width:24px;
  height:2px;
  background:var(--green);
  border-radius:2px;
}
.section-title{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(28px, 4vw, 42px);
  font-weight:700;
  margin-bottom:48px;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
}
.service-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  transition:all .3s;
}
.service-card:hover{
  transform:translateY(-4px);
  border-color:rgba(74,155,78,.3);
  box-shadow:0 20px 40px rgba(0,0,0,.3);
}
.service-icon{
  width:52px;
  height:52px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--green-glow);
  border:1px solid rgba(74,155,78,.2);
  margin-bottom:20px;
}
.service-icon svg{width:26px;height:26px;stroke:var(--green-light);fill:none;stroke-width:1.5}
.service-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;
  font-weight:600;
  margin-bottom:8px;
}
.service-card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

/* ===== FEATURES ===== */
.features{
  padding:60px 0 80px;
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:16px;
}
.feature{
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
}
.feature-icon{
  width:40px;
  height:40px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:var(--orange-glow);
  border:1px solid rgba(217,106,59,.2);
  flex-shrink:0;
}
.feature-icon svg{width:20px;height:20px;stroke:var(--orange);fill:none;stroke-width:2}
.feature span{
  font-size:14px;
  font-weight:500;
}

/* ===== LOCATION ===== */
.location{
  padding:80px 0;
  background:var(--surface);
  border-top:1px solid var(--border);
}
.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}
.location-info h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:24px;
  font-weight:600;
  margin-bottom:24px;
}
.contact-list{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.contact-item{
  display:flex;
  align-items:flex-start;
  gap:16px;
}
.contact-icon{
  width:44px;
  height:44px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:var(--green-glow);
  border:1px solid rgba(74,155,78,.2);
  flex-shrink:0;
}
.contact-icon svg{width:20px;height:20px;stroke:var(--green);fill:none;stroke-width:2}
.contact-text strong{
  display:block;
  font-size:14px;
  margin-bottom:4px;
}
.contact-text span, .contact-text a{
  font-size:14px;
  color:var(--muted);
}
.contact-text a:hover{color:var(--green-light)}
.hours-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  background:rgba(74,155,78,.15);
  border:1px solid rgba(74,155,78,.3);
  border-radius:6px;
  font-size:13px;
  font-weight:500;
  color:var(--green-light);
  margin-top:16px;
}
.hours-badge.closed{
  background:rgba(220,53,69,.15);
  border-color:rgba(220,53,69,.3);
  color:#ff6b7a;
}
.hours-badge svg{width:14px;height:14px;stroke:currentColor;fill:none}
.map-container{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  height:320px;
}
.map-container iframe{
  width:100%;
  height:100%;
  border:0;
  filter:grayscale(60%) contrast(1.1);
}

/* ===== FOOTER ===== */
footer{
  padding:40px 0;
  border-top:1px solid var(--border);
  text-align:center;
}
.footer-logo{
  display:block;
  width:auto;
  height:auto;
  max-height:50px;
  max-width:min(280px, 85vw);
  margin:0 auto 16px;
  object-fit:contain;
  opacity:.85;
}
footer p{
  font-size:13px;
  color:var(--muted);
}
footer a{color:var(--green);transition:color .2s}
footer a:hover{color:var(--green-light)}

/* ===== RESPONSIVE ===== */
@media (max-width:900px){
  .location-grid{grid-template-columns:1fr}
  .map-container{height:280px}
  .fuel-grid{grid-template-columns:repeat(2, 1fr);gap:14px}
}
@media (max-width:768px){
  .nav{padding:16px 0;gap:16px}
  .nav-logo img{
    max-height:46px;
    max-width:min(260px, 78vw);
  }
  header.scrolled .nav-logo img{
    max-height:40px;
    max-width:min(240px, 75vw);
  }
  .nav-links{display:none}
  .mobile-menu{display:block}
  .hero{padding:60px 0 80px}
  .hero h1{font-size:32px}
  .fuel-item{padding:18px 12px 16px}
  .fuel-strip{padding:22px 0 26px}
  .fuel-strip-head{margin-bottom:16px}
  .services{padding:60px 0}
  .location{padding:60px 0}
}

/* ===== MOBILE NAV ===== */
.mobile-nav{
  display:none;
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(15,17,20,.98);
  backdrop-filter:blur(20px);
  padding:80px 24px 40px;
  flex-direction:column;
  gap:8px;
}
.mobile-nav.open{display:flex}
.mobile-nav-close{
  position:absolute;
  top:20px;
  right:20px;
  background:none;
  border:none;
  cursor:pointer;
}
.mobile-nav-close svg{width:28px;height:28px;stroke:var(--ink)}
.mobile-nav a{
  padding:16px;
  font-size:18px;
  font-weight:500;
  border-radius:10px;
  transition:background .2s;
}
.mobile-nav a:hover{background:var(--surface)}

/* ===== PASSWORD GATE ===== */
#passwordGate{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--bg);
}
#passwordGate::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 50% 30%, rgba(74,155,78,.1) 0%, transparent 50%);
}
.gate-box{
  position:relative;
  z-index:1;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:48px 40px;
  text-align:center;
  max-width:380px;
  box-shadow:0 30px 60px rgba(0,0,0,.5);
}
.gate-box img{
  height:100px;
  margin-bottom:32px;
  filter:drop-shadow(0 6px 20px rgba(0,0,0,.4));
}
.gate-box input{
  width:100%;
  padding:14px 18px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
  color:var(--ink);
  font-size:15px;
  text-align:center;
  margin-bottom:16px;
  letter-spacing:2px;
}
.gate-box input:focus{outline:none;border-color:var(--green)}
.gate-box input::placeholder{color:var(--muted);letter-spacing:1px}
.gate-box button{
  width:100%;
  padding:14px;
  background:linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color:#fff;
  font-size:15px;
  font-weight:600;
  border:none;
  border-radius:10px;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(74,155,78,.25);
  transition:all .2s;
}
.gate-box button:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(74,155,78,.35)}

/* ===== MULTI-PAGE: inner heroes, teasers, footer nav ===== */
.page-hero{
  padding:48px 0 36px;
  text-align:center;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(26,30,38,.4) 0%, transparent 100%);
}
.page-hero h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(28px, 4vw, 42px);
  font-weight:700;
  margin-bottom:12px;
}
.page-hero p{
  color:var(--muted);
  max-width:560px;
  margin:0 auto;
  font-size:16px;
  line-height:1.55;
}
.home-teasers{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
  padding:48px 0 72px;
}
a.home-teaser{
  display:block;
  padding:28px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  transition:all .25s;
  text-align:left;
}
a.home-teaser:hover{
  border-color:rgba(74,155,78,.35);
  transform:translateY(-3px);
  box-shadow:0 16px 40px rgba(0,0,0,.25);
}
.home-teaser h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;
  margin-bottom:8px;
  color:var(--ink);
}
.home-teaser p{
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
}
.home-teaser .more{
  display:inline-block;
  margin-top:14px;
  font-size:13px;
  font-weight:600;
  color:var(--green-light);
}
.footer-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 22px;
  margin-bottom:20px;
  font-size:13px;
}
.footer-nav a{
  color:var(--muted);
}
.footer-nav a:hover{color:var(--green-light)}
.prose-wide{
  max-width:720px;
  margin:0 auto;
  padding:48px 0 80px;
}
.prose-wide p{
  color:var(--muted);
  margin-bottom:16px;
  line-height:1.65;
}
.prose-wide h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:22px;
  color:var(--ink);
  margin:32px 0 12px;
}
.rewards-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin:28px 0;
}
@media (max-width:768px){
  .rewards-two-col{grid-template-columns:1fr}
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  margin-top:28px;
}

/* ===== REWARDS ===== */
.rewards-member-section{
  padding:48px 0 56px;
  background:linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom:1px solid var(--border);
}
.rewards-card-container{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px 28px;
}
.rewards-card-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.rewards-card-header svg{
  width:24px;height:24px;stroke:var(--green-light);fill:none;stroke-width:1.5;flex-shrink:0;
}
.rewards-card-header h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:20px;
  font-weight:600;
}
.rewards-card-sub{
  color:var(--muted);
  font-size:14px;
  margin-bottom:20px;
}
.rewards-signup-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.rewards-signup-form input{
  width:100%;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  color:var(--ink);
  font-size:15px;
  font-family:inherit;
  transition:border-color .2s;
}
.rewards-signup-form input:focus{
  outline:none;
  border-color:var(--green);
}
.rewards-signup-form input::placeholder{color:var(--muted)}
.rewards-barcode-wrap{
  background:#fff;
  border-radius:10px;
  padding:20px 16px;
  text-align:center;
  margin:16px 0;
}
.rewards-barcode-wrap svg{max-width:100%;height:auto}
.rewards-member-info{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:20px;
}
.rewards-member-detail{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid var(--border);
}
.rewards-label{
  font-size:13px;
  color:var(--muted);
  font-weight:500;
}
.rewards-value{
  font-size:14px;
  font-weight:600;
  color:var(--ink);
}

/* Earn section */
.rewards-how-section{padding:64px 0}
.rewards-earn-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
}
.rewards-earn-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  transition:all .3s;
}
.rewards-earn-card:hover{
  transform:translateY(-3px);
  border-color:rgba(74,155,78,.3);
  box-shadow:0 16px 36px rgba(0,0,0,.25);
}
.rewards-earn-icon{
  width:48px;height:48px;
  border-radius:12px;
  display:grid;place-items:center;
  background:var(--green-glow);
  border:1px solid rgba(74,155,78,.2);
  margin-bottom:16px;
}
.rewards-earn-icon svg{width:24px;height:24px;stroke:var(--green-light);fill:none;stroke-width:1.5}
.rewards-earn-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;font-weight:600;margin-bottom:8px;
}
.rewards-earn-card p{font-size:14px;color:var(--muted);line-height:1.6}

/* Reward menu */
.rewards-menu-section{
  padding:64px 0;
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.rewards-menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:20px;
}
.rewards-menu-item{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px 20px;
  text-align:center;
  transition:all .3s;
}
.rewards-menu-item:hover{
  transform:translateY(-3px);
  border-color:rgba(212,168,67,.3);
  box-shadow:0 12px 28px rgba(0,0,0,.25);
}
.rewards-menu-icon{
  width:48px;height:48px;
  border-radius:12px;
  display:grid;place-items:center;
  background:var(--green-glow);
  border:1px solid rgba(74,155,78,.2);
  margin:0 auto 14px;
}
.rewards-menu-icon svg{width:24px;height:24px;stroke:var(--green-light);fill:none;stroke-width:1.5}
.rewards-menu-item h4{
  font-family:'Space Grotesk',sans-serif;
  font-size:16px;font-weight:600;margin-bottom:4px;
}
.rewards-menu-detail{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}
.rewards-menu-visits{
  display:inline-block;
  padding:4px 10px;
  background:rgba(212,168,67,.12);
  border:1px solid rgba(212,168,67,.2);
  border-radius:20px;
  font-size:12px;font-weight:600;
  color:var(--gold);
}

/* Fuel discounts */
.rewards-fuel-section{padding:64px 0}
.rewards-fuel-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:16px;
}
.rewards-fuel-item{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  transition:all .25s;
}
.rewards-fuel-item:hover{
  border-color:rgba(217,106,59,.3);
  transform:translateY(-2px);
}
.rewards-fuel-cents{
  font-family:'Space Grotesk',sans-serif;
  font-size:28px;font-weight:700;
  color:var(--orange);
  min-width:72px;
  text-align:center;
  flex-shrink:0;
}
.rewards-fuel-cents small{font-size:14px;font-weight:500}
.rewards-fuel-product{font-size:14px;color:var(--ink2);line-height:1.4}

/* Steps */
.rewards-steps-section{
  padding:64px 0;
  background:var(--surface);
  border-top:1px solid var(--border);
}
.rewards-steps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
}
.rewards-step{text-align:center;padding:28px 20px}
.rewards-step-num{
  width:44px;height:44px;
  border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color:#fff;
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;font-weight:700;
  margin:0 auto 16px;
}
.rewards-step h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;font-weight:600;margin-bottom:8px;
}
.rewards-step p{font-size:14px;color:var(--muted);line-height:1.55}

/* Scan overlay */
.scan-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:#fff;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.scan-overlay.active{display:flex}
.scan-overlay-close{
  position:absolute;
  top:20px;right:20px;
  background:none;
  border:2px solid #ccc;
  border-radius:50%;
  width:44px;height:44px;
  display:grid;place-items:center;
  cursor:pointer;
}
.scan-overlay-close svg{width:24px;height:24px;stroke:#333}
.scan-overlay-content{text-align:center;padding:20px}
.scan-overlay-label{
  font-family:'Space Grotesk',sans-serif;
  font-size:16px;font-weight:600;
  color:#333;
  margin-bottom:20px;
  text-transform:uppercase;
  letter-spacing:2px;
}
.scan-overlay-number{
  font-family:'Space Grotesk',monospace;
  font-size:20px;font-weight:600;
  color:#333;
  letter-spacing:2px;
  margin-top:16px;
}
.scan-overlay-hint{
  font-size:13px;
  color:#999;
  margin-top:24px;
}

/* ===== Minnoco Rewards checkout ===== */
.rewards-checkout-section{
  padding:64px 0;
  background:var(--bg2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.minnoco-balance{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:linear-gradient(135deg, var(--surface2), var(--surface));
  border:1px solid rgba(212,168,67,.28);
  border-radius:16px;
  padding:24px 26px;
  margin-bottom:32px;
}
.minnoco-balance-main{display:flex;flex-direction:column;gap:4px}
.minnoco-balance-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:var(--muted);
}
.minnoco-balance-value{
  font-family:'Space Grotesk',sans-serif;
  font-size:38px;
  font-weight:700;
  line-height:1;
  color:var(--gold);
}
.minnoco-balance-value small{font-size:16px;font-weight:500;color:var(--ink2)}
.minnoco-balance-id{font-size:12px;color:var(--muted);margin-top:2px}
.minnoco-unlink{
  background:transparent;
  border:1px solid var(--border);
  color:var(--muted);
  border-radius:10px;
  padding:8px 14px;
  font-size:13px;
  cursor:pointer;
  transition:all .2s;
  white-space:nowrap;
}
.minnoco-unlink:hover{background:var(--surface2);color:var(--ink)}
.minnoco-sub-title{
  font-family:'Space Grotesk',sans-serif;
  font-size:18px;
  font-weight:600;
  margin:0 0 16px;
}
.minnoco-catalog{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
  margin-bottom:36px;
}
.minnoco-item{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  transition:border-color .25s, transform .25s;
}
.minnoco-item:hover{border-color:rgba(212,168,67,.35);transform:translateY(-2px)}
.minnoco-item--locked{opacity:.55}
.minnoco-item--locked:hover{transform:none;border-color:var(--border)}
.minnoco-item-body h4{font-size:16px;font-weight:600;margin:0 0 4px}
.minnoco-item-detail{font-size:13px;color:var(--muted);line-height:1.4}
.minnoco-item-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.minnoco-cost{
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  color:var(--gold);
  font-size:15px;
}
.minnoco-redeem-btn{padding:8px 16px;font-size:14px}
.minnoco-redeem-btn:disabled{opacity:.5;cursor:not-allowed}
.minnoco-history{display:flex;flex-direction:column;gap:10px}
.minnoco-voucher{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px 18px;
  transition:border-color .2s;
}
.minnoco-voucher:hover{border-color:rgba(212,168,67,.35)}
.minnoco-voucher--expired{opacity:.5}
.minnoco-voucher--expired:hover{border-color:var(--border)}
.minnoco-voucher-info{display:flex;flex-direction:column;gap:2px}
.minnoco-voucher-item{font-size:15px;font-weight:600}
.minnoco-voucher-code{
  font-family:'Space Grotesk',monospace;
  font-size:13px;
  letter-spacing:1.5px;
  color:var(--muted);
}
.minnoco-voucher-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.minnoco-voucher-cost{font-size:14px;font-weight:600;color:var(--orange)}
.minnoco-voucher-status{font-size:12px;color:var(--muted)}
.redeem-item{
  font-family:'Space Grotesk',sans-serif;
  font-size:22px;
  font-weight:700;
  color:#111;
  margin-bottom:20px;
}
.redeem-expiry{font-size:13px;color:#666;margin-top:12px}

/* Minnoco transfer verification */
.minnoco-transfer-summary{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  background:var(--surface2);
  border:1px solid rgba(212,168,67,.28);
  border-radius:var(--radius);
  padding:18px;
  margin-bottom:18px;
}
.minnoco-transfer-amount{
  font-family:'Space Grotesk',sans-serif;
  font-size:30px;
  font-weight:700;
  color:var(--gold);
  line-height:1;
}
.minnoco-transfer-from{font-size:13px;color:var(--muted)}
.minnoco-verify-error{
  color:#e8834f;
  font-size:13px;
  margin:-4px 0 4px;
  text-align:center;
}

/* Rewards partners strip */
.rewards-partners{
  padding:36px 0;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  text-align:center;
}
.rewards-partners-label{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  color:var(--muted);
  margin-bottom:18px;
}
.rewards-partners-row{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
}
.partner-chip{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:20px;
  letter-spacing:.5px;
  padding:10px 20px;
  border-radius:12px;
  border:1px solid var(--border);
  line-height:1;
}
.partner-chip--innout{color:#fff;background:var(--green);border-color:transparent}
.partner-chip--innout span{color:var(--orange);margin:0 1px;font-size:14px;vertical-align:super}
.partner-chip--bp{
  color:#0b7d3e;
  background:#e8f04f;
  border-color:transparent;
  text-transform:lowercase;
  font-style:italic;
}
.partner-chip--minnoco{color:var(--gold);background:var(--surface2)}
.partner-plus{color:var(--muted);font-size:16px;font-weight:600}
.rewards-partners-note{
  max-width:520px;
  margin:18px auto 0;
  color:var(--ink2);
  font-size:14px;
  line-height:1.6;
}

/* [hidden] must win over .btn's display so JS can toggle the install button */
[data-install-app][hidden]{display:none}

/* iOS / fallback "add to home screen" hint */
.ios-install-hint{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(4px);
  padding:24px;
  align-items:center;
  justify-content:center;
}
.ios-install-hint.active{display:flex}
.ios-install-card{
  position:relative;
  width:min(360px,100%);
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px 24px 24px;
  text-align:center;
}
.ios-install-close{
  position:absolute;
  top:10px;right:14px;
  background:none;border:none;
  color:var(--muted);
  font-size:26px;line-height:1;
  cursor:pointer;
}
.ios-install-icon{border-radius:14px;margin-bottom:12px}
.ios-install-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:19px;
  margin-bottom:16px;
}
.ios-install-steps{
  list-style:none;
  counter-reset:step;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.ios-install-steps li{
  counter-increment:step;
  position:relative;
  padding-left:38px;
  font-size:14px;
  color:var(--ink2);
  line-height:1.5;
  min-height:26px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
}
.ios-install-steps li::before{
  content:counter(step);
  position:absolute;
  left:0;top:0;
  width:26px;height:26px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  font-weight:600;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ios-install-steps svg{
  width:18px;height:18px;
  fill:none;stroke:var(--gold);
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  vertical-align:middle;
}

@media (max-width:768px){
  .rewards-how-section,
  .rewards-menu-section,
  .rewards-fuel-section,
  .rewards-steps-section,
  .rewards-checkout-section{padding:48px 0}
  .rewards-card-container{padding:24px 20px}
  .minnoco-balance{padding:20px}
  .minnoco-balance-value{font-size:32px}
}
  
