:root {
  --fg: #fff;          /* primary text color */
  --muted: rgba(255,255,255,0.75);  /* softer white for secondary text */
  --accent: #DC4A26;   /* keep your accent color */
  --card: rgba(255,255,255,0.05); /* subtle dark translucent for cards */
  --border: rgba(255,255,255,0.15); /* subtle white border */
  --nav-h: 72px;
  --btn-shadow: rgba(220,80,60,.35);
  --content-max: 1100px;
  --gutter: 40px;
}

*{box-sizing:border-box} html,body{margin:0;height:100%} body{font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto; color:var(--fg); }
a{color:inherit;text-decoration:none} img{display:block;max-width:100%}
body {
  margin: 0;
  padding-top: var(--nav-h); /* use your defined nav height */
  background-color: #000; /* or same as nav/hero edge color */
  font-family: 'FiraGo-Book', FiraGo, sans-serif; /* use your preferred font */
}
.logo{height:36px} .logo--sm{height:28px}
.container-left-pad{
  padding-left: max(var(--gutter), calc((100vw - var(--content-max))/2 + var(--gutter)));
  padding-right: var(--gutter);
}
/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);

  background-image: url('../img/bgnav.png');
  background-size: cover; /* stretch to fill both width and height */
  background-position:left;
  background-repeat: no-repeat;

  /* NEW: ensure it spans the full viewport height of its own row */
  background-color: #000; /* fallback if image doesn't load */
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;          /* centers the content inside */
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav__right {
  display: flex;
  gap: 5vw;
  align-items: center;
}

.nav__link {
  opacity: .9;
}

.nav__link:hover,
.is-active {
  opacity: 1;
}

.nav__lang {
  opacity: .7;
}

.hero {
  display: flex;                /* simpler than grid for centered content */
  flex-direction: column;       /* stack children vertically */
  justify-content: center;      /* center vertically */
  align-items: center;          /* center horizontally */
  text-align: center;           /* center text */
  padding: 0 20px;
  min-height: 70vh;
  margin-top: 0;

  background-image: url('../img/bg1.png');
  background-size: cover;       /* keep ratio while covering area */
  background-position: center;
  background-repeat: no-repeat;
}

.hero__branding {
  display: flex;
  flex-direction: column;       /* stack brandname and logo vertically */
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__brandname {
  font-size: clamp(72px, 3vw, 88px);
  font-weight: 600;
  color: var(--fg);
  font-family: 'Barbu', sans-serif; /* use your preferred font */
  letter-spacing: 0.1em;
  margin-bottom: 16px;


}

.hero__small {
  color: var(--muted);
  margin-bottom: 10vh;
  max-width: 660px;      /* keeps text in a nice column */
  text-align: center;    /* center the lines */
  margin-left: auto;     /* centers block horizontally */
  margin-right: auto;
  line-height: 1.6;      /* extra readability */
  font-family: 'FiraGo-Book', sans-serif; /* use your preferred font */

}

.hero__biglogo {
  height: 20vh;
}

/* =========================
   CARD
========================= */
.card {
  position: relative;
  background: var(--card);
  overflow: hidden;
  min-height: 320px;
}

.card__image {
  height: 100%;
  background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
}

.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(
          0deg,
          rgba(0, 0, 0, 0.55) 30%,
          transparent 70%
  );
}

.card__title {
  font-size: 24px;
  font-weight: 800;
}


.card__hover {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s;
}

.card:hover .card__hover {
  opacity: 1;
}

/* =========================
   FEATURED BANNER
========================= */
.featured {
  width: 100%;

}

.featured__card {
  position: relative;
  width: 100%;
  height: clamp(260px, 50vw, 520px); /* min, responsive, max */
  overflow: hidden;
  background: #000;
}

.featured__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill frame without distortion */
  object-position: center;
}

.featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
          0deg,
          rgba(0, 0, 0, 0.55) 20%,
          rgba(0, 0, 0, 0.15) 60%,
          rgba(0, 0, 0, 0.55) 100%
  );
}

.featured__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* keep them vertically centered as a group */
  align-items: flex-start;      /* left-align everything */
  text-align: left;
  color: var(--fg);
  padding-left: max(var(--gutter), calc((100vw - var(--content-max))/2 + var(--gutter)));
  padding-right: var(--gutter);/* NEW: equal spacing between all children */
}

