/* ==========================================================================
   1. VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
  --primary: #d4af37;
  --gold-btn: #cfa851; /* Warna Emas Doff seragam untuk tombol */
  --gold-btn-hover: #b89342; /* Warna Emas saat disorot mouse */
  --gold-shiny: linear-gradient(
    90deg,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  --gold-gradient: linear-gradient(135deg, #f9d976 0%, #d4af37 100%);
  --bg: #070708;
  --card-bg: rgba(17, 17, 19, 0.85);
  --text: #ffffff;
  --text-dim: #a0a0a5;
  --border: rgba(212, 175, 55, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(
    circle at 65% 45%,
    #30220a 0%,
    transparent 65%
  );
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 105px;
  position: relative;
}

/* Partikel Latar Belakang (Hanya di area Hero) */
body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 850px;
  pointer-events: none;
  z-index: 1;
}

body::before {
  background-image:
    radial-gradient(circle, #bf953f 1px, transparent 1px),
    radial-gradient(circle, #fcf6ba 2px, transparent 2px);
  background-size:
    150px 150px,
    200px 200px;
  background-position:
    0 0,
    40px 60px;
  animation: kedipCahaya 4s infinite linear;
  opacity: 0.3;
}

body::after {
  background-image:
    radial-gradient(circle, #ffffff 1px, transparent 1px),
    radial-gradient(circle, #bf953f 1.5px, transparent 1.5px);
  background-size:
    250px 250px,
    180px 180px;
  background-position:
    70px 120px,
    150px 30px;
  animation: kedipCahaya 6s infinite linear reverse;
  opacity: 0.2;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 7, 8, 0.92);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  z-index: 2000;
  border-bottom: 1px solid #16161a;
  height: 75px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  background: var(--gold-shiny);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGold 3s linear infinite;
  font-weight: 900;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* Tombol Deposit di Navigasi (Disamakan dengan Main Sekarang) */
.btn-nav {
  background: var(--gold-btn) !important;
  color: #000000 !important;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(207, 168, 81, 0.2);
}

.btn-nav:hover {
  background: var(--gold-btn-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(207, 168, 81, 0.4);
}

/* Hamburger Menu Mobile */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

/* ==========================================================================
   3. LIVE TICKER RUNNING TEXT
   ========================================================================== */
.live-ticker {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  height: 30px;
  background: #0b0b0d;
  border-bottom: 1px solid #16161a;
  display: flex;
  align-items: center;
  z-index: 1999;
  overflow: hidden;
  font-size: 0.75rem;
}

.ticker-title {
  background: var(--gold-gradient);
  color: #000;
  padding: 0 0.8rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  white-space: nowrap;
}

.ticker-wrapper {
  overflow: hidden;
  width: 100%;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: scrollTicker 10s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-item {
  padding: 0 2rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
  width: 100%;
  height: calc(100vh - 105px);
  min-height: 600px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 0 4%;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(191, 149, 63, 0.25) 0%,
    transparent 70%
  );
  top: 10%;
  right: 2%;
  z-index: 1;
  pointer-events: none;
  filter: blur(20px);
}

.hero-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(186, 135, 40, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: floatBadge 3s ease-in-out infinite;
}

.badge-text {
  font-size: 0.8rem;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem !important;
  font-weight: 900;
  line-height: 1.25 !important;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(
    90deg,
    #fcf6ba,
    #bf953f,
    #fbf5b7,
    #bf953f,
    #fcf6ba
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(191, 149, 63, 0.3));
  animation: kilauEmas 3s linear infinite;
}

.hero-description {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Tombol Utama Main Sekarang */
.hero-btn-primary {
  background: var(--gold-btn) !important;
  color: #000000 !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(207, 168, 81, 0.3);
  transition: var(--transition);
}

.hero-btn-primary:hover {
  background: var(--gold-btn-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(207, 168, 81, 0.5);
}

.hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: var(--transition);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #bf953f;
}

.hero-rating {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-text {
  font-size: 0.85rem;
  color: #64748b;
}

/* --- HERO VISUAL (GAMBAR BANNER) --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  animation:
    melayangSlot 2.6s ease-in-out infinite,
    goldPulse 2.6s ease-in-out infinite;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #bf953f, #fbf5b7);
  opacity: 0.15;
  filter: blur(30px);
  z-index: -1;
  border-radius: 16px;
}

.visual-card-wrapper:hover .hero-main-img,
.hero img,
.hero img:hover {
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

/* ==========================================================================
   5. SECTIONS GENERAL & BUTTONS
   ========================================================================== */
section {
  padding: 80px 6%;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  text-align: left;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  padding-left: 15px;
  border-left: 4px solid var(--primary);
}

section h2 span {
  color: var(--primary);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000;
  padding: 1rem 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.9rem 2.5rem;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
  font-size: 0.9rem;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   6. PRODUCT CARDS GRID
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid #1d1d22;
  padding: 2.2rem 1.8rem;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-badge {
  background: #222226;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #c0c0c5;
  text-transform: uppercase;
  border: 1px solid #2d2d35;
}

.card-badge.badge-best {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.card-category {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.card-desc {
  color: #e0e0e5;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.card-sub-desc {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.btn-card {
  background: #17171a;
  border: 1px solid #2d2d35;
  color: #ffffff;
  padding: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  border-radius: 4px;
  transition: var(--transition);
  width: 100%;
  margin-top: auto;
  text-transform: uppercase;
}

.card:hover .btn-card {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   7. SUPPORT SECTION
   ========================================================================== */
.support-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  background: #0f0f12;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #1c1c22;
}

.support-info {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-right: 1.5rem;
  border-right: 1px solid #1c1c22;
}

.info-item h4 {
  color: #85858a;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.info-item p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.gold-email {
  color: var(--primary) !important;
}

.status-dot {
  height: 9px;
  width: 9px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

.dynamic-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input,
textarea {
  width: 100%;
  background: #070708;
  border: 1px solid #232329;
  padding: 1.1rem;
  color: white;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  background: #0b0b0d;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   8. FAQ SECTION
   ========================================================================== */
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid #1d1d22;
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  color: var(--primary);
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.8rem;
  transition: all 0.3s ease-out;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 600;
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.4);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.rarity-immortal {
  color: var(--primary);
  font-weight: 800;
}
.rarity-arcana {
  color: #10b981;
  font-weight: 800;
}
.link-primary {
  color: var(--primary);
  text-decoration: none;
}

/* ==========================================================================
   9. FOOTER SECTION & PARTNERS
   ========================================================================== */
.site-footer {
  background-color: #0b0b0d;
  border-top: 1px solid #16161a;
  padding: 60px 0 30px 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6%;
}

.partner-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #16161a;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  gap: 20px;
}

.network-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.sub-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

.partner-buttons {
  display: flex;
  gap: 10px;
}

.btn-partner {
  padding: 10px 18px;
  background: #121215;
  border: 1px solid #232329;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
}

.btn-partner.oasis:hover {
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}
.btn-partner.kaisar:hover {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}
.btn-partner.taruma:hover {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.column-title {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.login-chip {
  padding: 8px 10px;
  background: #121215;
  border: 1px solid #1c1c22;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #bfbfc5;
  text-align: center;
  transition: var(--transition);
}

.login-chip:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #16161a;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: #4b4b52;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  nav {
    padding: 0 5%;
  }
  section {
    padding: 60px 5%;
  }
  .hero {
    height: auto;
    padding: 40px 5%;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-badge {
    justify-content: center;
  }
  .hero-description {
    margin: 0 auto 2rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .visual-card-wrapper {
    margin: 0 auto;
  }
  .support-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .support-info {
    border-right: none;
    border-bottom: 1px solid #1c1c22;
    padding-bottom: 1.5rem;
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }
  .hamburger {
    display: block;
    z-index: 2001;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: #070708;
    width: 100%;
    height: 100vh;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
    z-index: 2000;
    gap: 2.5rem;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    font-size: 1.3rem;
  }
  .partner-header {
    flex-direction: column;
    text-align: center;
  }
  .partner-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .login-grid {
    grid-template-columns: 1fr;
  }
  .cta-group {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. ANIMATIONS KEYFRAMES
   ========================================================================== */
@keyframes shineGold {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes kilauEmas {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes melayangSlot {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}
@keyframes goldPulse {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(191, 149, 63, 0.4),
      0 0 40px rgba(191, 149, 63, 0.1);
  }
  50% {
    box-shadow:
      0 0 35px rgba(253, 246, 186, 0.65),
      0 0 60px rgba(191, 149, 63, 0.3);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}
@keyframes kedipCahaya {
  0% {
    opacity: 0.1;
    transform: translateY(0px) scale(0.95);
    filter: brightness(0.8);
  }
  50% {
    opacity: 0.45;
    filter: brightness(1.4) drop-shadow(0 0 4px rgba(253, 246, 186, 0.6));
  }
  100% {
    opacity: 0.15;
    transform: translateY(-15px) scale(1.05);
    filter: brightness(0.9);
  }
}
