@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Share+Tech+Mono&family=Ubuntu+Mono:wght@400;700&display=swap');

:root {
  --bg-color: #0b070f;
  --panel-bg: rgba(22, 14, 28, 0.8);
  --border-color: rgba(255, 0, 127, 0.18);
  --border-glow: rgba(255, 0, 127, 0.3);
  
  /* Cyber Feminine Palette */
  --neon-pink: #ff007f;
  --neon-violet: #bd00ff;
  --neon-gold: #ffa600;
  --neon-cyan: #00e5ff;
  --neon-green: #00e676;
  --text-primary: #fff0f5;
  --text-muted: #9c8a9f;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Share Tech Mono', 'Ubuntu Mono', Courier, monospace;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: relative;
  font-weight: 400;
}

/* Background Matrix Canvas */
#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* CRT/Scanline Overlay (Softer for easier reading) */
.crt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.18) 50%), linear-gradient(90deg, rgba(255, 0, 127, 0.03), rgba(0, 229, 255, 0.02), rgba(189, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  z-index: 100;
  pointer-events: none;
}

.crt-overlay::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: radial-gradient(circle, transparent 65%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

/* Main App Wrapper */
#app {
  position: relative;
  z-index: 2;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(2px);
}

/* Navigation Header */
header {
  background: var(--panel-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

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

.logo-icon {
  width: 10px;
  height: 10px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-pink);
  animation: pulse 2s infinite;
}

h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
}

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

.status-agent {
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.05);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--neon-pink);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.btn-secondary {
  border-color: var(--neon-violet);
  color: var(--neon-violet);
}

.btn-secondary:hover {
  background: var(--neon-violet);
  color: #fff;
  box-shadow: 0 0 15px rgba(189, 0, 255, 0.4);
}

.btn-danger {
  border-color: #ff3366;
  color: #ff3366;
}

.btn-danger:hover {
  background: #ff3366;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

.btn-warn {
  border-color: var(--neon-gold);
  color: var(--neon-gold);
}

.btn-warn:hover {
  background: var(--neon-gold);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 166, 0, 0.4);
}

/* Authentication Screen Layout */
.auth-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: hidden;
}

.auth-wrapper.revealed {
  overflow-y: auto;
}

.auth-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 440px;
  padding: 35px;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  position: relative;
  margin: auto;
}

.auth-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-violet));
}

.auth-title {
  text-align: center;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--neon-pink);
}

.auth-toggle {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.auth-tab.active {
  color: var(--neon-pink);
  border-bottom: 2px solid var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  background: rgba(10, 6, 15, 0.7);
  border: 1px solid rgba(255, 0, 127, 0.2);
  border-radius: 4px;
  padding: 12px 15px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
}

.form-input:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.15);
}

.form-input::placeholder {
  color: rgba(255, 240, 245, 0.2);
}

.form-submit {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 1rem;
}

.form-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--neon-gold);
}

.error-message {
  background: rgba(255, 51, 102, 0.08);
  border: 1px solid #ff3366;
  color: #ff3366;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

/* Dashboard Layout */
.dashboard-wrapper {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr 90px;
  overflow: hidden;
}

/* Stats Row */
.stats-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  padding: 20px 30px;
  grid-row: 1;
}

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

@media (max-width: 500px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 6px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card.potential {
  border-color: rgba(255, 166, 0, 0.25);
}

.stat-card.potential .stat-value {
  color: var(--neon-gold);
  text-shadow: 0 0 10px rgba(255, 166, 0, 0.25);
}

.stat-card.redeemable {
  border-color: rgba(255, 0, 127, 0.25);
}

.stat-card.redeemable .stat-value {
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.25);
}

.stat-card.redeemable-total {
  border-color: rgba(0, 230, 118, 0.25);
}

.stat-card.redeemable-total .stat-value {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.25);
}
/* Green hover effect for Redeem Credits button */
#btn-trigger-payout-modal:hover {
  background: var(--neon-green) !important;
  color: #000 !important;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.55) !important;
}
.stat-card.referral {
  border-color: rgba(0, 229, 255, 0.25);
}

