/* ==============================================
   CROSS-BROWSER COMPATIBILITY
   ============================================== */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, .btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  max-width: 100%;
  height: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0f0f1e;
  min-height: 100vh;
  color: #e0e0e0;
  position: relative;
  overflow-x: hidden;
}

.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(167, 139, 250, 0.4), transparent),
    radial-gradient(2px 2px at 60px 70px, rgba(192, 132, 252, 0.3), transparent),
    radial-gradient(1px 1px at 50px 50px, rgba(233, 213, 255, 0.6), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(2px 2px at 90px 10px, rgba(167, 139, 250, 0.5), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(233, 213, 255, 0.4), transparent),
    radial-gradient(1px 1px at 200px 20px, rgba(192, 132, 252, 0.3), transparent),
    radial-gradient(2px 2px at 240px 90px, rgba(167, 139, 250, 0.4), transparent);
  background-size: 250px 250px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px, 20px 40px, 90px 150px, 110px 50px, 180px 200px;
  -webkit-animation: twinkle 4s ease-in-out infinite, drift 60s linear infinite;
  animation: twinkle 4s ease-in-out infinite, drift 60s linear infinite;
}

@-webkit-keyframes twinkle {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@-webkit-keyframes drift {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-250px);
    transform: translateY(-250px);
  }
}

@keyframes drift {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-250px);
    transform: translateY(-250px);
  }
}

.light-beams {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%),
    linear-gradient(120deg, transparent 0%, rgba(167, 139, 250, 0.08) 50%, transparent 100%),
    linear-gradient(60deg, transparent 0%, rgba(192, 132, 252, 0.06) 50%, transparent 100%);
  background-size: 200% 100%, 300% 100%, 250% 100%;
  -webkit-animation: lightBeamShift 15s ease-in-out infinite, lightBeamShift2 20s ease-in-out infinite reverse, lightBeamShift3 12s ease-in-out infinite;
  animation: lightBeamShift 15s ease-in-out infinite, lightBeamShift2 20s ease-in-out infinite reverse, lightBeamShift3 12s ease-in-out infinite;
}

@keyframes lightBeamShift {
  0%, 100% {
    background-position: 0% 0%, 100% 0%, 50% 0%;
  }
  50% {
    background-position: 100% 0%, 0% 0%, 150% 0%;
  }
}

@-webkit-keyframes lightBeamShift2 {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes lightBeamShift2 {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

@-webkit-keyframes lightBeamShift3 {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes lightBeamShift3 {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.navbar {
  background: rgba(30, 30, 50, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(139, 92, 246, 0.3);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
  z-index: 10;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
  order: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.diamond-logo {
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
  animation: diamondFloat 3s ease-in-out infinite, diamondPulse 2s ease-in-out infinite;
}

@-webkit-keyframes diamondFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(3deg);
  }
}

@keyframes diamondFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(3deg);
  }
}

@-webkit-keyframes diamondPulse {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 1)) drop-shadow(0 0 35px rgba(59, 130, 246, 0.7));
  }
}

@keyframes diamondPulse {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 1)) drop-shadow(0 0 35px rgba(59, 130, 246, 0.7));
  }
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 25%, #a78bfa 50%, #8b5cf6 75%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.4));
  position: relative;
}

@-webkit-keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.slogan {
  font-size: 0.75rem;
  color: #a78bfa;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 3rem;
  opacity: 0.8;
  font-style: italic;
}

/* Wall Street Trading Floor Ticker Banner */
.price-ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 0;
  order: 3;
  flex-basis: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.price-ticker-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to right, #0a0a0a, transparent);
  z-index: 2;
  pointer-events: none;
}

.price-ticker-container::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to left, #0a0a0a, transparent);
  z-index: 2;
  pointer-events: none;
}

.price-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.6rem 0;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll-left 90s linear infinite;
  will-change: transform;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.5rem;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  border-right: 1px solid #2a2a2a;
}

.ticker-item:last-child {
  border-right: none;
}

.ticker-symbol {
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.ticker-price {
  color: #f0f0f0;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.ticker-change {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.ticker-change::before {
  font-size: 0.65rem;
}

.ticker-change.positive {
  color: #00ff41;
  background: rgba(0, 255, 65, 0.08);
}

.ticker-change.positive::before {
  content: '\25B2';
}

.ticker-change.negative {
  color: #ff3333;
  background: rgba(255, 51, 51, 0.08);
}

.ticker-change.negative::before {
  content: '\25BC';
}

.ticker-loading {
  color: #666;
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex !important;
  gap: 0.7rem;
  flex-shrink: 1;
  visibility: visible !important;
  opacity: 1 !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  order: 2;
  flex-basis: 100%;
  overflow-x: auto;
}

.nav-links a,
.nav-links button {
  display: inline-flex !important;
  text-decoration: none;
  color: #a78bfa;
  font-weight: 500;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  background: rgba(30, 30, 50, 0.5);
  min-width: 80px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.nav-links a:hover {
  color: #c084fc;
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.vault-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}

.vault-header-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
  transition: all 0.3s ease;
  border-radius: 8px;
}

.vault-header-logo:hover {
  filter: drop-shadow(0 0 15px rgba(167, 139, 250, 0.8));
  transform: scale(1.03);
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.auth-container {
  background: rgba(30, 30, 50, 0.95);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  width: 100%;
  max-width: 400px;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #b0b0b0;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: rgba(20, 20, 35, 0.8);
  color: #e0e0e0;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(20, 20, 35, 0.95);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(124, 58, 237, 0.5);
}

.btn-outline {
  background: transparent;
  color: #a78bfa;
  border: 2px solid #a78bfa;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border-color: #c084fc;
}

.form-switch {
  text-align: center;
  margin-top: 1rem;
  color: #888;
}

.form-switch a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

.form-switch a:hover {
  color: #c084fc;
}

.dashboard-section {
  background: rgba(30, 30, 50, 0.95);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.payment-banner {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(239, 68, 68, 0.15));
  border: 2px solid rgba(234, 179, 8, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.2);
}

.payment-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.payment-banner-text {
  flex: 1;
  min-width: 250px;
}

.payment-banner-text strong {
  color: #fbbf24;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.payment-banner-text p {
  color: #e0e0e0;
  margin: 0;
  font-size: 0.95rem;
}

.payment-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-banner-actions .btn {
  white-space: nowrap;
}

.btn-text {
  background: transparent;
  color: #9ca3af;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn-text:hover {
  color: #d1d5db;
  background: transparent;
}

.payment-required-notice {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(239, 68, 68, 0.1));
  border: 2px solid rgba(234, 179, 8, 0.6);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.15);
}

