/* ==============================================
   BINANCE-STYLE THEME VARIABLES
   ============================================== */

:root {
  --bg-primary: #0B0E11;
  --bg-secondary: #181A20;
  --bg-tertiary: #1E2329;
  --bg-card: #1E2329;
  --bg-hover: #2B3139;
  --accent-primary: #F0B90B;
  --accent-secondary: #FCD535;
  --accent-hover: #F8D12F;
  --text-primary: #EAECEF;
  --text-secondary: #B7BDC6;
  --text-tertiary: #848E9C;
  --border-color: #2B3139;
  --success: #0ECB81;
  --danger: #F6465D;
  --warning: #F0B90B;
}

/* ==============================================
   APP LOADING STATE
   ============================================== */

.app-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.app-loading.hidden {
  display: none;
}

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

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

.app-loading p {
  margin-top: 15px;
  color: var(--accent-primary);
  font-size: 16px;
  font-weight: 500;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 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: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  min-height: 100vh;
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: var(--bg-primary);
}

.stars {
  display: none;
}

.light-beams {
  display: none;
}

.navbar {
  background: var(--bg-primary);
  padding: 30px 0 35px;
  border-bottom: 1px solid rgba(43, 49, 57, 0.5);
  position: relative;
  z-index: 10;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 220px;
}

/* Gold accent bar at top of page */
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #B8860B 15%, 
    #DAA520 30%, 
    #FFD700 50%, 
    #DAA520 70%, 
    #B8860B 85%, 
    transparent 100%);
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  display: -ms-grid;
  grid-template-columns: 1fr auto;
  -ms-grid-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  -ms-grid-rows: auto auto auto;
  grid-template-areas:
    "logo social"
    "nav nav"
    "ticker ticker";
  align-items: center;
  gap: 12px 48px;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  grid-area: logo;
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  justify-self: start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}


.logo-text {
  font-family: 'Orbitron', 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.5px;
  text-transform: none;
  background: linear-gradient(135deg, #FFE55C 0%, #FFD700 20%, #F0B90B 40%, #DAA520 60%, #B8860B 80%, #FFD700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(240, 185, 11, 0.3);
  animation: shimmer 3s ease-in-out infinite;
}

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

.slogan {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 0;
  opacity: 0.8;
  font-style: italic;
}

/* Hide Price Ticker on Home Page */
.page-home .price-ticker-container {
  display: none !important;
}

/* Price Ticker Banner */
.price-ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
  border-top: 1px solid rgba(43, 49, 57, 0.3);
  border-bottom: 1px solid rgba(43, 49, 57, 0.3);
  padding: 14px 0;
  margin-top: 20px;
  grid-area: ticker;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  -ms-grid-row: 3;
}

.price-ticker-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to right, var(--bg-primary), 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, var(--bg-primary), 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;
}

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

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

@keyframes scroll-left {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    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;
  gap: 20px;
  flex-shrink: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  visibility: visible !important;
  opacity: 1 !important;
  grid-area: nav;
  margin-top: 0;
  padding: 24px 0;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  -ms-grid-row: 2;
  justify-self: center;
  min-width: 0;
  padding: 8px 0;
}

.nav-links a,
.nav-links button {
  display: inline-flex;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  padding: 18px 34px;
  border: 1px solid rgba(240, 185, 11, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  min-width: auto;
  text-align: center;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
}

.nav-links a::before,
.nav-links button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent-primary);
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--text-primary);
  background: rgba(240, 185, 11, 0.08);
  border-color: rgba(240, 185, 11, 0.4);
}

.nav-links a:hover::before,
.nav-links button:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a:active,
.nav-links button:active {
  transform: scale(0.98);
}

.vault-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1;
}

.vault-header-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--accent-primary));
  transition: all 0.3s ease;
  border-radius: 8px;
}

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

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

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

.auth-container {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 400px;
}

.auth-form {
  display: none;
}

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

.auth-form h2 {
  margin-bottom: 24px;
  color: var(--text-primary);
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: #181A20;
}

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

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(240, 185, 11, 0.1);
}

.form-switch {
  text-align: center;
  margin-top: 16px;
  color: var(--text-tertiary);
}

.form-switch a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.form-switch a:hover {
  text-decoration: underline;
}

