/* === FONT === */
@font-face {
  font-family: 'Moana';
  src: url('../get/font/moana.ttf') format('truetype');
  font-display: swap;
}

/* === LAYOUT GLOBAL === */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background: #0a1a2f;
  animation: bgChange 15s infinite;
}

@keyframes bgChange {
  0%, 100% { background-color: #0a1a2f; }
  20%      { background-color: #122d49; }
  40%      { background-color: #193f63; }
  60%      { background-color: #1b4370; }
  80%      { background-color: #21487a; }
}

/* === CONTENT WRAPPER === */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
}

.logo {
  max-width: 300px;
  width: 50%;
  min-width: 100px;
}

/* === TEXT STYLES === */

.btn-text {
  display: flex;
  flex-direction: column; /* SAMAWA di atas, subtitle di bawah */
  line-height: 0.7;
}

.samawa {
  font-family: 'Moana', cursive;
  font-size: 3rem;
  color: #ffcc00;
}

.subtitle {
  font-size: 0.7rem;        /* lebih kecil dari judul */
  margin-top: 2px;          /* jarak kecil di bawah SAMAWA */
  font-family: 'Poppins', sans-serif;
  color: white;              /* opsional, warna abu-abu */
}

.icon {
  font-size: 4rem;
  color: #ffc107;
}

.title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffcc00;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.title-group {
  margin-top: 20px;
}

/* === LOADER === */
.loader {
  display: flex;
  gap: 8px;
  margin-top: 100px;
}

.loader div {
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.loader div:nth-child(2) { animation-delay: 0.2s; }
.loader div:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40%           { transform: translateY(-15px); }
}

/* === BUTTON STYLES (Uiverse.io Inspired) === */
.btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  --color-text: #ffffff;
  --color-background: #ff135a;
  --color-outline: #ff145b80;
  --color-shadow: #00000080;
}

.btn-content {
  display: flex;
  align-items: center;
  padding: 12px 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-text);
  background: var(--color-background);
  border-radius: 100px;
  box-shadow: 0 0 0.2em 0 var(--color-background);
  transition: all 0.5s ease;
}

.btn-content:hover, 
.btn-content:focus {
  animation: btn-content 1s;
  outline: 0.1em solid transparent;
  outline-offset: 0.2em;
  box-shadow: 0 0 0.4em 0 var(--color-background);
}

@keyframes btn-content {
  0% {
    outline: 0.2em solid var(--color-background);
    outline-offset: 0;
  }
}

/* Icon Arrow */
.icon-arrow {
  width: 20px;
  margin-left: 15px;
  position: relative;
  top: 6%;
  transition: margin-right 0.5s ease;
}

.btn-content:hover .icon-arrow {
  margin-right: 25px;
}

#arrow-icon-one { transition: 0.4s; transform: translateX(-60%); }
#arrow-icon-two { transition: 0.5s; transform: translateX(-30%); }

.btn-content:hover #arrow-icon-three {
  animation: color_anim 1s infinite 0.2s;
}

.btn-content:hover #arrow-icon-one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.btn-content:hover #arrow-icon-two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

/* Arrow color animation */
@keyframes color_anim {
  0%, 100% { fill: white; }
  50%      { fill: var(--color-background); }
}

/* === BUTTON CONTAINER === */
.button-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* === FOOTER === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 5px; /* padding kiri 10px agar tidak mepet */
  font-size: 0.9rem;
  color: white;
  text-align: left; /* rata kiri */
  z-index: 999;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .title    { font-size: 2rem; }
  .subtitle { font-size: 0.7rem; }
  .samawa   { font-size: 1.9rem; }
  .footer {font-size: 0.2rem}
  .btn-content {
    font-size: 1rem;
    padding: 10px 20px;
  }
}