body {
  background-color: rgb(16, 17, 26);
  color: #f0f0f0;
  font-family: monospace;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded {
  opacity: 1;
  transform: translateY(0);
}

header {
  text-align: center;
  background-image: url("images/Images/BG1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 100px;
  
  /* fade at bottom like SLIMO */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.main-nav {
  text-align: center;
  margin-bottom: 30px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 30px;
  font-size: 30px;
  transition: color 0.3s ease, font-size 0.3s ease;
}

.main-nav a:hover {
  color: #40c55d;
  font-size: 35px;
}

.header-img {
  width: 40%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: auto;
}


nav {
  text-align: center;
  margin-bottom: 30px;
  background-color: rgb(45, 45, 66);
  width: 100%;
  padding: 20px 0;
  
  /* fade mask like SLIMO */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 30px;
  font-size: 30px;
  transition: color 0.3s ease, font-size 0.3s ease;
}

nav a:hover {
  color: #40c55d;
  font-size: 35px;
}


main {
  max-width: 800px;
  margin: auto;
  padding: 0 15px;
}

section {
  margin-bottom: 40px;
}

.About-Me {
  background-image: url("images/Images/panel.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
  max-width: 70%;
  margin: 20px auto;
  text-align: center;
}

.text {
  color: rgb(0, 138, 0);
  font-size: 18px;
  font-weight: bold;
}

.full-line {
  width: 100vw;
  height: 5px;
  background-color: #235039;
  margin-left: calc(-50vw + 50%);
}

.My-Games-Section {
  text-align: center;
  font-size: 40px;
  margin-bottom: 30px;
}

.Mobile-Section,
.PC-Section {
  text-align: center;
  margin-bottom: 30px;
}

.Mobile-Section img,
.PC-Section img {
  width: 200px;
  height: auto;
  transition: width 0.3s ease;
}

@media (hover: hover) {
  .Mobile-Section img:hover,
  .PC-Section img:hover {
    width: 220px;
  }
}

footer {
  text-align: center;
  font-size: 14px;
  background-color: rgb(82, 104, 104);
  opacity: 0.8;
  padding: 20px 10px;

        -webkit-mask-image: linear-gradient(to top, black 70%, transparent 100%);
  mask-image: linear-gradient(to top, black 70%, transparent 100%);
}

.footer-logo {
  width: 200px;
  max-width: 80%;
  height: auto;
  margin-bottom: 10px;
}

.Privacy-Policy {
  color: white;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, font-size 0.2s ease;
}

.Privacy-Policy:hover {
  color: black;
  font-size: 15px;
}

.Socials img {
  width: 30px;
  height: auto;
  margin: 0 5px;
}
.support-me {
  text-align: center;
}

.support-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #29abe0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.support-btn:hover {
  opacity: 0.85;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  nav a {
    font-size: 16px;
    margin: 0 10px;
  }
  nav {
    padding-bottom: 50px;
  }

  .text {
    font-size: 14px;
  }

  .My-Games-Section {
    font-size: 28px;
  }
  .About-Me {
  padding: 10px;
  max-width: 80%;
  margin: 20px auto;
  text-align: center;
}


  .Mobile-Section img,
  .PC-Section img {
    width: 150px;
  }

  footer {
    font-size: 12px;
      -webkit-mask-image: linear-gradient(to top, black 70%, transparent 100%);
  mask-image: linear-gradient(to top, black 70%, transparent 100%);
  }

  .footer-logo {
    width: 150px;
  }
  footer {
    font-size: 12px;
    padding: 20px 10px;
  }

  .End img {
    width: 150px;
    height: auto;
  }

  .Privacy-Policy {
    font-size: 13px;
  }

  .Privacy-Policy:hover {
    font-size: 14px;
  }

  .Socials img {
    width: 25px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    flex-direction: column; /* stack links */
    align-items: center;    /* center them */
  }

  .main-nav a {
    margin: 10px 0;         /* spacing between stacked links */
    font-size: 20px;        /* smaller font on mobile */
  }

  .header-img {
    max-width: 90%;          /* responsive image */
  }
}