.dashboard-section {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.payment-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.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(240, 185, 11, 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: var(--bg-secondary);
  color: var(--text-primary);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.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: 24px 0;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.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: var(--bg-tertiary);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  position: relative;
}

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

.portfolio-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-primary);
}

.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: var(--text-primary);
}

.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(240, 185, 11, 0.2);
}

.portfolio-locked-badge {
  display: inline-block;
  background: rgba(240, 185, 11, 0.3);
  color: var(--accent-primary);
  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(240, 185, 11, 0.08) 0%, rgba(204, 153, 0, 0.12) 100%);
  border-radius: 16px;
  border: 2px solid rgba(240, 185, 11, 0.3);
  box-shadow: 0 8px 32px rgba(240, 185, 11, 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(240, 185, 11, 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: var(--text-secondary);
  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: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.address-card:hover {
  border-color: var(--accent-primary);
}

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

.address-header h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

.network-badge {
  background: rgba(240, 185, 11, 0.15);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(240, 185, 11, 0.3);
}

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

.address-text {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 12px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  word-break: break-all;
  border: 1px solid var(--border-color);
}

.btn-copy {
  padding: 10px 20px;
  background: var(--accent-primary);
  color: #181A20;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

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

.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 {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "logo social"
      "nav nav"
      "ticker ticker";
    gap: 0.75rem 1rem;
  }
  
  .logo-container {
    grid-area: logo;
    justify-self: start;
  }
  
  .header-social-links {
    grid-area: social;
    justify-self: end;
  }
  
  .nav-links {
    grid-area: nav;
    justify-self: center;
    flex-wrap: wrap;
  }

  .price-ticker-container {
    grid-area: ticker;
  }

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

@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: 8px 0;
    overflow: hidden !important;
    width: 100vw;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 0;
    padding-right: 0;
  }
  
  .price-ticker-container::before,
  .price-ticker-container::after {
    width: 30px;
  }
  
  .price-ticker {
    overflow: visible !important;
    width: 100%;
  }
  
  .ticker-content {
    animation: scroll-left 15s linear infinite !important;
    -webkit-animation: scroll-left 15s linear infinite !important;
    -moz-animation: scroll-left 15s linear infinite !important;
    display: inline-flex !important;
    white-space: nowrap !important;
  }

  .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;
  }
  
  /* Mobile navbar adjustments */
  .navbar {
    padding: 20px 0 24px;
    min-height: auto;
  }
  
  /* Mobile navbar - Grid-based layout for all browsers */
  .nav-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "logo"
      "nav"
      "social"
      "ticker";
    gap: 10px;
    position: relative;
    padding: 0 16px;
  }
  
  .trust-badges-line {
    display: block !important;
    text-align: center !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.1), transparent) !important;
    border-top: 1px solid rgba(240, 185, 11, 0.2) !important;
    border-bottom: 1px solid rgba(240, 185, 11, 0.2) !important;
  }
  
  .trust-badge-item {
    font-size: 0.65rem !important;
    display: inline !important;
    white-space: nowrap;
  }
  
  .trust-check {
    font-size: 0.7rem !important;
    padding-right: 5px !important;
    display: inline !important;
  }
  
  .trust-text {
    display: inline !important;
  }
  
  .trust-separator {
    padding: 0 0.3rem !important;
    font-size: 0.6rem !important;
    display: inline !important;
  }
  
  .logo-container {
    grid-area: logo;
    justify-self: center;
    text-align: center;
    align-items: center;
    gap: 4px;
  }
  
  .header-social-links {
    grid-area: social;
    justify-self: center;
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
  }
  
  .header-social-links a {
    width: 28px;
    height: 28px;
  }
  
  .header-social-links svg {
    width: 20px;
    height: 20px;
  }
  
  .nav-links {
    grid-area: nav;
    justify-self: center;
    margin-top: 0;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    justify-content: center;
  }
  
  .nav-links a,
  .nav-links button {
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    min-height: auto;
    border-radius: 8px;
  }
  
  .price-ticker-container {
    grid-area: ticker;
  }
  
  /* Mobile padding and text wrapping fixes */
  .nav-container,
  .container,
  .dashboard-content {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  /* Prevent ALL horizontal scrolling on mobile */
  html, body, .navbar, .nav-container, main, section, .hero-section, footer, 
  .dashboard-section, .dashboard-content, .dashboard-header, .container,
  .vault-card, .vault-list, .gamification-section, .payment-banner {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  
  /* Force width constraints on dashboard elements */
  .dashboard-section,
  .vault-card,
  .gamification-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure text wraps on all elements */
  p, span, div, button, a, label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  
  /* 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: var(--accent-primary);
  border-radius: 4px;
}

.deposits-list::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 185, 11, 0.7);
}

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

.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, var(--accent-primary) 0%, var(--accent-primary) 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(240, 185, 11, 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;
}

/* spin animation defined at line 54 */

/* pulse animation defined at line 631 */

/* Hero Section */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  text-align: center;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hero-title {
  font-size: 36px;
  font-weight: 600;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 400;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Trust Badges Line - Page Break */
.trust-badges-line {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  gap: 0.5rem 3rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.1), transparent);
  border-top: 1px solid rgba(240, 185, 11, 0.2);
  border-bottom: 1px solid rgba(240, 185, 11, 0.2);
  margin: 0 -2rem;
  width: calc(100% + 4rem);
}

.trust-badge-item {
  display: inline-flex;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
}

.trust-check {
  color: #00C853;
  font-weight: 700;
  font-size: 0.85rem;
  padding-right: 8px;
}

.trust-text {
  color: var(--text-secondary);
}

.trust-separator {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
  padding: 0 0.5rem;
}

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

.hero-features-list li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.hero-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
}