.featured__title {
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-family: Barbu, sans-serif;
  margin: 0 0 30px 0;
}

.featured__desc {
  max-width: 720px;
  margin: 0 0 10vh;
}

/* Button */
.btn {
  display: inline-block;
  padding: 5px 50px;
  border-radius: 999px;
  font-size: 1.4rem;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(255,255,255,.08);
  color: var(--fg);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent, #10b981);
  color: var(--fg);
  border-color: transparent;
  box-shadow: 0 6px 18px var(--btn-shadow);
}
.btn--primary:hover { box-shadow: 0 8px 24px var(--btn-shadow); }

.about {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  background: url('../img/bg2.png') center/cover no-repeat;
  color: var(--fg);
  overflow: hidden; /* prevent overlay overflow */
  padding-left: max(var(--gutter), calc((100vw - var(--content-max))/2 + var(--gutter)));
  padding-right: var(--gutter);
}


/* Content stays above both backgrounds */
.about__content {
  position: relative;
  z-index: 2;
  max-width: 500px;

}

.about__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  margin: 10vh 0 20px;

  font-family: 'FiraGo-Heavy', sans-serif; /* use your preferred font */
}

.about__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: justify;      /* both edges flush */
  text-justify: inter-word; /* smoother word spacing */
}

.about__text p {
  margin-bottom: 1.2em;     /* space between paragraphs */
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .about__content {
    max-width: 90%;
  }
}

.team {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 30px 20px 40px;
  background: url('../img/bg3.png') center/cover no-repeat; /* full stretch background */
  color: var(--fg);
}

.team h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: .02em;
  margin: 5vh auto 10vh;
  text-align: center;
  font-family: 'FiraGo-Heavy', firago; /* use your preferred font */
}

.team__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 24px;
  justify-items: center;
  padding: 0;
  max-width: var(--content-max);
  margin-inline: auto;
}

.team__card {
  background: none;
  border: none;
  text-align: center;
  position: relative;
  z-index: 1; /* sits above background */
  font-family: 'Barbu', sans-serif; /* use your preferred font */

}
.avatar-wrap{
  width:auto; height:auto;
  border-radius:0; overflow:visible; background:none;
  margin:0 0 16px;            /* was 0 auto 16px */
}

.team__avatar{
  display:block;
  margin:0 auto 16px;         /* centers the img */
  width:auto; height:auto;
  max-width:160px; max-height:160px;
  object-fit:contain; border-radius:0;
}


/* Optional: smaller on phones */
@media (max-width:900px){
  .team__avatar{ max-width:140px; max-height:140px; }
}
.team__card h3{
  letter-spacing: 0.1em;     /* adjust to taste (.02–.06em) */
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.team__card p {
  margin: 0;
  color: var(--muted);
  font-family: 'FiraGo-Book', sans-serif; /* use your preferred font */
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .team__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


.contact {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  min-height: 35vh;
  font-family: 'FiraGo-Heavy', sans-serif;
  text-align: center;   /* center everything */
}

.contact h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 24px;
}

.contact a {
  display: inline-block;
  color: var(--fg);
  font-size: 2rem;       /* size of the icon */
  transition: transform 0.2s ease;
}

.contact a:hover {
  transform: scale(1.1);
  color: var(--accent);
}
@font-face {
  font-family: 'Barbu';
  src: url('../fonts/BARBERCHOP.OTF') format('opentype');  
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FiraGo-Book';
  src: url('../fonts/FiraGO-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FiraGo-Heavy';
  src: url('../fonts/FiraGO-Heavy.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


.game__framewrap {
  --game-h: 80vh;

  position: relative;  
  width: 100vw;                   /* span full viewport width */
  margin-left: calc(50% - 50vw);  /* escape any parent max-width constraints */
  height: var(--game-h);

  background: #000;
  overflow: hidden;
}

/* iframe itself */
.game__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;       /* fill wrapper horizontally */
  height: 100%;      /* fill wrapper vertically */
  border: 0;
  display: block;
  background: #000;
}

/* responsive tweak */
@media (max-width: 900px) {
  .game__framewrap { --game-h: 70vh; }
}

/* optional full-height variant */
.game__framewrap.full {
  --game-h: calc(100vh - var(--nav-h));
}