/* --- 1. Variables & Global Reset --- */
:root {
  --primary: #d4af37;
  --gold-shiny: linear-gradient(
    90deg,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  --gold-gradient: linear-gradient(135deg, #f9d976 0%, #d4af37 100%);
  --bg: #050505;
  --card-bg: rgba(20, 20, 20, 0.7);
  --text: #ffffff;
  --text-dim: #a0a0a0;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(
    circle at 50% 0%,
    #1a1508 0%,
    transparent 50%
  );
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 110px; /* Space for fixed nav + ticker */
}

/* --- 2. Navigation --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  border-bottom: 1px solid #222;
  height: 75px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  background: var(--gold-shiny);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  font-weight: 900;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-nav {
  background: var(--gold-gradient);
  padding: 0.6rem 1.4rem !important;
  border-radius: 4px;
  color: #000 !important;
  font-weight: 800 !important;
}

/* --- Hamburger Menu Icon --- */
.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 --- */
.live-ticker {
  position: fixed;
  top: 75px; /* Directly under Nav */
  left: 0;
  width: 100%;
  height: 35px;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  z-index: 1999;
  overflow: hidden;
  font-size: 0.75rem;
}

.ticker-title {
  background: var(--gold-shiny);
  color: #000;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 800;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: scrollTicker 30s linear infinite;
}

.ticker-item {
  padding: 0 2rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 4. Hero Section --- */
.hero {
  height: calc(100vh - 110px); /* Subtract header height */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop")
      no-repeat center center/cover;
  background-attachment: fixed;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.hero-content h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-dim);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* --- 5. Buttons & Global Styles --- */
.btn-primary {
  background: var(--gold-shiny);
  background-size: 200% auto;
  color: #000;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  transform: scale(1.05);
  background-position: right center;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}

/* --- 6. Sections General --- */
section {
  padding: 100px 8%;
  position: relative;
}

section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  text-align: left;
  margin-bottom: 3rem;
  text-transform: uppercase;
  padding-left: 20px;
  border-left: 4px solid var(--primary);
  word-wrap: break-word;
}

/* --- 7. Matches Grid --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

/* --- 8. Support Section --- */
.support-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  background: rgba(10, 10, 10, 0.5);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(10px);
}

.support-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item h4 {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Form Styles */
.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #333;
  padding: 1.2rem;
  color: white;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* --- 9. FAQ Section --- */
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: all 0.3s ease-out;
  color: var(--text-dim);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

/* --- 10. Rarity Colors & Status --- */
.rarity-immortal {
  color: #e4ae39;
  text-shadow: 0 0 5px rgba(228, 174, 57, 0.5);
}
.rarity-arcana {
  color: #ade55c;
  text-shadow: 0 0 5px rgba(173, 229, 92, 0.5);
}
.rarity-legendary {
  color: #d32ce6;
}

.status-dot {
  height: 8px;
  width: 8px;
  background-color: #00ff00;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  box-shadow: 0 0 10px #00ff00;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* --- 11. Mobile Responsiveness --- */
@media (max-width: 900px) {
  /* Hamburger Visible */
  .hamburger {
    display: block;
    z-index: 2001;
  }

  /* Animate Hamburger */
  .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);
  }

  /* Mobile Nav Menu */
  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: #000;
    width: 100%;
    height: 100vh;
    justify-content: center;
    transition: 0.3s;
    z-index: 2000;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  /* Adjust Layouts */
  .support-wrapper {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .support-info {
    border-right: none;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
    padding-right: 0;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
/* --- 12. Footer Section (Customized to Match) --- */
.site-footer {
  background-color: var(--bg);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 40px 0 40px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 8%;
}

/* Header within Footer */
.partner-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 40px;
  margin-bottom: 50px;
  gap: 20px;
}

.network-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
}

.sub-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Brand Buttons */
.partner-buttons {
  display: flex;
  gap: 12px;
}

.btn-partner {
  padding: 10px 20px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.btn-partner.oasis:hover {
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}
.btn-partner.kaisar:hover {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}
.btn-partner.taruma:hover {
  border-color: #22c55e;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

/* Grid Columns */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.column-title {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 3px solid var(--primary);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.bullet {
  color: #444;
  margin-right: 8px;
  font-size: 0.7rem;
}

/* Login Chips */
.login-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login-chip {
  padding: 6px 12px;
  background: #111;
  border: 1px solid #222;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.login-chip:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .partner-header {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
