/*------------------------------------------------------------
  Global Styles
------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  --color-bg: #17626E;
  --color-text: #ffffff;
  --color-header: #EEE1D0;
  --color-primary: rgb(143, 223, 219);
  /* button / accent */
  --color-card-border: #2f7aff;
  --color-card-bg: rgba(47, 122, 255, 0.08);
  /* --max-width: 1100px; */
}

/*------------------------------------------------------------
  Custom Fonts
------------------------------------------------------------*/
@font-face {
  font-family: 'MainFont';
  src: url('assets/font.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NavFont';
  src: url('assets/font2.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'MainFont', sans-serif;
  /* background: var(--color-bg);
  background:none; */
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: var(--color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-header);
  font-weight: 800;
  letter-spacing: 0.5px;
}

h1.headline {
  /* font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); */
  text-align: center;
  margin-bottom: 2rem;
  /* color: #fff; */
}

.divider {
  border: none;
  height: 1px;
  background-color: #ffffff50;
  margin: 0.5rem 0;
}

/*------------------------------------------------------------
  Video Background
------------------------------------------------------------*/

/* Fullscreen video background */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-bg video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  transform: scale(1.5);
}


/* Foreground content */
.site-content {
  position: relative;
  z-index: 1;
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/*------------------------------------------------------------
  Logo Section
------------------------------------------------------------*/

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: auto;
}

.logo-wrapper .logo {
  width: 750px;
  max-width: 90%;
  transform: translateX(3px);
}

/*------------------------------------------------------------
  Main Container Bgs
------------------------------------------------------------*/

.wave-bg {
  margin: auto;
  width: 95%;
  max-width: 960px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.main-content {
  background: linear-gradient(to bottom, #103e46, #103e468c);
  margin: auto;
  margin-top: 0;
  width: 95%;
  max-width: 960px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-content {
  height: auto;
}

.content-wrapper {
  margin-top: clamp(1rem, 5vw, 4rem);
}

/*------------------------------------------------------------
  Headline
------------------------------------------------------------*/
.headline {
  color: var(--color-header);
  font-weight: 800;
  font-size: clamp(.1rem, 3.1vw, 2rem);
  text-align: center;
  text-wrap: nowrap;
  width: 100%;
  margin-top: clamp(.5rem, 5vw, 1rem);
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
}

.headline span {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  animation: fadeUp 1.5s ease-in-out forwards;
}

/* Delay each word */
.headline span:nth-child(1) {
  animation-delay: 0s;
}

.headline span:nth-child(2) {
  animation-delay: 0.3s;
}

.headline span:nth-child(3) {
  animation-delay: .6s;
}

.headline span:nth-child(4) {
  animation-delay: 0.9s;
}

.headline span:nth-child(5) {
  animation-delay: 1.25s;
}

.headline span:nth-child(6) {
  animation-delay: 1.5s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*------------------------------------------------------------
  Intro / Trailer
------------------------------------------------------------*/
.trailer {
  overflow: hidden;
}

.trailer-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
}

.trailer iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  display: block;
}

/*------------------------------------------------------------
  Steam Widget
------------------------------------------------------------*/

.steam-widget-wrapper {
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
  margin-top: clamp(-.5rem, 1vw, .5rem);
  margin-bottom: clamp(.5rem, 1vw, 1rem);
}

.steam-widget {
  width: 100%;
  height: 190px;
  border: none;
  display: block;
}

/*------------------------------------------------------------
  Linktree 
------------------------------------------------------------*/

.linktree-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
}

.icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  position: absolute;
  left: 12px;
  /* space from left edge */
}

.link-btn,
.link-btn-discord,
.link-btn-presskit {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background: #122936;
  background: linear-gradient(45deg, #0b2727c9, #012327c4);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  width: 100%;
  font-size: clamp(.45rem, 2.75vw, 1rem);
}

.link-btn-discord {
  background: #5865f2;
  color: #E0E3FF;
}

.link-btn-presskit {
  background: #372c26;
  color: #efdbc3;
}

.link-btn:hover {
  background: #136666;
  transform: scale(1.05);
}

.link-btn-discord:hover {
  background: #4c57cf;
  color: #ffffff;
  transform: scale(1.05);
}

.link-btn-presskit:hover {
  background: #42332c;
  color: #ffffff;
  transform: scale(1.05);
}

/*------------------------------------------------------------
  Feature Cards
------------------------------------------------------------*/
.features {
  display: flex;
  flex-direction: column;
  gap: clamp(.5rem, 2vw, 2rem);
  margin-top: 1.5rem;
  margin-bottom: 5rem;
}

.feature-card {
  max-width: 960px;
  margin: 0 auto;
}

.join-discord,
.gif1,
.gif2,
.gif3,
.gif4 {
  display: block;
  margin: auto;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  clip-path: polygon(4% 0, 95% 0, 100% 8%, 100% 87%, 96% 100%, 5% 100%, 0 91%, 0 11%);
  overflow: hidden;
  width: 100%;
  max-width: 600px;
}

.feature-card img {
  margin: 0 auto .35rem;
  display: block;
  width: 600px;
  max-width: 100%;
}

.feature-card h2 {
  text-align: center;
  font-size: 1.65rem;
  margin-bottom: .5rem;
  line-height: 1.1;
  width: 100%;
  color: var(--color-header);
  font-size: clamp(.75rem, 4.25vw, 2.5rem);
  margin-top: clamp(.25rem, 1.75vw, 1rem);
  margin-bottom: clamp(.25rem, 1.75vw, 1rem);
}

.feature-card p {
  text-align: center;
  margin: auto;
  font-size: .88rem;
  color: var(--color-text);
  max-width: 520px;
  line-height: 1.25;
  width: 100%;
  font-size: clamp(.25rem, 2.85vw, 1.1rem);
  margin-top: clamp(.25rem, 1.75vw, .5rem);
  margin-bottom: clamp(.25rem, 1.75vw, .5rem);
}

.headline {
  color: var(--color-header);
  font-weight: 800;
  text-align: center;
  width: 100%;

}


/*------------------------------------------------------------
  Press Kit Page
------------------------------------------------------------*/
.presskit-page {
  color: var(--color-text);
  line-height: 1.33;
}

.presskit-header {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.presskit-wrapper {
  background: linear-gradient(to bottom, #103e46, #103e468c);
  height: auto;
  max-width: 1200px;
  margin: auto;
  display: grid;
}

.presskit-container {
  height: auto;
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

/* Left Column Styles */
.presskit-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.presskit-logo {
  width: 100%;
  max-width: 400px;
  margin-bottom: 1rem;
}

.presskit-left h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.presskit-left p {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.download-all {
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.download-all a,
.presskit-left a {
  color: var(--color-primary);
  text-decoration: underline;
}

.presskit-left a:hover {
  color: #fff;
}

/* Factsheet list styling */
.factsheet-list {
  margin: 0;
}

.factsheet-list dt {
  display: block;
  margin-top: 1rem;
  font-family: 'NavFont', sans-serif;
  font-weight: 800;
  color: #EEE1D0;
  letter-spacing: 0.03em;
}

.factsheet-list dd {
  display: block;
  margin: 0.15rem 0 0.75rem 0;
}

/* Right Column Styles */
.presskit-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.presskit-right h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
}

.image-grid img {
  width: 100%;
  height: auto;
  border: 2px solid var(--color-card-border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.image-grid img:hover {
  border-color: #6DD1FF;
}

.video-links a,
.asset-links a {
  color: var(--color-primary);
  text-decoration: underline;
  display: block;
  margin-bottom: 0.5rem;
}

.video-links a:hover,
.asset-links a:hover {
  color: #fff;
}

/* Full-width assets section below two columns */
.presskit-assets {
  grid-column: 1 / -1;
  /* span both columns */
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.presskit-assets h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.presskit-assets h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.asset-grid>a {
  /* border: 2px solid var(--color-card-border); */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, border-radius 0.2s ease;
}

.asset-grid video,
.asset-grid img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.asset-grid video:hover,
.asset-grid img:hover {
  transform: scale(1.05);
}

.gallery-item-company {
  max-height: 180px;
}

.asset-grid>a:hover {
  border-color: #6DD1FF;
  border-radius: 0px;
}

/* Per-thumbnail download button (presskit assets) */
.asset-download {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #ffffff;
  z-index: 2;
  opacity: 0;
  /* hidden by default */
  pointer-events: none;
  /* don't block clicks when hidden */
  transition: opacity 0.18s ease;
  /* minimal fade */
}

.asset-download i {
  font-size: 1.1rem;
}

.asset-grid>a:hover .asset-download {
  background: transparent;
  border: none;
  transform: none;
  opacity: 1;
  /* show on hover */
  pointer-events: auto;
  /* clickable on hover */
}

/* Footer */
.presskit-footer {
  background-color: #0a212548;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  margin-top: 2rem;
}

/* Presskit Social Icons */
.presskit-social-icon {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.presskit-social-icon svg {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
  fill: white;
  transition: fill 0.2s ease;
}

.presskit-social-icon:hover {
  transform: scale(1.5);
}

.presskit-social-icon:hover svg path {
  fill: var(--color-primary) !important;
}

.presskit-social {
  margin-top: .65rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .presskit-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/*------------------------------------------------------------
  Gallery / Carousel
------------------------------------------------------------*/
.gallery {
  margin: auto;
  margin-top: clamp(-2.5rem, 3.5vw, -5.5rem);
  margin-bottom: clamp(1rem, 3.5vw, 3rem);
}

.gallery-container {
  position: relative;
}

/* Hide original grid */
.gallery-grid {
  display: none;
}

/* Carousel styles */
.carousel {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.carousel-image {
  width: 100%;
  cursor: pointer;
  border: 0px solid var(--color-card-border);
  border-radius: 0px;
  display: block;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/*------------------------------------------------------------
  Lightbox (unchanged)
------------------------------------------------------------*/
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80vh;
  margin: 0 auto;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: none;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  transition: opacity 180ms ease;
  /* a touch lighter fade */
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1001;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* Download button in lightbox */
.lightbox-download {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-download:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.lightbox-download i {
  font-size: 1.1rem;
}

/*------------------------------------------------------------
  Footer
------------------------------------------------------------*/
.site-footer {
  text-align: center;
  width: 100%;
}

.footer-container {
  background-color: #0a212548;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/*------------------------------------------------------------
  Responsive
------------------------------------------------------------*/
@media (max-width: 1000px) {}

/* Tablet & Mobile */
.wave-bg {
  pointer-events: none;
}

.video-bg video{
  pointer-events: none;
  overflow: hidden;
}

.gif1,
.gif2,
.gif3,
.gif4 {
  overflow:hidden;
}

/* video {
  pointer-events: none;
}


video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

video::-webkit-media-controls-overlay-enclosure {
  display: none !important;
} */

/* Go Top Button */

#goTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background-color: #1f748a;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  /* hidden by default */
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

#goTopBtn:hover {
  background-color: #122936;
  transform: scale(1.1);
}