/* ========================================================
   GOGETA - TRANG CHỦ STYLES (trang-chu.css)
   Inspired by Chibi Super Saiyan Blue Gogeta Watercolor Style
   ======================================================== */

/* ==================== MAIN CONTENT CONTAINER ==================== */
.intro-container {
  background: #ffffff;
  padding: 0;
}

.intro-block:first-child {
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 22px 14px 20px;
  border-bottom: 3.5px solid #0f172a;
}

.intro-block:only-child {
  border-bottom: none;
}

.intro-icons.labeled {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.intro-icons.labeled .dl-item {
  display: flex;
  background: #ffffff;
  border: 2.5px solid #0f172a;
  border-radius: 18px;
  box-shadow: 3.5px 3.5px 0 #0f172a;
  padding: 12px 10px 12px;
  text-align: center;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.intro-icons.labeled .dl-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
}

.intro-icons.labeled .dl-item:hover {
  transform: translateY(-5px);
  box-shadow: 4px 6px 0 #0f172a, 0 12px 24px rgba(2, 132, 199, 0.25);
  border-color: #0284c7;
}

/* Nạp Thẻ Card (Metamoran Gold Theme) */
.intro-icons.labeled .dl-item.dl-item-recharge,
.intro-icons.labeled .dl-item:last-child {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.intro-icons.labeled .dl-item.dl-item-recharge::before,
.intro-icons.labeled .dl-item:last-child::before {
  background: linear-gradient(90deg, #ffe066 0%, #ff9800 100%);
}

.intro-icons.labeled .dl-item.dl-item-recharge:hover,
.intro-icons.labeled .dl-item:last-child:hover {
  border-color: #ea580c;
  box-shadow: 4px 6px 0 #0f172a, 0 12px 24px rgba(251, 133, 0, 0.3);
}

.intro-icons.labeled .dl-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 130px;
  gap: 6px;
}

/* Platform Tag / Badge */
.dl-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1.5px solid #0f172a;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
  box-shadow: 1.5px 1.5px 0 #0f172a;
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
}

.dl-tag.java {
  background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 100%);
  color: #9a3412;
}

.dl-tag.android {
  background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
}

.dl-tag.pc {
  background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
  color: #075985;
}

.dl-tag.ios {
  background: linear-gradient(180deg, #ede9fe 0%, #ddd6fe 100%);
  color: #5b21b6;
}

.dl-tag.web {
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 100%);
  color: #78350f;
}

.dl-tag.recharge {
  background: linear-gradient(180deg, #ffe066 0%, #ff9800 100%);
  color: #0f172a;
}

/* Version Number */
.dl-ver {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 21px;
  font-weight: 900;
  color: #0284c7;
  line-height: 1.1;
  margin: 1px 0;
}

.dl-ver.recharge {
  color: #ea580c;
  font-size: 18px;
}

.dl-ver.web {
  color: #b45309;
  font-size: 19px;
}

/* Size Badge */
.dl-size {
  font-family: "Nunito", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 10px;
  display: inline-block;
  line-height: 1.2;
}

.dl-size.web {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.dl-size.recharge {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

/* Action Button */
.dl-btn {
  width: 100%;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1.5px solid #0f172a;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 0 #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  margin-top: 2px;
}

.intro-icons.labeled .dl-item:hover .dl-btn {
  background: linear-gradient(180deg, #7dd3fc 0%, #0284c7 100%);
  transform: scale(1.02);
}

.dl-btn.web {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.intro-icons.labeled .dl-item:hover .dl-btn.web {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 60%, #b45309 100%);
  transform: scale(1.02);
}

.dl-btn.recharge {
  background: linear-gradient(180deg, #ffe066 0%, #ff9800 60%, #e65100 100%);
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.intro-icons.labeled .dl-item:hover .dl-btn.recharge {
  background: linear-gradient(180deg, #fff085 0%, #ff9800 60%, #e65100 100%);
  transform: scale(1.02);
}

/* ==================== INTRO BLOCKS ==================== */
.intro-block {
  background: #ffffff;
  padding: 20px 22px;
  border-bottom: 3.5px solid #0f172a;
}

.intro-block:last-child {
  border-bottom: none;
}

/* Comic Badge Headings */
.intro-block h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffe066 0%, #ff9800 60%, #e65100 100%);
  color: #0f172a;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 16px;
  border: 2.5px solid #0f172a;
  border-radius: 12px;
  box-shadow: 3px 3px 0 #0f172a;
  margin: 0 0 16px 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.intro-block h2::before {
  content: "⚡";
  font-size: 16px;
}

.intro-block h3 {
  color: #0284c7;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-size: 16px;
  font-weight: 800;
  margin: 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.intro-block p {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 10px;
}

/* ==================== GIF SKILL GALLERY ==================== */
.gif-gallery {
  text-align: center;
  background: #f8fafc;
  border: 2px solid #0f172a;
  border-radius: 16px;
  padding: 16px;
  margin-top: 18px;
  box-shadow: 3px 3px 0 #0f172a;
}

.gif-group {
  margin-bottom: 14px;
}

.gif-group .group-title {
  display: inline-block;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1.5px solid #0f172a;
  box-shadow: 1.5px 1.5px 0 #0f172a;
  margin-bottom: 10px;
}

.gif-group:first-child .group-title {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #0284c7;
}

.gif-group:last-of-type .group-title {
  background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  border-color: #d97706;
}

.gif-list {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.gif-list img {
  display: block;
  width: 140px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #0f172a;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #0f172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gif-list img:hover {
  transform: scale(1.06);
  box-shadow: 3px 4px 0 #0f172a, 0 6px 12px rgba(2, 132, 199, 0.3);
  z-index: 2;
}

.gif-more {
  margin-top: 8px;
}

.gif-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0284c7;
  text-decoration: none;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.15s;
}

.gif-more a:hover {
  color: #0369a1;
  text-decoration: underline;
  transform: translateX(2px);
}

/* ==================== GUIDE SECTIONS ==================== */
.guide-section {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-left: 5px solid #0284c7;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.guide-section h3 {
  color: #0f172a;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.guide-section p {
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 6px;
  line-height: 1.6;
}

.guide-section p:last-child {
  margin-bottom: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .intro-icons.labeled {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .dl-tag {
    font-size: 11.5px;
    padding: 4px 6px;
  }

  .dl-ver {
    font-size: 18px;
  }

  .dl-size {
    font-size: 10.5px;
    padding: 1px 6px;
  }

  .dl-btn {
    font-size: 11px;
    padding: 5px 4px;
  }

  .intro-block {
    padding: 16px 14px;
  }

  .gif-list img {
    width: 100px;
    height: 65px;
  }
}

@media (max-width: 480px) {
  .intro-icons.labeled {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .intro-icons.labeled .dl-item:last-child {
    grid-column: span 2;
  }

  .intro-block h2 {
    font-size: 15px;
    padding: 5px 12px;
  }
}
