/* ===================================
   Card Component
   =================================== */

  .card {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow-md);
      margin-bottom: 24px;
      border: 1px solid var(--border-color);
  }

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Retro theme card overrides */
[data-theme="retro"] .card {
    border-width: 2px;
    border-radius: 0;
    background: var(--card-bg);
}

[data-theme="retro"] .card:hover {
    box-shadow: 2px 2px 0 var(--border-color);
}

/* Leather theme card overrides */
[data-theme="leather"] .card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="leather"] .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Stagger animations for cards */
.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Quote Card */
.quote-card {
    position: relative;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--accent);
    width: 100%;
    max-width: 700px;
    max-height: 180px;
    overflow: hidden;
}

.quote-card-content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.quote-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-author {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 12px;
}

.quote-author {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
    font-weight: 500;
}

.quote-refresh-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.6;
    z-index: 2;
}

.quote-refresh-btn svg {
    width: 16px;
    height: 16px;
}

.quote-refresh-btn:hover {
    opacity: 1;
    transform: rotate(180deg);
}

[data-theme="retro"] .quote-card {
    border-width: 2px;
    border-radius: 0;
    background: var(--card-bg);
}

[data-theme="leather"] .quote-card {
    border: 1px solid var(--accent);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="retro"] .quote-refresh-btn {
    border-radius: 0;
}

[data-theme="leather"] .quote-refresh-btn {
    border-width: 2px;
}