*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  background:#0d0d0d url("img/background.png") center/cover no-repeat fixed;
  color:white;
}

/* NAV */
nav{
  position:fixed;
  top:0;
  width:100%;
  padding:20px 40px;
  display:flex;
  justify-content:space-between;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(8px);
  z-index:100;
}

nav ul{
  display:flex;
  gap:25px;
  list-style:none;
}

nav a{
  color:white;
  text-decoration:none;
}

nav a:hover{
  color:#ff3333;
}

/* SECTIONS */
.section{
  min-height:100vh;
  padding:120px 40px;
}

.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.text h1{font-size:2.5rem}
.text h2{margin:10px 0}

.red{
  color:#ff3333;
  text-shadow:0 0 10px #ff3333;
}

.cursor{
  animation:blink 1s infinite;
}

@keyframes blink{
  0%,50%{opacity:1}
  51%,100%{opacity:0}
}

/* SOCIAL */
.social a{
  color: #1e3a8a; /* biru tua */
  font-size:1.6rem;
  margin-right:15px;
  transition:.3s;
}

.social a:hover{
  color:#ff3333;
}

/* IMAGE */
.image img{
  width:260px;
  border-radius:20px;
  box-shadow:0 0 30px rgba(255,0,0,.5);
}

/* ABOUT & SKILLS */
.section h2{
  margin-bottom:15px;
}

.skills{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
}

.skills span{
  padding:10px 18px;
  border:1px solid #ff3333;
  border-radius:20px;
}

/* FADE SCROLL */
.fade{
  opacity:0;
  transform:translateY(40px);
  transition:1s;
}

.fade.show{
  opacity:1;
  transform:none;
}

/* MOBILE */
@media(max-width:768px){
  .hero{flex-direction:column;text-align:center}
  .image img{margin-top:30px}
}

.image-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.image-list .img {
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,.5);
  transition: 0.3s ease;
}
.layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 80px 40px;
  gap: 40px;
}

/* KIRI */
.left {
  max-width: 480px;
}

.left h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.left p {
  opacity: 0.85;
  margin-bottom: 25px;
}

.statistic {
  padding: 60px 20px;
  text-align: center;
}

/* WRAPPER GAMBAR */
.stat-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* GAMBAR */
.stat-images img {
  width: 120px;
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0,0,0,.6);
  transition: 0.3s ease;
}

/* HOVER */
.stat-images img:hover {
  transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {
  .stat-images img {
    width: 90px;
  }
}

.statistic-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.statistic-text {
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-size: 15px;
  opacity: 0.9;
}

/* BARIS GAMBAR */
.statistic-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap; /* penting biar aman di HP */
}

.statistic-images img {
  width: 180px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0, 51, 102, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statistic-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 51, 102, 0.9);
}

/* HP */
@media (max-width: 768px) {
  .statistic-images img {
    width: 70%;
    max-width: 260px;
  }
}

.about-section {
  min-height: 100vh;
  padding: 80px 20px;
  text-align: center;
  color: #fff;

  background: 
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("img/background.png") center / cover no-repeat;
}

.about-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.about-text {
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ZxG PNG */
.zxg-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.zxg-logo img {
  width: 320px;
  max-width: 90%;
  height: auto;
  opacity: 0.95;
}

/* HP */
@media (max-width: 768px) {
  .zxg-logo img {
    width: 240px;
  }
}

.discord-box {
  display: flex;
  justify-content: center;
  margin: 40px 0 60px;
}

.discord-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid #5865F2;
  border-radius: 14px;
  text-decoration: none;
  color: #5865F2;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

.discord-link img {
  width: 28px;
  height: 28px;
}

.discord-link:hover {
  background: #5865F2;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.8);
}

/* HP */
@media (max-width: 768px) {
  .discord-link {
    padding: 10px 16px;
    font-size: 14px;
  }

  .discord-link img {
    width: 24px;
    height: 24px;
  }
}

.discord-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.discord-tags span {
  font-size: 13px;
  color: #5865F2;
  background: rgba(88, 101, 242, 0.12);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(88, 101, 242, 0.4);
  transition: 0.3s ease;
}

.discord-tags span:hover {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.8);
}

/* HP */
@media (max-width: 768px) {
  .discord-tags span {
    font-size: 12px;
    padding: 5px 10px;
  }
}

