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

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
}

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

/* Header */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url("../img/sticker_003.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 10em;
}

.header h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.header p {
  color: var(--text-medium);
  font-size: 1.1em;
  text-shadow: 1px 1px white;
}

.btn-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-medium);
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

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

.card-body {
  padding: 25px;
}

/* Wallet Section */
.wallet-main {
  margin-bottom: 20px;
}

.wallet-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.wallet-input-group {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 15px;
}

.wallet-status-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-badge-item {
  padding: 10px 20px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.9em;
}

.status-badge-item .status-dot {
  font-size: 0.6em;
  color: var(--text-light);
  animation: pulse 2s ease-in-out infinite;
}

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

.status-badge-item.connected .status-dot {
  color: var(--success);
}

.status-badge-item.verified {
  background: #d1fae5;
  border-color: var(--success);
  color: var(--success);
}

.status-badge-item.verified i {
  color: var(--success);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Wallet Dropdown */
.wallet-dropdown {
  position: relative;
  display: inline-block;
}

.wallet-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
  min-width: 280px;
}

.wallet-dropdown-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wallet-dropdown-toggle.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wallet-dropdown-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.wallet-dropdown-main i {
  color: var(--primary);
  font-size: 1.1em;
}

.wallet-dropdown-main span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.wallet-dropdown-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-light);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-medium);
}

.wallet-dropdown-status.verified {
  background: #d1fae5;
  color: var(--success);
}

.wallet-dropdown-status .status-dot {
  font-size: 0.6em;
}

.wallet-dropdown-status.verified .status-dot {
  color: var(--success);
}

.wallet-dropdown-arrow {
  color: var(--text-light);
  font-size: 0.9em;
  transition: transform 0.2s;
}

.wallet-dropdown-toggle.active .wallet-dropdown-arrow {
  transform: rotate(180deg);
}

.wallet-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

.wallet-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wallet-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: "Inter", sans-serif;
  text-align: left;
}

.wallet-dropdown-item:hover {
  background: var(--bg-light);
}

.wallet-dropdown-item i {
  font-size: 1.1em;
  color: var(--text-medium);
}

.wallet-dropdown-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.wallet-dropdown-credit {
  cursor: default;
  padding: 16px;
}

.wallet-dropdown-credit:hover {
  background: none;
}

.wallet-dropdown-credit i {
  color: var(--success);
  font-size: 1.3em;
}

.wallet-dropdown-credit-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.wallet-dropdown-credit-label {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 500;
}

.wallet-dropdown-credit-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
}

.wallet-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.wallet-dropdown-disconnect {
  border-radius: 0 0 6px 6px;
}

.wallet-dropdown-disconnect:hover {
  background: #fee2e2;
}

.wallet-dropdown-disconnect i {
  color: var(--danger);
}

.wallet-dropdown-disconnect span {
  color: var(--danger);
}

.input-field {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.disclaimer-box {
  margin-top: 20px;
  padding: 15px;
  background: #fef3c7;
  border: 2px solid var(--warning);
  border-radius: 8px;
  color: #92400e;
  font-size: 0.9em;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.disclaimer-box i {
  color: var(--warning);
  font-size: 1.2em;
  margin-top: 2px;
  flex-shrink: 0;
}

.disclaimer-box div {
  flex: 1;
}

.disclaimer-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1em;
}

.disclaimer-box span {
  display: block;
  font-size: 0.95em;
  opacity: 0.9;
}

/* Search Bar */
.filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text-medium);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.search-bar {
  position: relative;
  margin-bottom: 20px;
}

.search-bar i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search-input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 5px;
  font-size: 1.1em;
}

.btn-clear:hover {
  color: var(--text-dark);
}

.btn-pinky {
  background-color: #f06eaa;
}

.selected-info {
  padding: 15px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-ids {
  font-family: "Courier New", monospace;
  color: var(--text-medium);
  font-size: 0.9em;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #475569;
  transform: translateY(-1px);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-info {
  background: var(--info);
  color: white;
}

.btn-info:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-donate {
  padding: 10px 20px;
  background: #ec4899;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-donate:hover {
  background: #db2777;
  transform: translateY(-1px);
}

/* NFT Section */
.nft-section {
  margin-top: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 5px;
}

.section-header h2 {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text-dark);
}

.nft-count {
  color: var(--text-medium);
  font-weight: 600;
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 20px;
}

.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* NFT Cards */
.nft-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.nft-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.nft-card.selected {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.nft-card.staked {
  border-left: 4px solid var(--success);
}

.nft-card.unstaked {
  border-left: 4px solid var(--secondary);
}

.nft-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--bg-light);
}