/* Token Drops Note (subtle) */
.token-drops-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--success);
  font-size: 14px;
}

.token-drops-note .token-drops-icon {
  font-size: 16px;
}

.hero-description {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  text-align: left;
}

.hero-description p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-description p:last-of-type {
  margin-bottom: 24px;
}

.hero-description strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.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: 12px;
  background: var(--bg-secondary);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.feature:hover {
  border-color: var(--accent-primary);
}

.feature-icon {
  font-size: 20px;
}

.feature span:last-child {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
}

/* How It Works Section */
.how-it-works {
  margin-top: 48px;
  padding: 48px 24px;
  background: linear-gradient(135deg, rgba(30, 35, 41, 0.8) 0%, rgba(11, 14, 17, 0.9) 100%);
  border-radius: 12px;
  border: 1px solid rgba(240, 185, 11, 0.15);
}

.how-it-works-title {
  text-align: center;
  font-size: 24px;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 40px;
}

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

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 24px 20px;
  background: rgba(11, 14, 17, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(240, 185, 11, 0.1);
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--accent-primary);
  background: rgba(240, 185, 11, 0.05);
  transform: translateY(-2px);
}

.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.step h3 {
  color: var(--accent-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.step-arrow {
  font-size: 24px;
  color: var(--accent-primary);
  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;
}

/* pulse animation defined at line 631 */

@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(240, 185, 11, 0.1) 25%, rgba(240, 185, 11, 0.2) 50%, rgba(240, 185, 11, 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: 40px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 500;
  background: var(--accent-primary);
  color: #181A20;
  border: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: auto;
  max-width: none;
}

.btn-hero:hover {
  background: var(--accent-hover);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-hero-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--text-tertiary);
}

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

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

.profile-header h2 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 600;
}

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

.profile-stats-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
}

.profile-stats-card:hover {
  border-color: var(--accent-primary);
}

.profile-stats-card.points-card {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
}

.profile-stats-card.points-card:hover {
  border-color: var(--accent-secondary);
}

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

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

.stats-content h3 {
  font-size: 1.8rem;
  color: var(--accent-primary);
  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(240, 185, 11, 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(240, 185, 11, 0.2) 0%, rgba(204, 153, 0, 0.2) 100%);
  border: 2px solid rgba(240, 185, 11, 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(240, 185, 11, 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(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 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: var(--accent-primary);
}

.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(240, 185, 11, 0.08) 0%,
    rgba(240, 185, 11, 0.04) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.5) 100%);
  border-radius: 12px;
  padding: 2rem;
}

