:root{
  --bg:#1B2026;
  --bg-alt:#242E35;
  --text:#F0F0F0;
  --text-2:#DEDEDE;
  --muted:#C1C0BD;
  --border:#292929;
  --primary:#87D1EF;
  --accent:#AAC39E;
  --card:#1A1A1A;
  --black:#000;
  --maxw:1120px;
  --radius:12px;
  --gap:20px;
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  src: url("assets/fonts/fa-brands-400.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Base */
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Inter,Roboto,Arial,sans-serif}
img{max-width:100%;display:block;border-radius:8px}
a{color:inherit;text-decoration:none}
.container{width:min(100% - 32px,var(--maxw));margin-inline:auto}

/* Header */
.site-header{position:sticky;top:0;z-index:40;background:rgba(27,32,38,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.site-header .container{display:flex;align-items:center;gap:16px;padding:12px 0}
.brand{display:flex;align-items:center;gap:10px}
.brand__logo{width:28px;height:28px;border-radius:6px}
.brand__name{font-weight:800;letter-spacing:.3px}
.nav{margin-left:auto;display:flex;align-items:center;gap:16px}
.nav a{padding:8px 10px;color:var(--text-2)}
.nav a:hover{color:var(--text)}
.nav__toggle{display:none;margin-left:auto;width:36px;height:36px;border:1px solid var(--border);background:transparent;border-radius:8px;position:relative}
.nav__toggle::before,.nav__toggle::after{content:"";position:absolute;left:8px;right:8px;height:2px;background:var(--text)}
.nav__toggle::before{top:12px}.nav__toggle::after{bottom:12px}
@media (max-width:860px){
  .nav{position:fixed;inset:60px 12px auto 12px;background:var(--bg-alt);border:1px solid var(--border);border-radius:12px;padding:12px;flex-direction:column;align-items:stretch;gap:8px;display:none}
  .nav.is-open{display:flex}
  .nav__toggle{display:block}
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 40px;
  background: var(--bg); /* solid background only */
  overflow: hidden;
}

/* Cityscape background */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--maxw));
  height: 100%;
  background: url("assets/cityscape_buildings_web.png") center bottom / cover no-repeat;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}



/* Character flush with bottom of hero */
.hero__media {
  position: absolute;
  bottom: -12%; /* push slightly below to "cut" bottom part visually */
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--maxw));
  display: flex;
  justify-content: flex-end; /* align right edge */
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
}

.hero__media img {
  width: auto;
  max-width: 50%;     /* adjust how wide the character appears */
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  transform: translateY(10%); /* small offset to blend with bg */
}

/* Text sits above everything */
.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 520px; /* already there */
  line-height: 1.4; /* add this for better readability */
}

/* Mobile dark overlay behind hero text */
@media (max-width: 900px) {
  .hero__copy {
    position: relative;
    background: rgba(0, 0, 0, 0.6); /* dark translucent backdrop */
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(4px); /* subtle blur for extra contrast */
  }

  .hero__copy h1,
  .hero__copy p,
  .hero__copy .hero__actions,
  .hero__copy .hero__badges {
    position: relative;
    z-index: 2; /* ensure text stays above background */
  }
}

.highlight-ai {
  color: var(--primary);
}

.highlight-gent {
  color: var(--accent);
}

.hero__copy h1 {
  font-size: clamp(36px, 5vw, 68px); /* slightly larger */
  margin: 0 0 10px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* Grid now only text */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px,3vw,40px);
  align-items: center;
}

.hero__copy h1{font-size:clamp(42px,4.2vw,92px);margin:0 0 10px;line-height:1.05}
.lead{color:var(--text-2);font-size:clamp(16px,2.2vw,20px);margin:0 0 18px}
.hero__actions{display:flex;gap:12px;margin:20px 0 10px;flex-wrap:wrap}
.hero__badges{list-style:none;padding:0;margin:10px 0 0;color:var(--muted);display:flex;gap:14px;flex-wrap:wrap}

@media (max-width:900px){
  .hero{padding-top:32px;}
  .hero__media img{max-width:70%;}
}

/* Trailer Section */
.section--trailer {
  background: var(--bg);
  padding: 80px 0;
  text-align: left;
}

.section--trailer {
  padding-bottom: 12px; /* less gap below video */
}

#features.section {
  padding-top: 12px; /* reduce top gap above features */
  padding-bottom: 12px;
}