.nft-info {
  padding: 20px;
}

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

.nft-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--text-dark);
}

.status-badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
}

.status-staked {
  background: #d1fae5;
  color: var(--success);
}

.status-unstaked {
  background: var(--bg-light);
  color: var(--text-medium);
}

.nft-owner {
  font-size: 0.85em;
  color: var(--text-medium);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nft-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #d1fae5;
  border-radius: 6px;
  font-weight: 600;
  color: var(--success);
  margin-top: 10px;
}

.select-checkbox {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: var(--success);
}

.nft-card.selected .select-checkbox {
  display: flex;
  border-color: var(--success);
  background: var(--success);
  color: white;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-small {
  width: 100%;
  max-width: 500px;
}

.modal-medium {
  width: 100%;
  max-width: 700px;
}

.modal-large {
  width: 100%;
  max-width: 900px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text-medium);
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
}

.modal-body {
  padding: 25px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
}

/* Progress */
.progress-header h3 {
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bg-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

.progress-bar-container {
  background: var(--bg-light);
  border-radius: 8px;
  height: 40px;
  margin: 20px 0;
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--success), #059669);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 10px;
}

.progress-details {
  text-align: center;
  color: var(--text-medium);
  margin-top: 10px;
}

/* Guide Content */
.guide-content h4 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 25px;
  margin-bottom: 10px;
}

.guide-content h4:first-child {
  margin-top: 0;
}

.guide-content p {
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.7;
}

.guide-content ul,
.guide-content ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.guide-content li {
  margin-bottom: 10px;
  color: var(--text-medium);
}

/* Info Box (for tips and instructions) */
.info-box {
  padding: 15px;
  background: #dbeafe;
  border: 2px solid var(--info);
  border-radius: 8px;
  color: #1e40af;
  font-size: 0.9em;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-box i {
  color: var(--info);
  font-size: 1.2em;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-box span {
  flex: 1;
  line-height: 1.6;
}

.info-box strong {
  font-weight: 600;
}

.warning-box {
  padding: 15px;
  background: #fef3c7;
  border: 2px solid var(--warning);
  border-radius: 8px;
  margin: 20px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.warning-box i {
  color: var(--warning);
  margin-top: 2px;
  font-size: 1.2em;
}

.danger-box {
  padding: 20px;
  background: #fee2e2;
  border: 3px solid var(--danger);
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.danger-box i {
  font-size: 3em;
  color: var(--danger);
  margin-bottom: 15px;
}

.danger-box h4 {
  color: var(--danger);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.danger-box p {
  color: #991b1b;
  margin-bottom: 10px;
}

/* NFT Detail Modal */
.nft-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.nft-detail-image img {
  width: 100%;
  border-radius: 8px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.info-label {
  font-weight: 600;
  color: var(--text-medium);
}

.info-value {
  font-weight: 600;
  color: var(--text-dark);
}

.nft-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

/* Donate */
.donate-address {
  margin: 20px 0;
}

.address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  margin-top: 10px;
}

.address-box code {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: var(--text-dark);
  word-break: break-all;
}

.btn-copy {
  padding: 8px 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--primary-dark);
}

.donate-input-group {
  position: relative;
  margin: 15px 0;
}

.input-suffix {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-medium);
  font-weight: 600;
  pointer-events: none;
}

/* Loading & Empty States */
.loading {
  text-align: center;
  padding: 60px 20px;
}

.loading p {
  margin-top: 20px;
  color: var(--text-medium);
  font-size: 1.1em;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state i {
  font-size: 4em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-medium);
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  z-index: 10000;
  max-width: 400px;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  border-color: var(--success);
  background: #d1fae5;
  color: var(--success);
}

.notification.error {
  border-color: var(--danger);
  background: #fee2e2;
  color: var(--danger);
}

.notification.info {
  border-color: var(--info);
  background: #dbeafe;
  color: var(--info);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 100;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: var(--text-medium);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.1em;
    text-shadow: 1px 1px white;
  }

  .header p {
    font-size: 0.8em;
  }

  .card-header {
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .wallet-input-group {
    width: 100%;
    min-width: 100%;
  }

  .wallet-controls {
    flex-direction: column;
  }

  .wallet-controls .btn {
    width: 100%;
  }

  .status-badge-item {
    flex: 1;
    justify-content: center;
  }

  .filter-buttons {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }

  .nft-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .nft-detail-grid {
    grid-template-columns: 1fr;
  }

  .nft-actions {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
} /* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
}

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

/* Header */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.header p {
  color: var(--text-medium);
}

.btn-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-medium);
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

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

.card-body {
  padding: 25px;
}

/* Wallet Section */
.wallet-main {
  margin-bottom: 20px;
}

.wallet-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.wallet-input-group {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 15px;
}

.wallet-status-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-badge-item {
  padding: 10px 20px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.9em;
}

.status-badge-item-header {
  padding: 10px 20px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 0.9em;
}

.status-badge-item-header .status-dot {
  font-size: 0.6em;
  color: var(--text-light);
  animation: pulse 2s ease-in-out infinite;
}

.status-badge-item-header.connected {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.status-badge-item-header.connected .status-dot {
  color: var(--success);
}

.status-badge-item .status-dot {
  font-size: 0.6em;
  color: var(--text-light);
  animation: pulse 2s ease-in-out infinite;
}

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

.status-badge-item.connected .status-dot {
  color: var(--success);
}

.status-badge-item.verified {
  background: #d1fae5;
  border-color: var(--success);
  color: var(--success);
}

.status-badge-item.verified i {
  color: var(--success);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Wallet Dropdown */
.wallet-dropdown {
  position: relative;
  display: inline-block;
}

.wallet-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
  min-width: 280px;
}

.wallet-dropdown-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wallet-dropdown-toggle.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wallet-dropdown-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.wallet-dropdown-main i {
  color: var(--primary);
  font-size: 1.1em;
}

.wallet-dropdown-main span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.wallet-dropdown-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-light);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-medium);
}

.wallet-dropdown-status.verified {
  background: #d1fae5;
  color: var(--success);
}

.wallet-dropdown-status .status-dot {
  font-size: 0.6em;
}

.wallet-dropdown-status.verified .status-dot {
  color: var(--success);
}

.wallet-dropdown-arrow {
  color: var(--text-light);
  font-size: 0.9em;
  transition: transform 0.2s;
}

.wallet-dropdown-toggle.active .wallet-dropdown-arrow {
  transform: rotate(180deg);
}

.wallet-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

.wallet-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wallet-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: "Inter", sans-serif;
  text-align: left;
}

