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

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a0a2e 100%);
  color: #fff;
  padding: 20px;
  min-height: 100vh;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  background: linear-gradient(90deg, #9945FF, #14F195);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Logo Styles */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  position: relative;
}

.logo-pad {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #9945FF 0%, #7B3FE4 50%, #5C2FC2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 15px rgba(153, 69, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.logo-pad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  border-radius: 10px 10px 0 0;
}

.logo-text {
  font-family: 'Arial Black', 'Helvetica', sans-serif;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(180deg, #14F195 0%, #00D4AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.logo-title {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #9945FF, #14F195);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 11px;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

/* Controls Panel */
#controls {
  background: rgba(17, 17, 17, 0.8);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #333;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}

.control-row:last-child { 
  margin-bottom: 0; 
}

.control-group { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #9945FF, #7d3acc);
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 14px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 69, 255, 0.4);
}

button:active {
  transform: translateY(0);
}

button.secondary { 
  background: linear-gradient(135deg, #222, #444); 
}

button.secondary:hover {
  box-shadow: 0 4px 12px rgba(68, 68, 68, 0.4);
}

input[type="range"] { 
  width: 120px; 
  accent-color: #9945FF; 
}

input[type="text"] {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
}

select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-display {
  min-width: 40px;
  text-align: center;
  font-weight: bold;
  color: #14F195;
}

/* Beat Counter */
#beatCounter {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  color: #14F195;
  text-shadow: 0 0 20px rgba(20, 241, 149, 0.5);
  margin-bottom: 20px;
  font-family: monospace;
}

/* Pattern Selector */
.pattern-selector { 
  display: flex; 
  gap: 10px; 
  margin-bottom: 20px;
  align-items: center;
}

.pattern-btn {
  flex: 1;
  padding: 15px;
  font-size: 16px;
  background: rgba(34, 34, 34, 0.8);
}

.pattern-btn.active { 
  background: linear-gradient(135deg, #9945FF, #7d3acc); 
}

.pattern-divider {
  color: #444;
  font-size: 20px;
  margin: 0 5px;
}

.pattern-copy-btn {
  padding: 10px 15px;
  font-size: 14px;
  white-space: nowrap;
}

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

/* Pattern Sequencer */
#patternSequencer {
  background: rgba(17, 17, 17, 0.8);
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #333;
}

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

.sequencer-title {
  font-size: 14px;
  font-weight: bold;
  color: #14F195;
}

.seq-toggle {
  min-width: 100px;
  padding: 6px 12px;
  font-size: 12px;
}

.seq-toggle.active {
  background: linear-gradient(135deg, #14F195, #0ea76e) !important;
}

.sequence-slots {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.seq-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(34, 34, 34, 0.6);
  padding: 6px 4px;
  border-radius: 6px;
  border: 2px solid #2a2a2a;
  transition: all 0.3s;
}

.seq-slot.active {
  border-color: #14F195;
  box-shadow: 0 0 10px rgba(20, 241, 149, 0.5);
  background: rgba(20, 241, 149, 0.1);
}

.pattern-select {
  width: 100%;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.slot-number {
  font-size: 10px;
  color: #888;
  font-weight: bold;
}

/* Sample Packs */
#samplePacks {
  background: rgba(17, 17, 17, 0.8);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #333;
}

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

.packs-title {
  font-size: 16px;
  font-weight: bold;
  color: #14F195;
}

.coming-soon-badge {
  background: linear-gradient(135deg, #9945FF, #7d3acc);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pack-card {
  background: rgba(34, 34, 34, 0.6);
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #2a2a2a;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.pack-card:not(.disabled):hover {
  border-color: #9945FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 69, 255, 0.3);
}

.pack-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
}

.pack-card.disabled::after {
  content: 'Coming Soon';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
}

.pack-card.disabled:hover::after {
  opacity: 1;
}

.pack-card.active {
  border-color: #14F195;
  background: rgba(20, 241, 149, 0.1);
}

.pack-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.pack-name {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 2px;
  color: #fff;
}

.pack-description {
  font-size: 10px;
  color: #888;
}

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

@media (max-width: 480px) {
  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sequencer */
.sequencer {
  background: rgba(17, 17, 17, 0.8);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #333;
  margin-bottom: 20px;
}

.track-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}

.track-header { 
  width: 120px; 
  margin-right: 15px; 
}

.track-label-wrapper {
  position: relative;
}

.track-label {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.track-label:hover {
  color: #14F195;
}

.sound-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 5px 0;
  z-index: 1000;
  min-width: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-top: 5px;
}

.sound-option {
  padding: 8px 15px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.sound-option:hover {
  background: #2a2a2a;
}

.sound-option.selected {
  background: #9945FF;
  color: #fff;
  font-weight: bold;
}

.track-volume {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.track-volume input[type="range"] { 
  width: 80px; 
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 4px;
  flex: 1;
}

.step {
  aspect-ratio: 1;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.step:hover { 
  transform: scale(1.1); 
  border-color: #555; 
}

.step.active { 
  box-shadow: 0 0 10px currentColor; 
}

.track-container[data-track="kick"] .step.active { 
  background: #9945FF; 
  border-color: #9945FF; 
}

.track-container[data-track="snare"] .step.active { 
  background: #00FFC3; 
  border-color: #00FFC3; 
}

.track-container[data-track="hat"] .step.active { 
  background: #14F195; 
  border-color: #14F195; 
}

.track-container[data-track="clap"] .step.active { 
  background: #FF6B9D; 
  border-color: #FF6B9D; 
}

.track-container[data-track="crash"] .step.active { 
  background: #FFA500; 
  border-color: #FFA500; 
}

.track-container[data-track="rim"] .step.active { 
  background: #87CEEB; 
  border-color: #87CEEB; 
}

.track-container[data-track="tom"] .step.active { 
  background: #DA70D6; 
  border-color: #DA70D6; 
}

.step.playing {
  animation: pulse 0.15s ease-out;
  box-shadow: 0 0 20px 5px #FFD700;
}

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

/* Effects Panel */
.effects-panel {
  background: rgba(17, 17, 17, 0.8);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #333;
  margin-bottom: 20px;
}

.effects-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #14F195;
}

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

.effect-control {
  background: rgba(34, 34, 34, 0.6);
  padding: 12px;
  border-radius: 8px;
}

.effect-control label { 
  display: block; 
  margin-bottom: 8px; 
  font-size: 13px; 
}

/* Mint Output */
#mintOutput {
  background: #0a0a0a;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #333;
  max-height: 150px;
  overflow: auto;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #14F195;
  margin-top: 10px;
  display: none; /* Hidden by default */
}

#mintOutput.show {
  display: block;
}

.show-details-btn {
  background: transparent;
  border: 1px solid #444;
  color: #888;
  font-size: 11px;
  padding: 5px 10px;
  margin-top: 10px;
  cursor: pointer;
}

.show-details-btn:hover {
  color: #14F195;
  border-color: #14F195;
  transform: none;
  box-shadow: none;
}

/* Responsive */

/* Mint Section */
#mintSection {
  margin-top: 10px;
}

.mint-status {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  display: none;
}

.mint-status.show {
  display: block;
}

.mint-status.loading {
  background: rgba(153, 69, 255, 0.2);
  border: 1px solid #9945FF;
  color: #d4a5ff;
}

.mint-status.success {
  background: rgba(20, 241, 149, 0.2);
  border: 1px solid #14F195;
  color: #14F195;
  position: relative;
}

.close-mint-status {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #14F195;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.close-mint-status:hover {
  color: #fff;
  transform: none;
  box-shadow: none;
}

.mint-status.error {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
  position: relative;
}

.mint-status a {
  color: #14F195;
  text-decoration: underline;
}

.mint-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #9945FF;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

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

@media (max-width: 1024px) {
  .track-grid {
    gap: 3px;
  }
  
  .track-header {
    width: 100px;
  }
  
  .sequence-slots {
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
  }
  
  .seq-slot {
    padding: 4px 2px;
  }
  
  .pattern-select {
    padding: 3px;
    font-size: 12px;
  }
  
  .slot-number {
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  #beatCounter {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  .pattern-selector {
    gap: 6px;
    margin-bottom: 10px;
  }
  
  .pattern-btn {
    padding: 8px;
    font-size: 12px;
  }
  
  #patternSequencer {
    padding: 8px 10px;
    margin-bottom: 10px;
  }
  
  .sequencer-header {
    margin-bottom: 6px;
  }
  
  .sequencer-title {
    font-size: 12px;
  }
  
  .seq-toggle {
    min-width: 80px;
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .sequence-slots {
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
  }
  
  .seq-slot {
    padding: 4px 2px;
    gap: 2px;
    border-radius: 4px;
  }
  
  .pattern-select {
    padding: 2px;
    font-size: 11px;
    border-radius: 3px;
  }
  
  .slot-number {
    font-size: 8px;
  }
  
  .control-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .track-container {
    flex-direction: row;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .track-header {
    width: 80px;
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .packs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .sequence-slots {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packs-grid {
    grid-template-columns: 1fr;
  }
}
/* Top Bar with Wallet */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.top-bar h1 {
  margin-bottom: 0;
}

.wallet-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.3);
  border-radius: 20px;
  padding: 6px 12px;
}

.balance-display {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Courier New', monospace;
}

.sol-icon {
  font-size: 16px;
  color: #14F195;
}

#solBalance {
  font-size: 14px;
  font-weight: bold;
  color: #14F195;
  min-width: 50px;
}

.sol-label {
  font-size: 11px;
  color: #888;
  font-weight: bold;
}

.airdrop-btn {
  background: linear-gradient(135deg, #00D4FF, #0099CC);
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 15px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.airdrop-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4);
}

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

.airdrop-btn.loading {
  animation: pulse-airdrop 1s infinite;
}

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

.wallet-btn {
  background: linear-gradient(135deg, #9945FF, #14F195);
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.wallet-btn.connected {
  background: linear-gradient(135deg, #14F195, #0ea76e);
  font-size: 12px;
}

/* Wallet Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal.show {
  display: flex !important;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border: 1px solid #333;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.modal-title {
  font-size: 20px;
  font-weight: bold;
  color: #14F195;
}

.close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.close-btn:hover {
  color: #fff;
}

.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(34, 34, 34, 0.8);
  padding: 15px;
  border-radius: 12px;
  border: 2px solid #333;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
}

.wallet-option:hover {
  border-color: #9945FF;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
}

.wallet-icon {
  font-size: 32px;
}

.wallet-name {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  display: block;
}

.wallet-desc {
  font-size: 12px;
  color: #888;
  display: block;
}

.wallet-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
  display: none;
}

.wallet-status.error {
  display: block;
  background: rgba(255, 0, 0, 0.2);
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
}

.wallet-status.success {
  display: block;
  background: rgba(20, 241, 149, 0.2);
  color: #14F195;
  border: 1px solid #14F195;
}

/* Mobile adjustments for wallet */
@media (max-width: 768px) {
  .top-bar {
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .top-bar h1 {
    font-size: 1.3em;
  }
  
  .wallet-area {
    gap: 8px;
  }
  
  .wallet-info {
    padding: 4px 8px;
    gap: 6px;
  }
  
  #solBalance {
    font-size: 12px;
    min-width: 40px;
  }
  
  .sol-icon {
    font-size: 14px;
  }
  
  .sol-label {
    font-size: 10px;
  }
  
  .airdrop-btn {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .wallet-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .modal-content {
    padding: 15px;
    width: 95%;
  }
  
  .modal-title {
    font-size: 16px;
  }
  
  .wallet-option {
    padding: 12px;
    gap: 12px;
  }
  
  .wallet-icon {
    font-size: 24px;
  }
  
  .wallet-name {
    font-size: 14px;
  }
  
  .wallet-desc {
    font-size: 10px;
  }
}

/* Load from NFT Section */
.nft-load-btn {
  background: linear-gradient(135deg, #00D4FF, #9945FF) !important;
}

.load-nft-section {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
}

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

.load-nft-title {
  font-size: 16px;
  font-weight: bold;
  color: #00D4FF;
}

.close-nft-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 30px;
  height: 30px;
}

.close-nft-btn:hover {
  color: #fff;
  transform: none;
  box-shadow: none;
}

.load-nft-input {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.load-nft-input input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

.load-nft-input input::placeholder {
  color: #666;
}

.load-nft-input button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #00D4FF, #0099CC);
  white-space: nowrap;
}

.load-nft-status {
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
  margin-bottom: 10px;
}

.load-nft-status.show {
  display: block;
}

.load-nft-status.loading {
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid #00D4FF;
  color: #00D4FF;
}

.load-nft-status.error {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
}

.load-nft-status.success {
  background: rgba(20, 241, 149, 0.2);
  border: 1px solid #14F195;
  color: #14F195;
}

/* NFT Preview Card */
.nft-preview {
  background: rgba(34, 34, 34, 0.8);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #444;
}

.nft-preview-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

#nftPreviewImage {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  background: #1a1a1a;
  border: 2px solid #333;
}

.nft-preview-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nft-preview-info h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 5px;
}

.nft-preview-info p {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
  line-height: 1.4;
}

.nft-preview-stats {
  display: flex;
  gap: 15px;
}

.nft-preview-stats span {
  background: rgba(153, 69, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #9945FF;
  font-weight: bold;
}

.load-nft-confirm {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #14F195, #0ea76e);
  font-size: 16px;
  font-weight: bold;
}

.load-nft-confirm:hover {
  box-shadow: 0 4px 20px rgba(20, 241, 149, 0.4);
}

/* Mobile adjustments for Load NFT */
@media (max-width: 768px) {
  .load-nft-section {
    padding: 12px;
  }
  
  .load-nft-title {
    font-size: 14px;
  }
  
  .load-nft-input {
    flex-direction: column;
  }
  
  .load-nft-input input {
    font-size: 12px;
    padding: 10px 12px;
  }
  
  .load-nft-input button {
    padding: 10px 15px;
  }
  
  .nft-preview-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  #nftPreviewImage {
    width: 100px;
    height: 100px;
  }
  
  .nft-preview-stats {
    justify-content: center;
  }
}

/* Landscape optimization */
@media screen and (orientation: portrait) {
  body::before {
    content: '📱 Rotate sideways for best experience\A(Note: Wallet browsers may not rotate)';
    white-space: pre-wrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #9945FF, #14F195);
    color: white;
    text-align: center;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 13px;
    z-index: 10000;
  }
  
  .container {
    padding-top: 60px;
  }
}

/* Footer */
.app-footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #333;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #888;
}

.footer-divider {
  color: #444;
}

.app-footer a {
  color: #9945FF;
  text-decoration: none;
  transition: color 0.2s;
}

.app-footer a:hover {
  color: #14F195;
}