/* ===== GRAND PAY STYLES ===== */
:root {
  --orange: #ff4500;
  --orange-light: #ff8c00;
  --orange-dark: #dc2626;
  --bg-dark: #0a0a0e;
  --bg-medium: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text: #eaeaea;
  --text-gray: #9ca3af;
  --text-light: #d1d5db;
  --border: rgba(255, 255, 255, 0.1);
  --border-orange: rgba(255, 69, 0, 0.3);
  --shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
  --success: #22c55e;
  --info: #3b82f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 50%, #16213e 100%);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-orange);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.875rem;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.4));
  transition: all 0.3s ease;
}

.logo:hover .logo-icon {
  filter: drop-shadow(0 6px 20px rgba(255, 140, 0, 0.6));
  transform: rotate(-5deg);
}

.logo-text {
  font-size: 1.875rem;
  font-weight: 900;
}

.logo-white {
  color: #fff;
}

.logo-orange {
  color: var(--orange);
}

.badge {
  display: inline-block;
  background: rgba(255, 140, 0, 0.15);
  border: 2px solid var(--border-orange);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-light);
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
  border-color: rgba(255, 165, 0, 0.5);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 69, 0, 0.1), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 140, 0, 0.1), transparent 50%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--orange-light), #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.3));
}

.subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.badge-large {
  display: inline-block;
  background: rgba(255, 140, 0, 0.15);
  border: 2px solid var(--border-orange);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange-light);
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(255, 140, 0, 0.2);
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.payment-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.payment-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-light), #ffa500);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(20px);
}

.payment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
              rgba(255, 140, 0, 0.15) 0%,
              transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.payment-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-orange);
  box-shadow: 0 20px 60px rgba(255, 69, 0, 0.3);
}

.payment-card:hover::before {
  opacity: 0.3;
}

.payment-card:hover::after {
  opacity: 1;
}

.payment-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.payment-card:hover .payment-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 15px 40px rgba(255, 140, 0, 0.6);
}

.payment-card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.payment-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.payment-badge {
  display: inline-block;
  background: rgba(255, 140, 0, 0.12);
  color: var(--orange-light);
  padding: 0.5rem 1.25rem;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1.5px solid var(--border-orange);
  transition: all 0.3s ease;
}

.payment-card:hover .payment-badge {
  background: rgba(255, 140, 0, 0.2);
  border-color: rgba(255, 165, 0, 0.4);
  transform: scale(1.05);
}

.payment-badge.auto {
  background: rgba(0, 255, 130, 0.12);
  color: #00ff88;
  border-color: rgba(0, 255, 130, 0.25);
}

.payment-card:hover .payment-badge.auto {
  background: rgba(0, 255, 130, 0.2);
  border-color: rgba(0, 255, 130, 0.4);
}

.payment-badge.international {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.25);
}

.payment-card:hover .payment-badge.international {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
  padding: 4rem 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-orange);
  box-shadow: var(--shadow);
}

.resource-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon {
  transform: scale(1.1) rotate(5deg);
}

.resource-card h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resource-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.resource-badge {
  display: inline-block;
  background: rgba(255, 140, 0, 0.15);
  color: var(--orange-light);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== SECURITY SECTION ===== */
.security-section {
  padding: 4rem 0;
}

.security-wrapper {
  background: linear-gradient(135deg, rgba(0, 255, 100, 0.05), rgba(0, 200, 80, 0.08));
  border: 2px solid rgba(0, 255, 100, 0.2);
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.security-wrapper::before {
  content: '🔒';
  position: absolute;
  font-size: 150px;
  opacity: 0.05;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
}

.security-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.security-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00ff64, #00cc50);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 0 0 rgba(0, 255, 100, 0.4);
  animation: securityPulse 2s ease-in-out infinite;
}

@keyframes securityPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 100, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(0, 255, 100, 0); }
}

.security-title h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.security-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.security-badge {
  background: rgba(0, 255, 100, 0.1);
  color: #00ff64;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 100, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.security-desc {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  color: #00ff64;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== INFO SECTION ===== */
.info-section {
  padding: 4rem 0;
}

.info-wrapper {
  background: rgba(255, 140, 0, 0.08);
  border: 2px solid var(--border-orange);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.info-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
  animation: slide 8s infinite;
}

@keyframes slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.info-wrapper h2 {
  color: var(--orange-light);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.info-wrapper p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  border-top: 1px solid var(--border-orange);
  margin-top: 5rem;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--text-gray);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--orange-light);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--orange-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
  font-size: 0.75rem;
}

/* ===== X2 BANNER ===== */
.x2-banner {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: linear-gradient(135deg, #ff4500, #ff2d55, #ff8c00);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  box-shadow: 0 8px 40px rgba(255, 69, 0, 0.4);
  animation: x2Pulse 1.5s infinite alternate;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes x2Pulse {
  0% {
    filter: brightness(1) drop-shadow(0 0 10px #ff4500);
    transform: translateX(-50%) scale(1);
  }
  100% {
    filter: brightness(1.3) drop-shadow(0 0 25px #ff2d55);
    transform: translateX(-50%) scale(1.05);
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ASH CONTAINER ===== */
#ash-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .security-wrapper {
    padding: 2rem 1.5rem;
  }

  .security-header {
    flex-direction: column;
    text-align: center;
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .info-wrapper {
    padding: 2rem 1.5rem;
  }

  .x2-banner {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .badge {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .payment-card {
    padding: 1.5rem;
  }

  .payment-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