.stats-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #fff;
}

.stats-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
}

.stat {
  margin-bottom: 18px;
}

.stat span {
  float: left;
  color: #ff3333;
}

.stat b {
  float: right;
  color: #ff3333;
}

.bar {
  clear: both;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff0000, #ff5555);
  box-shadow: 0 0 10px #ff3333;
  transition: width 1.5s ease;
}

/* HEALTH */
.health-box {
  margin-top: 35px;
  text-align: center;
}

.health-box span {
  color: #ff3333;
  display: block;
}

.health-box strong {
  font-size: 20px;
  color: #ff3333;
}

.health-bar {
  height: 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 8px;
}

#healthFill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ff0000, #ff9900);
  box-shadow: 0 0 15px red;
  transition: width 0.5s linear;
}

/* HP */
@media (max-width: 768px) {
  .stats-section {
    padding: 40px 15px;
  }
}

/* SEARCH WRAPPER */
.search-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 40px auto;
  width: 100%;
}

/* ICON SEARCH */
.search-icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

/* SEARCH BOX */
.search-box {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 220px;
  max-width: 90%;
  overflow: hidden;
}

/* TYPING TEXT */
.typing-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 1px;

  border-right: 2px solid #ff3333;
  animation:
    typing 4s steps(16) infinite,
    blink 0.8s infinite;
}

/* TYPING EFFECT */
@keyframes typing {
  0% { width: 0 }
  40% { width: 100% }
  60% { width: 100% }
  100% { width: 0 }
}

/* CURSOR BLINK */
@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #ff3333 }
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .search-box {
    padding: 10px 14px;
  }

  .typing-text {
    font-size: 14px;
  }

  .search-icon {
    width: 24px;
    height: 24px;
  }
}

/* SOCIAL MEDIA BAR */
.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 40px auto 60px;
  padding: 14px 18px;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  width: fit-content;
  max-width: 92%;
}

/* ITEM */
.social-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe9ff;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
}

/* ICON */
.social-item img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px rgba(0,200,255,0.6));
}

/* HOVER */
.social-item:hover {
  color: #00eaff;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 480px) {
  .social-container {
    gap: 14px;
    padding: 12px;
  }

  .social-item {
    font-size: 13px;
  }

  .social-item img {
    width: 20px;
    height: 20px;
  }
}

.user-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

.user-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

.server-info {
  max-width: 420px;
  margin: 30px auto;
  padding: 16px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-title {
  font-size: 13px;
  opacity: 0.8;
}

.info-value {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.info-value.red {
  color: #ff3333;
  text-shadow: 0 0 6px rgba(255,51,51,0.6);
}

/* Mobile aman */
@media (max-width: 480px) {
  .server-info {
    width: 90%;
  }
}

.gallery-section {
    margin-top: 60px;
    text-align: center;
}

.zxg-logo img {
    width: 300px;
    max-width: 90%;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;           /* SAMAKAN tinggi semua */
    object-fit: cover;       /* Potong rapi */
    border-radius: 12px;
    display: block;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.house-section {
    margin-top: 80px;
    text-align: center;
}

.house-section h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 30px;
}

.house-wrapper {
    display: flex;
    justify-content: center;
}

.house-wrapper img {
    width: 90%;
    max-width: 750px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/*Text Glow Style*/
body {
    margin: 0;
    background-color: #000;
    font-family: Arial, sans-serif;
}

.regards-section {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Purple Neon Logo Style */
.logo-text {
    font-size: 55px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;

    background: linear-gradient(90deg, #d580ff, #a200ff, #6a00ff);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;

    text-shadow:
        0 0 5px #a200ff,
        0 0 10px #a200ff,
        0 0 20px #a200ff,
        0 0 40px #6a00ff,
        0 0 80px #6a00ff;
}

/*About Servers*/
.about-server {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 3px;
    color: white;
}

.search-icon{
color:white;
font-size:18px;
cursor:pointer;
margin-left:20px;
}

.menu-icon{
color:white;
font-size:18px;
margin-left:10px;
cursor:pointer;
}

.menu a{
color:white;
text-decoration:none;
margin-left:25px;
font-size:15px;
}

.menu a i{
font-size:16px;
}