* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: url('image/background.webp') no-repeat center center/cover;
  background-size: cover;
  color: #fff;
  transition: background 0.5s ease, color 0.5s ease;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.137);
  pointer-events: none;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0, 43, 32, 0.493);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgb(0, 255, 191);
  border-radius: 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.icon-wrapper img.icon {
  width: 50px;
  height: 25px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.icon-wrapper:hover img.icon {
  filter: grayscale(0%);
}

.icon-wrapper:active img.icon {
  transform: scale(0.9);
}

h1,
h2 {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 255, 191, 0.445);
  transition: all 0.3s ease;
  margin-top: 20px;
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  text-align: center;
}

h2 {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
}

ul {
  margin: 0 0 20px 20px;
}

a {
  color: #00ffbf;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #00ffc2;
  text-shadow: 0 0 5px #00ffbf;
}

/* =====================
   RESPONSIVE SECTION
===================== */

@media (max-width: 1024px) {
  .container {
    width: 85vw;
    padding: 18px;
    margin: 3vh auto;
    backdrop-filter: blur(9px);
  }

  h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 25px;
  }

  h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  }

  ul {
    margin-left: 15px;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .container {
    width: 90vw;
    margin: 2vh auto;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgb(0, 255, 191);
    backdrop-filter: blur(8px);
  }

  h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  h2 {
    font-size: clamp(1rem, 4vw, 1.6rem);
  }

  a {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95vw;
    margin: 2vh auto;
    padding: 12px;
    backdrop-filter: blur(6px);
  }

  h1 {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  h2 {
    font-size: clamp(0.95rem, 5vw, 1.4rem);
  }
}
