/**
 * Free Printables Page Styles
 * Extracted from routes/free-printables.tsx for maintainability
 */

/* ===== Layout ===== */
.landing-page {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary, #f8fafc);
  color: var(--text-primary, #1e293b);
}

/* ===== Header ===== */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.landing-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-primary, #3b82f6);
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
}
.landing-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link {
  color: var(--text-secondary, #64748b);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-link:hover {
  color: var(--accent-primary, #3b82f6);
}

/* ===== Hero ===== */
.printables-hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.printables-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text-primary, #1e293b);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary, #64748b);
  margin: 0;
  line-height: 1.6;
}

/* ===== Grid ===== */
.printables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 16px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Card ===== */
.printable-card {
  background: var(--bg-secondary, #ffffff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color, #e2e8f0);
  transition: transform 0.2s, box-shadow 0.2s;
}
.printable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ===== Preview ===== */
.printable-preview {
  cursor: pointer;
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  background: var(--bg-tertiary, #f1f5f9);
  position: relative;
}
.printable-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.printable-preview:hover .printable-image {
  transform: scale(1.02);
}
.printable-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: var(--bg-tertiary, #f1f5f9);
}
.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}
.placeholder-text {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.9rem;
}

/* ===== Vote Overlay ===== */
.vote-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.vote-overlay:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}
.vote-overlay .vote-icon {
  font-size: 1rem;
  transition: transform 0.2s;
}
.vote-overlay:hover .vote-icon {
  transform: scale(1.1);
}
.vote-overlay .vote-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}
.vote-overlay.voted {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.vote-overlay.voted .vote-text {
  color: #15803d;
}

/* ===== Info ===== */
.printable-info {
  padding: 20px;
}
.printable-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.printable-icon {
  font-size: 1.2rem;
}
.printable-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
  margin: 0 0 8px;
  font-style: italic;
}
.printable-description {
  font-size: 0.9rem;
  color: var(--text-secondary, #475569);
  margin: 0 0 16px;
  line-height: 1.5;
}

/* ===== Buttons ===== */
.printable-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-download {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--btn-color, #3b82f6);
  color: white;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn-download:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  background: var(--bg-secondary, #ffffff);
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-icon:hover {
  background: var(--bg-tertiary, #f1f5f9);
  border-color: var(--border-hover, #cbd5e1);
  transform: translateY(-1px);
}
/* Legacy button styles for backwards compatibility */
.btn-print, .btn-share {
  padding: 10px 12px;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg-secondary, #ffffff);
  color: var(--text-primary, #475569);
  transition: background 0.2s;
}
.btn-print:hover, .btn-share:hover {
  background: var(--bg-tertiary, #f1f5f9);
}
.printable-actions .btn-vote {
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: #3b82f6;
  color: white;
  transition: all 0.2s;
}
.printable-actions .btn-vote:hover {
  background: #2563eb;
}
.printable-actions .btn-vote.voted {
  background: #10b981;
  cursor: default;
}

/* ===== Featured Templates Section ===== */
.featured-section {
  text-align: center;
  padding: 48px 24px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color, #dbeafe);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}
.featured-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-primary, #1e293b);
}
.featured-subtitle {
  font-size: 1rem;
  color: var(--text-secondary, #64748b);
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}
.featured-card {
  background: var(--bg-secondary, #ffffff);
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
}
.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.featured-icon {
  font-size: 2.5rem;
}
.featured-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.featured-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary, #1e293b);
}
.featured-description {
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  margin: 0 0 16px;
  line-height: 1.5;
}
.featured-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}
.featured-features li {
  font-size: 0.85rem;
  color: var(--text-secondary, #475569);
  padding: 4px 0;
}
.featured-features li::before {
  content: "";
}
.btn-featured-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}
.btn-featured-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ===== CTA Section ===== */
.printables-cta {
  text-align: center;
  padding: 48px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.printables-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary, #1e293b);
}
.printables-cta p {
  font-size: 1rem;
  color: var(--text-secondary, #475569);
  line-height: 1.6;
  margin: 0 0 24px;
}
.btn-cta-primary {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}
.cta-subtext {
  font-size: 0.85rem !important;
  color: var(--text-secondary, #94a3b8) !important;
  margin-top: 12px !important;
}

/* ===== Footer ===== */
.landing-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border-color, #e2e8f0);
  color: var(--text-secondary, #94a3b8);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-secondary, #64748b);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--accent-primary, #3b82f6);
}

/* ===== Concepts Section (Modern Poll/Vote Design) ===== */
.concepts-section {
  text-align: center;
  padding: 48px 24px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color, #e2e8f0);
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}
.concepts-header {
  margin-bottom: 32px;
}
.concepts-badge {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.concepts-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-primary, #1e293b);
}
.concepts-subtitle {
  font-size: 1rem;
  color: var(--text-secondary, #64748b);
  margin: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
  text-align: left;
}
.concept-card {
  background: var(--bg-secondary, #ffffff);
  border: 2px solid var(--border-color, #e9d5ff);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.concept-card:hover {
  border-color: #8b5cf6;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}
.concept-card-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.concept-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  border-radius: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.concept-content {
  flex: 1;
}
.concept-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-primary, #1e293b);
}
.concept-description {
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  margin: 0;
  line-height: 1.5;
}
.concept-vote-section {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f3e8ff;
}
.vote-count-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.vote-count {
  font-size: 1.5rem;
  font-weight: 800;
  color: #8b5cf6;
  line-height: 1;
}
.vote-label {
  font-size: 0.7rem;
  color: var(--text-secondary, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.concept-actions {
  display: flex;
  gap: 8px;
  flex: 1;
}
.btn-vote-large {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.btn-vote-large:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}
.btn-vote-large.voted {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  cursor: default;
}
.btn-vote-large .vote-icon {
  font-size: 1.1rem;
}
.btn-vote-large .vote-text {
  font-weight: 600;
}
.btn-request-small {
  padding: 12px 14px;
  border: 2px solid #e9d5ff;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg-secondary, #ffffff);
  color: #7c3aed;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-request-small:hover {
  background: #faf5ff;
  border-color: #8b5cf6;
}
.btn-request-small:disabled,
.btn-request-small.requested {
  background: #10b981;
  color: white;
  border-color: #10b981;
  cursor: default;
}
/* Legacy btn-request for backwards compatibility */
.btn-request {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg-secondary, #ffffff);
  color: var(--text-primary, #475569);
  transition: all 0.2s;
}
.btn-request:hover {
  background: var(--bg-tertiary, #f1f5f9);
  border-color: #3b82f6;
}
.btn-request:disabled,
.btn-request.requested {
  background: #10b981;
  color: white;
  border-color: #10b981;
  cursor: default;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .printables-hero h1 {
    font-size: 1.5rem;
  }
  .printables-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .printable-actions {
    flex-direction: row;
    gap: 8px;
  }
  .printable-actions .btn-download {
    flex: 1;
  }
  .btn-icon {
    width: 44px;
    height: 44px;
  }
  .vote-overlay {
    bottom: 8px;
    right: 8px;
    padding: 6px 10px;
  }
  .vote-overlay .vote-icon {
    font-size: 0.9rem;
  }
  .vote-overlay .vote-text {
    font-size: 0.75rem;
  }
  .featured-section {
    padding: 32px 16px;
  }
  .featured-section h2 {
    font-size: 1.25rem;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .concepts-grid {
    grid-template-columns: 1fr;
  }
  .concepts-section h2 {
    font-size: 1.35rem;
  }
  .concept-card-inner {
    flex-direction: column;
    gap: 12px;
  }
  .concept-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  .concept-vote-section {
    flex-direction: column;
    gap: 12px;
  }
  .vote-count-display {
    flex-direction: row;
    gap: 8px;
  }
  .concept-actions {
    width: 100%;
  }
  .btn-vote-large {
    flex: 1;
  }
}

/* ===== Dark Mode ===== */
[data-theme="dark"] .landing-page {
  background: #0f172a;
  color: #e2e8f0;
}
[data-theme="dark"] .printable-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .printable-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
[data-theme="dark"] .printable-preview {
  background: #0f172a;
}
[data-theme="dark"] .printable-placeholder {
  background: #0f172a;
}
[data-theme="dark"] .printable-title {
  color: #f1f5f9;
}
[data-theme="dark"] .btn-print {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}
[data-theme="dark"] .btn-print:hover {
  background: #475569;
}
[data-theme="dark"] .printables-hero h1 {
  color: #f1f5f9;
}
[data-theme="dark"] .printables-cta h2 {
  color: #f1f5f9;
}
[data-theme="dark"] .landing-footer {
  border-color: #334155;
}
[data-theme="dark"] .concepts-section {
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
  border-color: #334155;
}
[data-theme="dark"] .concepts-badge {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}
[data-theme="dark"] .concepts-section h2 {
  color: #f1f5f9;
}
[data-theme="dark"] .concept-card {
  background: #1e293b;
  border-color: #4c1d95;
}
[data-theme="dark"] .concept-card:hover {
  border-color: #8b5cf6;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}
[data-theme="dark"] .concept-title {
  color: #f1f5f9;
}
[data-theme="dark"] .concept-icon {
  background: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%);
}
[data-theme="dark"] .concept-vote-section {
  border-color: #4c1d95;
}
[data-theme="dark"] .vote-count {
  color: #a78bfa;
}
[data-theme="dark"] .btn-request-small {
  background: #1e293b;
  border-color: #4c1d95;
  color: #a78bfa;
}
[data-theme="dark"] .btn-request-small:hover {
  background: #2e1065;
  border-color: #8b5cf6;
}
[data-theme="dark"] .btn-print,
[data-theme="dark"] .btn-share,
[data-theme="dark"] .btn-request {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}
[data-theme="dark"] .btn-print:hover,
[data-theme="dark"] .btn-share:hover,
[data-theme="dark"] .btn-request:hover {
  background: #475569;
}
[data-theme="dark"] .btn-request.requested {
  background: #10b981;
  color: white;
  border-color: #10b981;
}
[data-theme="dark"] .vote-overlay {
  background: rgba(30, 41, 59, 0.95);
}
[data-theme="dark"] .vote-overlay .vote-text {
  color: #cbd5e1;
}
[data-theme="dark"] .vote-overlay.voted {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%);
}
[data-theme="dark"] .vote-overlay.voted .vote-text {
  color: #bbf7d0;
}
[data-theme="dark"] .btn-icon {
  background: #334155;
  border-color: #475569;
}
[data-theme="dark"] .btn-icon:hover {
  background: #475569;
  border-color: #64748b;
}

/* ===== Ocean Theme (Light Blue) ===== */
[data-theme="ocean"] .landing-page {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  color: #1e3a8a;
}
[data-theme="ocean"] .logo-icon {
  color: #1e40af;
}
[data-theme="ocean"] .logo-text {
  color: #1e40af;
}
[data-theme="ocean"] .printable-card {
  background: #ffffff;
  border-color: #dbeafe;
}
[data-theme="ocean"] .printable-card:hover {
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
}
[data-theme="ocean"] .printable-preview {
  background: #eff6ff;
}
[data-theme="ocean"] .printable-placeholder {
  background: #eff6ff;
}
[data-theme="ocean"] .printable-title {
  color: #1e3a8a;
}
[data-theme="ocean"] .printable-subtitle {
  color: #3b82f6;
}
[data-theme="ocean"] .printable-description {
  color: #475569;
}
[data-theme="ocean"] .printables-hero h1 {
  color: #1e3a8a;
}
[data-theme="ocean"] .hero-subtitle {
  color: #64748b;
}
[data-theme="ocean"] .btn-print {
  background: #ffffff;
  border-color: #dbeafe;
  color: #1e40af;
}
[data-theme="ocean"] .btn-print:hover {
  background: #eff6ff;
}
[data-theme="ocean"] .printables-cta h2 {
  color: #1e3a8a;
}
[data-theme="ocean"] .printables-cta p {
  color: #475569;
}
[data-theme="ocean"] .landing-footer {
  border-color: #dbeafe;
  color: #64748b;
}
[data-theme="ocean"] .footer-links a {
  color: #64748b;
}
[data-theme="ocean"] .footer-links a:hover {
  color: #1e40af;
}
[data-theme="ocean"] .nav-link {
  color: #64748b;
}
[data-theme="ocean"] .nav-link:hover {
  color: #1e40af;
}
[data-theme="ocean"] .concepts-section {
  background: linear-gradient(180deg, #f5f3ff 0%, #eff6ff 100%);
  border-color: #dbeafe;
}
[data-theme="ocean"] .concepts-section h2 {
  color: #1e3a8a;
}
[data-theme="ocean"] .concept-card {
  background: #ffffff;
  border-color: #ddd6fe;
}
[data-theme="ocean"] .concept-card:hover {
  border-color: #8b5cf6;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
[data-theme="ocean"] .concept-title {
  color: #1e3a8a;
}
[data-theme="ocean"] .concept-icon {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}
[data-theme="ocean"] .concept-vote-section {
  border-color: #ede9fe;
}
[data-theme="ocean"] .btn-print,
[data-theme="ocean"] .btn-share,
[data-theme="ocean"] .btn-request {
  background: #ffffff;
  border-color: #dbeafe;
  color: #1e40af;
}
[data-theme="ocean"] .btn-print:hover,
[data-theme="ocean"] .btn-share:hover,
[data-theme="ocean"] .btn-request:hover {
  background: #eff6ff;
  border-color: #1e40af;
}
[data-theme="ocean"] .btn-request.requested {
  background: #10b981;
  color: white;
  border-color: #10b981;
}
[data-theme="ocean"] .vote-overlay {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbeafe;
}
[data-theme="ocean"] .vote-overlay .vote-text {
  color: #1e40af;
}
[data-theme="ocean"] .vote-overlay.voted {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: #86efac;
}
[data-theme="ocean"] .vote-overlay.voted .vote-text {
  color: #15803d;
}
[data-theme="ocean"] .btn-icon {
  background: #ffffff;
  border-color: #dbeafe;
}
[data-theme="ocean"] .btn-icon:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

/* Featured section ocean theme */
[data-theme="ocean"] .featured-section {
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}
[data-theme="ocean"] .featured-section h2 {
  color: #1e3a8a;
}
[data-theme="ocean"] .featured-card {
  background: #ffffff;
  border-color: #bfdbfe;
}
[data-theme="ocean"] .featured-card:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}
[data-theme="ocean"] .featured-title {
  color: #1e3a8a;
}

/* Featured section dark theme */
[data-theme="dark"] .featured-section {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
}
[data-theme="dark"] .featured-section h2 {
  color: #f1f5f9;
}
[data-theme="dark"] .featured-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .featured-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}
[data-theme="dark"] .featured-title {
  color: #f1f5f9;
}

/* ========== DARK MODE TOGGLE ATTRIBUTE (beats @media and [data-theme="ocean"]) ========== */
:root[data-theme-mode="dark"] body { background: #0f172a !important; color: #e2e8f0 !important; }
:root[data-theme-mode="dark"] .landing-page { background: #0f172a !important; color: #e2e8f0 !important; }
:root[data-theme-mode="dark"] .logo-icon { color: #60a5fa !important; }
:root[data-theme-mode="dark"] .logo-text { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .nav-link { color: #e2e8f0 !important; }
:root[data-theme-mode="dark"] .nav-link:hover { color: #60a5fa !important; }
:root[data-theme-mode="dark"] .printables-hero h1 { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .hero-subtitle { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .printable-card { background: #1e293b !important; border-color: #334155 !important; }
:root[data-theme-mode="dark"] .printable-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important; }
:root[data-theme-mode="dark"] .printable-preview { background: #0f172a !important; }
:root[data-theme-mode="dark"] .printable-placeholder { background: #0f172a !important; }
:root[data-theme-mode="dark"] .printable-title { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .printable-subtitle { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .printable-description { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .btn-icon { background: #334155 !important; border-color: #475569 !important; }
:root[data-theme-mode="dark"] .btn-icon:hover { background: #475569 !important; border-color: #64748b !important; }
:root[data-theme-mode="dark"] .vote-overlay { background: rgba(30, 41, 59, 0.95) !important; }
:root[data-theme-mode="dark"] .vote-overlay .vote-text { color: #cbd5e1 !important; }
:root[data-theme-mode="dark"] .vote-overlay.voted { background: linear-gradient(135deg, #14532d 0%, #166534 100%) !important; }
:root[data-theme-mode="dark"] .vote-overlay.voted .vote-text { color: #bbf7d0 !important; }
:root[data-theme-mode="dark"] .concepts-section { background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%) !important; border-color: #334155 !important; }
:root[data-theme-mode="dark"] .concepts-section h2 { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .concepts-subtitle { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .concept-card { background: #1e293b !important; border-color: #4c1d95 !important; }
:root[data-theme-mode="dark"] .concept-card:hover { border-color: #8b5cf6 !important; box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25) !important; }
:root[data-theme-mode="dark"] .concept-title { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .concept-description { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .concept-icon { background: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%) !important; }
:root[data-theme-mode="dark"] .concept-vote-section { border-color: #4c1d95 !important; }
:root[data-theme-mode="dark"] .vote-count { color: #a78bfa !important; }
:root[data-theme-mode="dark"] .btn-request-small { background: #1e293b !important; border-color: #4c1d95 !important; color: #a78bfa !important; }
:root[data-theme-mode="dark"] .btn-request-small:hover { background: #2e1065 !important; border-color: #8b5cf6 !important; }
:root[data-theme-mode="dark"] .featured-section { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important; border-color: #334155 !important; }
:root[data-theme-mode="dark"] .featured-section h2 { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .featured-subtitle { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .featured-card { background: #1e293b !important; border-color: #334155 !important; }
:root[data-theme-mode="dark"] .featured-card:hover { border-color: #3b82f6 !important; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25) !important; }
:root[data-theme-mode="dark"] .featured-title { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .featured-description { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .featured-features li { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .printables-cta h2 { color: #f1f5f9 !important; }
:root[data-theme-mode="dark"] .printables-cta p { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .landing-footer { border-color: #334155 !important; color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .footer-links a { color: #94a3b8 !important; }
:root[data-theme-mode="dark"] .footer-links a:hover { color: #60a5fa !important; }

/* ========== LIGHT MODE TOGGLE ATTRIBUTE (beats @media prefers-color-scheme: dark) ========== */
:root[data-theme-mode="light"] body { background: #eff6ff !important; color: #1e3a8a !important; }
:root[data-theme-mode="light"] .landing-page { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%) !important; color: #1e3a8a !important; }
:root[data-theme-mode="light"] .logo-icon { color: #1e40af !important; }
:root[data-theme-mode="light"] .logo-text { color: #1e40af !important; }
:root[data-theme-mode="light"] .nav-link { color: #64748b !important; }
:root[data-theme-mode="light"] .nav-link:hover { color: #1e40af !important; }
:root[data-theme-mode="light"] .printables-hero h1 { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .hero-subtitle { color: #64748b !important; }
:root[data-theme-mode="light"] .printable-card { background: #ffffff !important; border-color: #dbeafe !important; }
:root[data-theme-mode="light"] .printable-card:hover { box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15) !important; }
:root[data-theme-mode="light"] .printable-preview { background: #eff6ff !important; }
:root[data-theme-mode="light"] .printable-placeholder { background: #eff6ff !important; }
:root[data-theme-mode="light"] .printable-title { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .printable-subtitle { color: #3b82f6 !important; }
:root[data-theme-mode="light"] .printable-description { color: #475569 !important; }
:root[data-theme-mode="light"] .btn-icon { background: #ffffff !important; border-color: #dbeafe !important; }
:root[data-theme-mode="light"] .btn-icon:hover { background: #eff6ff !important; border-color: #93c5fd !important; }
:root[data-theme-mode="light"] .vote-overlay { background: rgba(255,255,255,0.95) !important; border: 1px solid #dbeafe !important; }
:root[data-theme-mode="light"] .vote-overlay .vote-text { color: #1e40af !important; }
:root[data-theme-mode="light"] .vote-overlay.voted { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important; }
:root[data-theme-mode="light"] .vote-overlay.voted .vote-text { color: #15803d !important; }
:root[data-theme-mode="light"] .concepts-section { background: linear-gradient(180deg, #f5f3ff 0%, #eff6ff 100%) !important; border-color: #dbeafe !important; }
:root[data-theme-mode="light"] .concepts-section h2 { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .concepts-subtitle { color: #64748b !important; }
:root[data-theme-mode="light"] .concept-card { background: #ffffff !important; border-color: #ddd6fe !important; }
:root[data-theme-mode="light"] .concept-card:hover { border-color: #8b5cf6 !important; box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15) !important; }
:root[data-theme-mode="light"] .concept-title { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .concept-description { color: #64748b !important; }
:root[data-theme-mode="light"] .concept-icon { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%) !important; }
:root[data-theme-mode="light"] .concept-vote-section { border-color: #ede9fe !important; }
:root[data-theme-mode="light"] .vote-count { color: #8b5cf6 !important; }
:root[data-theme-mode="light"] .btn-request-small { background: #ffffff !important; border-color: #e9d5ff !important; color: #7c3aed !important; }
:root[data-theme-mode="light"] .btn-request-small:hover { background: #faf5ff !important; border-color: #8b5cf6 !important; }
:root[data-theme-mode="light"] .featured-section { background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%) !important; border-color: #bfdbfe !important; }
:root[data-theme-mode="light"] .featured-section h2 { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .featured-subtitle { color: #64748b !important; }
:root[data-theme-mode="light"] .featured-card { background: #ffffff !important; border-color: #bfdbfe !important; }
:root[data-theme-mode="light"] .featured-card:hover { border-color: #2563eb !important; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2) !important; }
:root[data-theme-mode="light"] .featured-title { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .featured-description { color: #64748b !important; }
:root[data-theme-mode="light"] .featured-features li { color: #475569 !important; }
:root[data-theme-mode="light"] .printables-cta h2 { color: #1e3a8a !important; }
:root[data-theme-mode="light"] .printables-cta p { color: #475569 !important; }
:root[data-theme-mode="light"] .landing-footer { border-color: #dbeafe !important; color: #64748b !important; }
:root[data-theme-mode="light"] .footer-links a { color: #64748b !important; }
:root[data-theme-mode="light"] .footer-links a:hover { color: #1e40af !important; }
