/* Premium Offercash Design - Modern & Animated */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --dark-bg: #0A0E27;
  --dark-card: #1A1F3A;
  --dark-border: #2A3150;
  --glow-cyan: rgba(0, 212, 255, 0.4);
  --glow-green: rgba(56, 239, 125, 0.4);
  --accent-cyan: #00D4FF;
  --accent-cyan-dark: #00A8CC;
}

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--dark-bg);
  position: relative;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 168, 204, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 90%, rgba(56, 239, 125, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Premium Glass Cards */
.glass-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px 0 rgba(0, 0, 0, 0.5),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(10deg); }
}

/* Premium Buttons */
.btn-premium {
  position: relative;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-primary-premium {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary-premium:hover {
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.btn-success-premium {
  background: var(--success-gradient);
  color: white;
  box-shadow: 0 8px 20px rgba(56, 239, 125, 0.3);
}

.btn-success-premium:hover {
  box-shadow: 0 12px 30px rgba(56, 239, 125, 0.5);
  transform: translateY(-2px);
}

/* Animated Stats Cards */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  animation: statGlow 4s ease-in-out infinite;
}

@keyframes statGlow {
  0%, 100% { transform: translate(0, 0); opacity: 0.5; }
  50% { transform: translate(-10px, -10px); opacity: 0.8; }
}

/* Premium Badge */
.badge-premium {
  position: relative;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.badge-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Glowing Input */
.input-premium {
  background: rgba(30, 41, 59, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 20px;
  color: white;
  transition: all 0.3s ease;
  font-size: 16px;
}

.input-premium:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  background: rgba(30, 41, 59, 0.9);
}

/* Premium Navigation */
.nav-premium {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link-premium {
  position: relative;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-link-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-premium:hover {
  color: white;
  background: rgba(0, 212, 255, 0.1);
}

.nav-link-premium:hover::after {
  width: 80%;
}

/* Animated Balance Display */
.balance-display {
  position: relative;
  font-size: 48px;
  font-weight: 800;
  text-shadow: 0 0 30px var(--glow-green);
  animation: balancePulse 2s ease-in-out infinite;
}

@keyframes balancePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Premium Table */
.table-premium {
  background: rgba(30, 41, 59, 0.6);
  border-radius: 16px;
  overflow: hidden;
}

.table-premium thead {
  background: rgba(0, 212, 255, 0.1);
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.table-premium tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.table-premium tbody tr:hover {
  background: rgba(0, 212, 255, 0.05);
  transform: scale(1.01);
}

/* Loading Spinner Premium */
.spinner-premium {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 212, 255, 0.2);
  border-top-color: #00D4FF;
  border-radius: 50%;
  animation: spinnerRotate 1s linear infinite;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-premium {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Smooth Page Transitions */
.page-transition {
  animation: pageEnter 0.5s ease-out;
}

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

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  border-radius: 10px;
  border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00A8CC 0%, #00D4FF 100%);
}

/* Floating Animation */
@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Hover Lift Effect */
.hover-lift-premium {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Gradient Border Animation */
.gradient-border {
  position: relative;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 50%, #00D4FF 100%);
  background-size: 200% 200%;
  animation: gradientBorder 3s ease infinite;
}

.gradient-border > * {
  background: var(--dark-card);
  border-radius: 14px;
}

@keyframes gradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Responsive Premium Design */
@media (max-width: 768px) {
  .glass-card {
    border-radius: 12px;
  }

  .btn-premium {
    padding: 12px 24px;
    font-size: 14px;
  }

  .balance-display {
    font-size: 36px;
  }

  .toast-premium {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }
}

/* Premium Hover States for Links */
a {
  transition: all 0.2s ease;
}

a:hover {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Premium Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

/* Success/Error States with Animation */
.success-flash {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  animation: flashEnter 0.4s ease-out;
}

.error-flash {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  animation: flashEnter 0.4s ease-out;
}

@keyframes flashEnter {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Premium Button Styles for Forms */
.btn {
  position: relative;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(51, 65, 85, 0.8);
  color: #CBD5E1;
  border: 2px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(71, 85, 105, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-secondary {
  background: transparent;
  color: #94A3B8;
  border: 2px solid rgba(148, 163, 184, 0.3);
  padding: 10px 24px;
  font-size: 14px;
  box-shadow: none;
}

.btn-outline-secondary:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.5);
  color: #CBD5E1;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  transform: none !important;
  box-shadow: initial !important;
}

/* Custom Offers Grid - Premium Animation */
.custom-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

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

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

.custom-offer-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 285px;
  height: 165px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.custom-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.custom-offer-card:hover::before {
  opacity: 1;
}

.custom-offer-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3);
}

.custom-offer-image {
  position: relative;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}

.custom-offer-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
}

.custom-offer-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
}

.badge-featured {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  color: #1F2937;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  animation: pulse 2s infinite;
}

.custom-offer-reward {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: rgba(139, 92, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.375rem 0.625rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.reward-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.reward-label {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}

.custom-offer-content {
  display: none;
}

.custom-offer-header {
  display: none;
}

.custom-offer-title {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  font-size: 0.875rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.difficulty-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  z-index: 2;
}

.difficulty-easy {
  background: rgba(16, 185, 129, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 1);
}

.difficulty-medium {
  background: rgba(245, 158, 11, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 1);
}

.difficulty-hard {
  background: rgba(239, 68, 68, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(239, 68, 68, 1);
}

.custom-offer-description {
  display: none;
}

.custom-offer-meta {
  display: none;
}

.meta-item {
  display: none;
}

.meta-item i {
  display: none;
}

.custom-offer-button {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-offers-grid {
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1rem;
  }

  .custom-offer-card {
    width: 285px;
    height: 165px;
  }
}

/* Dollah-Style Offerwall Cards */
.dollah-offerwalls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dollah-offerwall-card {
  position: relative;
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dollah-offerwall-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.dollah-offerwall-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.dollah-offerwall-card:hover::before {
  opacity: 0.9;
}

.dollah-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.dollah-bonus-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: bounce 2s infinite;
}

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

.dollah-tag {
  position: absolute;
  top: -1rem;
  left: -1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.dollah-tag-hot {
  background: rgba(255, 69, 0, 0.9);
  color: white;
  animation: pulse 1.5s infinite;
}

.dollah-tag-new {
  background: rgba(0, 191, 255, 0.9);
  color: white;
  animation: glow 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 191, 255, 0.5); }
  50% { box-shadow: 0 0 20px rgba(0, 191, 255, 0.8); }
}

.dollah-wall-logo-container {
  width: 100%;
  height: 100px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dollah-wall-logo-img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.2) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  transition: all 0.3s ease;
}

.dollah-wall-logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.dollah-offerwall-card:hover .dollah-wall-logo-img {
  transform: scale(1.1);
  filter: brightness(1.3) drop-shadow(0 6px 25px rgba(0, 0, 0, 0.7));
}

.dollah-offerwall-card:hover .dollah-wall-logo-text {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.dollah-wall-name {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.dollah-rating {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  font-size: 1rem;
}

.dollah-rating i {
  color: #FFD700;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dollah-rating .far {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .dollah-offerwalls-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .dollah-offerwall-card {
    padding: 1.25rem;
    min-height: 200px;
  }

  .dollah-wall-logo-container {
    height: 80px;
  }

  .dollah-wall-logo-img {
    max-width: 100px;
    max-height: 60px;
  }

  .dollah-wall-logo-text {
    font-size: 1.25rem;
    padding: 0.75rem;
  }

  .dollah-wall-name {
    font-size: 1rem;
  }

  .dollah-bonus-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

/* New Offerwall Redesign Styles */
.offerwalls-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.offerwalls-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInDown 0.6s ease;
}

.offerwalls-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.offerwalls-title i {
  background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offerwalls-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  font-weight: 500;
}

.offerwall-section {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-title i {
  color: #00D4FF;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin-left: 2.5rem;
}

.offerwalls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1400px) {
  .offerwalls-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .offerwalls-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.offerwall-card {
  position: relative;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  height: 180px;
}

.offerwall-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 212, 255, 0.3);
}

.offerwall-card:active {
  transform: translateY(-6px) scale(1.01);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.offerwall-card:hover .card-background {
  height: 60%;
  opacity: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.badge-best {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
}

.badge-hot {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
}

.badge-new {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
}

.badge-easy {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
}

.badge-featured {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  color: #FFFFFF;
}

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

.card-logo {
  width: 100%;
  max-width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.offerwall-card:hover .card-logo img {
  transform: scale(1.1);
}

.card-name {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
  animation: nameShimmer 3s ease-in-out infinite;
}

@keyframes nameShimmer {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 2px 12px rgba(251, 191, 36, 0.6));
  }
}

.card-name {
  background-size: 200% auto;
}

.card-description {
  font-size: 0.75rem;
  color: #CBD5E1;
  text-align: center;
  line-height: 1.3;
  max-width: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-hover-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, #00D4FF 0%, #00A8CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.875rem;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offerwall-card:hover .card-hover-effect {
  height: 48px;
}

.card-hover-effect i {
  font-size: 1.25rem;
  animation: slideRight 1s ease-in-out infinite;
}

@keyframes slideRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #64748b;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 1rem;
}

/* Offerwall Modal */
.offerwall-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offerwall-modal.active {
  display: flex;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  z-index: 10000;
  width: 95%;
  max-width: 1200px;
  height: 90vh;
  background: #0f172a;
  border-radius: 16px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px 16px 0 0;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.modal-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background: rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.5);
  color: #cbd5e1;
  transform: scale(1.1);
}

.modal-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.iframe-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #0f172a;
  z-index: 1;
}

.loader-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(0, 212, 255, 0.2);
  border-top-color: #00D4FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.iframe-loader p {
  color: #94a3b8;
  font-size: 1.125rem;
  font-weight: 600;
}

.offerwall-iframe-embed {
  width: 100%;
  height: 100%;
  border: none;
  background: #FFFFFF;
}

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

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

/* Tablet Responsive (3 cards per row) */
@media (max-width: 1024px) and (min-width: 769px) {
  .offerwalls-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Mobile Responsive (3 cards per row) */
@media (max-width: 768px) {
  .offerwalls-title {
    font-size: 2rem;
  }

  .offerwalls-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .offerwalls-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .offerwall-card {
    height: 160px;
  }

  .card-content {
    padding: 0.75rem;
  }

  .card-logo {
    height: 50px;
    max-width: 100px;
  }

  .card-name {
    font-size: 0.875rem;
  }

  .card-description {
    font-size: 0.65rem;
  }

  .card-badge {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }

  .card-hover-effect {
    font-size: 0.75rem;
  }

  .offerwall-card:hover .card-hover-effect {
    height: 40px;
  }

  .modal-container {
    width: 98%;
    height: 95vh;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-btn {
    width: 36px;
    height: 36px;
  }
}