.wallet-dropdown-item:hover {
  background: var(--bg-light);
}

.wallet-dropdown-item i {
  font-size: 1.1em;
  color: var(--text-medium);
}

.wallet-dropdown-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.wallet-dropdown-credit {
  cursor: default;
  padding: 16px;
}

.wallet-dropdown-credit:hover {
  background: none;
}

.wallet-dropdown-credit i {
  color: var(--success);
  font-size: 1.3em;
}

.wallet-dropdown-credit-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.wallet-dropdown-credit-label {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 500;
}

.wallet-dropdown-credit-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
}

.wallet-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.wallet-dropdown-disconnect {
  border-radius: 0 0 6px 6px;
}

.wallet-dropdown-disconnect:hover {
  background: #fee2e2;
}

.wallet-dropdown-disconnect i {
  color: var(--danger);
}

.wallet-dropdown-disconnect span {
  color: var(--danger);
}

.input-field {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.disclaimer-box {
  margin-top: 20px;
  padding: 15px;
  background: #fef3c7;
  border: 2px solid var(--warning);
  border-radius: 8px;
  color: #92400e;
  font-size: 0.9em;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.disclaimer-box i {
  color: var(--warning);
  font-size: 1.2em;
  margin-top: 2px;
  flex-shrink: 0;
}

.disclaimer-box div {
  flex: 1;
}

.disclaimer-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1em;
}

.disclaimer-box span {
  display: block;
  font-size: 0.95em;
  opacity: 0.9;
}

/* Search Bar */
.filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text-medium);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.search-bar {
  position: relative;
  margin-bottom: 20px;
}

.search-bar i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.selected-info {
  padding: 15px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-ids {
  font-family: "Courier New", monospace;
  color: var(--text-medium);
  font-size: 0.9em;
}

/* Buttons */
.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-info {
  background: var(--info);
  color: white;
}

.btn-info:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-donate {
  padding: 10px 20px;
  background: #ec4899;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-donate:hover {
  background: #db2777;
  transform: translateY(-1px);
}

/* NFT Section */
.nft-section {
  margin-top: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 5px;
}

.section-header h2 {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text-dark);
}

