@charset "utf-8";

/* body {
  font-family: "Inter", sans-serif;
  background-color: #1a1a1a;
  color: #eee;
} */

/* https://www.joshwcomeau.com/css/custom-css-reset/ */
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  3. Allow percentage-based heights in the application
*/
html, body {
  height: 100%;
}

/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  6. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
  7. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}

/*
  8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

.wrapper-main, .wrapper-header, .wrapper-footer {
  width: 100%;
  margin: 0 auto;
  max-width: 1400px;
}

/* Sticky Footer */
.wrapper {
  min-height: calc(100vh - 40px);
}

.wrapper-footer {
  height: 40px;
}

/* End Sticky Footer */
/* Style inspiration and settings adapted from https://github.com/jgthms/web-design-in-4-minutes*/
/* Base */
html {
  font-size: 22px;
}

/* 01 Font family */


.wrapper {
  position: relative;
  z-index: 2;
  background: transparent; /* ✅ allows bg-title to show through */
}


/* 03 Spacing */
.padded {
  padding-top: 30px;
  padding-bottom: 30px;
  line-height: 30px;
}

.main-content {
  padding-top: 30px;
  padding-bottom: 30px;
  line-height: 30px;
}

div.main-content h2 {
  padding-top: 15px;
  padding-bottom: 5px;
}

header h1, h5 {
  display: inline;
}

/* 04 Color and contrast */
body {
  background-color: #1e1e1e;
  color: #c5ccce;
  line-height: 1.5;
  font-family: "Dosis", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.6s ease;
}


h1,
h2,
strong {
  color: #dcdede;
}

header h5 {
  font-weight: lighter;
}

/* 05 Balance */
code {
  padding: 2px 4px;
  vertical-align: text-bottom;
}

/* 06 Primary color */
a {
  color: #ffffff;
}

/* 07 Secondary colors */
h1,
h2,
strong {
  font-weight: 500;
}

.footer-text {
  display: block;
  position: relative;
  font-size: 14px;
}



/* HEADER */
/* Full-width fixed header */
.wrapper-header,
.header {
  max-width: none !important;
  width: 100%;
  margin: 0;
  padding: 1rem 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #1e1e1e;
  padding: 0rem 0;
  transition: transform 0.4s ease;
  pointer-events: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-reveal-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* how tall the trigger zone is */
  z-index: 9998; /* just below header */
  pointer-events: none;
}


/* When hidden, slide header up */
.header.hidden {
  transform: translateY(-100%);
}


body {
  padding-top: 110px; /* offset so content isn't covered */
}

/* Left section (photo + text) */
.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;              /* gap between image and text */
  padding-left: 1rem;     /* space from left edge */
  
}

.header-left img {
  width: 150px;
  height: auto;
  border-radius: 2px;
  flex-shrink: 0;
}

.header-text h1 {
  margin-bottom: 0;
}

.header-text h5 {
  margin: 0.2rem 0 0.6rem;
}

/* Center section (nav) */
.header-center {
  text-align: center;  /* space between profile and nav */
  margin-top: 1rem;
}

.nav-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  font-family: "Dosis", sans-serif;
  font-variation-settings: "wght" 400; /* sets default weight */
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
}

.nav-display a {
  text-decoration: none;
  color: inherit;
  padding: 0.2rem 0.4rem; /* ensures hover area matches text width */
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
  font-variation-settings: "wght" 400;
}

/* Hover animation */
.nav-display a:hover {
  font-variation-settings: "wght" 700; /* increase weight dynamically */
  color: #fff;
}






.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-center {
  text-align: center;
}

.post-item {
  display: block;
  position: relative;
  line-height: 24px;
  padding-bottom: 5px;
  margin: 5px 0;
}

.post-summary {
  padding-top: 30px;
  padding-bottom: 30px;
}

.post-nav {
  padding-top: 100px;
  text-align: center;
}

.category-summary {
  padding-top: 30px;
  padding-bottom: 30px;
}

.category-all-nav, .category-header {
  display: block;
  position: relative;
  line-height: 24px;
  margin: 5px 0;
  padding-bottom: 10px;
  padding-top: 10px;
}

.post-info {
  padding-bottom: 30px;
  margin: 20px 0 5px;
  padding-top: 20px;
}

.post-content {
  line-height: 35px;
  padding-bottom: 50px;
}

.post-content h1, h3, code, pre {
  padding-bottom: 10px;
  padding-top: 10px;
}

.post-content h2 {
  padding-bottom: 20px;
  padding-top: 20px;
}

@media only screen and (max-width: 479px) {
  .mobile-hide {
    display: none !important;
  }
  .footer-text {
    float: left !important;
  }
  html {
    margin: 1em !important;
  }
}

/* ========================= */
/* ABOUT SECTION */
/* ========================= */
#about-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 4rem 2rem;
  color: #eee;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1000px;
  width: 80vw;
}

.about-photo {
  width: 220px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.about-text {
  max-width: 600px;
  line-height: 1.6;
}

.about-text h1 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.about-text h5 {
  margin-top: 0;
  font-weight: 400;
  color: #aaa;
}

.about-links a {
  color: #7e92a2;
  text-decoration: underline;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo {
    width: 160px;
  }
}


/*# sourceMappingURL=styles.css.map */
#games-page {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  padding: 2rem 4rem; /* added side padding for bg-title clearance */
  overflow: visible;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two items per row */
  gap: 2rem; /* slightly larger spacing for scaled thumbnails */
  max-width: 1100px;
  width: 100%;
  perspective: 1000px;
  overflow: visible;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
  min-height: 200px;
  position: relative;
  z-index: 1;
}

.game-entry {
  text-decoration: none;
  display: block;
  width: 100%;
  max-width: 66vw;
  justify-self: center;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
  position: relative;
}

