/*
Sigma CC Generator & Checker - Professional Edition
Modern CSS with Animations and Effects
*/

:root {
  /* Dark Mode Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-input: #0f0f16;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  
  --accent-primary: #00d4ff;
  --accent-secondary: #7b2cbf;
  --accent-success: #00ff88;
  --accent-warning: #ffd700;
  --accent-danger: #ff4757;
  --accent-info: #3498db;
  
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
  --gradient-success: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  --gradient-danger: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
  
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* Light Mode */
body.light-mode {
  --bg-primary: #f0f2f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f8f9fa;
  
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8a9a;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-mode .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand i {
  font-size: 1.6rem;
  color: var(--accent-primary);
  -webkit-text-fill-color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: rgba(0, 212, 255, 0.1);
}

#theme-toggle,
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  padding: 10px;
  border-radius: 50%;
  background: none;
  border: none;
}

#theme-toggle:hover {
  color: var(--accent-primary);
  background: rgba(0, 212, 255, 0.1);
  transform: rotate(180deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 50px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(123, 44, 191, 0.15) 0%, transparent 50%);
  animation: heroBgPulse 8s ease-in-out infinite;
}

@keyframes heroBgPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.gradient-text {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
}

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

.subtitle {
  display: block;
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 10px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 2.5rem;
  color: var(--text-muted);
}

.hero-icons i {
  transition: all var(--transition-normal);
  opacity: 0.6;
}

.hero-icons i:hover {
  color: var(--accent-primary);
  opacity: 1;
  transform: translateY(-5px);
}

/* Sections */
.section {
  padding: 40px 5%;
  position: relative;
}

.section-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.section-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.section-icon.blue {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  box-shadow: 0 0 30px rgba(52, 152, 219, 0.3);
}

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

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

.section-title-area h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.section-title-area p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 5%;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  max-width: 200px;
}

.divider-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  animation: bounce 2s ease-in-out infinite;
}

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

/* Forms */
.generator-form,
.checker-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Input Groups */
.input-group {
  width: 100%;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.input-label i {
  color: var(--accent-primary);
}

.input-field-group {
  display: flex;
  gap: 10px;
}

.input-field {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  outline: none;
}

.light-mode .input-field {
  border-color: rgba(0, 0, 0, 0.1);
}

.input-field:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.input-field.small {
  max-width: 100px;
}

.input-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.input-textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  resize: vertical;
  transition: all var(--transition-fast);
  outline: none;
}

.input-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Input Action Button */
.input-action-btn {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--accent-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.input-action-btn:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

/* Options Row */
.options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.option-card {
  background: var(--bg-input);
  padding: 15px 20px;
  border-radius: var(--border-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.light-mode .option-card {
  border-color: rgba(0, 0, 0, 0.05);
}

.switch-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.switch-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.switch-text i {
  color: var(--accent-primary);
}

/* Toggle Switch */
.switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--text-muted);
  transition: var(--transition-fast);
  border-radius: 26px;
}

.slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: var(--transition-fast);
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--accent-primary);
}

input:checked + .slider::before {
  transform: translateX(24px);
}

/* Settings Row */
.settings-row,
.date-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Buttons */
.generate-btn,
.check-btn {
  position: relative;
  padding: 18px 40px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--border-radius);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-glow);
}

.generate-btn:hover,
.check-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.generate-btn:active,
.check-btn:active {
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 1.2rem;
}

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

.generate-btn:hover .btn-shine {
  left: 100%;
}

.check-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  box-shadow: 0 0 30px rgba(52, 152, 219, 0.3);
}

.check-btn:hover {
  box-shadow: 0 10px 40px rgba(52, 152, 219, 0.4);
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  width: 0;
  transition: width 0.3s ease;
}

