/* SolFarmer Strategy Lab Premium Stylesheet */

:root {
  --bg-color: #0d0912;
  --bg-gradient: radial-gradient(circle at center, #1b0f24 0%, #0d0514 100%);
  --panel-bg: rgba(22, 14, 33, 0.45);
  --panel-border: rgba(212, 107, 255, 0.15);
  --panel-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --text-main: #f3f0f7;
  --text-muted: #ab9eb6;
  
  /* Brand Colors */
  --solana-purple: #9945FF;
  --solana-green: #14F195;
  --solana-cyan: #00C2FF;
  --solana-amber: #FF9F00;
  --danger-red: #ff4a4a;
  
  /* Gradients */
  --grad-solana: linear-gradient(135deg, var(--solana-purple) 0%, var(--solana-cyan) 50%, var(--solana-green) 100%);
  --grad-cyan: linear-gradient(135deg, #005c8a 0%, var(--solana-cyan) 100%);
  --grad-amber: linear-gradient(135deg, #b86200 0%, var(--solana-amber) 100%);
  --grad-purple: linear-gradient(135deg, #5100b5 0%, var(--solana-purple) 100%);
  --grad-green: linear-gradient(135deg, #007a48 0%, var(--solana-green) 100%);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

strong, .mono {
  font-family: 'Fira Code', monospace;
}

/* Background Glow Effects */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--solana-purple);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--solana-cyan);
  bottom: -150px;
  right: -100px;
}

.glow-3 {
  width: 300px;
  height: 300px;
  background: var(--solana-green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

/* Header */
header {
  border-bottom: 1px solid var(--panel-border);
  background: rgba(13, 9, 18, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-solana);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.4);
}

.logo-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--grad-solana);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sol-price {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-solana {
  background: var(--grad-solana);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tab Navigation */
.nav-tabs {
  max-width: 1400px;
  margin: 30px auto 10px auto;
  padding: 0 30px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border-color: rgba(212, 107, 255, 0.3);
}

.tab-btn.active {
  background: var(--grad-solana);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(153, 69, 255, 0.25);
}

/* Layout container */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 30px 60px 30px;
}

/* Tab Contents */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
  position: relative;
}

.tab-content.active {
  display: block;
}

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

/* Glassmorphism Panel card */
.control-card, .chart-card, .analysis-card, .path-summary-card, .premium-box, .compare-box {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--panel-glow);
  position: relative;
  overflow: hidden;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.card-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Locked States Overlay */
.tab-content.locked {
  overflow: hidden;
  min-height: 450px;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 9, 18, 0.7);
  backdrop-filter: blur(15px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lock-overlay i {
  font-size: 48px;
  background: var(--grad-solana);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(153, 69, 255, 0.5));
}

.lock-overlay h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.lock-overlay p {
  color: var(--text-muted);
  max-width: 450px;
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-connect {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
}

.btn-connect:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 107, 255, 0.4);
}

.btn-primary {
  background: var(--grad-cyan);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
  transform: translateY(-1px);
}

.btn-premium {
  background: var(--grad-solana);
  color: #fff;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(153, 69, 255, 0.3);
}

.btn-premium:hover {
  box-shadow: 0 6px 25px rgba(153, 69, 255, 0.5);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(255, 74, 74, 0.1);
  border: 1px solid var(--danger-red);
  color: var(--danger-red);
}

.btn-danger:hover {
  background: var(--danger-red);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 74, 74, 0.3);
}

.btn-unlock-trigger {
  background: var(--grad-solana);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-unlock-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.4);
}

.w-100 {
  width: 100%;
}

.mt-3 {
  margin-top: 15px;
}

/* Colors text utilities */
.text-cyan { color: var(--solana-cyan); }
.text-purple { color: var(--solana-purple); }
.text-amber { color: var(--solana-amber); }
.text-green { color: var(--solana-green); }

/* Landing Page (Hero) Styles */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.hero-section h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
  background: linear-gradient(135deg, #fff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 50px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 60px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 30px;
  text-align: left;
}

.feature-card i {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Premium / Paywall Box */
.premium-box {
  max-width: 650px;
  width: 100%;
  border: 2px solid rgba(153, 69, 255, 0.3);
  background: radial-gradient(circle at top right, rgba(153, 69, 255, 0.15) 0%, rgba(22, 14, 33, 0.6) 100%);
  box-shadow: 0 10px 40px rgba(153, 69, 255, 0.15);
}

.premium-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.premium-badge {
  background: var(--grad-solana);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.premium-box h2 {
  font-size: 26px;
  font-weight: 800;
}

.premium-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.premium-pricing {
  margin-bottom: 30px;
}

.price-val {
  font-size: 40px;
  font-weight: 800;
  font-family: 'Fira Code', monospace;
  background: var(--grad-solana);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.price-usd {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 5px;
}

.premium-footer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* APP SIMULATOR LAYOUT */
.app-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 30px;
  margin-top: 20px;
}

.sidebar-controls {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.input-val {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.3s;
}

.input-val:focus {
  border-color: var(--solana-cyan);
}

.range-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.range-wrapper input[type="range"] {
  flex: 1;
  accent-color: var(--solana-cyan);
  cursor: pointer;
}

.range-val {
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 194, 255, 0.1);
  color: var(--solana-cyan);
  padding: 3px 8px;
  border-radius: 5px;
  min-width: 85px;
  text-align: center;
}

/* Research Lab Mini-Grid */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.num-short {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  outline: none;
  font-size: 13px;
  text-align: center;
  font-family: 'Fira Code', monospace;
}

/* RESULTS DASHBOARD */
.results-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.stat-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--panel-glow);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-card.stat-cyan { border-left: 4px solid var(--solana-cyan); }
.stat-card.stat-purple { border-left: 4px solid var(--solana-purple); }
.stat-card.stat-green { border-left: 4px solid var(--solana-green); }
.stat-card.stat-amber { border-left: 4px solid var(--solana-amber); }

.stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin: 5px 0;
}