.stat-card.referral .stat-value {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.stat-card.invite {
  border-color: rgba(189, 0, 255, 0.25);
  grid-column: span 2;
}

.stat-card.invite .stat-value {
  color: var(--neon-violet);
  text-shadow: 0 0 10px rgba(189, 0, 255, 0.25);
  font-size: 1.3rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 10px;
}

.stat-action-btn {
  margin-top: 12px;
  font-size: 0.8rem;
  padding: 6px;
}

/* Dashboard Workspace panels */
.workspace-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 0 30px 20px 30px;
  overflow: hidden;
  grid-row: 2;
}

@media (max-width: 768px) {
  .workspace-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

.side-nav {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.nav-item {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item:hover, .nav-item.active {
  background: rgba(255, 0, 127, 0.04);
  color: var(--neon-pink);
  border-left: 3px solid var(--neon-pink);
}

.nav-item.active {
  text-shadow: 0 0 5px rgba(255, 0, 127, 0.2);
}

.content-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 25px;
  overflow-y: auto;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.4);
}

/* Panel Headers */
.panel-header {
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  font-size: 1.25rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.panel-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* party Tree */
.party-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .party-levels {
    grid-template-columns: 1fr;
  }
}

.level-column {
  background: rgba(10, 6, 15, 0.4);
  border: 1px solid rgba(255, 0, 127, 0.08);
  padding: 15px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.level-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 0, 127, 0.15);
}

.level-col-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--neon-pink);
  font-weight: 600;
}

.level-badge {
  background: rgba(255, 0, 127, 0.1);
  color: var(--neon-pink);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 3px;
}

.level-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 380px;
}

.node-card {
  background: rgba(15, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--neon-pink);
  border-radius: 4px;
  padding: 12px 15px;
  transition: border-color 0.2s;
}

.node-card:hover {
  border-color: var(--neon-violet);
}

.node-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.node-name {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.node-code {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.node-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.node-stat span {
  color: var(--text-primary);
  font-weight: 500;
}

.empty-nodes-msg {
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  padding: 30px 10px;
  font-size: 0.85rem;
}

/* Operations Simulator Panel styling */
.operations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .operations-grid {
    grid-template-columns: 1fr;
  }
}

.op-card {
  background: rgba(15, 10, 20, 0.3);
  border: 1px solid rgba(255, 166, 0, 0.15);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.op-card-header {
  color: var(--neon-gold);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 166, 0, 0.2);
  padding-bottom: 8px;
}

.op-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.op-btn {
  background: rgba(255, 166, 0, 0.03);
  border: 1px solid rgba(255, 166, 0, 0.25);
  color: var(--neon-gold);
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  text-align: center;
}

.op-btn:hover {
  background: var(--neon-gold);
  color: #000;
  box-shadow: 0 0 10px var(--neon-gold);
}

.op-custom {
  display: flex;
  gap: 10px;
}

.op-custom input {
  flex: 1;
  background: rgba(10, 6, 15, 0.7);
  border: 1px solid rgba(255, 166, 0, 0.25);
  border-radius: 4px;
  color: var(--neon-gold);
  padding: 8px;
  font-family: var(--font-sans);
  outline: none;
}

.op-custom input:focus {
  border-color: var(--neon-gold);
}

.op-custom button {
  padding: 8px 15px;
}

/* Terminal Console (Bottom Section) */
.terminal-section {
  background: #060408;
  border-top: 1px solid var(--border-color);
  padding: 10px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
  grid-row: 3;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(255, 0, 127, 0.05);
  padding-bottom: 4px;
}

.terminal-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.4;
  scroll-behavior: smooth;
  max-height: 42px;
}

.terminal-line {
  margin-bottom: 4px;
  display: flex;
  gap: 10px;
}

.term-symbol {
  color: var(--neon-pink);
  user-select: none;
}

.term-time {
  color: var(--text-muted);
  user-select: none;
}

