@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@200;300;400;700;900&display=swap');

/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
  --color-bg: #070707;
  --color-text: #ffffff;
  --color-accent: #9b2020;
  --color-steam: #8f35a8;
  --color-presskit: #595959;
  
  --font-main: 'Noto Serif', serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: auto;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   NOISE & CURSOR
   ========================================================================== */
#noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 99998;
  opacity: 0.1;
  background: url('../../assets/img/grain.gif');
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px; /* Reduced spacing */
}

.section {
  padding: 0; /* Reduced global padding */
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  height: 650px; /* Exact height requested */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center 0px;
  z-index: -2;
  opacity: 0.75;
}



.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solodev-text {
  color: #ffffff;
  font-family: 'Noto Serif';
  font-size: 24px;
  padding-top: 20px;
  text-align: center;
  letter-spacing: 15px;
}

.hero__logo {
  width: 649px;
  max-width: 90vw;
  padding-top: 50px;
  padding-bottom: 50px;
  filter: saturate(200%);
  mix-blend-mode: hard-light;
  margin-bottom: 0px;
}

.btn-steam {
  font-family: var(--font-main);
  font-size: 30px;
  letter-spacing: 10px;
  padding: 10px 30px;
  background-color: var(--color-steam);
  border: 1px solid var(--color-steam);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s;
  position: relative;
  z-index: 10;
}

.btn-steam:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ==========================================
   SECTIONS & WIDGETS
   ========================================== */
.steam-section {
  padding-top: 30px; /* Spacing below header */
}

.steam-widget {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.trailer-section {
  margin-top: 50px;
}

.section-title {
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 20px;
  letter-spacing: 10px;
  padding-bottom: 20px;
  text-align: center;
  font-weight: 400;
  margin: 0;
}

.video-container {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  margin-bottom: 10px; /* Reduced padding */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-section {
  margin-top: 20px; /* Reduced padding */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery__item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: none;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #bbb;
}

/* ==========================================
   TEXT SECTIONS & FOOTER
   ========================================== */
.text-section {
  margin-top: 50px;
}

.text-heading {
  font-family: var(--font-main);
  font-size: 20px;
  letter-spacing: 10px;
  padding-bottom: 20px;
  font-weight: 400;
  color: #a26dff;
  margin: 0;
  text-align: center;
}

.text-block {
  font-family: var(--font-main);
  font-size: 23px;
  color: #ffffff;
  padding-bottom: 35px;
  padding-left: 20px;
  margin: 0;
  max-width: 1120px;
  text-align: left;
}

.btn-presskit {
  font-family: var(--font-main);
  font-size: 30px;
  letter-spacing: 10px;
  padding: 10px 30px;
  background-color: var(--color-presskit);
  border: 1px solid var(--color-presskit);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 75px;
  transition: background-color 0.3s;
}

.btn-presskit:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.footer {
  margin-top: 80px;
  padding-bottom: 40px;
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 22px;
  text-align: center;
  font-weight: 200;
  padding-left: 10px;
  margin-bottom: 35px;
  letter-spacing: 10px;
}

.oxy-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
}

.oxy-social-icons a {
  display: inline-block;
  width: 50px;
  height: 50px;
  color: #555;
  transition: color 0.3s;
}

.oxy-social-icons a:hover {
  color: #a26dff;
}

.oxy-social-icons svg {
  width: 100%;
  height: 100%;
}

.copyright-text {
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px;
  letter-spacing: 10px;
  text-align: center;
  font-weight: 200;
  padding-left: 10px;
  margin-bottom: 35px;
  margin-top: 36px;
}

.text-block strong { color: #a26dff; }