#screens.section {
  padding-top: 0px; /* reduce space above carousel */
  padding-bottom: 12px;
}

.trailer__video {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.trailer__video iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  display: block;
}


/* Sections / Footer etc. (unchanged from your version) */
.section{padding:30px 0;background:var(--bg);}
.section--cta{background:transparent;}
.section-divider{width:100%;height:1px;background:var(--border);margin:0;}
.features{display:grid;gap:var(--gap);grid-template-columns:repeat(3,1fr)}
.feature{padding:16px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}
.feature h3{margin:0 0 6px;font-size:18px}
.feature p{margin:0;color:var(--muted)}
@media (max-width:1024px){.features{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.features{grid-template-columns:1fr}}
.grid{display:grid;gap:var(--gap)}
.grid--screens{grid-template-columns:repeat(3,1fr)}
.grid--screens img{aspect-ratio:16/9;object-fit:cover;border:1px solid var(--border);background:#000}
@media (max-width:1024px){.grid--screens{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.grid--screens{grid-template-columns:1fr}}
.gradient-tail{background:linear-gradient(180deg,var(--bg) 0%,var(--bg-alt) 100%);}
.cta__grid{display:grid;gap:var(--gap);grid-template-columns:1.1fr .9fr;align-items:start}
.form{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.form label{display:block;margin-bottom:8px;color:var(--muted)}
.form__row{display:flex;gap:8px}
.form input{flex:1;padding:12px;border-radius:10px;border:1px solid var(--border);background:#1A1A1A;color:var(--text)}
.form button{white-space:nowrap}
@media (max-width:900px){.cta__grid{grid-template-columns:1fr}}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:10px;border:1px solid var(--border);background:#1A1A1A;color:var(--text);font-weight:700;line-height:1}
.btn:hover{border-color:#484848}
.btn--primary{background:var(--primary);color:#000;border-color:transparent}
.btn--accent{background:var(--accent);color:#000;border-color:transparent}
.btn--ghost{background:transparent}
.footer{padding:28px 0;border-top:1px solid var(--border);color:var(--muted)}
.footer__grid{display:flex;gap:16px;align-items:center;justify-content:space-between}
.footer__nav{display:flex;gap:14px;flex-wrap:wrap}
@media (max-width:640px){.footer__grid{flex-direction:column;align-items:flex-start;gap:10px}}
@media (min-width: 901px) { .hero__copy { margin-left: 24px; }}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  z-index: 1000;
}

.lightbox .close:hover {
  color: var(--primary);
}

.screenshot {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.screenshot:hover {
  transform: scale(1.02);
}


/* Carousel */
.carousel {
  position: relative;
  width: min(100% - 32px, var(--maxw));  /* same width as .container */
  margin-inline: auto;
  user-select: none;
}

.carousel__viewport {
  position: relative;
  aspect-ratio: 16 / 9;       /* big, cinematic */
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  background: #000;
}


.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 300ms ease;
  will-change: transform;
}

.carousel__slide {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;          /* fills like your trailer */
  display: block;
}

/* Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
}
.carousel__arrow:hover { background: rgba(0,0,0,0.75); }
.carousel__arrow:active { transform: translateY(-50%) scale(0.98); }
.carousel__arrow--prev { left: 10px; }
.carousel__arrow--next { right: 10px; }

/* Dots */
.carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #666;
  opacity: 0.8;
  cursor: pointer;
  transition: transform .2s, background .2s, opacity .2s;
}
.carousel__dots button[aria-current="true"] {
  background: var(--primary);
  opacity: 1;
  transform: scale(1.15);
}

@media (max-width: 600px) {
  .carousel { max-width: 100%; }
}

/* Social section */
.section--social {
  background: var(--bg);
  padding: 20px 0 0px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  font-family: "Font Awesome 6 Brands";
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  color: var(--text);
}

.social-icons li::before {
  font-family: "Font Awesome 6 Brands";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  line-height: 1;
}

.social-icons a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.social-icons a:hover {
  color: var(--primary);
}

/* Icon glyphs */
.fa-discord::before { content: "\f392"; }  
.fa-youtube::before { content: "\f167"; }
.fa-instagram::before { content: "\f16d"; }
.fa-facebook::before { content: "\f09a"; }
.fa-linkedin::before { content: "\f08c"; }