/* Vault Visual - Gold/Yellow Themed */
.vault-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.vault-visual.vault-clickable {
  cursor: pointer;
  pointer-events: auto;
}

.vault-visual.vault-clickable:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.vault-visual.vault-clickable:hover .vault-image {
  filter: sepia(100%) saturate(400%) brightness(1.2) hue-rotate(5deg);
}

.vault-visual.vault-revealed {
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

.vault-click-hint {
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.vault-visual.vault-clickable:hover .vault-click-hint {
  opacity: 1;
}

.vault-visual.vault-revealed .vault-click-hint {
  display: none;
}

.vault-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(100%) saturate(300%) brightness(1.1) hue-rotate(5deg);
  transition: filter 0.3s ease;
}

.portfolio-grid {
  position: relative;
  z-index: 2;
}

.example-timer-preview-small {
  position: absolute;
  bottom: 0.5rem;
  right: 1.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: var(--accent-primary);
  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);
  }
}

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

.payment-methods-title {
  font-size: 0.9rem;
  color: var(--accent-primary);
  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(240, 185, 11, 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(240, 185, 11, 0.8);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 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: var(--text-secondary);
  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(240, 185, 11, 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(240, 185, 11, 0.1);
  border-radius: 8px;
}

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

.wallet-address {
  color: var(--accent-primary);
  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(240, 185, 11, 0.15) 0%, rgba(204, 153, 0, 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(240, 185, 11, 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(240, 185, 11, 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(240, 185, 11, 0.1);
  border-left: 3px solid var(--accent-primary);
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.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(240, 185, 11, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(240, 185, 11, 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: var(--text-secondary);
  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: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.payment-details {
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 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: var(--text-secondary);
  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(240, 185, 11, 0.05);
  border: 1px solid rgba(240, 185, 11, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.payment-instructions h4 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.payment-instructions li {
  color: var(--text-secondary);
  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(240, 185, 11, 0.2);
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: rgba(240, 185, 11, 0.1);
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--accent-primary);
  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(240, 185, 11, 0.2);
}

.tab-btn.active {
  border-bottom-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.15);
  color: var(--text-primary);
}

.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: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  margin: 5% auto;
  padding: 40px;
  border: 2px solid rgba(240, 185, 11, 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: var(--text-secondary);
  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: var(--text-secondary);
  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: var(--accent-primary);
  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: var(--text-secondary);
}

.close-modal {
  color: var(--accent-primary);
  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: var(--text-secondary);
  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: var(--accent-primary);
  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(240, 185, 11, 0.3);
}

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

.signup-prompt-content {
  max-width: 600px;
  text-align: center;
  border: 2px solid rgba(240, 185, 11, 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: var(--text-secondary);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.signup-prompt-subtitle {
  color: var(--accent-primary);
  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(240, 185, 11, 0.2);
  transition: all 0.3s ease;
}

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

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

.benefit-item h4 {
  color: var(--text-secondary);
  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(240, 185, 11, 0.1) 0%, rgba(204, 153, 0, 0.05) 100%);
  border: 2px solid rgba(240, 185, 11, 0.3);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(240, 185, 11, 0.2);
}

.vault-address-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 185, 11, 0.2);
}

.vault-address-info p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.vault-address-info strong {
  color: var(--accent-primary);
}

/* 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;
}

@keyframes pulse-opacity {
  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: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 64px;
  color: var(--text-tertiary);
  position: relative;
  z-index: 10;
}

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

.footer-section h4 {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.footer-tagline {
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.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;
  grid-area: social;
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  justify-self: end;
}

.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(240, 185, 11, 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 - Fix horizontal scrolling */
  .auth-section {
    padding: 1rem;
    min-height: auto;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .auth-container {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .auth-tabs {
    gap: 0.5rem;
    flex-direction: column;
    width: 100%;
  }
  
  .auth-tab {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    min-height: 48px;
    line-height: 1.5;
    width: 100%;
  }
  
  .auth-form {
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .auth-form h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .auth-form .form-group {
    margin-bottom: 1rem;
  }
  
  .auth-form input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .auth-form .btn {
    width: 100%;
  }
  
  .form-switch {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .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: flex-start;
    padding: 1.5rem 1rem;
    min-height: auto;
    position: relative;
  }
  
  /* Vault Visual Mobile - Stack vertically, no overlap */
  .vault-visual {
    position: static !important;
    transform: none !important;
    width: 180px;
    height: 180px;
    opacity: 0.85;
    margin: 0 auto 0.5rem;
    order: 1;
  }
  
  .vault-visual.vault-revealed {
    opacity: 0.15;
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0;
  }
  
  .vault-click-hint {
    font-size: 0.75rem;
  }
  
  .vault-image {
    width: 100%;
    height: 100%;
    max-width: 180px;
    display: block;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
  }
  
  /* Timer Mobile - Directly below vault image */
  .example-timer-preview-small {
    position: static !important;
    transform: none !important;
    margin: 0 auto 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    order: 2;
    width: auto;
  }
  
  /* Portfolio Grid Mobile - Below timer */
  .portfolio-grid {
    order: 3;
    width: 100%;
  }
  
  /* 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;
  }
  
  .nav-links {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.2rem;
    max-width: 100%;
  }
  
  .nav-links a,
  .nav-links button {
    font-size: 0.65rem;
    padding: 0.4rem 0.45rem;
    white-space: nowrap;
    min-height: auto;
    border-radius: 6px;
  }
  
  /* Trust badges for small phones */
  .trust-badges-line {
    display: block !important;
    text-align: center !important;
    padding: 0.4rem 0.5rem !important;
  }
  
  .trust-badge-item {
    font-size: 0.55rem !important;
    display: inline !important;
  }
  
  .trust-check {
    font-size: 0.6rem !important;
    padding-right: 4px !important;
    display: inline !important;
  }
  
  .trust-separator {
    padding: 0 0.2rem !important;
    font-size: 0.5rem !important;
    display: inline !important;
  }
  
  .trust-text {
    font-size: 0.55rem !important;
    display: inline !important;
  }
  
  /* Even faster ticker on small phones */
  .ticker-content {
    animation: scroll-left 10s linear infinite !important;
    -webkit-animation: scroll-left 10s linear infinite !important;
    -moz-animation: scroll-left 10s linear infinite !important;
  }
  
  .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 and no overflow */
  .container,
  .dashboard-content,
  .hero-section,
  .modal-content,
  .auth-section,
  .auth-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100vw;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }
  
  /* Auth section specific fixes for smallest screens */
  .auth-section {
    min-height: auto;
    padding: 0.75rem !important;
  }
  
  .auth-container {
    padding: 1rem !important;
    border-radius: 8px;
  }
  
  .auth-form input,
  .auth-form select,
  .auth-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Force no horizontal scroll on smallest screens */
  html, body, .navbar, main, section, footer, .nav-container, .auth-section, .auth-container, .auth-form {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  
  /* 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;
  }
  
  /* Vault and Timer - Extra small screens */
  .vault-visual {
    width: 150px !important;
    height: 150px !important;
  }
  
  .vault-image {
    max-width: 150px !important;
  }
  
  .vault-click-hint {
    font-size: 0.7rem;
  }
  
  .example-timer-preview-small {
    padding: 0.5rem 0.75rem;
    margin-top: 1rem;
  }
  
  .example-timer-label {
    font-size: 0.65rem;
  }
  
  .example-timer-compact {
    font-size: 0.75rem;
  }
  
  .portfolio-vault-container {
    padding: 1rem 0.75rem;
  }
}

/* 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;
}

/* ==============================================
   BEHAVIORAL TOOLS HERO SECTION
   ============================================== */

.behavioral-tools-section {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: -webkit-linear-gradient(135deg, rgba(30, 35, 41, 0.9) 0%, rgba(11, 14, 17, 0.95) 100%);
  background: -moz-linear-gradient(135deg, rgba(30, 35, 41, 0.9) 0%, rgba(11, 14, 17, 0.95) 100%);
  background: linear-gradient(135deg, rgba(30, 35, 41, 0.9) 0%, rgba(11, 14, 17, 0.95) 100%);
  border-radius: 16px;
  border: 1px solid rgba(240, 185, 11, 0.2);
  text-align: center;
}

.behavioral-tools-title {
  color: var(--accent-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: -webkit-linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  background: -moz-linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}

.behavioral-tools-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.behavioral-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.behavioral-tool-card {
  background: rgba(11, 14, 17, 0.6);
  border: 1px solid rgba(240, 185, 11, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 100%;
}

.behavioral-tool-card:hover {
  border-color: var(--accent-primary);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
  -webkit-box-shadow: 0 8px 25px rgba(240, 185, 11, 0.15);
  -moz-box-shadow: 0 8px 25px rgba(240, 185, 11, 0.15);
  box-shadow: 0 8px 25px rgba(240, 185, 11, 0.15);
}

.behavioral-tool-card .tool-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.behavioral-tool-card h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.behavioral-tool-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.behavioral-tools-tagline {
  color: var(--accent-primary);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 185, 11, 0.1);
}

/* Token Rewards Panel */
.token-rewards-panel {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.08) 0%, rgba(240, 185, 11, 0.02) 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.token-rewards-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
}

.token-rewards-badge {
  display: inline-block;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.token-rewards-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.token-rewards-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.token-rewards-tiers {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reward-tier {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  min-width: 120px;
  transition: all 0.25s ease;
}

.reward-tier:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.tier-duration {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.tier-reward {
  display: block;
  color: var(--accent-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 576px) {
  .token-rewards-panel {
    padding: 1.5rem 1rem;
  }
  
  .token-rewards-title {
    font-size: 1.25rem;
  }
  
  .token-rewards-tiers {
    gap: 0.75rem;
  }
  
  .reward-tier {
    padding: 0.75rem 1rem;
    min-width: 100px;
  }
}

/* Bottom CTA Buttons */
.hero-cta.bottom-cta {
  margin-top: 3rem;
  padding-top: 2rem;
}

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

@media (max-width: 576px) {
  .behavioral-tools-section {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }
  
  .behavioral-tools-title {
    font-size: 1.5rem;
  }
  
  .behavioral-tools-subtitle {
    font-size: 1rem;
  }
  
  .behavioral-tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .behavioral-tool-card {
    padding: 1.25rem;
  }
  
  .behavioral-tool-card .tool-icon {
    font-size: 2rem;
  }
  
  .behavioral-tools-tagline {
    font-size: 1rem;
  }
  
  .hero-cta.bottom-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* ==============================================
   GAMIFICATION SECTION STYLES
   ============================================== */

.gamification-section {
  margin-top: 2rem;
  padding: 2rem;
  background: -webkit-linear-gradient(135deg, rgba(30, 35, 41, 0.8) 0%, rgba(11, 14, 17, 0.9) 100%);
  background: -moz-linear-gradient(135deg, rgba(30, 35, 41, 0.8) 0%, rgba(11, 14, 17, 0.9) 100%);
  background: linear-gradient(135deg, rgba(30, 35, 41, 0.8) 0%, rgba(11, 14, 17, 0.9) 100%);
  border-radius: 12px;
  border: 1px solid rgba(240, 185, 11, 0.15);
}

.gamification-section .section-title {
  color: var(--accent-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Streak Display */
.streak-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.streak-card {
  background: rgba(11, 14, 17, 0.6);
  border: 1px solid rgba(240, 185, 11, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.streak-card:hover {
  border-color: var(--accent-primary);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

.streak-icon {
  font-size: 2rem;
}

.streak-info {
  display: flex;
  flex-direction: column;
}

.streak-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.streak-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* Badges Section */
.badges-section, .goals-section, .future-letter-section, .simulator-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 185, 11, 0.1);
}

.badges-section h4, .goals-section h4, .future-letter-section h4, .simulator-section h4 {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-item {
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.badge-item:hover {
  background: rgba(240, 185, 11, 0.2);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.badge-item .badge-icon {
  font-size: 1.25rem;
}

.badge-item .badge-name {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.badge-item.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

/* Goals List */
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.goal-item {
  background: rgba(11, 14, 17, 0.6);
  border: 1px solid rgba(240, 185, 11, 0.1);
  border-radius: 8px;
  padding: 1rem;
}

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

.goal-name {
  color: var(--accent-primary);
  font-weight: 600;
}

.goal-progress {
  height: 8px;
  background: rgba(240, 185, 11, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.goal-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Future Letters */
.future-letters-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.letter-item {
  background: rgba(11, 14, 17, 0.6);
  border: 1px solid rgba(240, 185, 11, 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.letter-date {
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.letter-preview {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

/* Vault Simulator */
.simulator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.simulator-card {
  background: rgba(11, 14, 17, 0.6);
  border: 1px solid rgba(240, 185, 11, 0.1);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.simulator-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.simulator-year {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.simulator-event {
  color: var(--text-primary);
  font-weight: 600;
  margin: 0.25rem 0;
}

.simulator-gain {
  font-size: 1.25rem;
  font-weight: 700;
}

.simulator-gain.positive {
  color: var(--success);
}

.simulator-gain.negative {
  color: var(--danger);
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-align: center;
  font-style: italic;
}

/* Temptation Section */
.temptation-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(240, 185, 11, 0.05) 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 12px;
}

.temptation-message {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
  justify-content: center;
}

.temptation-icon {
  font-size: 2rem;
}

.temptation-message p {
  color: var(--accent-primary);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* Gamification Modals */
.gamification-modal-content {
  max-width: 500px;
}

.modal-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.gamification-modal-content textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: inherit;
  resize: vertical;
}

.gamification-modal-content textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Unlock Ceremony Modal */
.ceremony-modal-content {
  max-width: 500px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ceremony-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ceremony-content {
  position: relative;
  z-index: 2;
}

.ceremony-vault-icon {
  font-size: 4rem;
  animation: bounceIn 0.8s ease;
}

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

.ceremony-modal-content h2 {
  color: var(--accent-primary);
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
}

.ceremony-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.ceremony-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.ceremony-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ceremony-stat .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.ceremony-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.ceremony-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid var(--accent-primary);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin: 1rem auto;
  animation: pulse 2s infinite;
}

.ceremony-badge .badge-icon {
  font-size: 1.5rem;
}

.ceremony-badge .badge-name {
  color: var(--accent-primary);
  font-weight: 600;
}

.ceremony-journey {
  margin: 1.5rem 0;
  text-align: left;
}

.ceremony-journey h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(11, 14, 17, 0.5);
  border-radius: 6px;
}

.timeline-icon {
  font-size: 1.25rem;
}

.timeline-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.timeline-date {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  margin-left: auto;
}

/* Confetti Animation */
.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  -webkit-animation: confettiFall 3s ease-out forwards;
  -moz-animation: confettiFall 3s ease-out forwards;
  animation: confettiFall 3s ease-out forwards;
}

@-webkit-keyframes confettiFall {
  0% {
    -webkit-transform: translateY(-100px) rotate(0deg);
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(400px) rotate(720deg);
    transform: translateY(400px) rotate(720deg);
    opacity: 0;
  }
}

@-moz-keyframes confettiFall {
  0% {
    -moz-transform: translateY(-100px) rotate(0deg);
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    -moz-transform: translateY(400px) rotate(720deg);
    transform: translateY(400px) rotate(720deg);
    opacity: 0;
  }
}

@keyframes confettiFall {
  0% {
    -webkit-transform: translateY(-100px) rotate(0deg);
    -moz-transform: translateY(-100px) rotate(0deg);
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(400px) rotate(720deg);
    -moz-transform: translateY(400px) rotate(720deg);
    transform: translateY(400px) rotate(720deg);
    opacity: 0;
  }
}

/* Mobile Responsiveness for Gamification */
@media (max-width: 768px) {
  .streak-display {
    grid-template-columns: 1fr;
  }
  
  .streak-card {
    padding: 1rem;
  }
  
  .streak-icon {
    font-size: 1.5rem;
  }
  
  .streak-value {
    font-size: 1.25rem;
  }
  
  .simulator-grid {
    grid-template-columns: 1fr;
  }
  
  .ceremony-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .gamification-section {
    padding: 1rem;
  }
  
  .nav-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav"
      "social"
      "ticker";
    gap: 0.75rem;
  }
  
  .logo-container {
    grid-area: logo;
    justify-self: center;
  }
  
  .header-social-links {
    grid-area: social;
    justify-self: center;
  }
  
  .nav-links {
    grid-area: nav;
    justify-self: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }
  
  .price-ticker-container {
    grid-area: ticker;
  }
}

