

/*#REGION Rest & Base Styles */
html, body {
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: #213456;
  color: whitesmoke;
  font: 14px/1.4 'Trebuchet MS', Arial, Helvetica, sans-serif;
}

a {
  color: #ffec9f;
  text-decoration: none;
}

a:hover {
  color: #e78630;
  text-shadow: 0 0 1px #000;
}
/*#ENDREGION */

/*#REGION Header ---------- */

#mmg-header {
  background: linear-gradient(#324f82, #213456, #213456, #213456, #324f82);
  text-shadow: 0 0 3px #000, 0 0 2px #000, 0 0 1px #000;

  display: flex;
  align-items: center;        /* vertically centers logo + text */
  gap: 2rem;                  /* space between logo and text */
  padding: 0 2rem;            /* horizontal breathing room */

	min-height: 80px;
	height: auto;
	max-height: none;
}

/* Logo stays simple */
#mmg-header-logo {
	min-height: 80px;
	height: 8vw;
	max-height: 155px;
}

/* Wrap title + tagline together */
.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

/* Title */
#mmg-blog-title {
  font-size: clamp(28px, 4vw, 60px);
}

/* Tagline */
#mmg-tag-line {
  font-size: clamp(16px, 2vw, 32px);
  color: lightgray;
}
/*#ENDREGION */


/*#REGION Navigation Menu ---------- */

.mmg-menu {
  background-color: #9b5900;
  border-style: solid none;
  border-color: #f68c00 #000 #693c00;
  border-width: 1px;
  font-size: 1.5em;
  font-variant: small-caps;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;

	padding: 0.5rem 2rem;
	position: relative;
}

.mmg-menu-link {
  color: #ffec9f;
  /*padding: 0 5px;*/
  display: flex;
  align-items: center;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.mmg-menu-link:hover {
  color: #ffffff;
  text-shadow: 0 0 6px #ffd27f;
}

/* Left spacer takes up all available space on the left */
.mmg-left-spacer { margin-right: auto; }

/*#ENDREGION */

/* ---------- 4. Content Boxes ---------- */

/* Container that holds all game boxes */
.mmg-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 2%;
}

/* Each game box is now a clickable card */
.mmg-game-box {
  display: block;
  background-color: #162239;
  border-radius: 10px;
  box-shadow: 0 0 2px #f7d565;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Hover effect to make it feel interactive */
.mmg-game-box:hover {
  transform: scale(1.04);
  box-shadow: 0 0 5px #ffda85;
}

/* Game images fill the box */
.mmg-game-box img {
  width: 100%;
  height: auto;
  display: block;
}


/*#REGION Social media link ---------- */
.mmg-social {
	margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Social links */
.mmg-social-link svg {
  width: 28px;
  height: 28px;
  fill: #ffec9f;
  transition: fill 0.2s ease, transform 0.2s ease;
    display: block;
  align-items: center;
}

/* Hover effect */
.mmg-social-link:hover svg {
  fill: #ffffff;
  transform: scale(1.15);
}

.mmg-social-link img {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform 0.2s ease;
}

.mmg-social-link:hover img {
  transform: scale(1.15);
}
/*#ENDREGION */


/*#REGION Video embed ---------- */

.mmg-video-wrapper {
  position: relative;
  width: 100%;              /* Let it expand fully */
  max-width: 960px;         /* Optional: cap the size so it doesn't get too huge */
  margin: 0 auto 2rem;      /* Center it and add spacing */
  padding-bottom: 56.25%;   /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.mmg-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}


/*#ENDREGION */

/*#REGION Screenshots ---------- */

.mmg-screenshots {
  text-align: center;
}

.mmg-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}


.mmg-shot img {
  width: 100%;
  border-radius: 12px;          /* Rounded corners */
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mmg-shot:hover img {
  transform: scale(1.05);       /* Slight zoom */
  filter: brightness(1.1);      /* A bit of pop */
}


/* Lightbox overlay */
#mmg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

/* The enlarged screenshot */
#mmg-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px #000;
}



/*#ENDREGION */



/*#REGION Footer ---------- */
#mmg-footer-short {
  position: fixed;
  left: 0;
  bottom: 2px;
  width: 100%;
  text-align: center;
  padding-top: 10px;
}

#mmg-footer-long {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 10px 0 5px;
}
/*#ENDREGION */

/*#REGION Coming Soon  ---------- */

.mmg-game-box.coming-soon {
	position: relative;
  pointer-events: none;

}

.mmg-game-box.coming-soon .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  color: #ffec9f;
    text-shadow:
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
  border-radius: 10px;
}
/*#ENDREGION */

/*#REGION "Hero image" stuff ---------- */
.mmg-hero {
  position: relative;
  width: 100%;
  height: auto; /*700px;*/
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.mmg-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full bleed without distortion */
  object-position: top;
  display: block;
}

.mmg-hero-title {
  position: absolute;
  bottom: 25px;
  left: 30px;
  color: #ffec9f; /* your gold */
  text-shadow: 0 0 8px #000;
}

.mmg-hero-title h1 {
  margin: 0;
  font-size: 3rem;
}

.mmg-hero-tagline {
	margin: 0.3rem 0 0;
	font-size: 1.2rem;
	opacity: 0.9;
}
/*#ENDREGION */

.mmg-section {
  margin: 1.4rem 0;
}

.mmg-section h2 {
  color: #ffec9f;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.mmg-section p {
  line-height: 1.6;
  max-width: 700px;
}



/*#REGION Storefronts ---------- */
.mmg-storefronts {
	text-align: center;
}

.mmg-store-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.mmg-store-link img {
  height: 48px;
  display: block;
  border-radius: 6px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mmg-store-link:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}
/*#ENDREGION */

.mmg-intro {
  text-align: center;
}

.mmg-intro p {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
      text-shadow:
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
}

/*#REGION Game feature blocks ---------- */

.mmg-features {
  text-align: center;
}

.mmg-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

.mmg-feature {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.mmg-feature img {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 1rem;
  display: block;
}

.mmg-feature img.mmg-nerd-logo{
  width: auto;
  height: auto;
  max-width: 256px;
  display: block;
  margin: 0 auto;
}


.mmg-feature h3 {
  color: #ffec9f;
  margin-bottom: 0.5rem;
}

.mmg-feature p {
	max-width: 420px;
	margin: 0.5rem auto 0;
  line-height: 1.5;
}

.mmg-feature ul,
.mmg-feature li {
  text-align: left;
  margin-left: 0.5rem;
}

.mmg-feature ul {
	 list-style: none;
	 padding-left: 0;
}
.mmg-feature li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 0.5rem;
	text-align: left;
}

.hp-feature li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
	background-image: url("/gfx/hammer_penguins/ice_shard.png");
	background-size: contain;
	background-repeat: no-repeat;
}

.tmitt-feature li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
	background-image: url("/gfx/tmitt/coin.png");
	background-size: contain;
	background-repeat: no-repeat;
}

/*#ENDREGION */

/* ---------- Large Screen Tweaks ---------- */

@media all and (min-width: 1925px) {
  #mmg-blog-title {
    font-size: 78px;
    left: 165px;
  }

  #mmg-tag-line {
    font-size: 38px;
    left: 860px;
  }
}
