/* ========== BIBLIOTECA DA AIDS - MAIN LAYOUT ========== */
body.clickup-chrome-ext_installed {
    background: #bcbcbc;
}

/* ====== GLOBAL BACKGROUND WRAPPER ====== */
.app-shell {
  min-height: 100vh;
  background-color: var(--color-bg-page);
  display: flex;
  flex-direction: column;
}

/* Dark theme adjustments */
:root[data-theme="dark"] .app-shell {
  background-color: #0f172a;
}

:root[data-theme="light"] .app-shell {
  background-color: #bcbcbc;
}


:root[data-theme="dark"] a.back-link {
    color: #0f172a !important;
}

/* ====== HEADER BAR ====== */
.app-header-bar {
  background-color: rgba(0, 0, 0, 0.15);
  color: var(--color-text-primary);
  padding: 1rem 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 1170px;
  margin: 0 auto 2rem;
}

:root[data-theme="light"] .app-header-bar {
  background-color: #bcbcbc;
  backdrop-filter: blur(10px);
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-text-secondary);
}

.app-header-left a.back-link {
  color: var(--color-text-primary);
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

a.back-link {
    color: #5d5d5d;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.app-header-left a.back-link:hover {
  opacity: 0.8;
}

.app-header-title {
  font-size: 28px;
  font-weight: 800;
  color: #ff0000 !important;
  text-align: center;
  flex: 1;
  margin: 0;
}

:root[data-theme="dark"] .app-header-title {
  color: #ffffff !important;
}

/* ====== FOOTER LINE ====== */
.app-footer-line {
  border-top: 1px solid var(--color-border-card);
  padding: 1rem;
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 2rem;
}

/* ====== HOME LAYOUT ====== */
.home-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Hero header section */
.home-hero {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  margin: 1rem;
}

:root[data-theme="dark"] .home-hero {
  background:
    radial-gradient(1000px 400px at 20% -10%, rgba(93,209,255,0.10), transparent 60%),
    radial-gradient(1000px 400px at 80% -10%, rgba(125,92,255,0.10), transparent 60%),
    rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ff0000 !important;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
}


h1.page-title {
    text-align: center;
}

p.page-subtle {
    text-align: center;
}

:root[data-theme="dark"] .hero-title {
  color: #ffffff !important;
}

.hero-lede,
.hero-desc {
  margin: 0 0 12px;
  color: #6b0300 !important;
  font-size: 17px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

:root[data-theme="dark"] .hero-lede,
:root[data-theme="dark"] .hero-desc {
  color: #ffffff !important;
}

.hero-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
}

:root[data-theme="dark"] .hero-dots-row {
  color: rgba(255, 255, 255, 0.8);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
}

.hero-dot.green {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-dot.purple {
  background-color: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.hero-dot.teal {
  background-color: #14b8a6;
  box-shadow: 0 0 8px #14b8a6;
}

/* Theme toggle button - Fixed position top-right */
.theme-toggle-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

.theme-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: scale(1.1);
}

.theme-toggle-btn:active {
  transform: scale(1.05);
}

:root[data-theme="light"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

:root[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.1);
}

/* Language toggle button - Fixed position top-right */
.language-toggle-btn {
  position: fixed;
  top: 1.5rem;
  right: calc(1.5rem + 48px + 20px);
  height: 48px;
  padding: 0 0.75rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: scale(1.05);
}

.language-toggle-btn:active {
  transform: scale(1.02);
}

:root[data-theme="light"] .language-toggle-btn {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

:root[data-theme="light"] .language-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

/* Footer language toggle */
.footer-lang-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.footer-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

:root[data-theme="light"] .footer-lang-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Cards section */
.home-cards-col {
  width: 100%;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Feature cards */
.feature-card {
  background-color: var(--color-surface-card);
  color: var(--color-text-primary);
  border-radius: 1rem;
  border: 1px solid var(--color-border-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

:root[data-theme="dark"] .feature-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

:root[data-theme="light"] .feature-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .feature-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.feature-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-head {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff0000;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

:root[data-theme="dark"] .feature-head {
  color: #ffffff;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6b0300;
  margin-bottom: 1.5rem;
  max-width: 40ch;
}

:root[data-theme="dark"] .feature-desc {
  color: #ffffff;
}


:root[data-theme="dark"] body {
  background-color: var(--color-bg-page);!important;
}

/* CTA button */
.feature-cta-btn {
  appearance: none;
  width: auto;
  min-width: 140px;
  border-radius: 0.5rem;
  border: 0;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-align: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s;
}

.feature-cta-btn.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.feature-cta-btn.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.feature-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.feature-cta-btn.green:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

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

/* Footer disclaimer */
.home-footer-disclaimer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--color-border-card);
  padding: 2rem;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  display: none;
}

:root[data-theme="light"] .home-footer-disclaimer {
  background-color: rgba(0, 0, 0, 0.02);
}

/* ====== PAGE BODY ====== */
.page-body {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  color: var(--color-text-primary);
}

/* ====== PRESENTATION PAGE ====== */
.presentation-card {
  background-color: var(--color-surface-card);
  border-radius: 16px;
  border: 1px solid var(--color-border-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 0 auto 2rem;
  max-width: 1120px;
}

:root[data-theme="dark"] .presentation-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.presentation-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.3;
  color: #ff0000 !important;
  margin: 0 0 1.5rem;
}

:root[data-theme="dark"] .presentation-title {
  color: #ffffff !important;
}

/* Removed - using unified color scheme */

.presentation-heroimg-wrapper {
  background-color: #E31E24;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  aspect-ratio: 16/6;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

:root[data-theme="dark"] .presentation-heroimg-wrapper {
  background-color: #E31E24;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.presentation-heroimg-wrapper img {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  border: none;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.presentation-textblock {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b0300;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

:root[data-theme="dark"] .presentation-textblock {
  color: #ffffff;
}

.audio-row {
  margin-top: 1.5rem;
  text-align: left;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.audio-btn:hover {
  background: #2563eb;
}

.disclaimer-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  display: none;
}

:root[data-theme="light"] .disclaimer-card {
  background-color: rgba(0, 0, 0, 0.02);
}

/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
  .home-cards-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: 3rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .home-cards-col {
    padding: 2rem 1rem;
  }
}
.page-body {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  color: var(--color-text-primary);
}

/* ====== PRESENTATION PAGE ====== */
.presentation-card {
  background-color: var(--color-surface-card);
  border-radius: 16px;
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  margin: 0 auto 2rem;
  max-width: 1120px;
}

.presentation-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--color-heading-home);
  margin: 0 0 1rem;
}

.presentation-heroimg-wrapper {
  background-color: #E31E24;
  border-radius: 0.75rem;
  border: none;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  aspect-ratio: 16/6;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.presentation-heroimg-wrapper img {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  border: none;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.presentation-textblock {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  white-space: pre-line;
}

/* Duplicate audio styles removed - using unified styles above */

.disclaimer-card {
  background-color: var(--color-surface-overlay);
  border-radius: 0.5rem;
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  margin: 0 auto;
  max-width: 900px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-primary);
}

/* ====== BOOKS LIST PAGE ====== */
.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 1170px;
}

.search-input {
  width: 100%;
  background-color: rgba(255,255,255,.04);
  border: 1px solid var(--color-border-card);
  border-radius: 0.4rem;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.2rem;
  transition: border-color 0.2s;
}

.search-clear-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.search-clear-btn:hover {
  opacity: 1;
  color: #ff0000;
}

:root[data-theme="light"] .search-input {
  background: rgba(255, 255, 255, 0.9);
  color: #5d5d5d;
}

:root[data-theme="dark"] .search-input {
  background: rgba(255,255,255,.04);
  color: #e2e8f0;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-brand-accent);
}

.search-input::placeholder {
  color: #8ea4c0;
}

:root[data-theme="light"] .search-input::placeholder {
  color: #9ca3af;
}

.tag-chip {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-primary);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-chip:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.tag-chip.active {
  background-color: var(--color-brand-green);
  border-color: var(--color-brand-green);
  color: #fff;
}

:root[data-theme="light"] .tag-chip {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

:root[data-theme="light"] .tag-chip:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* Books grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
  margin-top: 1rem;
  max-width: 1280px;
}

.book-card {
  background-color: var(--color-surface-card);
  border-radius: 0.5rem;
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

:root[data-theme="dark"] .book-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

:root[data-theme="light"] .book-card {
  background: rgba(255, 255, 255, 0.95);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .book-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.book-thumb {
  background-color: var(--color-surface-overlay);
  border: 1px solid var(--color-border-card);
  border-radius: 0.4rem;
 /* height: 240px; */
  height: 480px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  overflow: hidden;
}

.book-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ff0000;
  margin-bottom: 0.5rem;
}

:root[data-theme="dark"] .book-title {
  color: #ffffff;
}

.book-meta {
  font-size: 0.8rem;
  line-height: 1.2rem;
  color: #6b0300;
  margin-bottom: 0.75rem;
}

:root[data-theme="dark"] .book-meta {
  color: #94a3b8;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.7rem;
  line-height: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.4rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1rem;
}

.badge-pdf {
    display: none;
    background-color: var(--color-brand-green);
}

.badge-audio {
  background: linear-gradient(to right, #4f46e5, #7c3aed);
}

/* ====== HISTORIA-CANTADA STYLE COMPONENTS ====== */

.page {
  max-width: 1120px;
  margin: 48px auto;
  padding: 0 24px;
}

.fade-in {
  animation: fade 0.25s ease-out;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero {
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.hero-content {
  max-width: 980px;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  margin: 0;
}

.hero-lede {
  margin: 0 0 12px;
  color: #6b0300 !important;
  font-size: 17px;
}

/* text-gradient class removed - using solid colors instead */

.hero-gradient {
  background: var(--panel);
  border: 1px solid var(--border);
}

:root[data-theme="dark"] .hero-gradient {
  background:
    radial-gradient(1000px 400px at 20% -10%, rgba(93,209,255,0.10), transparent 60%),
    radial-gradient(1000px 400px at 80% -10%, rgba(125,92,255,0.10), transparent 60%),
    rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

:root[data-theme="light"] .hero-gradient {
  background:
    radial-gradient(1000px 400px at 20% -10%, rgba(255,0,0,0.08), transparent 60%),
    rgba(255, 255, 255, 0.9);
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.12);
}

:root[data-theme="dark"] .glass-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .glass-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(148, 163, 184, 0.2);
}

:root[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

:root[data-theme="light"] .glass-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.12);
}

:root[data-theme="light"] .presentation-card {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

:root[data-theme="light"] .panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.home-cards {
  margin-top: 28px;
}

.cards-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .cards-2col {
    grid-template-columns: 1fr;
  }
}

.choice-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.choice-card:hover {
  outline: 1px solid rgba(125,92,255,.35);
  background: var(--panel-strong);
}

:root[data-theme="light"] .choice-card {
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .choice-card:hover {
  background: rgba(255, 255, 255, 1);
}

.choice-card:hover {
  outline: 1px solid rgba(125,92,255,.35);
  transform: translateY(-2px);
}

:root[data-theme="dark"] .choice-card:hover {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(255, 255, 255, 0.06) 100%);
}

:root[data-theme="light"] .choice-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(99,138,255,.18);
  border: 1px solid var(--color-border-card);
  font-size: 22px;
}

.choice-title {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 22px;
  color: #ff0000;
}

.choice-desc {
  margin: 2px 0 10px;
  color: #6b0300 !important;
  flex-grow: 1;
}

.btn {
  width: 100%;
  border-radius: 0.5rem;
  min-height: 2.5rem;
  border: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  color: #fff;
  margin-top: auto;
  text-align: center;
}

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

.btn-primary {
  background: linear-gradient(to right, #3b82f6, #6366f1);
}

.btn-green {
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.btn-purple {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
}

/* ====== RESPONSIVE ====== */
@media (min-width: 1024px) {
  .home-wrapper {
    flex-wrap: nowrap;
  }

  .home-hero {
    max-width: 400px;
  }

  .home-cards-col {
    flex: 1;
  }

  .home-disclaimer-topright {
    position: absolute;
    top: 1rem;
    right: 1rem;
    max-width: 320px;
    text-align: right;
  }
}