.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Graph Projector visual */
.graph-placeholder {
  height: 200px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 20px 5px 20px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.graph-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: calc(100% - 25px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.graph-bar {
  width: 40px;
  background: var(--grad-solana);
  border-radius: 6px 6px 0 0;
  transition: height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
}

.graph-bar::after {
  content: attr(data-val);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  font-family: 'Fira Code', monospace;
  color: var(--solana-green);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  white-space: nowrap;
}

.graph-bar:hover::after {
  opacity: 1;
}

.graph-labels {
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Advice Tip list */
.analysis-list {
  list-style: none;
  padding-left: 0;
}

.analysis-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.analysis-list li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--solana-green);
}

.analysis-list li.warning::before {
  content: "\f06a";
  color: var(--solana-amber);
}

/* SANDBOX TAB STYLE */
.sandbox-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  margin-top: 20px;
}

.sandbox-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.room-stats-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.room-stat {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  font-size: 14px;
}

.room-stat span {
  color: var(--text-muted);
}

.room-stat strong {
  color: #fff;
}

.sandbox-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.slot-box {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.slot-box:hover {
  border-color: var(--solana-cyan);
  background: rgba(0, 194, 255, 0.05);
}

.slot-box.occupied {
  border-style: solid;
  border-color: rgba(153, 69, 255, 0.4);
  background: radial-gradient(circle at bottom right, rgba(153, 69, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.slot-level {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 9px;
  font-weight: 800;
  background: var(--grad-solana);
  padding: 1px 4px;
  border-radius: 4px;
}

.slot-gpu-icon {
  font-size: 22px;
  margin-top: 15px;
  background: var(--grad-solana);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slot-name {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.slot-hash {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: var(--solana-green);
  text-align: center;
}

.btn-remove-slot {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger-red);
  color: #fff;
  border: none;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
}

.slot-box.occupied:hover .btn-remove-slot {
  opacity: 1;
}

/* Merge Compare Component */
.merge-calculator-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 20px;
}

.merge-calculator-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.merge-compare-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 15px;
}

.compare-side h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.compare-box {
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
}

.compare-premium {
  border: 1px solid rgba(20, 241, 149, 0.3);
  background: radial-gradient(circle at bottom right, rgba(20, 241, 149, 0.08) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.compare-box p {
  margin-bottom: 6px;
  font-size: 12px;
}

.compare-box p strong {
  font-size: 14px;
}

.compare-icon {
  display: flex;
  justify-content: center;
  font-size: 20px;
  color: var(--solana-cyan);
}

/* PATHFINDER STYLING */
.pathfinder-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pathfinder-inputs-row {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 20px 25px;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  gap: 25px;
  flex-wrap: wrap;
}

.pathfinder-inputs-row .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}

/* Steps Timeline */
.path-results-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.path-timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(153, 69, 255, 0.2);
  margin-left: 10px;
  margin-bottom: 30px;
}

.path-step {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  padding: 15px 20px;
  border-radius: 12px;
  animation: fadeIn 0.4s ease;
}

.path-step::after {
  content: "";
  position: absolute;
  left: -27px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--solana-purple);
  border: 2px solid var(--bg-color);
  box-shadow: 0 0 10px var(--solana-purple);
}

.step-num {
  font-size: 10px;
  font-weight: 800;
  background: rgba(153, 69, 255, 0.2);
  color: var(--solana-purple);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.step-action {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.path-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.path-summary-grid div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.path-summary-grid span {
  font-size: 11px;
  color: var(--text-muted);
}

.path-summary-grid strong {
  font-size: 16px;
  color: #fff;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 9, 18, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #180f24;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 10px 50px rgba(153, 69, 255, 0.3);
  position: relative;
  animation: modalScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

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

.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wallet-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.wallet-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--solana-cyan);
}

.wallet-icon-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.wallet-emoji-logo {
  font-size: 26px;
}

.wallet-option .badge {
  margin-left: auto;
  font-size: 9px;
  background: rgba(0, 194, 255, 0.15);
  color: var(--solana-cyan);
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 700;
}

/* TRANSACTION MODAL DETAILS */
.transaction-details {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 25px;
}

.tx-warning {
  color: var(--solana-amber);
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

.tx-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

.tx-row span {
  color: var(--text-muted);
}

.tx-row strong {
  font-family: 'Fira Code', monospace;
}

.tx-total-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 15px;
  font-size: 15px;
  font-weight: 700;
}

.tx-total-row strong {
  font-size: 20px;
}

.tx-small-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
}

/* Footer Styling */
footer {
  text-align: center;
  padding: 40px 30px;
  border-top: 1px solid var(--panel-border);
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 13px;
}

/* RESPONSIVE DESIGN */
@media(max-width: 960px) {
  .app-layout, .sandbox-layout {
    grid-template-columns: 1fr;
  }
  .room-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  .nav-tabs {
    padding: 0 15px;
  }
  .room-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .merge-compare-grid {
    grid-template-columns: 1fr;
  }
  .compare-icon {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

/* TEASER AND PREMIUM OVERLAY STYLES */
.teaser-container {
  position: relative;
}

.premium-teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 12px;
  transition: background 0.3s;
}

.premium-teaser-overlay:hover {
  background: rgba(0, 194, 255, 0.03); /* subtle blue tint on hover to indicate interactive click to buy */
}
