
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:Arial,Helvetica,sans-serif;color:#fff;background:#03050c;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.67),rgba(0,0,0,.11),rgba(0,0,0,.63)),linear-gradient(180deg,rgba(0,0,0,.03),#03050c 82%),url("../images/background.png") center top/cover no-repeat;z-index:-2}
body::after{content:"";position:fixed;inset:0;background:radial-gradient(circle at 25% 25%,rgba(0,110,255,.20),transparent 28%),radial-gradient(circle at 75% 50%,rgba(255,0,170,.14),transparent 32%);z-index:-1;pointer-events:none}
.navbar{min-height:86px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:10;background:rgba(1,3,10,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
.brand{text-decoration:none;color:#fff;font-weight:900;font-style:italic;letter-spacing:1px;line-height:.85;font-size:30px;white-space:nowrap}
.brand span span,.footer-logo span,.home-hero h1 span{color:#126eff}.brand small{display:block;color:#126eff;font-size:10px;letter-spacing:8px;margin-left:7px;margin-top:9px}
.menu{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap}.menu a{color:#fff;text-decoration:none;font-weight:800;font-size:13px;position:relative}.menu a:hover,.menu a.active{color:#eaf3ff}.menu a.active::after,.menu a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-23px;height:3px;background:#126eff;box-shadow:0 0 15px #126eff}
.discord{color:#fff;text-decoration:none;font-weight:800;padding:14px 18px;border-radius:8px;background:linear-gradient(135deg,#0876ff,#5426e9);box-shadow:0 0 24px rgba(18,110,255,.55);white-space:nowrap}
.mobile-toggle{display:none;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:8px;padding:10px 14px;font-size:22px}
.home-hero{min-height:560px;display:flex;align-items:center;padding:55px 7vw 25px}
.home-content{max-width:650px}.home-hero h1{margin:0;font-size:105px;line-height:.85;font-style:italic;font-weight:900;letter-spacing:-6px;text-shadow:0 0 30px rgba(0,0,0,.85)}.home-hero h2{margin:18px 0 28px 13px;color:#126eff;letter-spacing:27px;font-size:30px;font-style:italic}.home-hero p{font-size:22px;line-height:1.6;margin-bottom:28px;text-shadow:0 3px 12px #000}.hero-buttons{display:flex;gap:22px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-width:210px;padding:17px 25px;border-radius:8px;color:#fff;text-decoration:none;font-weight:900}.primary{background:linear-gradient(135deg,#0876ff,#5426e9);box-shadow:0 0 28px rgba(18,110,255,.5)}.secondary{background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.7)}
.home-cards-zone{width:min(1500px,92vw);margin:-10px auto 54px;padding:0}.home-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mini-card{min-height:185px;text-decoration:none;color:#fff;padding:24px;border-radius:13px;background:linear-gradient(135deg,rgba(9,15,30,.74),rgba(0,0,0,.45));border:1px solid rgba(255,255,255,.13);box-shadow:inset 0 0 65px rgba(0,0,0,.3),0 18px 40px rgba(0,0,0,.35);backdrop-filter:blur(6px);transition:.25s}.mini-card:hover{transform:translateY(-6px);filter:brightness(1.12)}.mini-icon{font-size:38px;margin-bottom:14px}.mini-card h3{margin:0 0 12px;font-size:22px}.mini-card p{margin:0;color:#d9e5fb;line-height:1.55;font-size:14px}
.blue{border-color:#147bff}.purple{border-color:#b342ff}.green{border-color:#00d982}.red{border-color:#ff2b65}.yellow{border-color:#ffd23c}.cyan{border-color:#00e5ff}.pink{border-color:#ff2aae}
.page-wrap{width:min(1150px,92vw);margin:0 auto;padding:58px 0}.page-hero{text-align:center;padding:46px 20px 34px}.page-hero h1{font-size:56px;margin:0;color:#fff;text-shadow:0 0 25px rgba(18,110,255,.7)}.page-hero p{color:#cbd6ee;font-size:18px}
.content-panel,.rule-item,.job-card,.staff-card,.tabs-wrap,.team-card{background:linear-gradient(135deg,rgba(8,14,30,.86),rgba(0,0,0,.58));border:1px solid rgba(70,150,255,.25);border-radius:14px;box-shadow:0 20px 55px rgba(0,0,0,.35);backdrop-filter:blur(8px)}
.content-panel{padding:34px;line-height:1.75}.content-panel h2{color:#5eadff;font-size:30px}.content-panel h3{color:#fff}.content-panel hr{border:0;border-top:1px solid rgba(255,255,255,.14);margin:28px 0}.content-panel li{margin:12px 0}.back-link{color:#69b7ff;text-decoration:none;font-weight:900}
.rules-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.rule-item{display:flex;gap:18px;padding:22px}.rule-item span{min-width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#126eff;font-weight:900;box-shadow:0 0 20px rgba(18,110,255,.5)}.rule-item h3{margin:0 0 8px}.rule-item p{margin:0;color:#dce6f8;line-height:1.65}
.job-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.job-card{padding:30px;text-decoration:none;color:#fff;text-align:center;border-color:rgba(0,217,255,.28)}.job-card div{font-size:54px}.job-card h3{font-size:25px}.job-card p{color:#dce6f8}.job-card span{font-weight:900;color:#5ee8ff}
.staff-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.staff-card{text-align:center;padding:30px}.avatar{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;background:linear-gradient(135deg,#0876ff,#5426e9);font-size:30px;font-weight:900}.staff-card h3{margin:10px 0 6px}.staff-card p{color:#64b5ff;font-weight:900}
.tabs-wrap{padding:22px}.tabs{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:24px}.tab-btn{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;padding:14px 28px;border-radius:10px;font-weight:900;cursor:pointer}.tab-btn.active{background:linear-gradient(135deg,#0876ff,#5426e9);box-shadow:0 0 22px rgba(18,110,255,.45)}.tab-panel{display:none;grid-template-columns:1fr;gap:16px}.tab-panel.active{display:grid}.team-card{display:flex;gap:22px;padding:20px;align-items:center}.team-logo{width:120px;height:120px;border-radius:16px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;border:1px solid rgba(255,255,255,.14)}.team-logo img{width:100%;height:100%;object-fit:cover}.team-info h3{margin:0;font-size:26px;color:#fff}.team-info h4{margin:6px 0 12px;color:#64b5ff}.team-info p{color:#dde8fb;line-height:1.65;margin:8px 0}
footer{text-align:center;padding:22px;color:#aaa;background:rgba(0,0,0,.45)}.footer-logo{font-size:24px;font-weight:900;font-style:italic;color:#fff}
@media(max-width:1180px){.navbar{padding:14px 20px;height:auto;flex-wrap:wrap}.menu{order:3;width:100%;gap:16px}.home-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.mobile-toggle{display:block}.menu{display:none;flex-direction:column;align-items:flex-start}.menu.open{display:flex}.home-hero{padding:45px 22px;min-height:520px}.home-hero h1{font-size:58px}.home-hero h2{font-size:18px;letter-spacing:13px}.home-hero p{font-size:16px}.btn{width:100%}.home-cards,.job-grid,.staff-grid,.rules-grid{grid-template-columns:1fr}.discord{padding:12px 14px}.page-hero h1{font-size:38px}.content-panel{padding:22px}.rule-item{flex-direction:column}.team-card{flex-direction:column;text-align:center}.team-logo{width:105px;height:105px}}


/* ===== XostME V4 PURPLE THEME ===== */
:root{
  --main:#a855f7;
  --main2:#7e22ce;
  --main3:#d946ef;
  --glow:rgba(168,85,247,.55);
}

body::before{
  background:
    linear-gradient(90deg,rgba(0,0,0,.72),rgba(28,0,45,.18),rgba(0,0,0,.68)),
    linear-gradient(180deg,rgba(0,0,0,.05),#050108 82%),
    url("../images/background.png") center top/cover no-repeat !important;
}

body::after{
  background:
    radial-gradient(circle at 25% 25%,rgba(168,85,247,.22),transparent 28%),
    radial-gradient(circle at 75% 50%,rgba(217,70,239,.16),transparent 32%) !important;
}

.navbar{
  background:rgba(3,0,8,.92) !important;
  border-bottom:1px solid rgba(168,85,247,.18) !important;
}

.logo-brand{
  display:flex !important;
  align-items:center !important;
  min-width:170px;
}

.logo-brand img{
  height:64px;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 0 14px rgba(168,85,247,.55));
}

.menu a.active::after,
.menu a:hover::after{
  background:var(--main) !important;
  box-shadow:0 0 18px var(--main) !important;
}

.discord,
.primary,
.tab-btn.active,
.avatar{
  background:linear-gradient(135deg,var(--main),var(--main2)) !important;
  box-shadow:0 0 28px var(--glow) !important;
}

.secondary{
  border-color:rgba(216,180,254,.85) !important;
}

.home-hero{
  min-height:560px;
}

.hero-logo{
  display:block;
  width:min(620px,88vw);
  height:auto;
  margin:0 0 18px -28px;
  filter:drop-shadow(0 0 26px rgba(168,85,247,.55));
}

.home-hero h2{
  color:var(--main) !important;
}

.home-hero p{
  font-weight:700;
  text-transform:none;
}

.purple-text{
  color:var(--main);
  text-shadow:0 0 18px var(--glow);
}

.page-hero h1{
  text-shadow:0 0 25px var(--glow) !important;
}

.content-panel h2,
.team-info h4,
.staff-card p,
.back-link{
  color:#c084fc !important;
}

.content-panel,
.rule-item,
.job-card,
.staff-card,
.tabs-wrap,
.team-card{
  border-color:rgba(168,85,247,.30) !important;
}

.rule-item span{
  background:var(--main) !important;
  box-shadow:0 0 20px var(--glow) !important;
}

.blue,
.purple,
.green,
.red,
.yellow,
.cyan,
.pink{
  border-color:rgba(168,85,247,.42) !important;
}

.mini-card{
  background:
    linear-gradient(135deg,rgba(30,8,48,.78),rgba(0,0,0,.48)) !important;
}

.mini-card:hover{
  box-shadow:0 0 30px rgba(168,85,247,.25), 0 18px 40px rgba(0,0,0,.35);
}

.job-card span{
  color:#d8b4fe !important;
}

.footer-logo{
  color:#fff;
  text-shadow:0 0 18px var(--glow);
}

.footer-logo span{
  color:var(--main) !important;
}

@media(max-width:760px){
  .logo-brand img{height:54px}
  .hero-logo{margin-left:0;width:100%}
}


/* ===== XostME V5 FINAL CLEAN PURPLE ===== */
.home-hero{
  min-height:560px !important;
  padding-top:38px !important;
}

body::before{
  background:
    linear-gradient(90deg,rgba(0,0,0,.48),rgba(20,0,28,.08),rgba(0,0,0,.48)),
    linear-gradient(180deg,rgba(0,0,0,.02),#050108 88%),
    url("../images/background.png") center top/cover no-repeat !important;
}

.hero-logo{
  width:min(610px,86vw) !important;
  margin:0 0 12px -20px !important;
}

.home-hero p{
  font-size:21px !important;
  letter-spacing:.2px;
}

.home-cards-zone{
  margin-top:-18px !important;
}

.home-cards{
  gap:18px !important;
}

.mini-card{
  min-height:210px !important;
  border-width:1px !important;
}

.logo-brand img{
  height:70px !important;
}

.discord{
  border:1px solid rgba(216,180,254,.45);
}

footer{
  background:rgba(0,0,0,.55) !important;
}


/* ===== V7 FINAL: exact approved home as static visual + live links ===== */
body.home-exact{
  margin:0;
  background:#020106;
  overflow-x:hidden;
}
body.home-exact::before,
body.home-exact::after{
  display:none !important;
}
.exact-home{
  position:relative;
  width:100%;
  max-width:1536px;
  margin:0 auto;
  background:#020106;
}
.exact-bg{
  display:block;
  width:100%;
  height:auto;
  user-select:none;
  pointer-events:none;
}
.hot{
  position:absolute;
  display:block;
  z-index:5;
  background:rgba(255,255,255,0);
  border-radius:8px;
}
.hot:hover{
  outline:1px solid rgba(168,85,247,.18);
  box-shadow:0 0 18px rgba(168,85,247,.18);
}

/* Coordinates based on 1536x1024 approved screenshot */
.nav-home{left:23.7%;top:1.6%;width:4.0%;height:4.5%}
.nav-about{left:28.7%;top:1.6%;width:4.2%;height:4.5%}
.nav-rules{left:34.2%;top:1.6%;width:4.2%;height:4.5%}
.nav-jobs{left:39.5%;top:1.6%;width:4.4%;height:4.5%}
.nav-staff{left:44.9%;top:1.6%;width:4.4%;height:4.5%}
.nav-donates{left:50.0%;top:1.6%;width:5.4%;height:4.5%}
.nav-ann{left:56.3%;top:1.6%;width:9.0%;height:4.5%}
.nav-crim{left:66.0%;top:1.6%;width:10.8%;height:4.5%}
.nav-discord{left:86.5%;top:1.0%;width:10.9%;height:5.0%}

.hero-discord{left:8.2%;top:48.8%;width:13.2%;height:4.9%}
.hero-fivem{left:23.6%;top:48.8%;width:14.6%;height:4.9%}

.card-about{left:3.6%;top:55.8%;width:14.0%;height:24.6%}
.card-rules{left:18.5%;top:55.8%;width:14.0%;height:24.6%}
.card-jobs{left:33.6%;top:55.8%;width:14.0%;height:24.6%}
.card-staff{left:48.6%;top:55.8%;width:14.0%;height:24.6%}
.card-donates{left:63.6%;top:55.8%;width:14.0%;height:24.6%}
.card-ann{left:78.6%;top:55.8%;width:14.0%;height:24.6%}
.card-crim{left:32.8%;top:81.4%;width:35.2%;height:11.6%}

@media(max-width:760px){
  .exact-home{
    width:1000px;
    max-width:none;
  }
  body.home-exact{
    overflow-x:auto;
  }
}

.exact-home{max-width:none!important;width:100%!important}
.exact-bg{width:100%!important}
.staff-tree .row{display:flex;justify-content:center;gap:30px;margin:30px 0;flex-wrap:wrap}
.staff-tree .center{margin:10px 0}
.avatar-logo{width:90px;height:90px;object-fit:contain;display:block;margin:0 auto 15px}


/* ===== FINAL FIXES ===== */

/* Home: no side gaps, normal V5/V6-like size */
body.home-exact{
  margin:0 !important;
  background:#020106 !important;
  overflow-x:hidden !important;
}
.exact-home{
  width:100vw !important;
  max-width:none !important;
  margin:0 !important;
  overflow:hidden !important;
}
.exact-bg{
  width:100vw !important;
  height:auto !important;
  display:block !important;
}

/* keep hotspots aligned with full-width image */
@media(max-width:760px){
  .exact-home{
    width:100vw !important;
    max-width:none !important;
  }
  body.home-exact{
    overflow-x:hidden !important;
  }
}

/* Staff tree */
.staff-tree{
  display:grid;
  gap:28px;
  justify-items:center;
}
.staff-row{
  display:flex;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
  width:100%;
}
.staff-card.tree{
  width:260px;
  min-height:250px;
}
.staff-card.tree img{
  width:115px;
  height:115px;
  object-fit:contain;
  margin:0 auto 15px;
  display:block;
  filter:drop-shadow(0 0 18px rgba(160,32,240,.45));
}
.staff-card.tree h3{
  margin:8px 0 6px;
}
.staff-card.tree p{
  margin:0;
}

/* Announcements cinematic video */
.announcement-video-card{
  max-width:900px;
  margin:0 auto;
  padding:34px;
  text-align:center;
}
.video-thumb{
  position:relative;
  display:block;
  border-radius:18px;
  overflow:hidden;
  min-height:380px;
  background:
    linear-gradient(135deg,rgba(160,32,240,.35),rgba(0,0,0,.75)),
    url("https://img.youtube.com/vi/DAQYMyzE8ww/maxresdefault.jpg") center/cover no-repeat;
  border:1px solid rgba(160,32,240,.55);
  box-shadow:0 0 35px rgba(160,32,240,.25), inset 0 0 80px rgba(0,0,0,.45);
  text-decoration:none;
}
.video-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.72));
}
.play-button{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:92px;
  height:92px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#a020f0,#6816c8);
  color:#fff;
  font-size:38px;
  box-shadow:0 0 38px rgba(160,32,240,.65);
}
.video-caption{
  position:absolute;
  left:0;
  right:0;
  bottom:28px;
  color:#fff;
  font-weight:900;
  font-size:28px;
  letter-spacing:1px;
  text-shadow:0 3px 16px #000;
}
.stay-tuned{
  margin-top:26px;
  font-size:42px;
  color:#d45cff;
  font-weight:900;
  text-shadow:0 0 25px rgba(160,32,240,.75);
}
.stay-sub{
  color:#e9dcff;
  font-size:18px;
  margin-top:8px;
}
@media(max-width:760px){
  .video-thumb{min-height:230px}
  .play-button{width:70px;height:70px;font-size:30px}
  .video-caption{font-size:20px}
  .stay-tuned{font-size:32px}
}


/* ===== REAL FINAL PATCH ===== */

/* HOME sizing: same visual, not giant, no blur, no side gaps */
body.home-exact,
body.home-exact.home-scaled{
  margin:0 !important;
  padding:0 !important;
  background:#020106 !important;
  overflow-x:hidden !important;
}

body.home-exact::before,
body.home-exact::after{
  display:none !important;
  content:none !important;
}

.exact-home{
  position:relative !important;
  width:100vw !important;
  max-width:1536px !important;
  margin:0 auto !important;
  overflow:hidden !important;
  background:#020106 !important;
  line-height:0 !important;
}

.exact-bg{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:100vh !important;
  object-fit:contain !important;
  object-position:center top !important;
  filter:none !important;
  opacity:1 !important;
  image-rendering:auto !important;
  pointer-events:none !important;
  user-select:none !important;
}

.hot:hover{
  outline:none !important;
  box-shadow:none !important;
}

/* IMPORTANT: override old mobile rule that made page 1000px wide */
@media(max-width:760px){
  body.home-exact,
  body.home-exact.home-scaled{
    overflow-x:hidden !important;
  }
  .exact-home{
    width:100vw !important;
    max-width:100vw !important;
    min-width:0 !important;
  }
  .exact-bg{
    width:100% !important;
    max-height:none !important;
    object-fit:contain !important;
  }
}

/* Announcements: embedded player inside page */
.announcement-video-card{
  max-width:980px !important;
  margin:0 auto !important;
  padding:34px !important;
  text-align:center !important;
}

.video-embed-wrap{
  position:relative !important;
  width:100% !important;
  aspect-ratio:16/9 !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid rgba(160,32,240,.55) !important;
  box-shadow:0 0 35px rgba(160,32,240,.25), inset 0 0 80px rgba(0,0,0,.45) !important;
  background:#000 !important;
}

.video-embed-wrap iframe{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
}

.video-thumb{
  display:none !important;
}

.stay-tuned{
  margin-top:26px !important;
  font-size:42px !important;
  color:#d45cff !important;
  font-weight:900 !important;
  text-shadow:0 0 25px rgba(160,32,240,.75) !important;
}

.stay-sub{
  color:#e9dcff !important;
  font-size:18px !important;
  margin-top:8px !important;
}

/* hide accidental visible IP text containers if empty */
small:empty, p:empty, span:empty{
  display:none !important;
}


/* ===== FINAL NETLIFY FIX: full-width home + hidden FiveM IP ===== */
html, body{
  margin:0;
  padding:0;
}

body.home-exact,
body.home-exact.home-scaled{
  margin:0 !important;
  padding:0 !important;
  background:#020106 !important;
  overflow-x:hidden !important;
}

/* The approved home image should fill the browser width, not sit as a small centered picture */
body.home-exact .exact-home,
body.home-exact.home-scaled .exact-home{
  position:relative !important;
  width:100vw !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#020106 !important;
  line-height:0 !important;
}

/* Fill width and crop only vertically if needed; removes side gaps and keeps sharpness */
body.home-exact .exact-bg,
body.home-exact.home-scaled .exact-bg{
  display:block !important;
  width:100vw !important;
  min-width:100vw !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center top !important;
  filter:none !important;
  opacity:1 !important;
  image-rendering:auto !important;
  pointer-events:none !important;
  user-select:none !important;
}

/* Invisible click zones must not show glow/outline */
body.home-exact .hot:hover,
body.home-exact.home-scaled .hot:hover{
  outline:none !important;
  box-shadow:none !important;
}

/* Hide any leftover FiveM IP text if a cached/old element is empty after removal */
body *:empty{
  /* don't force display none globally for layout elements */
}

@media(max-width:760px){
  body.home-exact,
  body.home-exact.home-scaled{
    overflow-x:hidden !important;
  }
  body.home-exact .exact-home,
  body.home-exact.home-scaled .exact-home{
    width:100vw !important;
    max-width:none !important;
    min-width:0 !important;
  }
  body.home-exact .exact-bg,
  body.home-exact.home-scaled .exact-bg{
    width:100vw !important;
    min-width:100vw !important;
    height:auto !important;
    object-fit:cover !important;
  }
}