.notice-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.notice-icon {
  font-size: 2rem;
  line-height: 1;
}

.notice-text {
  flex: 1;
  min-width: 250px;
}

.notice-text strong {
  color: #fbbf24;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.35rem;
}

.notice-text p {
  color: #d1d5db;
  margin: 0;
  font-size: 0.9rem;
}

.notice-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(234, 179, 8, 0.4);
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(139, 92, 246, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

.user-info h2 {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.wallet-info {
  color: #888;
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.header-actions .btn {
  width: auto;
}

.crypto-prices {
  margin-bottom: 2rem;
}

.crypto-prices h3 {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.price-card {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.price-card.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.price-card h4 {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.price-card .price {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.price-card .change {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 600;
}

.change .arrow {
  font-size: 0.85rem;
  font-weight: bold;
}

.change.positive {
  color: #10b981;
}

.change.positive .arrow {
  color: #10b981;
}

.change.negative {
  color: #ef4444;
}

.change.negative .arrow {
  color: #ef4444;
}

.subtitle {
  color: #888;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.portfolio-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(15, 15, 30, 0.8) 0%, 
    rgba(20, 15, 35, 0.85) 50%,
    rgba(15, 15, 30, 0.8) 100%);
  border-radius: 12px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(167, 139, 250, 0.05);
}

.portfolio-section h3 {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.portfolio-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.2) 100%);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  position: relative;
}

.portfolio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.portfolio-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #a78bfa;
}

.portfolio-amount {
  font-size: 0.9rem;
  color: #e0e0e0;
}

.portfolio-value {
  margin: 0.5rem 0;
}

.portfolio-current-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e9d5ff;
}

.portfolio-gain-loss {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}

.portfolio-gain-loss.positive {
  color: #6ee7b7;
  background: rgba(110, 231, 183, 0.15);
}

.portfolio-gain-loss.negative {
  color: #fca5a5;
  background: rgba(252, 165, 165, 0.15);
}

.portfolio-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.portfolio-locked-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.3);
  color: #c084fc;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.deposit-addresses-section {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(30, 64, 175, 0.12) 100%);
  border-radius: 16px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.deposit-addresses-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.deposit-addresses-section h3 {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  color: #93c5fd;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.address-card {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(30, 30, 50, 0.6) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.address-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.address-card:hover {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.address-card:hover::before {
  opacity: 1;
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.address-header h4 {
  color: #60a5fa;
  font-size: 1.15rem;
  font-weight: 700;
}

.network-badge {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  padding: 0.3rem 0.85rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.address-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.address-text {
  background: rgba(15, 23, 42, 0.8);
  color: #dbeafe;
  padding: 0.85rem;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  word-break: break-all;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-copy {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.btn-copy:active {
  transform: translateY(0);
}

.address-instructions {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.form-description {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.deposit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .logo-container {
    order: 1;
  }
  
  .header-social-links {
    order: 1;
    margin-left: auto;
  }
  
  .nav-links {
    order: 2;
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .price-ticker-container {
    order: 4;
    flex-basis: 100%;
    max-width: 100%;
  }

  .slogan {
    font-size: 0.65rem;
    margin-left: 2rem;
  }
}

@media (max-width: 768px) {
  .deposit-section {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .slogan {
    font-size: 0.55rem;
    margin-left: 0;
    margin-top: 0.25rem;
    text-align: center;
  }

  .price-ticker-container {
    padding: 0;
  }
  
  .price-ticker-container::before,
  .price-ticker-container::after {
    width: 30px;
  }

  .ticker-item {
    font-size: 0.7rem;
    padding: 0 1rem;
  }
  
  .ticker-symbol {
    font-size: 0.7rem;
  }
  
  .ticker-price {
    font-size: 0.75rem;
  }
  
  .ticker-change {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
  }

  .addresses-grid {
    grid-template-columns: 1fr;
  }
  
  /* Center social media icons below logo on mobile */
  .header-social-links {
    order: 2;
    margin-left: 0;
    flex-basis: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  .logo-container {
    flex-basis: 100%;
    text-align: center;
    align-items: center;
  }
  
  .nav-links {
    order: 3;
  }
  
  /* Mobile padding and text wrapping fixes */
  .nav-container,
  .container,
  .dashboard-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Ensure text wraps on all elements */
  p, span, div, button, a, label {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Modal adjustments for mobile */
  .modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  .modal-body {
    padding: 1.5rem 1rem;
  }
  
  /* Override nowrap on critical elements */
  .hero-title {
    white-space: normal !important;
  }
  
  .payment-banner-actions .btn {
    white-space: normal !important;
  }
  
  /* Override all button nowrap rules */
  .btn-small {
    white-space: normal !important;
  }
  
  button, .btn, .btn-hero, .btn-primary, .btn-secondary {
    white-space: normal !important;
  }
}

.deposit-form-container h3,
.deposits-history h3 {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.deposits-list {
  max-height: 400px;
  overflow-y: auto;
}

.deposits-list::-webkit-scrollbar {
  width: 8px;
}

.deposits-list::-webkit-scrollbar-track {
  background: rgba(20, 20, 35, 0.5);
  border-radius: 4px;
}

.deposits-list::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 4px;
}

.deposits-list::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.7);
}

.deposit-item {
  background: rgba(20, 20, 35, 0.6);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 4px solid #8b5cf6;
}

.deposit-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.deposit-amount {
  font-weight: bold;
  color: #e0e0e0;
  font-size: 1.1rem;
}

.deposit-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
}

.deposit-details {
  font-size: 0.9rem;
  color: #888;
}

.no-data {
  text-align: center;
  color: #666;
  padding: 2rem;
}

.message-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(30, 30, 50, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: none;
  z-index: 1000;
  max-width: 300px;
  color: #e0e0e0;
}

.message-toast.show {
  display: block;
  animation: slideIn 0.3s ease;
}

.message-toast.success {
  border-left: 4px solid #6ee7b7;
}

.message-toast.error {
  border-left: 4px solid #fca5a5;
}

@-webkit-keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@-webkit-keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(239, 68, 68, 0.6);
  }
}

/* Hero Section */
.hero-section {
  max-width: 900px;
  margin: 0.5rem auto 2rem;
  padding: 1.5rem 2rem 2rem;
  text-align: center;
  animation: fadeIn 0.6s ease-in;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'SF Pro Display', system-ui, sans-serif;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 30%, #c084fc 60%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.05em;
  filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
  white-space: nowrap;
  overflow: visible;
}

.hero-subtitle {
  font-size: 1.7rem;
  color: #c4b5fd;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

/* Hero Features List */
.hero-features-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  text-align: left;
}

.hero-features-list li {
  color: #c4b5fd;
  font-size: 1.05rem;
  line-height: 1.6;
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.hero-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}

/* Token Drops Note (subtle) */
.token-drops-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #6ee7b7;
  font-size: 0.95rem;
  opacity: 0.9;
}

.token-drops-note .token-drops-icon {
  font-size: 1.1rem;
}

.hero-description {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.4) 0%, rgba(88, 28, 135, 0.2) 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.hero-description p {
  color: #e9d5ff;
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-description p:last-of-type {
  margin-bottom: 2rem;
}

.hero-description strong {
  color: #c4b5fd;
  font-weight: 600;
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(139, 92, 246, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

.feature-icon {
  font-size: 1.5rem;
}

.feature span:last-child {
  color: #e0e0e0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: rgba(20, 20, 35, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.how-it-works-title {
  text-align: center;
  font-size: 2rem;
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

.how-it-works-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(30, 30, 50, 0.8);
  border-radius: 12px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step h3 {
  color: #c4b5fd;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: #8b5cf6;
  font-weight: bold;
}

@media (max-width: 768px) {
  .how-it-works {
    margin-top: 3rem;
  }
  
  .step-arrow {
    display: none;
  }
  
  .how-it-works-steps {
    flex-direction: column;
  }
  
  .step {
    max-width: 100%;
  }
}

/* Pulse Animation for CTA Button */
.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: inherit;
  opacity: 0;
  animation: pulse-ring 2s ease-in-out infinite;
}

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

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Skeleton Loader Animation */
.skeleton-loader {
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 25%, rgba(139, 92, 246, 0.2) 50%, rgba(139, 92, 246, 0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.skeleton-title {
  height: 20px;
  width: 60%;
  margin: 0 auto 0.75rem;
}

.skeleton-price {
  height: 28px;
  width: 80%;
  margin: 0 auto 0.5rem;
}

.skeleton-change {
  height: 16px;
  width: 50%;
  margin: 0 auto;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-hero {
  padding: 1.2rem 3.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  border: 2px solid rgba(167, 139, 250, 0.5);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 450px;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.btn-hero-secondary {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  border: 2px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.btn-hero-secondary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6);
}

/* Profile Section */
.profile-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-header h2 {
  color: #e0e0e0;
  font-size: 2rem;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.profile-stats-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(109, 40, 217, 0.15) 100%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  flex: 1 1 320px;
}

.profile-stats-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.profile-stats-card.points-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  border-color: rgba(59, 130, 246, 0.4);
}

.profile-stats-card.points-card:hover {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.stats-icon {
  font-size: 3rem;
}

.stats-content {
  flex: 1;
  min-width: 0;
}

.stats-content h3 {
  font-size: 1.8rem;
  color: #60a5fa;
  font-weight: 900;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.stats-content p {
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}

.stats-subtext {
  color: #888;
  font-size: 0.85rem;
  display: block;
  word-wrap: break-word;
}

.profile-achievements {
  background: rgba(30, 30, 50, 0.6);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(139, 92, 246, 0.2);
}

.profile-achievements h3 {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.achievement {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement.locked {
  opacity: 0.5;
  filter: grayscale(0.8);
}

.achievement.unlocked {
  border-color: #fbbf24;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.achievement-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}

.achievement p {
  color: #e0e0e0;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.achievement small {
  color: #888;
  font-size: 0.85rem;
}

.profile-currency-breakdown {
  background: rgba(30, 30, 50, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid rgba(139, 92, 246, 0.2);
}

.profile-currency-breakdown h3 {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.currency-breakdown-list {
  display: grid;
  gap: 1rem;
}

.currency-item {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.currency-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
}

.currency-stats {
  color: #888;
  font-size: 0.9rem;
}

.currency-amount {
  text-align: right;
}

.currency-amount-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e0e0e0;
}

.currency-count {
  color: #888;
  font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
  }
  
  .profile-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-brief {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .trading-chart-container {
    margin-bottom: 1.5rem;
  }
  
  .trading-chart-container .tradingview-widget-container {
    height: 350px !important;
  }
  
  .token-drops-note {
    font-size: 0.85rem;
  }
}

/* Vault Animation */
.portfolio-vault-container {
  position: relative;
  min-height: 450px;
  background: radial-gradient(ellipse at center, 
    rgba(139, 92, 246, 0.15) 0%,
    rgba(88, 28, 135, 0.1) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.5) 100%);
  border-radius: 12px;
  padding: 2rem;
}

.example-timer-preview-small {
  position: absolute;
  bottom: 0.5rem;
  right: -0.5rem;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.example-timer-label {
  color: #a78bfa;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.example-timer-compact {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #ff4444;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
  animation: exampleTimerPulse 2s ease-in-out infinite;
}

.example-timer-compact span {
  color: #ff0000;
  font-weight: 700;
}

@-webkit-keyframes exampleTimerPulse {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
  }
}

@keyframes exampleTimerPulse {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
  }
}

.vault-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.6s ease;
  perspective: 1500px;
}

.vault-overlay:hover {
  transform: scale(1.05);
}

.vault-overlay.unlocking {
  animation: vaultOpen 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  pointer-events: none;
}

.vault-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.vault-door {
  width: 380px;
  height: 380px;
  perspective: 2000px;
  margin-bottom: 1.5rem;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.vault-overlay.unlocking .vault-door {
  animation: vaultDoorOpen 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.vault-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: brightness(1.05) drop-shadow(0 0 25px rgba(147, 51, 234, 0.5));
  transform: rotateY(0deg) rotateX(0deg);
  animation: vaultGlow 3s ease-in-out infinite;
}

.vault-overlay:hover .vault-image {
  filter: brightness(1.15) drop-shadow(0 0 35px rgba(147, 51, 234, 0.7));
  transform: scale(1.05) translateY(-3px);
}

@-webkit-keyframes vaultGlow {
  0%, 100% {
    filter: brightness(1.05) drop-shadow(0 0 25px rgba(147, 51, 234, 0.5));
  }
  50% {
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(147, 51, 234, 0.6));
  }
}

@keyframes vaultGlow {
  0%, 100% {
    filter: brightness(1.05) drop-shadow(0 0 25px rgba(147, 51, 234, 0.5));
  }
  50% {
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(147, 51, 234, 0.6));
  }
}

.vault-text {
  color: #c4b5fd;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Vault Opening Cinematic Transition */
.vault-cinematic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a15 50%, #000000 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

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

.vault-cinematic-container {
  position: relative;
  width: 400px;
  height: 400px;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.vault-cinematic-door {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: left center;
  border-radius: 24px;
  overflow: visible;
}

.vault-cinematic-door {
  --dial-center-x: 50%;
  --dial-center-y: 63.5%;
  --dial-radius: 16%;
}

.vault-cinematic-door img.vault-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  filter: brightness(1.1) drop-shadow(0 0 40px rgba(147, 51, 234, 0.6));
}

.vault-cinematic-door img.vault-dial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  /* Cross-browser dial clipping - using both clip-path and mask for maximum compatibility */
  -webkit-clip-path: circle(16% at 50% 63.5%);
  clip-path: circle(16% at 50% 63.5%);
  /* Fallback mask for older Safari/iOS that don't support clip-path on images */
  -webkit-mask-image: radial-gradient(circle 16% at 50% 63.5%, black 100%, transparent 100%);
  mask-image: radial-gradient(circle 16% at 50% 63.5%, black 100%, transparent 100%);
  /* Transform origin for rotation - explicit values for cross-browser support */
  -webkit-transform-origin: 50% 63.5%;
  transform-origin: 50% 63.5%;
}

.vault-blackness {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #000000 0%, #000000 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  opacity: 0;
}

.vault-welcome-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #c4b5fd;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.8);
  opacity: 0;
  z-index: 20;
  text-align: center;
  white-space: nowrap;
}

/* Dial turning animation - realistic combination lock spin */
@-webkit-keyframes dialTurn {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  8% { -webkit-transform: rotate(300deg); transform: rotate(300deg); }
  16% { -webkit-transform: rotate(600deg); transform: rotate(600deg); }
  24% { -webkit-transform: rotate(850deg); transform: rotate(850deg); }
  28% { -webkit-transform: rotate(900deg); transform: rotate(900deg); }
  32% { -webkit-transform: rotate(900deg); transform: rotate(900deg); }
  40% { -webkit-transform: rotate(600deg); transform: rotate(600deg); }
  48% { -webkit-transform: rotate(300deg); transform: rotate(300deg); }
  54% { -webkit-transform: rotate(200deg); transform: rotate(200deg); }
  58% { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
  62% { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
  70% { -webkit-transform: rotate(400deg); transform: rotate(400deg); }
  80% { -webkit-transform: rotate(620deg); transform: rotate(620deg); }
  90% { -webkit-transform: rotate(700deg); transform: rotate(700deg); }
  95% { -webkit-transform: rotate(720deg); transform: rotate(720deg); }
  100% { -webkit-transform: rotate(720deg); transform: rotate(720deg); }
}

@keyframes dialTurn {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  8% { -webkit-transform: rotate(300deg); transform: rotate(300deg); }
  16% { -webkit-transform: rotate(600deg); transform: rotate(600deg); }
  24% { -webkit-transform: rotate(850deg); transform: rotate(850deg); }
  28% { -webkit-transform: rotate(900deg); transform: rotate(900deg); }
  32% { -webkit-transform: rotate(900deg); transform: rotate(900deg); }
  40% { -webkit-transform: rotate(600deg); transform: rotate(600deg); }
  48% { -webkit-transform: rotate(300deg); transform: rotate(300deg); }
  54% { -webkit-transform: rotate(200deg); transform: rotate(200deg); }
  58% { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
  62% { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
  70% { -webkit-transform: rotate(400deg); transform: rotate(400deg); }
  80% { -webkit-transform: rotate(620deg); transform: rotate(620deg); }
  90% { -webkit-transform: rotate(700deg); transform: rotate(700deg); }
  95% { -webkit-transform: rotate(720deg); transform: rotate(720deg); }
  100% { -webkit-transform: rotate(720deg); transform: rotate(720deg); }
}

/* Door swing open animation */
@-webkit-keyframes doorSwingOpen {
  0% { 
    -webkit-transform: rotateY(0deg); transform: rotateY(0deg);
    -webkit-filter: brightness(1.1) drop-shadow(0 0 40px rgba(147, 51, 234, 0.6));
    filter: brightness(1.1) drop-shadow(0 0 40px rgba(147, 51, 234, 0.6));
  }
  20% { -webkit-transform: rotateY(-5deg); transform: rotateY(-5deg); }
  100% { 
    -webkit-transform: rotateY(-110deg); transform: rotateY(-110deg);
    -webkit-filter: brightness(0.3) drop-shadow(0 0 20px rgba(147, 51, 234, 0.3));
    filter: brightness(0.3) drop-shadow(0 0 20px rgba(147, 51, 234, 0.3));
  }
}

@keyframes doorSwingOpen {
  0% { 
    -webkit-transform: rotateY(0deg); transform: rotateY(0deg);
    -webkit-filter: brightness(1.1) drop-shadow(0 0 40px rgba(147, 51, 234, 0.6));
    filter: brightness(1.1) drop-shadow(0 0 40px rgba(147, 51, 234, 0.6));
  }
  20% { -webkit-transform: rotateY(-5deg); transform: rotateY(-5deg); }
  100% { 
    -webkit-transform: rotateY(-110deg); transform: rotateY(-110deg);
    -webkit-filter: brightness(0.3) drop-shadow(0 0 20px rgba(147, 51, 234, 0.3));
    filter: brightness(0.3) drop-shadow(0 0 20px rgba(147, 51, 234, 0.3));
  }
}

/* Camera zoom into vault darkness */
@-webkit-keyframes zoomIntoVault {
  0% { -webkit-transform: scale(1) translateZ(0); transform: scale(1) translateZ(0); }
  100% { -webkit-transform: scale(8) translateZ(500px); transform: scale(8) translateZ(500px); }
}

@keyframes zoomIntoVault {
  0% { -webkit-transform: scale(1) translateZ(0); transform: scale(1) translateZ(0); }
  100% { -webkit-transform: scale(8) translateZ(500px); transform: scale(8) translateZ(500px); }
}

/* Blackness expanding */
@-webkit-keyframes blacknessExpand {
  0% { width: 0; height: 0; opacity: 0; }
  50% { width: 100px; height: 100px; opacity: 0.5; }
  100% { width: 300%; height: 300%; opacity: 1; }
}

@keyframes blacknessExpand {
  0% { width: 0; height: 0; opacity: 0; }
  50% { width: 100px; height: 100px; opacity: 0.5; }
  100% { width: 300%; height: 300%; opacity: 1; }
}

/* Welcome text fade in */
@-webkit-keyframes welcomeFadeIn {
  0% { opacity: 0; -webkit-transform: translate(-50%, -50%) scale(0.5); transform: translate(-50%, -50%) scale(0.5); }
  50% { opacity: 1; -webkit-transform: translate(-50%, -50%) scale(1.1); transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 1; -webkit-transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1); }
}

@keyframes welcomeFadeIn {
  0% { opacity: 0; -webkit-transform: translate(-50%, -50%) scale(0.5); transform: translate(-50%, -50%) scale(0.5); }
  50% { opacity: 1; -webkit-transform: translate(-50%, -50%) scale(1.1); transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 1; -webkit-transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1); }
}

/* Animation states */
.vault-cinematic-overlay.animating .vault-dial-overlay {
  -webkit-animation: dialTurn 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation: dialTurn 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.vault-cinematic-overlay.door-opening .vault-cinematic-door {
  -webkit-animation: doorSwingOpen 1.5s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  animation: doorSwingOpen 1.5s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

.vault-cinematic-overlay.zooming .vault-cinematic-container {
  -webkit-animation: zoomIntoVault 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation: zoomIntoVault 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.vault-cinematic-overlay.zooming .vault-blackness {
  -webkit-animation: blacknessExpand 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation: blacknessExpand 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.vault-cinematic-overlay.show-welcome .vault-welcome-text {
  -webkit-animation: welcomeFadeIn 0.8s ease-out forwards;
  animation: welcomeFadeIn 0.8s ease-out forwards;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .vault-cinematic-container {
    width: 280px;
    height: 280px;
  }
  
  .vault-welcome-text {
    font-size: 1.5rem;
  }
}

/* Payment Methods Section */
.payment-methods-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.payment-methods-title {
  font-size: 0.9rem;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.payment-logos {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.payment-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(167, 139, 250, 0.4);
  border-radius: 16px;
  padding: 0.5rem 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: visible;
  position: relative;
}

.payment-logo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.8);
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.4);
}

.payment-logo {
  width: 100px;
  height: 65px;
  object-fit: contain;
  transition: all 0.3s ease;
  transform: scale(1.15);
}

.payment-logo-card:hover .payment-logo {
  transform: scale(1.2);
}

.payment-logo-card p {
  color: #c4b5fd;
  font-size: 0.95rem;
  font-weight: 500;
}

@-webkit-keyframes vaultUnlock {
  0% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
  50% {
    transform: scale(1.1) rotateY(10deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotateY(90deg);
    pointer-events: none;
  }
}

@keyframes vaultUnlock {
  0% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
  50% {
    transform: scale(1.1) rotateY(10deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotateY(90deg);
    pointer-events: none;
  }
}

@-webkit-keyframes unlockRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) rotate(20deg) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0);
    opacity: 0;
  }
}

@keyframes unlockRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) rotate(20deg) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0);
    opacity: 0;
  }
}

@-webkit-keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
    text-shadow: 0 2px 8px rgba(96, 165, 250, 0.4);
  }
  50% {
    opacity: 1;
    text-shadow: 0 2px 16px rgba(96, 165, 250, 0.8);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
    text-shadow: 0 2px 8px rgba(96, 165, 250, 0.4);
  }
  50% {
    opacity: 1;
    text-shadow: 0 2px 16px rgba(96, 165, 250, 0.8);
  }
}

.vault-overlay.hidden {
  display: none;
}

/* Web3 Deposit Section */
.web3-deposit-section {
  background: rgba(30, 30, 50, 0.6);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.wallet-connection {
  text-align: center;
  margin: 2rem 0;
}

#connect-wallet-btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  min-width: 250px;
}

#connect-wallet-btn.connected {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #34d399;
}

.wallet-connected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
}

.wallet-icon {
  font-size: 1.5rem;
}

.wallet-address {
  color: #60a5fa;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.btn-disconnect {
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-disconnect:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.web3-deposit-form {
  max-width: 600px;
  margin: 0 auto;
}

.deposit-breakdown-container {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  animation: fadeIn 0.3s ease-in;
}

.fee-breakdown {
  color: #e0e0e0;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.breakdown-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.breakdown-value {
  font-weight: 700;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
}

.fee-row {
  color: #fbbf24;
}

.fee-row .breakdown-value {
  color: #fbbf24;
}

.locked-row {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(59, 130, 246, 0.3);
  font-size: 1.1rem;
  font-weight: 700;
}

.locked-row .breakdown-value.highlight {
  color: #10b981;
  font-size: 1.2rem;
}

.breakdown-note {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid #60a5fa;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #93c5fd;
}

.btn-deposit {
  width: 100%;
  font-size: 1.2rem;
  padding: 1rem;
  margin-top: 1.5rem;
}

.web3-deposit-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.web3-deposit-info p {
  color: #e0e0e0;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.web3-deposit-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.web3-deposit-info li {
  color: #93c5fd;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.web3-deposit-info li:before {
  content: none;
}

/* Payment Form Styles */
.payment-subtitle {
  font-size: 1rem;
  color: #93c5fd;
  margin-bottom: 1.5rem;
  text-align: center;
}

.payment-details {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.payment-amount {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
  text-align: center;
}

.payment-status-message {
  padding: 1rem;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 8px;
  text-align: center;
  color: #c4b5fd;
  font-size: 0.95rem;
}

.payment-status-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.payment-status-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.payment-status-message.pending {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
}

.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-instructions {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.payment-instructions h4 {
  color: #60a5fa;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.payment-instructions ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.payment-instructions li {
  color: #93c5fd;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.payment-instructions .note {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(251, 191, 36, 0.1);
  border-left: 3px solid #fbbf24;
  border-radius: 4px;
  color: #fde68a;
  font-size: 0.9rem;
}

/* Mission Statement Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.payment-method-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: none;
  border-bottom: 3px solid transparent;
  color: #a78bfa;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.tab-btn:hover {
  background: rgba(139, 92, 246, 0.2);
}

.tab-btn.active {
  border-bottom-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  color: #e9d5ff;
}

.payment-method-panel {
  animation: fadeIn 0.3s ease-in;
}

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

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

.payment-info {
  margin-bottom: 1rem;
  color: #c4b5fd;
  font-size: 0.95rem;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  margin: 5% auto;
  padding: 40px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

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

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

.modal-content h2 {
  color: #c4b5fd;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.mission-text {
  color: #e0e0e0;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: left;
  margin: 0 0 1.5rem 0;
}

.mission-modal-content {
  max-width: 850px;
}

.mission-subheading {
  color: #c4b5fd;
  font-size: 1.5rem;
  margin: 2rem 0 1.5rem 0;
  text-align: left;
  border-bottom: 2px solid rgba(167, 139, 250, 0.3);
  padding-bottom: 0.5rem;
}

.mission-segment {
  background: rgba(167, 139, 250, 0.05);
  border-left: 4px solid rgba(167, 139, 250, 0.5);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.mission-segment h4 {
  color: #a78bfa;
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
}

.mission-segment p {
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.mission-closing {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(167, 139, 250, 0.3);
  font-weight: 500;
  color: #c4b5fd;
}

.close-modal {
  color: #a78bfa;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
  color: #c4b5fd;
  transform: scale(1.2);
}

/* Disclaimer Modal */
.disclaimer-modal {
  z-index: 2000;
}

.disclaimer-content {
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border: 3px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 60px rgba(239, 68, 68, 0.4);
}

.disclaimer-content h2 {
  color: #fca5a5;
  font-size: 1.75rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.disclaimer-content h3 {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  max-height: 400px;
}

.disclaimer-scroll::-webkit-scrollbar {
  width: 8px;
}

.disclaimer-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.disclaimer-scroll::-webkit-scrollbar-thumb {
  background: rgba(239, 68, 68, 0.5);
  border-radius: 10px;
}

.disclaimer-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(239, 68, 68, 0.7);
}

.disclaimer-scroll p {
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.disclaimer-scroll ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.disclaimer-scroll li {
  color: #d1d5db;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.disclaimer-scroll li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-weight: bold;
}

.disclaimer-emphasis {
  background: rgba(239, 68, 68, 0.2);
  border-left: 4px solid #ef4444;
  padding: 15px;
  border-radius: 8px;
  margin-top: 1.5rem;
  color: #fca5a5 !important;
  font-size: 1.1rem !important;
}

.disclaimer-agreement {
  background: rgba(167, 139, 250, 0.1);
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.disclaimer-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 1.05rem;
}

.disclaimer-checkbox {
  width: 24px;
  height: 24px;
  min-width: 24px;
  cursor: pointer;
  accent-color: #8b5cf6;
  margin-top: 2px;
}

.disclaimer-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.disclaimer-actions .btn {
  flex: 1;
  margin: 0;
  font-size: 1.1rem;
  padding: 15px 25px;
}

.disclaimer-actions .btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(139, 92, 246, 0.3);
}

/* Signup Prompt Modal */
.signup-prompt-modal {
  z-index: 1500;
}

.signup-prompt-content {
  max-width: 600px;
  text-align: center;
  border: 2px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 25px 70px rgba(167, 139, 250, 0.5);
}

.signup-prompt-header {
  margin-bottom: 2rem;
}

.signup-prompt-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulseGlow 2s ease-in-out infinite;
}

.signup-prompt-content h2 {
  color: #c4b5fd;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.signup-prompt-subtitle {
  color: #a78bfa;
  font-size: 1.1rem;
  margin: 0;
}

.signup-prompt-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(167, 139, 250, 0.05);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 2rem;
  min-width: 2rem;
}

.benefit-item h4 {
  color: #c4b5fd;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.benefit-item p {
  color: #a8a8b8;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.signup-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.signup-prompt-actions .btn {
  width: 100%;
  margin: 0;
}

.btn-large {
  font-size: 1.25rem;
  padding: 18px 35px;
  font-weight: 600;
}

.signup-prompt-note {
  color: #8b8b9a;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .signup-prompt-benefits {
    grid-template-columns: 1fr;
  }
}

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

.header-actions .btn {
  margin: 0;
}


/* Vault Address Section */
.vault-address-section {
  margin-bottom: 3rem;
}

.vault-address-display {
  margin-top: 1.5rem;
}

.vault-address-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.vault-address-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.vault-address-info p {
  color: #93c5fd;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.vault-address-info strong {
  color: #60a5fa;
}

/* Countdown Timer Styles */
.countdown-timer {
  background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
  border: 2px solid #ff0000;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3), inset 0 0 20px rgba(255, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.countdown-timer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@-webkit-keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.countdown-header {
  text-align: center;
  color: #ff4444;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.countdown-display {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.countdown-value {
  font-size: 2rem;
  font-weight: 900;
  color: #ff0000;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.4);
  animation: glow 2s ease-in-out infinite;
  min-width: 3ch;
  text-align: center;
}

@-webkit-keyframes glow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 0, 0, 1), 0 0 40px rgba(255, 0, 0, 0.6);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 0, 0, 1), 0 0 40px rgba(255, 0, 0, 0.6);
  }
}

