/* Page Transition Animation */
body.fade-in {
    opacity: 1;
    transform: none;
    animation: fadeInSimple 0.4s ease;
  }
  body.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  body.slide-out {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  body.scale-out {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  body.trans-enter {
    opacity: 0;
  }
  body.trans-enter-active {
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  @keyframes fadeInSimple {
    from {
      opacity: 0;
      filter: blur(8px);
    }
    to {
      opacity: 1;
      filter: blur(0);
    }
  }
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #222;
}

header {
    background: linear-gradient(90deg, #181c24 0%, #232733 60%, #3e4a63 100%);
    color: #fff;
    padding: 1.8rem 0 1.2rem 0;
    text-align: center;
    letter-spacing: 2px;
    box-shadow: 0 2px 12px rgba(30,30,30,0.10);
    position: relative;
    z-index: 2;
}

header h1 {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    background: linear-gradient(90deg, #fff 60%, #ff6a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-noisecore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
    user-select: none;
}

.logo-noisecore svg {
    display: inline-block;
    background: #fff0;
}

.logo-noisecore .logo-text {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    background: linear-gradient(90deg, #fff 60%, #ff6a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Segoe UI', Arial, sans-serif;
}

nav {
    background: #232733;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: background 0.2s;
}

nav a.active,
nav a:hover {
    background: #3e4a63;
}

#menu-toggle {
    display: none;
    background: #232733;
    color: #fff;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    margin: 1rem auto 0.5rem auto;
    border-radius: 8px;
    cursor: pointer;
    width: 90%;
    max-width: 400px;
}

/* About */
.about-intro, .about-history {
    max-width: 700px;
    margin: 2rem auto 1.5rem auto;
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(30,30,30,0.06);
}

.about-history {
    background: #f2f4f8;
    margin: 1.5rem auto 2rem auto;
}

.about-intro h2, .about-history h2 {
    margin-top: 0;
    color: #232733;
}

.about-history ul {
    padding-left: 1.2rem;
}

.about-history li {
    margin-bottom: 0.7rem;
}

/* Footer */
footer {
    background: #181c24;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    margin-top: 2rem;
    border-radius: 16px 16px 0 0;
}

/* Responsive Design */
@media screen and (min-width: 1200px) {
    .about-intro,
    .about-history {
        max-width: 1100px;
        padding: 2.5rem 3rem;
        margin: 2.5rem auto 2.5rem auto;
        font-size: 1.13rem;
    }
    .about-intro h2,
    .about-history h2 {
        font-size: 2rem;
        margin-bottom: 1.3rem;
    }
    .about-history ul {
        font-size: 1.08rem;
    }
}
/* Untuk Ipad */
@media screen and (min-width: 700px) and (max-width: 1199px) {
    .about-intro,
    .about-history {
        max-width: 90vw;
        padding: 2rem 1.5rem;
        margin: 2rem auto 2rem auto;
        font-size: 1.04rem;
    }
    .about-intro h2,
    .about-history h2 {
        font-size: 1.35rem;
        margin-bottom: 1.1rem;
    }
    .about-history ul {
        font-size: 1rem;
    }
}
/* Untuk Hengpong */
@media screen and (max-width: 699px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
        display: none;
    }
    nav.active {
        display: flex;
    }
    #menu-toggle {
        display: block;
    }
    .about-intro, .about-history {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
}