/* Output Section */
.output-section {
  background: var(--bg-input);
  border-radius: var(--border-radius);
  padding: 20px;
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.output-title {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.output-title i {
  color: var(--accent-primary);
}

.output-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  border: none;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.action-btn:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.action-btn.danger:hover {
  background: var(--accent-danger);
}

.output-textarea {
  width: 100%;
  min-height: 200px;
  padding: 15px;
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  resize: vertical;
  outline: none;
  transition: all var(--transition-fast);
}

.output-textarea:focus {
  border-color: var(--accent-primary);
}

.output-stats {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stat-item i {
  color: var(--accent-primary);
}

/* Stats Dashboard */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
}

.stat-card {
  background: var(--bg-input);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.stat-card.live::before {
  background: var(--accent-success);
}

.stat-card.cvv::before {
  background: var(--accent-info);
}

.stat-card.ccn::before {
  background: var(--accent-warning);
}

.stat-card.die::before {
  background: var(--accent-danger);
}

.stat-card.unknown::before {
  background: var(--text-muted);
}

.stat-card.live {
  border-color: rgba(0, 255, 136, 0.3);
}

.stat-card.cvv {
  border-color: rgba(52, 152, 219, 0.3);
}

.stat-card.ccn {
  border-color: rgba(255, 215, 0, 0.3);
}

.stat-card.die {
  border-color: rgba(255, 71, 87, 0.3);
}

.stat-card.unknown {
  border-color: rgba(160, 160, 176, 0.3);
}

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

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.stat-card.live .stat-icon {
  color: var(--accent-success);
}

.stat-card.cvv .stat-icon {
  color: var(--accent-info);
}

.stat-card.ccn .stat-icon {
  color: var(--accent-warning);
}

.stat-card.die .stat-icon {
  color: var(--accent-danger);
}

.stat-card.unknown .stat-icon {
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-card.live .stat-value {
  color: var(--accent-success);
}

.stat-card.cvv .stat-value {
  color: var(--accent-info);
}

.stat-card.ccn .stat-value {
  color: var(--accent-warning);
}

.stat-card.die .stat-value {
  color: var(--accent-danger);
}

.stat-card.unknown .stat-value {
  color: var(--text-muted);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-tab {
  padding: 10px 20px;
  background: var(--bg-input);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

.filter-tab.live:hover,
.filter-tab.live.active {
  background: var(--accent-success);
  border-color: var(--accent-success);
}

.filter-tab.cvv:hover,
.filter-tab.cvv.active {
  background: var(--accent-info);
  border-color: var(--accent-info);
}

.filter-tab.ccn:hover,
.filter-tab.ccn.active {
  background: var(--accent-warning);
  border-color: var(--accent-warning);
  color: var(--bg-primary);
}

.filter-tab.die:hover,
.filter-tab.die.active {
  background: var(--accent-danger);
  border-color: var(--accent-danger);
}

/* Social Channels Section */
.social-channels {
  margin-top: 2rem;
}

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

.channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

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

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

.channel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.channel-btn.telegram {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  color: white;
}

.channel-btn.telegram:hover {
  border-color: #0088cc;
  box-shadow: 0 8px 25px rgba(34, 158, 217, 0.4);
}

.channel-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
}

.channel-btn.whatsapp:hover {
  border-color: #128C7E;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.channel-btn.premium {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
}

.channel-btn.premium:hover {
  border-color: #FFD700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.channel-btn.website {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: white;
}

.channel-btn.website:hover {
  border-color: #4F46E5;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.channel-btn i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.channel-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.channel-desc {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: 50px 5%;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand i {
  -webkit-text-fill-color: var(--accent-primary);
}

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--border-radius);
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
  min-width: 300px;
  backdrop-filter: blur(10px);
}

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

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

.toast.success {
  background: rgba(0, 255, 136, 0.9);
}

.toast.error {
  background: rgba(255, 71, 87, 0.9);
}

.toast.info {
  background: rgba(52, 152, 219, 0.9);
}

.toast.warning {
  background: rgba(255, 215, 0, 0.9);
  color: var(--bg-primary);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.light-mode .loading-overlay {
  background: rgba(240, 242, 245, 0.95);
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--accent-primary);
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(1) {
  animation-duration: 1s;
}

.spinner-ring:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top-color: var(--accent-secondary);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-top-color: var(--accent-success);
  animation-duration: 2s;
}

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

.loading-text {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .gradient-text {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 20px;
  }
  
  .section-card {
    padding: 25px;
  }
  
  .options-row,
  .settings-row,
  .date-row {
    grid-template-columns: 1fr;
  }
  
  .stats-dashboard {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .output-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .hero-icons {
    font-size: 1.8rem;
    gap: 15px;
  }
  
  .toast-container {
    left: 20px;
    right: 20px;
  }
  
  .toast {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .gradient-text {
    font-size: 2rem;
  }
  
  .stats-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-card {
    padding: 20px;
  }
  
  .generate-btn,
  .check-btn {
    padding: 15px 25px;
    font-size: 1rem;
  }
}

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

.section-card {
  animation: fadeInUp 0.6s ease;
}

/* Hover effects for interactive elements */
.input-field:hover,
.input-textarea:hover {
  border-color: rgba(0, 212, 255, 0.5);
}

/* API Configuration Styles */
.api-config {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  background: var(--bg-input);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.toggle-switch:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.toggle-switch input[type="radio"] {
  display: none;
}

.toggle-switch input[type="radio"]:checked + span {
  color: var(--accent-primary);
  font-weight: 600;
}

.toggle-switch input[type="radio"]:checked ~ .toggle-switch {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent-primary);
}

.api-settings {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInDown 0.3s ease;
}

.api-settings .input-group {
  margin-bottom: 15px;
}

.api-info {
  background: var(--bg-input);
  padding: 15px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.api-info p {
  margin: 5px 0;
  color: var(--text-secondary);
}

.api-info strong {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Filtered Cards Section */
.filtered-cards-section {
  margin-top: 30px;
  background: var(--bg-input);
  border-radius: var(--border-radius);
  padding: 25px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  display: none;
}

.filtered-cards-section.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.filtered-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filtered-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.filtered-title i {
  color: var(--accent-primary);
}

.filtered-count {
  background: var(--bg-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Visual Card Styles */
.visual-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 18px;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.visual-card.live {
  border-color: rgba(0, 255, 136, 0.3);
}

.visual-card.live::before {
  background: var(--accent-success);
}

.visual-card.cvv {
  border-color: rgba(52, 152, 219, 0.3);
}

.visual-card.cvv::before {
  background: var(--accent-info);
}

.visual-card.ccn {
  border-color: rgba(255, 215, 0, 0.3);
}

.visual-card.ccn::before {
  background: var(--accent-warning);
}

.visual-card.die {
  border-color: rgba(255, 71, 87, 0.3);
}

.visual-card.die::before {
  background: var(--accent-danger);
}

.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-status-badge.live {
  background: rgba(0, 255, 136, 0.15);
  color: var(--accent-success);
}

.card-status-badge.cvv {
  background: rgba(52, 152, 219, 0.15);
  color: var(--accent-info);
}

.card-status-badge.ccn {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-warning);
}

.card-status-badge.die {
  background: rgba(255, 71, 87, 0.15);
  color: var(--accent-danger);
}

.card-scheme {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-number {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 15px;
  word-break: break-all;
}

.card-details {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.card-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-detail-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: 'Courier New', monospace;
}

.card-message {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-style: italic;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-action-btn {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.card-action-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

/* Empty State */
.cards-grid:empty::after {
  content: 'No cards found for this filter';
  display: block;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

/* Responsive for cards grid */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-height: 350px;
  }
  
  .filtered-cards-section {
    padding: 15px;
  }
  
  .card-number {
    font-size: 0.95rem;
  }
}

/* Selection color */
::selection {
  background: var(--accent-primary);
  color: white;
}

/* Light Mode */
body.light-mode {
    color-scheme: light;
    --main: #DEE4E7;
    --contrast: #212121;
    --label: #f0f0f0;
    --info: #2B2B35;
    --mainLightBlue: #0699E2;

    #theme-toggle {
        color: var(--mainLightBlue);
    }

    .boldy {
        color: var(--mainLightBlue);
    }

    p.boldy.info {
        color: var(--info);
        font-weight: 700;
    }

    p.boldy.main {
        color: var(--mainLightBlue);
        font-size: 17px;
        font-weight: 700;
    }

    .Ilabel {
        background-color: var(--mainLightBlue);
        color: var(--label);
    }

    .input_text {
        background-color: var(--label);
        color: var(--mainLightBlue);
    }

    #cards {
        color: var(--mainLightBlue);
    }

    .textarea {
        background-color: var(--label);
        border-bottom: 2px solid var(--mainLightBlue);
        border-color: var(--mainLightBlue);
        box-shadow: inset 0 1px 1px var(--rg1), 0 0 20px var(--rg2);
        width: 100%;
        color: var(--contrast);
    }

    .Lbutton {
        background: linear-gradient(to bottom, var(--mainLightBlue) 5%, var(--mainLightBlue) 100%);
        background-color: var(--mainLightBlue);
        border: 1px solid var(--contrast);
        color: var(--label);
        border-radius: 6px;
        cursor: pointer;
        box-shadow: inset 0 1px 1px var(--rg1), 0 0 15px var(--rg2);
    }

    .Lbutton:hover,
    .Lbutton:focus,
    .Lbutton:active,
    .Lbutton.active,
    .open>.dropdown-toggle.Lbutton {
        box-shadow: inset 0 1px 1px var(--rg1), 0 0 20px var(--rg2);
    }

    .Lbutton:active {
        position: relative;
        top: 1px;
    }

    .clean::before,
    .cleanit::before {
        color: var(--mainLightBlue);
    }

    .section-header {
        color: var(--mainLightBlue);
    }
}

body {
    margin: 0;
    background: var(--main);
    background-size: cover;
    background-repeat: no-repeat;
    font-family: var(--customFont);
}

#theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: var(--contrast);
}

header {
    color: var(--contrast);
    padding: 20px 0;
}

a {
    color: var(--info);
}

.title {
    text-align: center;
    font-family: var(--mainFont);
    font-size: 2rem;
    margin: 25px 0 3px;
}

.title i {
    display: inline-block;
    font-size: 2rem;
    vertical-align: middle;
    margin-right: 10px;
}

.hh-title {
    text-align: center;
    font-family: var(--mainFont);
    font-size: 12px;
    margin-bottom: 5px;
}

#cards {
    text-align: center;
    color: #ebebeb;
    font-size: 1.5rem;
}

/* Section Styles */
.section {
    padding: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
    color: var(--contrast);
}

.section-header h2 {
    font-family: var(--mainFont);
    font-size: 1.5rem;
    margin: 0;
    display: inline-block;
}

.section-header i {
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--contrast), transparent);
    margin: 20px 10%;
}

form#console, form#checker {
    text-align: center;
}

.Ilabel,
.input_text,
.input_texts {
    display: inline-flex;
    font-family: var(--customFont);
    font-size: 16px;
}

.Ilabel {
    background-color: #222222;
    padding: 3px 5px 3px 3px;
    border-radius: 5px 0 0 5px;
    border: 1px solid var(--contrast);
    border-right: none;
    color: var(--contrast);
    box-shadow: inset 0 1px 1px var(--rg1), 0 0 10px var(--rg2);
    align-items: center;
}

.Ilabel i {
    margin-right: 3px;
    line-height: 1;
    vertical-align: middle;
}

.input_text {
    padding: 3px;
    border: 1px solid var(--contrast);
    border-radius: 0 5px 5px 0;
    box-shadow: inset 0 1px 1px var(--rg1), 0 0 10px var(--rg2);
    vertical-align: bottom;
    outline: none;
    font-size: 16px;
    color: #ebebeb;
    background-color: var(--label);
}

select.input_text {
    margin-left: -3px;
    font-size: 16px;
    background-color: var(--label);
}

.p {
    display: block;
    margin-bottom: 12px;
}

p.boldy {
    font-weight: 700;
}

p.boldy.info {
    color: var(--info);
    font-weight: 700;
}

p.boldy.main {
    font-size: 17px;
    font-weight: 700;
}

.s {
    margin-left: -5px;
    background: var(--label);
    padding: 3px;
}

.input_text>label {
    cursor: pointer;
}

.eighty {
    margin-top: 10px;
    width: 50%;
    position: relative;
}

.clean,
.cleanit {
    background: linear-gradient(to bottom, var(--main) 5%, var(--main) 100%);
    border: 1px solid var(--contrast);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
    position: absolute;
    top: -11px;
    right: -16px;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px var(--rg1), 0 0 15px var(--rg2);
}

.clean::before,
.cleanit::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: var(--contrast);
}

.clean:hover::before,
.cleanit:hover::before {
    transform: rotate(360deg);
    transition: transform 0.5s;
}

.Lbutton {
    background: linear-gradient(to bottom, var(--main) 5%, var(--main) 100%);
    background-color: var(--main);
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    font-family: var(--customFont);
    font-size: 1px;
    font-weight: bold;
    padding: 5px 30px;
    text-decoration: none;
    border: 1px solid var(--contrast);
    color: var(--contrast);
    box-shadow: inset 0 1px 1px var(--rg1), 0 0 15px var(--rg2);
}

.Lbutton:hover,
.Lbutton:focus,
.Lbutton:active,
.Lbutton.active,
.open>.dropdown-toggle.Lbutton {
    box-shadow: inset 0 1px 1px var(--rg1), 0 0 20px var(--rg2);
}

.Lbutton:active {
    position: relative;
    top: 1px;
}

.textarea {
    background-color: var(--label);
    border-bottom: 2px solid #2A203F;
    border-color: var(--contrast);
    box-shadow: inset 0 1px 1px var(--rg1), 0 0 20px var(--rg2);
    width: 100%;
    color: #ebebeb;
    font-size: 16px;
    margin-bottom: 10px;
    outline: none;
    font-family: var(--customFont);
    font-weight: 500;
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: center;
}

.textarea::-webkit-scrollbar {
    width: 5px;
}

.textarea::-webkit-scrollbar-thumb {
    background: var(--contrast);
}

/* Checker specific styles */
.textarea-input {
    width: 300px;
    min-height: 100px;
    border-radius: 5px;
    padding: 10px;
    resize: vertical;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 10px;
}

.stat-box {
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--mainFont);
    font-weight: bold;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
}

.stat-count {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

.stat-box.live {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid var(--live);
    color: var(--live);
}

.stat-box.cvv {
    background: rgba(0, 191, 255, 0.1);
    border: 2px solid var(--cvv);
    color: var(--cvv);
}

.stat-box.ccn {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--ccn);
    color: var(--ccn);
}

.stat-box.die {
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid var(--die);
    color: var(--die);
}

.stat-box.unknown {
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid var(--unknown);
    color: var(--unknown);
}

footer {
    text-align: center;
    font-family: var(--mainFont);
    color: var(--contrast);
    font-size: 13px;
    padding: 20px 0;
}

/* Responsive */

@media only screen and (max-width: 480px) {
    .eighty {
        margin-top: 5px;
        width: 80%;
    }

    .textarea {
        font-size: 13px;
    }

    .Lbutton {
        font-size: 13px;
        font-weight: bold;
        padding: 8px 17px;
    }

    .textarea-input {
        width: 80%;
    }

    .stats-container {
        gap: 10px;
    }

    .stat-box {
        padding: 8px 15px;
        font-size: 12px;
        min-width: 60px;
    }

    .stat-count {
        font-size: 18px;
    }
}

@media only screen and (min-width: 481px) {
    .eighty {
        margin-top: 5px;
        width: 80%;
    }

    .textarea {
        font-size: 16px;
    }

    .Lbutton {
        font-size: 24px;
        font-weight: bold;
        padding: 8px 20px;
    }

    .textarea-input {
        width: 400px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait),
only screen and (min-width: 1224px),
only screen and (min-width: 1824px) {
    .card-group {
        flex-direction: row;
        text-align: center;
    }

    .eighty {
        margin-top: 10px;
        width: 50%;
    }

    .textarea-input {
        width: 500px;
    }
}
