* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-image: url("img/background1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  z-index: -1;
}

/* THEME */
.theme {
  text-align: center;
  padding: 30px 20px;
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  font-weight: bold;
  color: #4a90a4;
  border-radius: 20px;
  width: min(92%, 1000px);
  margin: 20px auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.theme h1 {
  margin: 0;
  font-size: inherit;
  line-height: 1.25;
}

/* DESCRIPTION */
.section-block {
  width: 100%;
  max-width: 850px;
  margin: 25px auto;
  text-align: center;
  font-family: "Dancing Script", cursive;
  font-size: 18px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  background: #67ebed;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: "Dancing Script", cursive;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.description {
  text-align: center;
  padding: 50px 20px;
  background: rgba(173, 239, 245, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  margin: 20px auto;
  width: min(92%, 1100px);
  font-family: "Dancing Script", cursive;
}

ul.arrow-list {
  list-style: none;
  padding-left: 0;
}

ul.arrow-list li {
  position: relative;
  padding-left: 25px;
  margin: 10px 0;
}

ul.arrow-list li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: #33a9db;
  font-weight: bold;
  font-size: 20px;
}

.description h2 {
  font-size: 42px;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  color: #1f6f8b;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9),
    0 6px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  position: relative;
}

.description h3 {
  font-size: 28px;
  font-family: "Dancing Script", cursive;
  color: #1f6f8b;
  display: inline-block;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-left: 6px solid #33a9db;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.description h3:hover {
  transform: translateX(6px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.description p {
  max-width: 850px;
  margin: 10px auto;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  font-family: "Dancing Script", cursive;
}

/* CAROUSEL */
.carousel {
  padding: 40px 20px;
  text-align: center;
}

.carousel-box {
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  width: min(92%, 1000px);
  margin: auto;
  background: transparent;
}

.carousel-box:hover .arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.slide {
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.arrow {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(134, 223, 239);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow:hover {
  background: #2c90bc;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

.dots {
  margin-top: 10px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #9edbf5;
  border-radius: 50%;
  margin: 5px;
}

.dots .active {
  background: #02c0fa;
}

/* TRENDY / POPULAR CONTENT */
.trending {
  text-align: center;
  padding: 80px 20px 40px;
  background: transparent;
}

.trending h2 {
  font-size: 40px;
  margin-bottom: 50px;
  font-family: "Dancing Script", cursive;
  letter-spacing: 2px;
  color: rgb(10, 85, 108);
}

.trending-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
  align-items: stretch;
}

.trending-box {
  min-height: 160px;
  background-color: #a6d3f1;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
  color: rgb(26, 63, 122);
  font-family: "Dancing Script", cursive;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trending-box:hover {
  transform: translateY(-8px);
}

.trending-box h3 {
  color: #33a9db;
  margin-bottom: 12px;
  font-size: 22px;
}

.trending-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.box-link {
  text-decoration: none;
  display: block;
  padding: 20px;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 75px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background-color: #16a2e8;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
  background-color: #03caf7;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  #backToTop {
    width: 56px;
    height: 42px;
    font-size: 16px;
    right: 12px;
    bottom: 12px;
  }
}

/* TABLET */
@media (max-width: 900px) {
  .theme {
    width: 94%;
  }

  .description {
    width: 94%;
    padding: 40px 18px;
  }

  .description h2 {
    font-size: 34px;
  }

  .description h3 {
    font-size: 24px;
  }

  .description p,
  .section-block {
    font-size: 17px;
  }

  .carousel-box {
    width: 94%;
  }

  .trending {
    padding: 60px 18px 30px;
  }

  .trending-container {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1000px;
    padding: 0 10px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .theme {
    width: 96%;
    padding: 22px 14px;
    font-size: 24px;
  }

  .theme h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .description {
    width: 96%;
    padding: 28px 14px;
    margin: 15px auto;
  }

  .description h2 {
    font-size: 26px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .description h3 {
    font-size: 20px;
    padding: 8px 14px;
  }

  .description p,
  .section-block {
    font-size: 16px;
    line-height: 1.5;
  }

  ul.arrow-list li {
    padding-left: 20px;
    margin: 8px 0;
  }

  .carousel {
    padding: 20px 12px;
  }

  .carousel-box {
    width: 96%;
    border-radius: 14px;
  }

  .arrow {
    opacity: 1;
    pointer-events: auto;
    width: 34px;
    height: 34px;
  }

  .trending {
    padding: 40px 14px;
  }

  .trending h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .trending-container {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
    margin: 20px auto;
    padding: 0;
  }

  .trending-box {
    min-height: auto;
    padding: 20px 16px;
  }

  .trending-box h3 {
    font-size: 20px;
  }

  .trending-box p {
    font-size: 16px;
  }

  #backToTop {
    width: 56px;
    height: 42px;
    font-size: 16px;
    right: 12px;
    bottom: 12px;
  }
}
