* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  min-height: 100vh;
  color: white;
  overflow-x: hidden;
}

/* Main Container */
.main-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Animated Background */
.bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(40px);
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  width: 300px;
  height: 300px;
  background: #fbbf24;
  top: 80px;
  left: 80px;
  animation-delay: 0s;
}

.element-2 {
  width: 300px;
  height: 300px;
  background: #f472b6;
  top: 160px;
  right: 80px;
  animation-delay: 2s;
}

.element-3 {
  width: 300px;
  height: 300px;
  background: #60a5fa;
  bottom: -32px;
  left: 160px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.crown-icon {
  font-size: 3rem;
  color: #fbbf24;
  margin: 0 1rem;
}

.main-title {
  font-size: 4rem;
  font-weight: bold;
  background: linear-gradient(45deg, #fbbf24, #f472b6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
}

.money-showcase {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.showcase-item:first-child {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.showcase-item:last-child {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

/* Form Container */
.form-container {
  max-width: 400px;
  margin: 0 auto 4rem;
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn.active {
  background: #7c3aed;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.form-content {
  display: none;
}

.form-content.active {
  display: block;
}

.form-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #d1d5db;
  font-size: 0.875rem;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
}

.input-group select {
  color: black;
}

.input-group select option {
  background: #1e1b4b;
  color: white;
}

.input-group input::placeholder {
  color: #9ca3af;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.input-group label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input-group small {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

/* Terms Checkbox */
.terms-checkbox {
  margin-bottom: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  color: #d1d5db;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 0.5rem;
  width: auto;
}

.checkbox-container a {
  color: #7c3aed;
  text-decoration: none;
}

.checkbox-container a:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn {
  background: linear-gradient(45deg, #7c3aed, #ec4899);
}

.login-btn:hover {
  background: linear-gradient(45deg, #6d28d9, #db2777);
}

.register-btn {
  background: linear-gradient(45deg, #059669, #2563eb);
}

.register-btn:hover {
  background: linear-gradient(45deg, #047857, #1d4ed8);
}

/* Terms Modal */
.terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.terms-modal.hidden {
  display: none;
}

.terms-modal-content {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

.terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-header h2 {
  color: white;
  margin: 0;
}

.close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.terms-content {
  padding: 1.5rem;
}

.terms-content h3 {
  color: #fbbf24;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.terms-content h3:first-child {
  margin-top: 0;
}

.terms-content p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.terms-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.terms-accept-btn {
  background: linear-gradient(45deg, #22c55e, #16a34a);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.terms-accept-btn:hover {
  background: linear-gradient(45deg, #16a34a, #15803d);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-icon.green {
  color: #22c55e;
}
.feature-icon.yellow {
  color: #fbbf24;
}
.feature-icon.purple {
  color: #a855f7;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #d1d5db;
}

/* Dashboard Styles */
.dashboard-container,
.game-container,
.admin-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}

.dashboard-header,
.game-header,
.admin-header {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.logout-btn,
.back-btn,
.withdraw-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.withdraw-btn {
  background: linear-gradient(45deg, #22c55e, #16a34a);
  border-color: transparent;
}

.withdraw-btn:hover {
  background: linear-gradient(45deg, #16a34a, #15803d);
}

.logout-btn:hover,
.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-content,
.game-content,
.admin-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-images {
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 500px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(45deg, #fbbf24, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.money-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.money-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.bounce-1 {
  animation: bounce 1s infinite;
}
.bounce-2 {
  animation: bounce 1s infinite 0.3s;
}
.bounce-3 {
  animation: bounce 1s infinite 0.6s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.play-btn {
  background: linear-gradient(45deg, #22c55e, #3b82f6);
  border: none;
  color: white;
  padding: 1rem 3rem;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
  background: linear-gradient(45deg, #16a34a, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.play-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Packages Section */
.packages-section {
  margin-bottom: 3rem;
}

.packages-section.hidden {
  display: none;
}

.packages-header {
  text-align: center;
  margin-bottom: 2rem;
}

.packages-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.packages-header p {
  font-size: 1.125rem;
  color: #d1d5db;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.package-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.package-card.popular {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.package-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-header p {
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.token-amount {
  margin-bottom: 1.5rem;
}

.tokens {
  font-size: 3rem;
  font-weight: bold;
  color: #3b82f6;
}

.token-text {
  color: white;
  margin-left: 0.5rem;
}

.package-price {
  font-size: 2rem;
  font-weight: bold;
  color: #22c55e;
  margin-bottom: 1.5rem;
}

.buy-btn {
  width: 100%;
  background: #3b82f6;
  border: none;
  color: white;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.buy-btn:hover {
  background: #2563eb;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-card.wallet .stat-icon {
  color: #22c55e;
}
.stat-card.tokens .stat-icon {
  color: #fbbf24;
}
.stat-card.correct .stat-icon {
  color: #3b82f6;
}
.stat-card.wrong .stat-icon {
  color: #ef4444;
}

.stat-label {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
}

.stat-card.wallet .stat-value {
  color: #22c55e;
}
.stat-card.tokens .stat-value {
  color: #fbbf24;
}
.stat-card.correct .stat-value {
  color: #3b82f6;
}
.stat-card.wrong .stat-value {
  color: #ef4444;
}

/* Payment Modal Styles */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.payment-modal.hidden {
  display: none;
}

.payment-modal-content {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-header h2 {
  color: white;
  margin: 0;
}

.payment-summary {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-summary {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.package-summary h3 {
  color: white;
  margin: 0 0 0.5rem 0;
}

.package-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-details span:first-child {
  color: #3b82f6;
  font-weight: bold;
}

.package-details span:last-child {
  color: #22c55e;
  font-size: 1.25rem;
  font-weight: bold;
}

.payment-methods-section {
  padding: 1.5rem;
}

.payment-methods-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-method-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.payment-method-card.selected {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.payment-method-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

.payment-method-card span {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.payment-badge {
  background: #22c55e;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  position: absolute;
  top: -5px;
  right: -5px;
}

.payment-form {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-form.hidden {
  display: none;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-header i {
  font-size: 1.5rem;
  color: #fbbf24;
}

.form-header h4 {
  color: white;
  margin: 0;
}

.receiver-details {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.receiver-details h5 {
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.receiver-info p {
  color: white;
  margin-bottom: 0.25rem;
}

.receiver-info p:last-child {
  margin-bottom: 0;
}

.input-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.payment-submit-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.easypaisa-btn {
  background: #00a651;
  color: white;
}

.easypaisa-btn:hover {
  background: #008a44;
}

.paypal-btn {
  background: #0070ba;
  color: white;
}

.paypal-btn:hover {
  background: #005ea6;
}

.stripe-btn {
  background: #635bff;
  color: white;
}

.stripe-btn:hover {
  background: #5a52e8;
}

.crypto-btn {
  background: #f7931a;
  color: white;
}

.crypto-btn:hover {
  background: #e8840f;
}

.crypto-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.crypto-option {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.crypto-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.crypto-option.selected {
  border-color: #f7931a;
  background: rgba(247, 147, 26, 0.1);
}

.crypto-option i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #f7931a;
}

.crypto-option span {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.crypto-payment-details {
  margin-top: 1.5rem;
}

.crypto-payment-details.hidden {
  display: none;
}

.wallet-address {
  margin-bottom: 1rem;
}

.wallet-address label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.address-container {
  display: flex;
  gap: 0.5rem;
}

.address-container input {
  flex: 1;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-family: monospace;
}

.copy-btn {
  background: #22c55e;
  border: none;
  color: white;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #16a34a;
}

.payment-amount {
  margin-bottom: 1rem;
}

.payment-amount label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.amount-display {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.75rem;
  color: #f7931a;
  font-weight: bold;
  font-size: 1.125rem;
  text-align: center;
}

/* Withdraw Modal */
.withdraw-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.withdraw-modal.hidden {
  display: none;
}

.withdraw-modal-content {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

.withdraw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.withdraw-header h2 {
  color: white;
  margin: 0;
}

.withdraw-info {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.withdraw-info p {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.withdraw-info p:last-child {
  margin-bottom: 0;
}

.withdraw-info span {
  color: #22c55e;
  font-weight: bold;
}

.withdraw-details {
  margin-top: 1rem;
}

.withdraw-details.hidden {
  display: none;
}

.withdraw-submit-btn {
  width: 100%;
  background: linear-gradient(45deg, #22c55e, #16a34a);
  border: none;
  color: white;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.withdraw-submit-btn:hover {
  background: linear-gradient(45deg, #16a34a, #15803d);
}

/* Game Styles */
.game-stats {
  display: flex;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
}

.stat-item i {
  color: #fbbf24;
}

.game-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.game-stat-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.game-stat-card.correct {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
}

.game-stat-card.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
}

.game-stat-card.earned {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.3);
}

.game-stat-card i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.game-stat-card.correct i {
  color: #22c55e;
}
.game-stat-card.wrong i {
  color: #ef4444;
}
.game-stat-card.earned i {
  color: #fbbf24;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.game-stat-card.correct .stat-number {
  color: #22c55e;
}
.game-stat-card.wrong .stat-number {
  color: #ef4444;
}
.game-stat-card.earned .stat-number {
  color: #fbbf24;
}

.stat-text {
  font-size: 0.75rem;
  color: #d1d5db;
}

/* Riddle Card */
.riddle-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.riddle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.riddle-header h2 {
  color: white;
}

.win-badge {
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.riddle-content {
  padding: 1.5rem;
}

.riddle-question {
  background: linear-gradient(45deg, rgba(124, 58, 237, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.riddle-question p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: white;
}

.answer-section {
  margin-bottom: 1.5rem;
}

.submit-answer-btn {
  width: 100%;
  background: linear-gradient(45deg, #22c55e, #3b82f6);
  border: none;
  color: white;
  padding: 0.75rem;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.submit-answer-btn:hover {
  background: linear-gradient(45deg, #16a34a, #2563eb);
}

.submit-answer-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hint-section {
  text-align: center;
}

.hint-text {
  color: #9ca3af;
  font-size: 0.875rem;
}

.result-section {
  text-align: center;
}

.result-section.hidden {
  display: none;
}

.result-actions {
  margin-top: 1.5rem;
}

.next-btn {
  background: linear-gradient(45deg, #7c3aed, #ec4899);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.next-btn:hover {
  background: linear-gradient(45deg, #6d28d9, #db2777);
}

.buy-more-btn {
  background: linear-gradient(45deg, #3b82f6, #7c3aed);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-more-btn:hover {
  background: linear-gradient(45deg, #2563eb, #6d28d9);
}

.buy-more-btn.hidden {
  display: none;
}

/* Admin Styles */
.admin-info h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.admin-info p {
  color: #d1d5db;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.stat-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-info .stat-label {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.stat-info .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.stat-icon {
  font-size: 2rem;
}

.stat-icon.blue {
  color: #3b82f6;
}
.stat-icon.green {
  color: #22c55e;
}
.stat-icon.purple {
  color: #a855f7;
}
.stat-icon.yellow {
  color: #fbbf24;
}

.user-management {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.management-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.management-header h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.management-header p {
  color: #d1d5db;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tab-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-tab-btn.active {
  background: #7c3aed;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.admin-tab-content {
  display: none;
  padding: 1.5rem;
}

.admin-tab-content.active {
  display: block;
}

.table-container {
  overflow-x: auto;
}

.users-table,
.payments-table,
.withdrawals-table {
  width: 100%;
  border-collapse: collapse;
}

.users-table th,
.users-table td,
.payments-table th,
.payments-table td,
.withdrawals-table th,
.withdrawals-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table th,
.payments-table th,
.withdrawals-table th {
  color: #d1d5db;
  font-weight: 600;
}

.users-table td,
.payments-table td,
.withdrawals-table td {
  color: white;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}

.badge.green {
  color: #22c55e;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.badge.yellow {
  color: #fbbf24;
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.badge.blue {
  color: #3b82f6;
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.badge.red {
  color: #ef4444;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.badge.orange {
  color: #f97316;
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.action-btn {
  background: transparent;
  border: 1px solid;
  color: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.action-btn.approve {
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.action-btn.approve:hover {
  background: rgba(34, 197, 94, 0.1);
}

.action-btn.deny {
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.action-btn.deny:hover {
  background: rgba(239, 68, 68, 0.1);
}

.action-btn.view {
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.action-btn.view:hover {
  background: rgba(59, 130, 246, 0.1);
}

.action-btn.delete {
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Pending Notifications */
.pending-requests,
.pending-payments,
.pending-withdrawals {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.pending-requests.hidden,
.pending-payments.hidden,
.pending-withdrawals.hidden {
  display: none;
}

.notification-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.notification-header h3 {
  color: #fbbf24;
  font-size: 1.25rem;
  margin: 0;
}

.notification-header i {
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.requests-list,
.payments-list,
.withdrawals-list {
  display: grid;
  gap: 1rem;
}

.request-item,
.payment-item,
.withdrawal-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.request-info,
.payment-info,
.withdrawal-info {
  flex: 1;
}

.request-info h4,
.payment-info h4,
.withdrawal-info h4 {
  color: white;
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.request-info p,
.payment-info p,
.withdrawal-info p {
  color: #d1d5db;
  margin: 0;
  font-size: 0.875rem;
}

.request-actions,
.payment-actions,
.withdrawal-actions {
  display: flex;
  gap: 0.5rem;
}

.approve-btn {
  background: #22c55e;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.approve-btn:hover {
  background: #16a34a;
}

.deny-btn {
  background: #ef4444;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.deny-btn:hover {
  background: #dc2626;
}

.view-btn {
  background: #3b82f6;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #2563eb;
}

/* Token Management */
.token-management-section {
  padding: 1.5rem;
}

.token-management-section h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.token-management-section p {
  color: #d1d5db;
  margin-bottom: 2rem;
}

.token-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.admin-select,
.admin-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
}

.admin-select {
  color: black;
}

.admin-select option {
  background: #1e1b4b;
  color: white;
}

.admin-input::placeholder {
  color: #9ca3af;
}

.admin-input:focus,
.admin-select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.admin-btn {
  background: linear-gradient(45deg, #7c3aed, #3b82f6);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-btn:hover {
  background: linear-gradient(45deg, #6d28d9, #2563eb);
}

.token-history h4 {
  color: white;
  margin-bottom: 1rem;
}

.history-list {
  max-height: 300px;
  overflow-y: auto;
}

.history-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-info h5 {
  color: white;
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
}

.history-info p {
  color: #d1d5db;
  margin: 0;
  font-size: 0.75rem;
}

.history-amount {
  font-weight: bold;
  font-size: 1rem;
}

.history-amount.positive {
  color: #22c55e;
}

.history-amount.negative {
  color: #ef4444;
}

/* Waiting Page Styles */
.waiting-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.waiting-content {
  max-width: 500px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.waiting-animation {
  margin-bottom: 2rem;
}

.waiting-animation i {
  font-size: 4rem;
  color: #fbbf24;
}

.rotating {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.waiting-content h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.waiting-content p {
  color: #d1d5db;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.waiting-info {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: white;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: #fbbf24;
  width: 20px;
}

.waiting-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-btn {
  background: linear-gradient(45deg, #22c55e, #16a34a);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.check-btn:hover {
  background: linear-gradient(45deg, #16a34a, #15803d);
}

.cancel-btn {
  background: linear-gradient(45deg, #ef4444, #dc2626);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cancel-btn:hover {
  background: linear-gradient(45deg, #dc2626, #b91c1c);
}

.back-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .money-showcase {
    flex-direction: column;
    gap: 1rem;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .game-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .request-item,
  .payment-item,
  .withdrawal-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .request-actions,
  .payment-actions,
  .withdrawal-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .content-wrapper,
  .dashboard-content,
  .game-content,
  .admin-content {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .table-container {
    font-size: 0.875rem;
  }

  .users-table th,
  .users-table td,
  .payments-table th,
  .payments-table td,
  .withdrawals-table th,
  .withdrawals-table td {
    padding: 0.5rem;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }
}