.term-msg {
  word-break: break-all;
}

/* Colors for specific terminal message types */
.term-normal { color: var(--text-primary); }
.term-highlight-green { color: var(--neon-pink); font-weight: bold; }
.term-highlight-cyan { color: var(--neon-cyan); }
.term-highlight-yellow { color: var(--neon-gold); }
.term-highlight-amber { color: #ff88cc; }
.term-highlight-red { color: #ff3366; font-weight: bold; }

/* Utilities tab styling */
.utility-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.warning-box {
  background: rgba(255, 166, 0, 0.04);
  border: 1px solid rgba(255, 166, 0, 0.2);
  color: var(--text-primary);
  border-radius: 4px;
  padding: 15px;
  font-size: 0.9rem;
}

/* Keyframes */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}

/* Scrollbars styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 127, 0.12);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 127, 0.3);
}

/* Modal Dialog Box Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 4, 8, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-container {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 440px;
  padding: 30px;
  border-radius: 6px;
  position: relative;
}

.modal-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}

.modal-title {
  font-size: 1.25rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

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

textarea.form-input {
  resize: none;
}

/* Admin Dashboard Table and Request Cards */
.admin-table th, .admin-table td {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr:hover {
  background: rgba(0, 229, 255, 0.03);
}

.admin-request-card {
  background: rgba(22, 14, 28, 0.5);
  border: 1px solid rgba(188, 19, 254, 0.25);
  border-radius: 4px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-request-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-request-actions {
  display: flex;
  gap: 8px;
}

/* Mystery Reveal Flashlight Overlay */
#mystery-reveal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/src/assets/mystery_bg.jpg') center/cover no-repeat;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: auto;
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* Flashlight mask using coordinates updated by Javascript */
  mask-image: radial-gradient(circle 140px at var(--mouse-x, -200px) var(--mouse-y, -200px), transparent 0%, transparent 70%, black 100%);
  -webkit-mask-image: radial-gradient(circle 140px at var(--mouse-x, -200px) var(--mouse-y, -200px), transparent 0%, transparent 70%, black 100%);
}

#mystery-reveal-overlay.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mystery-center-content {
  background: rgba(6, 4, 8, 0.7);
  padding: 40px 50px;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 127, 0.15);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  max-width: 600px;
  margin: 0 20px;
  pointer-events: none;
}

/* Subtle Secret Reveal Button */
.reveal-secret-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(22, 14, 28, 0.1);
  border: 1px solid rgba(255, 166, 0, 0.03);
  color: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  outline: none;
  z-index: 10000;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-secret-btn:hover {
  background: rgba(255, 0, 127, 0.15);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 15px var(--neon-pink);
  transform: scale(1.1);
}

/* Promotional Items Panel Styles */
.promo-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.promo-image-preview {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.promo-text-preview {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: sans-serif;
  word-break: break-word;
  white-space: pre-wrap;
}

/* Responsive Grid Utilities */
.grid-responsive-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-responsive-invite {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.grid-responsive-admin-promo {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
}

/* Tablet & Mobile Layout Enhancements */
@media (max-width: 900px) {
  .grid-responsive-2col,
  .grid-responsive-invite,
  .grid-responsive-admin-promo {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .workspace-container {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr !important;
    padding: 0 15px 15px 15px !important;
    gap: 15px !important;
  }
  .side-nav {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 5px !important;
  }
  .nav-item {
    padding: 8px 12px !important;
    border-bottom: none !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    text-align: center !important;
  }
  .nav-item.active {
    background: rgba(255, 0, 127, 0.15) !important;
    border-left: none !important;
    border-bottom: 2px solid var(--neon-pink) !important;
  }
  .stats-container {
    padding: 15px !important;
    gap: 12px !important;
  }
  header {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 15px !important;
    text-align: center !important;
  }
  .user-status {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  .auth-panel {
    padding: 20px 15px !important;
  }
  .mystery-center-content {
    padding: 25px 20px !important;
  }
}