.nft-count {
  color: var(--text-medium);
  font-weight: 600;
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 20px;
}

.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* NFT Cards */
.nft-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.nft-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.nft-card.selected {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.nft-card.staked {
  border-left: 4px solid var(--success);
}

.nft-card.unstaked {
  border-left: 4px solid var(--secondary);
}

.nft-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--bg-light);
}

.nft-info {
  padding: 20px;
}

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

.nft-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--text-dark);
}

.status-badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
}

.status-staked {
  background: #d1fae5;
  color: var(--success);
}

.status-unstaked {
  background: var(--bg-light);
  color: var(--text-medium);
}

.nft-owner {
  font-size: 0.85em;
  color: var(--text-medium);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nft-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #d1fae5;
  border-radius: 6px;
  font-weight: 600;
  color: var(--success);
  margin-top: 10px;
}

.select-checkbox {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: var(--success);
}

.nft-card.selected .select-checkbox {
  display: flex;
  border-color: var(--success);
  background: var(--success);
  color: white;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-small {
  width: 100%;
  max-width: 500px;
}

.modal-medium {
  width: 100%;
  max-width: 700px;
}

.modal-large {
  width: 100%;
  max-width: 900px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text-medium);
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
}

.modal-body {
  padding: 25px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
}

/* Progress */
.progress-header h3 {
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bg-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

.progress-bar-container {
  background: var(--bg-light);
  border-radius: 8px;
  height: 40px;
  margin: 20px 0;
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--success), #059669);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 10px;
}

.progress-details {
  text-align: center;
  color: var(--text-medium);
  margin-top: 10px;
}

/* Guide Content */
.guide-content h4 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 25px;
  margin-bottom: 10px;
}

.guide-content h4:first-child {
  margin-top: 0;
}

.guide-content p {
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.7;
}

.guide-content ul,
.guide-content ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.guide-content li {
  margin-bottom: 10px;
  color: var(--text-medium);
}

.warning-box {
  padding: 15px;
  background: #fef3c7;
  border: 2px solid var(--warning);
  border-radius: 8px;
  margin: 20px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.warning-box i {
  color: var(--warning);
  margin-top: 2px;
  font-size: 1.2em;
}

.danger-box {
  padding: 20px;
  background: #fee2e2;
  border: 3px solid var(--danger);
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.danger-box i {
  font-size: 3em;
  color: var(--danger);
  margin-bottom: 15px;
}

.danger-box h4 {
  color: var(--danger);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.danger-box p {
  color: #991b1b;
  margin-bottom: 10px;
}

/* NFT Detail Modal */
.nft-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.nft-detail-image img {
  width: 100%;
  border-radius: 8px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.info-label {
  font-weight: 600;
  color: var(--text-medium);
}

.info-value {
  font-weight: 600;
  color: var(--text-dark);
}

.nft-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

/* Donate */
.donate-address {
  margin: 20px 0;
}

.address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 8px;
  margin-top: 10px;
}

.address-box code {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: var(--text-dark);
  word-break: break-all;
}

.btn-copy {
  padding: 8px 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--primary-dark);
}

.donate-input-group {
  position: relative;
  margin: 15px 0;
}

.input-suffix {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-medium);
  font-weight: 600;
  pointer-events: none;
}

/* Loading & Empty States */
.loading {
  text-align: center;
  padding: 60px 20px;
}

.loading p {
  margin-top: 20px;
  color: var(--text-medium);
  font-size: 1.1em;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state i {
  font-size: 4em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-medium);
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  z-index: 10000;
  max-width: 400px;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  border-color: var(--success);
  background: #d1fae5;
  color: var(--success);
}

.notification.error {
  border-color: var(--danger);
  background: #fee2e2;
  color: var(--danger);
}

.notification.info {
  border-color: var(--info);
  background: #dbeafe;
  color: var(--info);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 100;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: var(--text-medium);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

/* Responsive */
@media (max-width: 768px) {
  .wallet-dropdown-toggle {
    min-width: 100%;
  }

  .card-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .wallet-input-group {
    width: 100%;
    min-width: 100%;
  }

  .wallet-controls {
    flex-direction: column;
  }

  .wallet-controls .btn {
    width: 100%;
  }

  .status-badge-item {
    flex: 1;
    justify-content: center;
  }

  .filter-buttons {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }

  .nft-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .nft-detail-grid {
    grid-template-columns: 1fr;
  }

  .nft-actions {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