.countdown-label {
  font-size: 0.7rem;
  color: #ff6666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  font-weight: 600;
}

.countdown-expired {
  text-align: center;
  color: #00ff00;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.countdown-unlock-info {
  text-align: center;
  color: #ff8888;
  font-size: 0.8rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .countdown-value {
    font-size: 1.5rem;
  }
  
  .countdown-segment {
    padding: 0.5rem 0.25rem;
  }
  
  .countdown-label {
    font-size: 0.6rem;
  }
}

/* AdSense Container Styles */
.adsense-container {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adsense-container .adsbygoogle {
  width: 100%;
  min-height: 90px;
}

/* AdSense mobile responsive */
@media (max-width: 768px) {
  .adsense-container {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }
  
  .adsense-container .adsbygoogle {
    min-height: 50px;
  }
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.98) 0%, rgba(20, 20, 40, 0.98) 100%);
  border-top: 2px solid rgba(139, 92, 246, 0.3);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  color: #9ca3af;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #c4b5fd;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-tagline {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #a78bfa;
}

.footer-info {
  color: #9ca3af;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.header-social-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  order: 1;
  margin-left: auto;
}

.header-social-links a {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.header-social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
  align-items: center;
}

.social-links a {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.social-links a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  text-align: center;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .site-footer {
    padding: 2rem 0 1rem;
    position: relative;
    z-index: 15;
    margin-bottom: 0;
  }
  
  .footer-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
  }
  
  /* Mobile-specific optimizations */
  body {
    font-size: 14px;
  }
  
  .container {
    padding: 1rem;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    margin: 0.5rem auto 1rem;
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .hero-description p {
    font-size: 0.9rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .feature-icon {
    margin-bottom: 0.25rem;
  }
  
  /* Remove mobile nav override - keep buttons horizontal always */
  
  /* Auth Forms Mobile */
  .auth-section {
    padding: 1.5rem 1rem;
  }
  
  .auth-tabs {
    gap: 0.5rem;
    flex-direction: column;
  }
  
  .auth-tab {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    min-height: 48px;
    line-height: 1.5;
    width: 100%;
  }
  
  .auth-form {
    padding: 1.5rem 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    min-height: 48px;
    line-height: 1.5;
  }
  
  .btn-hero,
  .btn-primary,
  .btn-secondary,
  .btn-small {
    min-height: 48px;
    line-height: 1.5;
  }
  
  /* Dashboard Mobile */
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .header-actions .btn {
    width: 100%;
  }
  
  /* Payment Banner Mobile */
  .payment-banner-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .payment-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .payment-banner-actions .btn {
    width: 100%;
  }
  
  /* Payment Notice Mobile */
  .notice-content {
    flex-direction: column;
    text-align: center;
  }
  
  .notice-text {
    min-width: 100%;
  }
  
  .btn-small {
    width: 100%;
  }
  
  /* Portfolio Grid Mobile */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .portfolio-card {
    padding: 1.25rem;
  }
  
  /* Portfolio Vault Container Mobile */
  .portfolio-vault-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    min-height: 400px;
  }
  
  /* Vault Overlay Mobile - Safari-Safe Flexbox Centering */
  .vault-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .vault-overlay {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  
  .vault-door {
    width: 220px;
    height: 220px;
    max-width: 100%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .vault-image {
    width: 100%;
    height: 100%;
    max-width: 220px;
    display: block;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
  }
  
  .vault-text {
    text-align: center;
    font-size: 0.95rem;
    width: 100%;
    margin: 0 auto;
  }
  
  .example-timer-preview-small {
    position: static;
    margin: 1rem auto 0;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: auto;
    right: auto;
  }
  
  /* Prices Grid Mobile */
  .prices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .price-card {
    padding: 0.75rem;
  }
  
  .price-symbol {
    font-size: 1rem;
  }
  
  .price-value {
    font-size: 1.1rem;
  }
  
  /* Web3 Deposit Section Mobile */
  .web3-deposit-section {
    padding: 1.5rem 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Modal Mobile */
  .modal-content {
    width: 95%;
    max-width: 95%;
    margin: 1rem;
    max-height: 85vh;
    overflow-y: auto;
  }
  
  .modal-content h2 {
    font-size: 1.5rem;
  }
  
  .mission-text {
    font-size: 1rem;
    text-align: left;
  }
  
  .mission-segment {
    padding: 1rem;
  }
  
  .close-modal {
    font-size: 28px;
    right: 15px;
    top: 15px;
  }
  
  /* Disclaimer Modal Mobile */
  .disclaimer-content {
    max-height: 80vh;
    padding: 1.5rem 1rem;
  }
  
  .disclaimer-text {
    font-size: 0.9rem;
  }
  
  /* Signup Prompt Mobile */
  .signup-prompt-overlay {
    padding: 1rem;
  }
  
  .signup-prompt {
    width: 95%;
    max-width: 95%;
    padding: 1.5rem;
  }
  
  /* Profile Section Mobile */
  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Touch-friendly improvements */
  button, a, input, select, textarea {
    min-height: 48px;
    line-height: 1.5;
    -webkit-tap-highlight-color: rgba(167, 139, 250, 0.3);
  }
  
  input, select, textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 0.75rem 1rem;
  }
  
  /* Ensure all interactive elements meet touch target size */
  .nav-links a,
  .auth-tab,
  .btn,
  .btn-hero,
  .btn-primary,
  .btn-secondary,
  .btn-small,
  button,
  input[type="submit"],
  input[type="button"] {
    min-height: 48px;
    line-height: 1.5;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem !important;
    padding: 0 1rem;
    white-space: normal !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    padding: 0 1rem;
    white-space: normal !important;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .diamond-logo {
    width: 35px;
    height: 35px;
  }
  
  .nav-links {
    justify-content: center;
  }
  
  .nav-links a {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
  }
  
  .prices-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
  }
  
  .payment-methods-section {
    padding: 1rem;
  }
  
  .payment-logo-card {
    width: 100px;
  }
  
  /* Ensure all containers have proper padding */
  .container,
  .dashboard-content,
  .hero-section,
  .modal-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100vw;
  }
  
  /* Prevent text overflow on buttons - EXCEPT nav buttons */
  button:not(.nav-links button), 
  .btn:not(.nav-links .btn), 
  .btn-hero, 
  .btn-primary, 
  .btn-secondary {
    white-space: normal !important;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  
  /* Override nowrap on payment banner buttons */
  .payment-banner-actions .btn {
    white-space: normal !important;
  }
  
  /* Fix long headings */
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal !important;
  }
  
  /* Footer text adjustments */
  .footer-content {
    padding: 1rem;
  }
  
  .footer-section {
    padding: 0.5rem;
  }
  
  /* Payment banner mobile fix */
  .payment-notice-banner {
    padding: 0.75rem 1rem !important;
    text-align: center;
  }
  
  /* Mobile disclaimer modal fixes */
  .disclaimer-modal .modal-content {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    padding: 1.5rem 1rem;
  }
  
  .disclaimer-content h2 {
    font-size: 1.25rem;
  }
  
  .disclaimer-scroll {
    max-height: calc(100vh - 300px);
    padding: 1rem;
  }
  
  .disclaimer-actions {
    flex-direction: column;
  }
  
  .disclaimer-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  
  .disclaimer-checkbox {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  
  .disclaimer-checkbox-label {
    font-size: 0.95rem;
  }
  
  /* Touch-friendly navigation */
  .nav-links a,
  .nav-links button {
    min-height: 48px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Touch-friendly footer links */
  .footer-links li {
    margin: 0.5rem 0;
  }
}

/* Cross-browser compatibility */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

button, input, select, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 8px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

.container {
  max-width: 100%;
  overflow-x: hidden;
}

