/* ===== V REPROG Theme (Premium Racing) v1 =====
   Clean dark theme + red accent. Works alongside vreprog-mobile.css.
*/

:root{
  --vr-bg:#0a0a0b;
  --vr-surface:#121214;
  --vr-surface-2:#17171b;
  --vr-text:#f4f4f5;
  --vr-muted:#b9b9c0;
  --vr-primary:#ff1e00;
  --vr-primary-2:#e6132d;
  --vr-border:rgba(255,255,255,.08);
  --vr-border-2:rgba(255,255,255,.14);
  --vr-shadow:0 18px 55px rgba(0,0,0,.55);
  --vr-radius:18px;
  --vr-maxw:1200px;
  --vr-gap:clamp(14px,2.2vw,26px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Rajdhani',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(255,30,0,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(230,19,45,.18), transparent 55%),
              var(--vr-bg);
  color:var(--vr-text);
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

::selection{background:rgba(255,30,0,.35);}

.container{
  max-width:var(--vr-maxw);
  margin:0 auto;
  padding:0 16px;
}

/* Background video + overlay */
.vr-bg-video{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-3;
  opacity:.14;
  filter:saturate(115%) contrast(105%);
}
.vr-bg-overlay{
  position:fixed;
  inset:0;
  z-index:-2;
  background:linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.55) 40%, rgba(0,0,0,.78));
}

/* Header */
header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(10,10,11,.86);
  border-bottom:1px solid var(--vr-border);
  backdrop-filter:saturate(140%) blur(8px);
}
.nav-container{
  max-width:var(--vr-maxw);
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.nav-logo img{
  width:46px;height:46px;border-radius:12px;
  border:1px solid var(--vr-border);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.nav-logo span{font-size:1.15rem}

/* Desktop nav (mobile handled by vreprog-mobile.css) */
nav ul{
  list-style:none;
  display:flex;
  gap:10px;
  padding:0;
  margin:0;
  flex-wrap:wrap;
}
nav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--vr-text);
  opacity:.95;
}
nav a:hover{
  border-color:var(--vr-border);
  background:rgba(255,255,255,.04);
}

/* Hero */
.hero{
  min-height:92vh;
  display:flex;
  align-items:center;
  padding:84px 0 40px;
}
.hero-content{
  max-width:900px;
  margin:0 auto;
  text-align:center;
  padding:0 16px;
}
.hero h1{
  margin:0 0 10px;
  font-size:clamp(32px,5.2vw,56px);
  line-height:1.02;
  text-transform:uppercase;
  letter-spacing:.8px;
}
.hero p{
  margin:0 auto 22px;
  max-width:720px;
  color:var(--vr-muted);
  font-size:clamp(16px,2.1vw,20px);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--vr-primary), var(--vr-primary-2));
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 32px rgba(255,30,0,.22);
  font-weight:800;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

/* Sections */
.vr-section{
  padding:64px 0;
}
.section-title{
  margin:0 0 14px;
  text-align:center;
  font-size:clamp(22px,3vw,34px);
  letter-spacing:.3px;
}
.section-subtitle{
  text-align:center;
  color:var(--vr-muted);
  margin:0 auto 18px;
  max-width:780px;
  font-size:clamp(15px,2vw,18px);
}

