@font-face {
  font-family: 'WonderfulRainbow';
  src: url('assets/fonts/Wonderful Rainbow.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Ensure html/body span full height */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

/* Dot-pattern background container */
.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  --color: rgba(114, 114, 114, 0.3);
  background-color: #191a1a;
  background-image:
    linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent
    ),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent
    );
  background-size: 55px 55px;
  z-index: -1;
}

/* Scrollable content sits above background */
.content-section {
  position: relative;
  z-index: 1;
}

/*───────────────────── Social Links ─────────────────────*/
.socials {
  text-align: center;
  color: white;
  font-family: sans-serif;
  margin-top: 40px;
}

.socials h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: transform 0.2s, opacity 0.2s;
}

.social-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.social-link.twitch,
.social-link.discord,
.social-link.tiktok,
.social-link.steam {
  background: linear-gradient(135deg,  #48484B, #424242);
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  filter: invert(1);
}

/*──────────────── About Me & Stats Containers ─────────────────*/
.about-me-container,
.stats-container {
  position: relative;  
  z-index: 0;
  display: flex;
  justify-content: center;
  margin: 80px 20px;
}

/*──────────────── Gradient Definition ─────────────────*/
:root {
  --card-gradient: linear-gradient(45deg, #ff416c, #ffcc70);
}

/*────────────────── “About Me” & “Stats” Boxes ───────────────────*/
.about-me-box,
.stats-box {
  position: relative;
  z-index: 1;
  background: #48484B;
  color: #fff;
  padding: 30px;
  max-width: 400px; 
  width: 90%;       
  font-family: sans-serif;
  font-size: 18px;   
  line-height: 1.6;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;

  /* Modern box style */
  clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  height: 180px; 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #48484B, #424242);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reveal animation */
.about-me-box.visible,
.stats-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/*────────────────── Stats Box Inner Layout ───────────────────*/
.stats-box .game-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.stats-box .game-name {
  font-weight: bold;
  flex-shrink: 0;
}

.stats-box .rank-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.stats-box .stats-link {
  margin-left: auto;
  color: #f7ba2b;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
}

.stats-box .stats-link:hover {
  opacity: 0.8;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  z-index: 1;
}

.logo-image {
  max-width: 220px;
  width: 100%;
  height: auto;
}


.reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reticle .horizontal-line,
.reticle .vertical-line {
  background: rgba(249, 13, 0, 0.68);
  box-shadow: 0 0 5px rgba(249, 13, 0, 0.68);
}

.reticle .horizontal-line {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 1px;
}

.reticle .vertical-line {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 2px;
  height: 80%;
  transform: translateX(-50%);
  border-radius: 1px;
}

.reticle .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(0, 255, 0, 1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 8px rgba(249, 13, 0, 0.68),
    0 0 16px rgba(249, 13, 0, 0.68);
}

/* ───────────── Screenshot Gallery ───────────── */
.gallery-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  z-index: 1;
  position: relative;
}

.gallery-title {
  color: white;
  font-family: 'WonderfulRainbow', sans-serif;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.screenshot-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0);
  cursor: zoom-in;
}


