/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans&family=Poppins&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variabel Warna WINNING228 */
:root {
  --primary-color: #00c3ff;              /* Biru muda neon */
  --secondary-color: #0052cc;            /* Biru elegan */
  --background-color: #08192f;           /* Gelap deep */
  --content-bg: rgba(15, 30, 50, 0.9);    /* Transparan elegan */
  --text-color: #ffffff;
  --dark-text: #cccccc;
  --button-hover: #007acc;
  --highlight: #ffd700;                  /* Kuning emas */
}

/* Gaya Umum */
body {
  background-color: var(--background-color);
  background-image: url("../data/background1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: overlay;
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* NAVBAR HERO CUSTOM */
.hero-navbar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  padding: 25px 15px;
  text-align: center;
}

.hero-box {
  background-color: var(--content-bg);
  border: 2px solid var(--highlight);
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-logo {
  max-width: 200px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.btn-red {
  background: linear-gradient(90deg, var(--primary-color), var(--highlight));
  color: white;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  min-width: 120px;
}

.btn-red:hover {
  background-color: var(--button-hover);
  transform: scale(1.05);
}

/* Responsive Hero */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--highlight);
  color: var(--highlight);
  font-size: 26px;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  animation: glowPulse 2s infinite;
}

@media (max-width: 768px) {
  .hero-box {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .hero-buttons {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .hero-buttons.show {
    display: flex;
  }
}

/* NAVBAR BOOTSTRAP */
.navbar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  padding: 12px 20px;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
  top: 0;
  z-index: 999;
}

.navbar-brand img {
  max-width: 200px;
  height: auto;
}

.navbar-nav .nav-item a {
  color: var(--text-color);
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item a:hover {
  background-color: var(--button-hover);
  border-radius: 5px;
}

/* Tombol Bootstrap */
.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn-masuk,
.btn-daftar {
  background: linear-gradient(90deg, var(--primary-color), var(--highlight));
  color: var(--text-color);
  font-weight: bold;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  min-width: 120px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  border: 2px solid transparent;
}

.btn-masuk:hover,
.btn-daftar:hover {
  background-color: var(--button-hover);
  transform: scale(1.05);
  border: 2px solid var(--highlight);
}

/* Responsif Tombol */
@media (max-width: 768px) {
  .nav-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* Kontainer Iframe */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 30px auto;
  background-color: var(--content-bg);
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--highlight);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Iframe */
.frame iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 10px;
  background: #000;
}

/* Footer Mewah */
footer {
  background: linear-gradient(90deg, var(--primary-color), var(--highlight));
  color: var(--text-color);
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-size: 24px;
  border-radius: 5px;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 0 8px var(--highlight);
}

/* Fixed Footer Style */
.fixed-footer-container {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: #001c3d;
  box-shadow: 0 -2px 10px #ffd70044;
}

.fixed-footer {
  max-width: 960px;
  margin: auto;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fixed-footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  width: 60px;
  transition: all 0.2s ease;
}

.fixed-footer a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}

.fixed-footer a.active {
  font-weight: bold;
  color: var(--highlight);
}

.fixed-footer a:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Efek animasi icon */
.live-chat-icon img {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.7); }
  100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
}

@media screen and (max-width: 600px) {
  .fixed-footer {
    justify-content: space-around;
  }

  .fixed-footer a {
    width: 50px;
    font-size: 10px;
  }

  .fixed-footer a img {
    width: 28px;
    height: 28px;
  }
}
