@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Pixelify+Sans:wght@400..700&display=swap');

* {
    box-sizing:border-box;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: auto;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 95vh;
    background-image: url("/files/images/sky.webp");
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: absolute;
    left: 8%;
    top: 45%;
    transform: translateY(-50%);
    max-width: 500px;
    z-index: 2;
}

.hero-content img {
    filter:
        drop-shadow(1px 0 0 #fff)
        drop-shadow(-1px 0 0 #fff)
        drop-shadow(0 1px 0 #fff)
        drop-shadow(0 -1px 0 #fff);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.10);
}

.hero-content {
    position: relative;
    z-index: 3;
}

@media (min-width: 768px) {
    .hero {
        height: 700px;
    }
     .site-header {
     padding-left: 8%;
     padding-right: 8%;
 }
} 

@media (max-width: 800px) {
    .hero-content {
        position: absolute;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
}

.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 8px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 180px;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(
            ellipse 300px 120px at 20% 100%,
            rgba(120,160,255,.35),
            transparent 70%
        ),
        radial-gradient(
            ellipse 400px 180px at 50% 100%,
            rgba(140,180,255,.30),
            transparent 75%
        ),
        radial-gradient(
            ellipse 300px 120px at 80% 100%,
            rgba(120,160,255,.35),
            transparent 70%
        ),
        linear-gradient(
            to bottom,
            rgba(15,25,60,.85) 0%,
            rgba(70,100,180,.45) 50%,
            rgba(70,100,180,0) 100%
        );
    filter: blur(25px);
}

.header-left img {
    vertical-align: middle;
    filter:
        drop-shadow(1px 0 0 #fff)
        drop-shadow(-1px 0 0 #fff)
        drop-shadow(0 1px 0 #fff)
        drop-shadow(0 -1px 0 #fff);
}

.header-left,
.menu-btn {
    display: flex;
    align-items: center;
}

.menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
}

.menu-btn img {
  vertical-align: middle;
}

.site-header {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.site-header.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

#menuOverlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: none;
}

:root {
--pad: clamp(20px, 6vw, 80px);
}

.games-section {
  padding: 20px var(--pad);
  background: #fff;
  color: #111;
}

.about-section {
  padding: 120px var(--pad);
  background: #f5f5f5;
  color: #111;
}

.news-section {
  padding: 100px var(--pad);
  background: #fff;
  color: #111;
}

.cta-section {
  padding: 50px var(--pad);
  background: #111;
  color: #fff;
  text-align: center;
  border-radius: 8px 8px 0px 0px;
}

.footer {
  padding: 80px var(--pad) 30px;
  background: #000;
  color: #fff;
}

.section-head span,
.about-section span,
.cta-section span {
  font-family: "Geist", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .6;
  font-size: .85rem;
}
/*
.section-head h2,
.about-section h2,
.cta-section h2 {
  margin: 12px 0 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: .95;
}

*/

.section-head h2,
.about-section h2,
.cta-section h2 {
  margin: 12px 0 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: .95;
  display: inline-flex;  /* Keeps heading inline while enabling flex layout */
  align-items: center;   /* Vertically centers the icon with the text */
  gap: 0.25em;           /* Adds a fluid space between the icon and text */
}

.section-head h2 img,
.about-section h2 img,
.cta-section h2 img {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}


.games-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.game-card .f-img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.game-card h3 {
  margin: 18px 0 8px;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.7rem;
}

.game-card p {
  margin: 0;
  font-family: "Geist", sans-serif;
  line-height: 1.7;
  opacity: .75;
}

.game-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  text-decoration: none;
  color: inherit;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
}

.platform:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .25s ease;
}

.platform img {
  width: 18px;
  height: 18px;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.about-grid p {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-size: 1.15rem;
  line-height: 1.9;
}

.news-list {
  margin-top: 50px;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-top: 1px solid #e5e5e5;
  color: inherit;
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
}

.cta-section p {
  max-width: 600px;
  margin: 20px auto 40px;
  font-family: "Geist", sans-serif;
  line-height: 1.8;
  opacity: .75;
}

.cta-btn {
  display: inline-block;
  padding: 16px 28px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  border-radius: 999px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h3,
.footer h4 {
  margin-top: 0;
  font-family: "Inter Tight", sans-serif;
}

.footer p,
.footer a {
  display: block;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-family: "Geist", sans-serif;
  margin-bottom: 12px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: "Geist", sans-serif;
  opacity: .6;
}

@media(max-width:900px) {
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
}