/* Premium Theme System */
:root {
  --premium-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --premium-gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --premium-gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  --premium-gradient-purple: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  --premium-gradient-cosmic: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
  
  --premium-gold: #ffd700;
  --premium-silver: #c0c0c0;
  --premium-purple: #a855f7;
  --premium-blue: #3b82f6;
  --premium-pink: #ec4899;
  
  --premium-text-gold: #d4af37;
  --premium-text-luxury: #2c1810;
  --premium-text-elegant: #4a5568;
  
  --premium-shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
  --premium-shadow-purple: 0 4px 20px rgba(168, 85, 247, 0.3);
  --premium-shadow-cosmic: 0 8px 32px rgba(139, 92, 246, 0.4);
  --premium-shadow-elegant: 0 10px 40px rgba(0, 0, 0, 0.1);
  
  --premium-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --premium-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.premium-body-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
  background: var(--premium-gradient-cosmic);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

.premium-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  box-shadow: var(--premium-shadow-elegant);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--premium-transition);
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
  box-shadow: var(--premium-shadow-cosmic);
}

.dark .premium-card {
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: var(--premium-gradient-primary);
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--premium-transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
  box-shadow: var(--premium-shadow-purple);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  background: var(--premium-gradient-gold);
  color: #2c1810;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
  box-shadow: var(--premium-shadow-gold);
}

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

@keyframes premiumSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.premium-loading {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(168, 85, 247, 0.3);
  border-top: 3px solid #a855f7;
  border-top: 3px solid var(--premium-purple);
  border-radius: 50%;
  animation: premiumSpin 1s linear infinite;
}
/* Mobile-First Responsive Design for AirdropTrackerPRO */

/* Base Mobile Styles */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch Targets - Minimum 44px for accessibility */
.touch-target {
  min-height: 44px !important;
  min-width: 44px !important;
}

button, 
.btn,
[role="button"],
input[type="button"],
input[type="submit"] {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  /* Side Panel Mobile Adjustments */
  .side-panel {
    width: 100% !important;
    max-width: 280px;
    z-index: 9999;
  }
  
  /* Header Mobile */
  .header-mobile {
    padding: 0.75rem 1rem !important;
  }
  
  .header-title {
    font-size: 1.5rem !important;
  }
  
  /* Tab Navigation Mobile */
  .tab-navigation {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .tab-navigation::-webkit-scrollbar {
    display: none;
  }
  
  .tab-button {
    white-space: nowrap;
    min-width: 120px;
    padding: 0.75rem 1rem !important;
  }
}

/* Mobile Cards and Lists */
@media (max-width: 640px) {
  /* Card Layouts */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  .card {
    padding: 1rem !important;
    margin: 0.5rem 0 !important;
  }
  
  /* Form Elements */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 0.75rem !important;
  }
  
  /* Modal Mobile */
  .modal {
    margin: 1rem !important;
    max-height: calc(100vh - 2rem) !important;
    overflow-y: auto;
  }
  
  .modal-content {
    padding: 1rem !important;
  }
}

/* Extra Small Devices */
@media (max-width: 375px) {
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .text-responsive {
    font-size: 0.875rem !important;
  }
  
  .button-small {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .mobile-landscape-adjust {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .header-compact {
    min-height: 60px !important;
  }
}

/* Safe Area Support for Modern Mobile Devices */
@supports (padding: max(0px)) {
  .safe-area-top {
    padding-top: max(1rem, env(safe-area-inset-top));
  }
  
  .safe-area-bottom {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  
  .safe-area-left {
    padding-left: max(1rem, env(safe-area-inset-left));
  }
  
  .safe-area-right {
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Scrollbar Styles */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

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

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .high-dpi-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Mobile Adjustments */
@media (prefers-color-scheme: dark) {
  .auto-dark {
    background-color: #1f2937;
    color: #f9fafb;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-friendly {
    background: white !important;
    color: black !important;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
  .high-contrast {
    border: 2px solid currentColor !important;
  }
}

/* Focus Styles for Keyboard Navigation */
.focus-visible:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Mobile Table Responsiveness */
@media (max-width: 768px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .table-mobile-stack td {
    display: block;
    text-align: right;
    border: none;
    padding: 0.5rem 1rem;
  }
  
  .table-mobile-stack td:before {
    content: attr(data-label) ": ";
    float: left;
    font-weight: bold;
  }
}

/* Mobile-First Grid System */
.mobile-grid {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mobile-grid.sm-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .mobile-grid.md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .mobile-grid.lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Performance Optimizations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

.smooth-scroll {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Mobile-Specific Utilities */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}
/* Basic CSS reset and custom styles */

* {
  box-sizing: border-box;
}

/* @tailwind base;
@tailwind components;
@tailwind utilities;

/* Import Mobile-First Responsive Styles */ */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
  -webkit-user-select: none;
          user-select: none;
}

/* Enable text selection for specific elements */
input, textarea, [contenteditable], .selectable {
  -webkit-user-select: text;
  user-select: text;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
  background: #374151;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
  background: #6b7280;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Animation utilities */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.3s ease-out;
}

/* Focus styles */
.focus-ring:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Hide default focus for custom styled elements */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Touch-friendly button styles */
@media (max-width: 768px) {
  button {
    min-height: 44px; /* Apple's recommended touch target size */
    min-width: 44px;
  }
  
  .touch-target {
    min-height: 48px;
    min-width: 48px;
  }
}

/* Mobile modal improvements */
@media (max-width: 640px) {
  .mobile-modal {
    margin: 0 !important;
    border-radius: 1rem 1rem 0 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    transform: none !important;
  }
}

/* Scrollbar utilities */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Mobile form improvements */
@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="date"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important; /* Prevent zoom on iOS */
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
  }
  
  .form-input-mobile {
    min-height: 48px;
  }
}

/* Loading spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

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

/* Dark mode gradient text */
.dark .gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Global Index Page Utility Styles */

/* Text truncation utilities */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
}

/* Enhanced hover effects */
.group:hover .group-hover\:transform {
  transform: translateY(-2px) scale(1.01);
}

/* Gradient border animation */
@keyframes gradient-border {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hover-gradient-border {
  position: relative;
  overflow: hidden;
}

.hover-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: -1;
  blur: 4px;
}

.hover-gradient-border:hover::before {
  opacity: 1;
  animation: gradient-border 0.3s ease;
}

/* Smooth scrollbar for mobile tabs */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Enhanced card shadows */
.card-hover-shadow {
  transition: all 0.3s ease;
  will-change: transform, box-shadow;
}

.card-hover-shadow:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(99, 102, 241, 0.1);
}

/* Dark mode enhanced effects */
@media (prefers-color-scheme: dark) {
  .card-hover-shadow:hover {
    box-shadow: 
      0 25px 50px -12px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(99, 102, 241, 0.2);
  }
}

/* Animated counter styles */
.counter-animate {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.counter-animate:hover {
  transform: scale(1.1);
}

/* Responsive grid utilities */
@media (max-width: 640px) {
  .grid-mobile-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-tablet-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Background pattern utilities */
.bg-dots {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg-lines {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Loading states */
.skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.1) 25%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Enhanced focus states */
.focus-ring-enhanced:focus {
  outline: none;
  box-shadow: 
    0 0 0 2px rgba(99, 102, 241, 0.2),
    0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Badge styles */
.badge-glow {
  position: relative;
  overflow: hidden;
}

.badge-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(8px);
  opacity: 0.3;
  z-index: -1;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.2;
    transform: scale(1);
  }
  to {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