/* Reveal animation */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .75s ease, transform .75s ease;
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* Cards / grids */
.grid-3{
  display:grid;
  gap:var(--vr-gap);
  grid-template-columns:repeat(1,minmax(0,1fr));
}
@media(min-width:720px){ .grid-3{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media(min-width:720px){ .grid-2{grid-template-columns:repeat(2,minmax(0,1fr));} }
.grid-2{
  display:grid;
  gap:var(--vr-gap);
  grid-template-columns:repeat(1,minmax(0,1fr));
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--vr-border);
  border-radius:var(--vr-radius);
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}
.card-body{
  padding:18px;
}
.card h3, .card h4{
  margin:10px 0 6px;
}
.card p{margin:0;color:var(--vr-muted)}
.card-icon{
  width:56px;height:56px;border-radius:16px;
  display:grid;place-items:center;
  font-size:28px;
  background:rgba(255,30,0,.12);
  border:1px solid rgba(255,30,0,.22);
  box-shadow:0 14px 30px rgba(255,30,0,.12);
}

/* Lists */
.list-plain{list-style:none;padding:0;margin:14px 0 0}
.list-plain li{
  margin:8px 0;
  padding-left:18px;
  position:relative;
  color:var(--vr-muted);
}
.list-plain li::before{
  content:'';
  width:8px;height:8px;border-radius:999px;
  background:var(--vr-primary);
  position:absolute;left:0;top:9px;
  box-shadow:0 0 0 3px rgba(255,30,0,.15);
}

/* Tables */
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
thead th{
  text-align:left;
  font-weight:800;
  color:var(--vr-muted);
  font-size:14px;
  padding:0 10px;
}
tbody tr{
  background:rgba(255,255,255,.03);
  border:1px solid var(--vr-border);
}
tbody td{
  padding:14px 12px;
  border-top:1px solid var(--vr-border);
  border-bottom:1px solid var(--vr-border);
}
tbody td:first-child{
  border-left:1px solid var(--vr-border);
  border-top-left-radius:14px;
  border-bottom-left-radius:14px;
}
tbody td:last-child{
  border-right:1px solid var(--vr-border);
  border-top-right-radius:14px;
  border-bottom-right-radius:14px;
}

/* Forms */
form{width:100%}
label{display:block;margin:10px 0 6px;font-weight:800}
input,select,textarea{
  width:100%;
  background:rgba(0,0,0,.35);
  color:var(--vr-text);
  border:1px solid var(--vr-border-2);
  border-radius:14px;
  padding:12px 14px;
  outline:none;
}
input:focus,textarea:focus,select:focus{
  border-color:rgba(255,30,0,.55);
  box-shadow:0 0 0 4px rgba(255,30,0,.18);
}
textarea{min-height:140px;resize:vertical}
.form-actions{margin-top:14px}
.honeypot{position:absolute;left:-9999px;opacity:0}

/* FAQ */
details{
  background:rgba(255,255,255,.03);
  border:1px solid var(--vr-border);
  border-radius:16px;
  padding:14px 16px;
  margin:12px 0;
}
summary{cursor:pointer;font-weight:900}
details p{margin:10px 0 0;color:var(--vr-muted)}

/* Dyno widget */
#dyno-container{
  position:fixed;
  top:78px;
  left:50%;
  transform:translateX(-50%);
  z-index:50;
  width:min(520px, calc(100% - 26px));
  background:rgba(10,10,12,.72);
  border:1px solid rgba(255,30,0,.28);
  border-radius:18px;
  box-shadow:var(--vr-shadow);
  padding:16px 18px;
  text-align:center;
}
#dyno-container .dyno-label{
  font-size:13px;
  color:var(--vr-primary);
  letter-spacing:.6px;
  text-transform:uppercase;
  margin-bottom:8px;
}
#dyno-container .dyno-line{
  font-family:'Orbitron', 'Rajdhani', sans-serif;
  font-weight:700;
  font-size:clamp(18px,2.2vw,26px);
  margin:6px 0;
}
#dyno-container .dyno-rpm{
  margin-top:8px;
  color:var(--vr-muted);
  font-size:14px;
}
#dyno-container .dyno-bar{
  height:8px;
  width:220px;
  margin:10px auto 0;
  background:rgba(255,255,255,.12);
  border-radius:999px;
  overflow:hidden;
}
#dyno-container .dyno-bar > span{
  display:block;
  height:100%;
  width:0%;
  background:linear-gradient(90deg, var(--vr-primary), var(--vr-primary-2));
  transition:width .25s ease;
}
@media(max-width:520px){
  #dyno-container{top:62px;padding:14px}
  #dyno-container .dyno-bar{width:200px}
}

/* Floating buttons */
.vr-toggle-video{
  position:fixed;
  bottom:86px;
  right:16px;
  z-index:60;
  background:rgba(10,10,11,.72);
  color:var(--vr-text);
  border:1px solid rgba(255,30,0,.45);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  box-shadow:0 12px 35px rgba(0,0,0,.45);
}
#whatsapp-button{
  position:fixed;
  bottom:16px;
  right:16px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  font-weight:900;
  box-shadow:0 16px 40px rgba(0,0,0,.45);
}
#whatsapp-button:hover{transform:translateY(-1px)}
.fixed-cta{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:59;
  display:none;
}
@media(max-width:768px){
  .fixed-cta{display:inline-flex;justify-content:center}
  #whatsapp-button{bottom:72px}
}

/* Facebook embed section */
#facebook{
  padding:64px 0;
}
#facebook .fb-page{
  margin:18px auto 0;
  max-width:520px;
  border:1px solid var(--vr-border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 55px rgba(0,0,0,.35);
  background:rgba(255,255,255,.02);
}

/* Pubs Fun */
.pubsfun .pubsfun-grid{
  display:grid;
  gap:var(--vr-gap);
  grid-template-columns:1fr;
  align-items:start;
}
@media(min-width:900px){
  .pubsfun .pubsfun-grid{grid-template-columns:1.1fr 1fr}
}
.ad-item{
  border-radius:var(--vr-radius);
  overflow:hidden;
  border:1px solid var(--vr-border);
  background:rgba(255,255,255,.02);
  box-shadow:0 18px 55px rgba(0,0,0,.35);
  position:relative;
}
.ad-item.header img{width:100%;height:auto}
.ad-item.header .overlay{
  position:absolute;
  inset:auto 14px 14px 14px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(10,10,12,.72);
  border:1px solid var(--vr-border);
  font-weight:900;
}
.ad-text{
  padding:18px;
  border-radius:var(--vr-radius);
  border:1px solid var(--vr-border);
  background:rgba(255,255,255,.03);
}
.ad-text h2{margin:0 0 10px}
.ad-text p{margin:8px 0;color:var(--vr-muted)}
.ad-text a{color:var(--vr-text);text-decoration:underline;text-decoration-color:rgba(255,30,0,.45)}

/* Footer */
footer{
  border-top:1px solid var(--vr-border);
  padding:26px 0 80px;
  background:rgba(10,10,11,.78);
}
footer p{margin:8px 0;color:var(--vr-muted);text-align:center}
footer a{color:var(--vr-text)}
