/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f0f1a;
  color: #fff;
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

.load-container {
  text-align: center;
}

.load-cube {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 1.5s infinite ease-in-out;
}

@keyframes rotateCube {
  0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
  25% { transform: rotateX(180deg) rotateY(0deg); }
  50% { transform: rotateX(180deg) rotateY(180deg); }
  75% { transform: rotateX(360deg) rotateY(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

.load-face {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0.8;
}

.load-face-front { transform: translateZ(30px); }
.load-face-back { transform: translateZ(-30px) rotateY(180deg); }
.load-face-left { transform: translateX(-30px) rotateY(-90deg); }
.load-face-right { transform: translateX(30px) rotateY(90deg); }
.load-face-top { transform: translateY(-30px) rotateX(90deg); }
.load-face-bottom { transform: translateY(30px) rotateX(-90deg); }

.load-title {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.load-subtitle {
  color: #a0a0b0;
  margin-top: 10px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-logo i,
.nav-logo span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo small {
  font-size: 10px;
  background: rgba(102,126,234,0.2);
  padding: 2px 6px;
  border-radius: 20px;
  color: #667eea;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #667eea;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: rgba(102,126,234,0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.menu-toggle:hover {
  background: rgba(102,126,234,0.3);
}

/* Auth Section */
.nav-auth {
  display: flex;
  align-items: center;
}

.discord-login-link {
  background: #5865F2;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  white-space: nowrap;
}

.discord-login-link:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

.btn-track {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-track:hover {
  transform: translateY(-2px);
}

/* Community Banner */
.community-banner {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(255, 193, 7, 0.1));
  border-bottom: 2px solid #ffc107;
  padding: 15px 0;
  margin-top: 70px;
  position: relative;
  z-index: 99;
}

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

.community-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.community-icon i {
  font-size: 40px;
  color: #ffc107;
}

.community-text {
  flex: 1;
  min-width: 200px;
}

.community-text h3 {
  color: #ffc107;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 5px;
}

.community-text p {
  color: #e0e0e0;
  font-size: 14px;
}

.community-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: 700;
}

.community-link:hover {
  text-decoration: underline;
}

.community-badge .badge-important {
  background: #dc3545;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  animation: pulse 2s infinite;
  display: inline-block;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Hero Section */
.hero-modern {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(102,126,234,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(102,126,234,0.2);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  color: #667eea;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-text {
  font-size: 48px;
  color: #fff;
}

.hero-description {
  font-size: 18px;
  color: #a0a0b0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: #667eea;
  background: rgba(102,126,234,0.1);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #667eea;
}

.stat-label {
  font-size: 14px;
  color: #a0a0b0;
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 300px;
}

.hero-character {
  width: 300px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
  max-width: 100%;
  height: auto;
}

.floating-card {
  position: absolute;
  background: rgba(30,30,50,0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid rgba(102,126,234,0.3);
  z-index: 5;
}

.card-1 {
  top: 20px;
  right: 0;
  animation: float 3s ease-in-out infinite;
}

.card-2 {
  bottom: 40px;
  left: 0;
  animation: float 4s ease-in-out infinite reverse;
}

.card-3 {
  top: 50%;
  left: -20px;
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: #0a0a14;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: rgba(102,126,234,0.2);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  color: #667eea;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: #a0a0b0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
  padding: 30px;
  background: #13132a;
  border-radius: 24px;
  position: relative;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-icon {
  font-size: 48px;
  color: #667eea;
  margin: 20px 0;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.step p {
  color: #a0a0b0;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.pricing-card {
  background: #13132a;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border: 2px solid #667eea;
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-icon {
  font-size: 48px;
  color: #667eea;
  margin: 20px 0;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 28px;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 8px 0;
  color: #a0a0b0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-features li i {
  color: #28a745;
  font-size: 14px;
}

.btn-pricing {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s;
}

.btn-pricing:hover {
  transform: translateY(-2px);
}

.custom-order {
  text-align: center;
  margin-top: 30px;
  color: #a0a0b0;
}

.custom-order a {
  color: #667eea;
  text-decoration: none;
}

/* Order Section */
.order-section {
  padding: 80px 0;
  background: #0a0a14;
}

.order-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.order-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.order-info p {
  color: #a0a0b0;
  margin-bottom: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  width: 45px;
  height: 45px;
  background: rgba(102,126,234,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 20px;
  flex-shrink: 0;
}

.order-card {
  background: #13132a;
  border-radius: 24px;
  padding: 30px;
}

.stock-alert {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.stock-alert.available {
  background: rgba(40, 167, 69, 0.2);
  border-left: 4px solid #28a745;
}

.stock-alert i {
  font-size: 24px;
  color: #28a745;
  flex-shrink: 0;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: #1a1a30;
  border-radius: 12px;
  padding: 0 15px;
  border: 1px solid #2a2a40;
}

.input-wrapper i {
  color: #667eea;
}

.input-wrapper input {
  background: transparent;
  border: none;
  padding: 14px;
  width: 100%;
  color: white;
  font-size: 16px;
  outline: none;
}

.error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.error.show {
  display: block;
}

.stock-info {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stock-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #1a1a30;
  border-radius: 12px;
  min-width: 120px;
}

.stock-item i {
  font-size: 28px;
  color: #667eea;
}

.stock-item span {
  font-size: 12px;
  color: #a0a0b0;
  display: block;
}

.stock-item strong {
  font-size: 18px;
}

.summary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 25px;
  border-radius: 20px;
  margin-top: 20px;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.delivery-badge {
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.summary h2 {
  font-size: 32px;
  margin-bottom: 20px;
  word-break: break-word;
}

.btn-buy {
  width: 100%;
  background: #fff;
  color: #667eea;
  border: none;
  padding: 16px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s;
}

.btn-buy:hover {
  transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #13132a;
  border-radius: 20px;
  padding: 25px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.stars {
  color: #ffc107;
  font-size: 14px;
}

.testimonial-card p {
  color: #a0a0b0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-footer {
  font-size: 12px;
  color: #667eea;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: #0a0a14;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #13132a;
  border-radius: 16px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 16px;
  padding-right: 20px;
}

.faq-question i {
  transition: transform 0.3s;
  color: #667eea;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 200px;
}

.faq-answer p {
  color: #a0a0b0;
  line-height: 1.6;
}

/* Notification Toast */
.notification-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #1a1a30;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid #28a745;
  max-width: calc(100% - 40px);
}

.notification-toast.error {
  border-left-color: #dc3545;
}

.notification-toast.info {
  border-left-color: #667eea;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Modal Konfirmasi */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #13132a;
  border-radius: 28px;
  max-width: 450px;
  width: 90%;
  border: 1px solid rgba(102,126,234,0.3);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: slideUp 0.3s ease;
  margin: 20px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.modal-header i {
  font-size: 28px;
  color: #667eea;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  flex: 1;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #a0a0b0;
  transition: color 0.2s;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: #dc3545;
  background: rgba(220,53,69,0.1);
}

.modal-body {
  padding: 24px;
}

.confirm-summary {
  background: #1a1a30;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.confirm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
  flex-wrap: wrap;
}

.confirm-label {
  color: #a0a0b0;
  font-size: 14px;
}

.confirm-value {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-align: right;
  word-break: break-word;
}

.confirm-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 8px 0;
}

.confirm-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 12px;
  padding: 14px;
  border-left: 3px solid #ffc107;
}

.confirm-warning i {
  font-size: 20px;
  color: #ffc107;
  flex-shrink: 0;
}

.confirm-warning p {
  font-size: 13px;
  color: #ffc107;
  margin: 0;
  line-height: 1.4;
}

.modal-footer {
  display: flex;
  gap: 15px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.btn-cancel {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 12px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
  min-width: 100px;
}

.btn-cancel:hover {
  background: rgba(255,255,255,0.2);
}

.btn-confirm {
  flex: 1;
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  padding: 12px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  min-width: 100px;
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(40,167,69,0.3);
}

/* Username Field */
.username-field {
  margin-bottom: 20px;
}

.username-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.username-field .input-wrapper {
  display: flex;
  align-items: center;
  background: #1a1a30;
  border-radius: 12px;
  padding: 0 15px;
  border: 1px solid #2a2a40;
}

.username-field .input-wrapper i {
  color: #667eea;
}

.username-field .input-wrapper input {
  background: transparent;
  border: none;
  padding: 14px;
  width: 100%;
  color: white;
  font-size: 16px;
  outline: none;
}

.username-hint {
  display: block;
  font-size: 11px;
  color: #6c6c8a;
  margin-top: 5px;
}

.username-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.username-error.show {
  display: block;
}

/* Customer Info Section */
.customer-info {
  background: rgba(102,126,234,0.08);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(102,126,234,0.15);
}

.info-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 5px;
}

.info-subtitle {
  font-size: 12px;
  color: #a0a0b0;
  margin-bottom: 15px;
}

.input-hint {
  display: block;
  font-size: 11px;
  color: #6c6c8a;
  margin-top: 5px;
}

/* Terms Checkbox */
.terms-checkbox {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 193, 7, 0.08);
  border-radius: 12px;
  border-left: 3px solid #ffc107;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  padding-left: 30px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 18px;
  width: 18px;
  background-color: #1a1a30;
  border: 2px solid #667eea;
  border-radius: 4px;
  transition: all 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #2a2a40;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #667eea;
  border-color: #667eea;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  color: #c0c0d0;
}

.checkbox-text a {
  color: #667eea;
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

#termsError {
  margin-top: 10px;
  font-size: 12px;
  display: none;
}

#termsError.show {
  display: block;
}

/* User Menu Styles */
.user-menu {
  position: relative;
  cursor: pointer;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.1));
  padding: 6px 16px 6px 10px;
  border-radius: 40px;
  border: 1px solid rgba(102,126,234,0.3);
  transition: all 0.3s;
}

.user-info:hover {
  background: rgba(102,126,234,0.25);
  border-color: rgba(102,126,234,0.5);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #667eea;
}

.user-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.5px;
}

.user-name::after {
  content: "™";
  font-size: 10px;
  vertical-align: super;
  color: #667eea;
}

.user-balance {
  background: rgba(0,212,255,0.15);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #00d4ff;
}

.user-info i {
  font-size: 12px;
  color: #a0a0b0;
  transition: transform 0.3s;
}

.user-menu.active .user-info i {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #1a1a2e;
  border-radius: 16px;
  padding: 8px 0;
  min-width: 200px;
  border: 1px solid rgba(255,255,255,0.1);
  display: none;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.user-dropdown.show {
  display: block;
  animation: fadeInDropdown 0.2s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.shake-animation {
  animation: shake 0.5s ease;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.user-dropdown a:hover {
  background: rgba(255,255,255,0.08);
}

.user-dropdown a i {
  width: 20px;
  color: #dc3545;
}

.user-dropdown .logout-sub {
  font-size: 11px;
  color: #a0a0b0;
  margin-left: auto;
}

/* Footer */
.footer {
  background: #0a0a14;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-logo i,
.footer-logo span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  color: #a0a0b0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: #1a1a30;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: #667eea;
  transform: translateY(-3px);
}

.footer-links {
  text-align: left;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a0a0b0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #667eea;
}

.footer-contact {
  text-align: left;
}

.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a0a0b0;
  margin-bottom: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-contact li i {
  width: 24px;
  color: #667eea;
  font-size: 16px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #a0a0b0;
}

/* ========== RESPONSIVE MOBILE SUPPORT ========== */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .hero-subtitle-text { font-size: 40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  /* Menu mobile - slide from right */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 280px;
    height: 100vh;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 30px;
    gap: 8px;
    transition: right 0.3s ease;
    z-index: 999;
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    text-align: left;
    border-radius: 12px;
    transition: background 0.2s;
  }
  
  .nav-link:hover {
    background: rgba(102,126,234,0.15);
  }
  
  .nav-link.active {
    background: rgba(102,126,234,0.2);
    color: #667eea;
  }
  
  /* Overlay gelap saat menu terbuka */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-image { min-height: 280px; }
  .floating-card { white-space: normal; font-size: 12px; padding: 6px 12px; }
  .card-1 { top: 10px; right: 10px; }
  .card-2 { bottom: 20px; left: 10px; }
  .card-3 { top: 40%; left: -5px; }

  .steps { grid-template-columns: 1fr; gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 20px; }
  .order-wrapper { grid-template-columns: 1fr; gap: 30px; }
  .order-info { text-align: center; }
  .info-list { align-items: center; }
  .section-header h2 { font-size: 28px; }
  .community-banner { margin-top: 60px; }
  .community-banner-content { flex-direction: column; text-align: center; }
  .community-icon i { font-size: 32px; }
  .community-text p { font-size: 13px; }

  .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand, .footer-links, .footer-contact { text-align: center; }
  .footer-links h4::after, .footer-contact h4::after { left: 50%; transform: translateX(-50%); }
  .footer-social { justify-content: center; }
  .footer-contact li { justify-content: center; }

  /* PERBAIKAN DROPDOWN USER - TIDAK MENUTUPI USER-INFO */
  .user-menu {
    position: relative;
  }
  
  .user-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    left: auto;
    width: 255px;
    max-height: 400px;
    overflow-y: auto;
    background: #1a1a2e;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
  }
  
  .user-dropdown.show {
    display: block;
    animation: fadeInDropdown 0.2s ease;
  }
  
  .user-dropdown a {
    padding: 12px 18px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .user-dropdown a:last-child {
    border-bottom: none;
  }
  
  .user-dropdown a i {
    width: 24px;
  }


  .modal-content { width: 95%; margin: 10px; }
  .confirm-item { flex-direction: column; align-items: flex-start; }
  .confirm-value { text-align: left; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle-text { font-size: 28px; }
  .hero-description { font-size: 16px; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 14px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 12px; }
  .hero-character { width: 220px; }
  .pricing-card { padding: 20px; }
  .pricing-price { font-size: 24px; }
  .order-card { padding: 20px; }
  .summary h2 { font-size: 24px; }
  .stock-item { flex-direction: column; text-align: center; }
  .stock-item i { margin-bottom: 5px; }
  .info-item { justify-content: center; }
  .user-info { padding: 4px 12px 4px 8px; }
  .user-name { font-size: 12px; }
  .user-balance { font-size: 11px; padding: 2px 8px; }
  .user-avatar { width: 28px; height: 28px; }
  .notification-toast { top: 70px; right: 10px; left: 10px; max-width: calc(100% - 20px); }
}

/* Helper classes */
.main { max-width: 800px; margin: 0 auto; padding: 100px 20px 40px; }
.card { background: #13132a; border-radius: 24px; padding: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); }

.deposit-link {
  background: rgba(0,212,255,0.15);
  color: #00d4ff !important;
  border-radius: 30px;
  padding: 8px 16px !important;
}
.deposit-link:hover { background: rgba(0,212,255,0.3) !important; color: white !important; }

.input-group.error .input-wrapper { border-color: #dc3545; box-shadow: 0 0 0 2px rgba(220,53,69,0.2); }
.error-message { color: #dc3545; font-size: 12px; margin-top: 5px; display: none; }
.error-message.show { display: block; }