/* ===================================
   BITCOINER ONE LINERS - STYLES
   Strike-inspired dark theme
   Bitcoin Orange: #F7931A
=================================== */

:root {
  /* Bitcoin Brand Colors */
  --bitcoin-orange: #F7931A;
  --bitcoin-orange-dark: #d97f15;
  --bitcoin-orange-light: #ffa940;
  --bitcoin-gray: #4D4D4D;
  
  /* Dark Theme */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --bg-card: #0d0d0d;
  --bg-card-hover: #141414;
  --bg-elevated: #1a1a1a;
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  
  /* Accents */
  --accent-glow: rgba(247, 147, 26, 0.15);
  --accent-glow-strong: rgba(247, 147, 26, 0.3);
  
  /* Sizing */
  --nav-height: 72px;
  --container-max: 1200px;
  --container-padding: 24px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-medium: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(247, 147, 26, 0.2);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ===================================
   RESET & BASE
=================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================================
   CONTAINER
=================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===================================
   HEADER & NAVIGATION
=================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.bitcoin-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(247, 147, 26, 0.3));
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--border-medium);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px var(--container-padding);
  z-index: 99;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

/* ===================================
   HERO SECTION
=================================== */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 80px) var(--container-padding) 80px;
  text-align: center;
  overflow: hidden;
}

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) var(--container-padding) 60px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--bitcoin-orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--bitcoin-orange) 0%, var(--bitcoin-orange-light) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle,
.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================================
   MAIN CONTENT
=================================== */

.main {
  padding-bottom: 100px;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bitcoin-orange);
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-medium) 0%, transparent 100%);
}

/* ===================================
   QUOTES SECTION
=================================== */

.quotes-section {
  padding-top: 20px;
}

.quotes-grid {
  display: grid;
  gap: 20px;
}

.quote-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-medium);
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bitcoin-orange), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.quote-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.quote-card:hover::before {
  opacity: 0.6;
}

.quote-card.featured {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(247, 147, 26, 0.05) 100%);
  border-color: rgba(247, 147, 26, 0.2);
}

.quote-card.featured::before {
  opacity: 0.4;
}

/* ===== Quote of the Week Spotlight ===== */
.qotw-section {
  padding: 0 var(--container-padding) 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.qotw-card {
  position: relative;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.08) 0%, var(--bg-card) 60%, rgba(247, 147, 26, 0.04) 100%);
  border: 1px solid rgba(247, 147, 26, 0.3);
  border-radius: 16px;
  padding: 48px 40px 32px;
  box-shadow: 0 0 80px rgba(247, 147, 26, 0.12), var(--shadow-md);
  overflow: hidden;
}

.qotw-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(247, 147, 26, 0.10), transparent 60%);
  pointer-events: none;
}

.qotw-icon {
  font-size: 64px;
  font-family: Georgia, serif;
  color: var(--bitcoin-orange);
  opacity: 0.4;
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 32px;
}

.qotw-text {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
  position: relative;
}

.qotw-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.qotw-author {
  color: var(--bitcoin-orange);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
}

.qotw-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.qotw-commentary {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.qotw-commentary h3 {
  color: var(--bitcoin-orange);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
}

.qotw-commentary p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

.qotw-commentary p:last-child {
  margin-bottom: 0;
}

.qotw-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  background: rgba(247, 147, 26, 0.15);
  border: 1px solid rgba(247, 147, 26, 0.25);
  border-radius: 20px;
  color: var(--bitcoin-orange-light);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  position: relative;
}

@media (max-width: 768px) {
  .qotw-card { padding: 36px 24px 24px; }
  .qotw-text { font-size: 1.25rem; }
  .qotw-icon { font-size: 48px; top: 12px; left: 20px; }
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 48px;
  font-family: Georgia, serif;
  color: var(--bitcoin-orange);
  opacity: 0.3;
  line-height: 1;
}

.quote-text {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-left: 8px;
}

.quote-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 8px;
}

.quote-author {
  font-size: 14px;
  font-style: normal;
  color: var(--text-muted);
}

.quote-date {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===================================
   RESOURCES SECTION
=================================== */

.resources-section {
  padding-top: 20px;
}

.resource-category {
  margin-bottom: 60px;
}

.resource-category:last-child {
  margin-bottom: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.category-icon {
  font-size: 28px;
}

.category-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.category-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-left: 44px;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 44px;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.resource-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.resource-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.resource-meta {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

/* ===================================
   ABOUT SECTION
=================================== */

.about-section {
  padding-top: 40px;
}

.about-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  text-align: center;
}

.about-text-large {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ===================================
   CONTACT SECTION
=================================== */

.contact-section {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.label-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--bitcoin-orange);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  padding-top: 8px;
}

.form-status {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.info-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.info-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--bitcoin-orange);
}

.info-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.info-highlight {
  font-size: 13px;
  font-weight: 500;
  color: var(--bitcoin-orange);
}

/* ===================================
   BUTTONS
=================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--bitcoin-orange);
  color: #000;
  box-shadow: 0 4px 20px rgba(247, 147, 26, 0.3);
}

.btn-primary:hover {
  background: var(--bitcoin-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(247, 147, 26, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-submit {
  width: 100%;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===================================
   FOOTER
=================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-bitcoin-svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-link {
  color: var(--bitcoin-orange);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--bitcoin-orange-light);
}

.footer-badges {
  display: flex;
  gap: 12px;
}

.footer-badge {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: -1;
    flex-direction: row;
  }
  
  .info-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --nav-height: 64px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    min-height: 50vh;
    padding: calc(var(--nav-height) + 60px) var(--container-padding) 60px;
  }
  
  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
  }
  
  .hero-subtitle,
  .page-subtitle {
    font-size: 16px;
  }
  
  .quote-card {
    padding: 24px;
  }
  
  .quote-text {
    font-size: 18px;
  }
  
  .category-description,
  .resource-list {
    padding-left: 0;
  }
  
  .resource-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .resource-meta {
    text-align: left;
  }
  
  .contact-info {
    flex-direction: column;
  }
  
  .contact-form-wrapper {
    padding: 28px;
  }
  
  .about-card {
    padding: 40px 28px;
  }
  
  .about-text-large {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
  
  .quote-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Add to styles.css (optional but recommended) */
.quotes-search {
  margin-bottom: 1.75rem;
}

.quote-search-input {
  width: 100%;
  max-width: 420px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 12, 0.9);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.quote-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.quote-search-input:focus {
  border-color: #f7931a;
  box-shadow: 0 0 0 1px rgba(247, 147, 26, 0.4);
}

/* For the visually hidden label (accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Black spacer – height roughly equals two rows of text */
.spacer-black {
  height: 2rem;          /* adjust as needed */
  background-color: #000;
}

/* Optional – give the whole “Start Here” block a little bottom margin
   (helps if you later remove the spacer and just want space). */
.start-here {
  margin-bottom: 1rem;
}
/* -------------------------------------------------
   Bitcoin price ticker – top centre of the page
   ------------------------------------------------- */
#btc-ticker {
  /* Flex‑box makes centering trivial */
  display: flex;
  justify-content: center;      /* centre horizontally */
  align-items: center;          /* centre vertically (if you give it height) */
  padding: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ff9900;               /* orange – matches your “Start Here” button */
  background-color: #111;       /* dark bar – blends with most navbars */
}

/* optional: give the ticker a thin bottom border */
#btc-ticker {
  border-bottom: 1px solid #333;
}

/* make the label a little smaller than the number */
#btc-ticker .btc-label { font-size: 0.85rem; }

/* price will be replaced by JavaScript */
#btc-ticker .btc-price { font-size: 1rem; }
