/* THE WALLS — Stylesheet */
:root {
  --bg-dark: #0a0b0e;
  --bg-card: rgba(18, 20, 28, 0.78);
  --bg-card-hover: rgba(24, 27, 38, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(230, 25, 25, 0.4);
  
  --red-primary: #e61919;
  --red-glow: rgba(230, 25, 25, 0.35);
  --red-dark: #7a0c0c;
  --red-light: #ff3b3b;
  
  --text-main: #f5f6fa;
  --text-muted: #8e95a5;
  --text-dim: #5c6274;
  
  --gold: #f59e0b;
  --green: #10b981;
  --blue: #229ed9;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Wall Pattern & Ambient Lighting */
.wall-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 10%, rgba(230, 25, 25, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(122, 12, 12, 0.12) 0%, transparent 50%),
    linear-gradient(rgba(10, 11, 14, 0.94), rgba(10, 11, 14, 0.98)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.02) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255, 255, 255, 0.02) 80px);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

/* Header & Brand */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--red-glow);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-10deg) scale(1.05);
}

.brand-text h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 40%, #ff4d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero-tag {
  display: inline-block;
  background: rgba(230, 25, 25, 0.12);
  color: var(--red-light);
  border: 1px solid var(--border-highlight);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--red-light);
  text-shadow: 0 0 25px var(--red-glow);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero-purpose-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  max-width: 680px;
  margin: 0 auto;
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.hero-purpose-box svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* Primary Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 35px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Action Box */
.claim-box {
  text-align: center;
  padding: 20px 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--red-primary) 0%, #ba0f0f 100%);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 18px 42px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px var(--red-glow), 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(230, 25, 25, 0.5);
  background: linear-gradient(135deg, #ff2929 0%, #c91212 100%);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-subtext {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* Loading & PoW State */
.loading-box {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(230, 25, 25, 0.2);
  border-top-color: var(--red-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 18px;
}

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

.loading-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.loading-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Active Key Result Card */
.result-box {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.timer-badge {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: monospace;
}

.key-display {
  background: rgba(10, 11, 15, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.key-url {
  font-family: monospace;
  font-size: 14px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-copy.copied {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* QR Code & Deep Links */
.qr-section {
  display: flex;
  gap: 30px;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.qr-box {
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.qr-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-app:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-app.primary-app {
  background: rgba(230, 25, 25, 0.18);
  border-color: rgba(230, 25, 25, 0.4);
  color: #ff6b6b;
}

.btn-app.primary-app:hover {
  background: rgba(230, 25, 25, 0.3);
  color: #ffffff;
}

/* ================================================= */
/* HOW TO GET PERMANENT ACCESS (CONVERSION SECTION)  */
/* ================================================= */
.conversion-section {
  background: linear-gradient(135deg, rgba(26, 29, 42, 0.95) 0%, rgba(15, 17, 24, 0.98) 100%);
  border: 2px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15);
  margin-bottom: 30px;
}

.conversion-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.conversion-title-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.conversion-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.conversion-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}

.conv-step {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
}

.conv-step.highlight {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.05);
}

.conv-num {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.conv-step.highlight .conv-num {
  background: var(--gold);
  color: #000000;
}

.conv-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.conv-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.conversion-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-highlight {
  font-size: 14px;
  color: #cbd5e1;
}

.promo-pill {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 800;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-bot-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #229ed9 0%, #1585bb 100%);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(34, 158, 217, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-bot-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.6);
  background: linear-gradient(135deg, #2db1f1 0%, #1b9cd9 100%);
}

/* Instructions Tabs */
.tabs-card {
  margin-top: 40px;
}

.tabs-header {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 25px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(230, 25, 25, 0.15);
  border: 1px solid rgba(230, 25, 25, 0.35);
}

.tab-pane {
  display: none;
}

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

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

.step-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--red-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.step-desc a {
  color: #38bdf8;
  text-decoration: underline;
  font-weight: 600;
}

.recommended-tag {
  background: rgba(230, 25, 25, 0.2);
  color: var(--red-light);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 6px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.feature-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .glass-card {
    padding: 22px;
  }
  .qr-section {
    flex-direction: column;
    text-align: center;
  }
  .conversion-action {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .btn-bot-big {
    justify-content: center;
  }
}