.game-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 640; /* Display full-screen ratio thumbnails */
  overflow: hidden;
  /* border-radius: 8px; */
  background: #2a2a2a;
}

.game-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.1s ease-out;
  filter: brightness(1);
}

.game-overlay {
  display: none;
}

.game-title {
  margin-top: 1rem;
  font-size: 1rem;
  color: #dcdede;
  text-align: center;
  width: 100%;
}

@media only screen and (max-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Films */
#films-page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* center whole section contents */
  
}

#films-page .film-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;       /* ✅ horizontally centers each film-card */
  justify-content: center;
  gap: 3rem;                 /* Reduced from 5rem for tighter spacing */
  width: 100%;               /* fill available width */
  padding: 4rem 0;
  margin: 0 auto;
}

.film-card {
  width: 90vw;               /* take 90% of viewport width */
  max-width: 1000px;        /* limit on large screens - increased for bigger display */
  margin: 0 auto;            /* ✅ center in its parent */
  text-align: center;
  z-index: 3;
}

.film-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* border-radius: 8px; */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.film-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;            /* ✅ no off-center inline behavior */
  border: none;
  /* border-radius: 8px; */
}

.film-title {
  color: #eee;
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
}

.film-description {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  max-width: 900px;         /* increased to match larger card width */
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  opacity: 0.9;
}


/* Responsive scaling */
@media (max-width: 900px) {
  .film-card {
    width: 95vw;
    max-width: none;
  }
}







/* Photos Section */
.photos-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 0.5rem;
  max-width: 90vw;
  margin: 2rem auto;
  padding: 2rem 0;
  justify-items: center;   /* centers each item in its column */
}

.photo-item {
  width: 100%;
  max-width: 400px;        /* prevents them from getting too huge on wide screens */
  cursor: pointer;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
  position: relative;
}

.photo-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Fullscreen popup (modal) */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.photo-modal.active {
  display: flex;
}

.photo-modal img {
  max-width: 90%;
  max-height: 90%;
  /* border-radius: 8px; */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}



/* Shared section setup */
section {
  position: relative;
  width: 100%;          /* ✅ no horizontal overflow */
  min-height: 100vh;
  overflow: visible;
  padding: 1rem 0;  /* Reduced from 2rem for tighter spacing */
  box-sizing: border-box;
  transition: background-color 0.6s ease;
  background-color: transparent; /* sections don't have their own bg, body does */
}




/* Background title shared style */
.bg-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18vw;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.2em;
  pointer-events: none;
  user-select: none;
  font-family: "Bitcount Grid Single", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  z-index: 0;  /* place behind wrapper content */
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
  white-space: nowrap;
}

.bg-title-grid {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: minmax(8vw, auto);
  justify-items: center;
  align-items: center;
  gap: 1vw 1.8vw;
  pointer-events: none;
  z-index: 0;
}

.bg-title-grid-item {
  width: 90%;
  opacity: 0.08;
  color: rgba(255, 255, 255, 0.08);
  font-family: "Bitcount Grid Single", sans-serif;
  font-size: 3.6vw;
  line-height: 0.95;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6vw;
}

.bg-title.bg-title-side {
  font-size: 22vw;
  width: 55vw;
  max-width: none;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.14;
}

.bg-title.bg-title-side.left {
  left: -8vw;
  text-align: left;
}

.bg-title.bg-title-side.right {
  right: -8vw;
  left: auto;
  text-align: right;
}

#about-page .bg-title {
  display: none !important;
}

/* Different BG-TITLE styles per section */

/* GAMES - Mustard Yellow */
#games-page .bg-title {
  color: #d4a500; /* Mustard Yellow */
  opacity: 0.5;  /* Increased from 0.15 for half transparent */
}

/* FILMS - Brick Red */
#films-page .bg-title {
  color: #a2472f; /* Brick Red */
  opacity: 0.5;  /* Increased from 0.15 for half transparent */
}

/* PHOTOS - Burnt Orange */
#photos-page .bg-title {
  color: #cc5500; /* Burnt Orange */
  opacity: 0.5;  /* Increased from 0.15 for half transparent */
}



/* OnSmallScreen */
@media (max-width: 768px) {

  /* make header compact */
  .header {
    padding: 1rem 0;             /* less vertical space */
  }

  .header-left {
    flex-direction: column;      /* stack photo and text vertically */
    align-items: center;
    gap: 0.5rem;
    padding-left: 0;
    text-align: center;
  }

  .header-left img {
    width: 100px;                /* smaller profile image */
  }

  .header-center {
    margin-top: 0.5rem;
  }

  .nav-display {
    flex-direction: column;      /* stack links instead of one row */
    gap: 1rem;                   /* reduce huge 6rem gap */
    font-size: 1.2rem;           /* smaller nav text */
  }

  body {
    padding-top: 180px;          /* increase offset if stacked layout grows */
  }

  /* Mobile fixes for photos and films */
  .photos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  width: 100%;
  padding: 1rem 0;
  margin: 0 auto;
  gap: 1rem;
}

.photo-item {
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

  #photos-page .bg-title-grid-item {
    font-size: 2.5vw;
    opacity: 0.05;
  }

  #films-page .film-gallery {
    padding: 2rem 1rem;
  }

  .film-card {
    width: 100%;
    max-width: 95vw;
  }
  .bg-title-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));  /* 8 → 4 columns */
    gap: 2vw 3vw;                                       /* more breathing room */
  }

  #photos-page .bg-title-grid-item {
    font-size: 2.5vw;
    opacity: 0.05;
  }
}



/* CursorTrail 
#mouse-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: lighten; }/* or 'screen' / 'difference' for different moods */



