/* ============================================================
   tribute-reveal.css — Styling for the Reveal page
   ============================================================ */

/* ----------------------------------------------------------
   Base: tribute-reveal wrapper
   ---------------------------------------------------------- */
.tribute-reveal {
    background-color: var(--mud-palette-background);
    min-height: 100vh;
}

/* Section titles */
.tribute-reveal .tribute-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mud-palette-primary);
}

/* ----------------------------------------------------------
   Quote wall masonry grid
   ---------------------------------------------------------- */
.tribute-quote-wall {
    column-count: 3;
    column-gap: 1rem;
}

.tribute-quote-wall .tribute-quote-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

@media (max-width: 960px) {
    .tribute-quote-wall {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .tribute-quote-wall {
        column-count: 1;
    }
}

/* ----------------------------------------------------------
   Word cloud
   ---------------------------------------------------------- */
.tribute-word-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.tribute-word-cloud span {
    display: inline-block;
    margin: 6px 10px;
    padding: 4px 8px;
    cursor: default;
    line-height: 1.4;
    transition: transform 0.15s ease;
}

.tribute-word-cloud span:hover {
    transform: scale(1.1);
}

/* ----------------------------------------------------------
   Stat cards
   ---------------------------------------------------------- */
.tribute-stat-card {
    padding: 16px 8px;
}

.tribute-stat-number {
    font-weight: 700;
}

/* ----------------------------------------------------------
   Photo thumbnails
   ---------------------------------------------------------- */
.tribute-photo-thumb:hover img {
    transform: scale(1.04);
}

/* ----------------------------------------------------------
   Contributor card grid (2 per row on desktop)
   ---------------------------------------------------------- */
.tribute-contributor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .tribute-contributor-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   "If They Were A" card grid
   ---------------------------------------------------------- */
.tribute-itwa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tribute-itwa-grid .tribute-itwa-card {
    background: #f5f4f0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.tribute-itwa-grid .tribute-itwa-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
    .tribute-itwa-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   Hero layout (text + action cards side-by-side on desktop)
   ---------------------------------------------------------- */
.tribute-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tribute-hero-text {
    flex: 1 1 0%;
}

/* ----------------------------------------------------------
   Hero action cards (Play / Download)
   ---------------------------------------------------------- */
.tribute-hero-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-shrink: 0;
}

.tribute-hero-action-card {
    background: #f5f4f0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.06);
}

.tribute-hero-action-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tribute-hero-action-card .action-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tribute-hero-action-card .action-icon--play {
    color: var(--mud-palette-success);
}

.tribute-hero-action-card .action-icon--download {
    color: var(--mud-palette-info);
}

.tribute-hero-action-card .action-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--mud-palette-text-primary);
}

.tribute-hero-action-card .action-subtitle {
    font-size: 0.85rem;
    color: #757575;
    margin-top: 0.25rem;
}

@media (max-width: 800px) {
    .tribute-hero-content {
        flex-direction: column;
    }

    .tribute-hero-actions {
        width: 100%;
        flex-direction: row;
        gap: 0.75rem;
    }

    .tribute-hero-action-card {
        padding: 1rem 0.75rem;
        flex: 1;
    }

    .tribute-hero-action-card .action-icon {
        font-size: 1.5rem;
    }

    .tribute-hero-action-card .action-title {
        font-size: 0.9rem;
    }

    .tribute-hero-action-card .action-subtitle {
        font-size: 0.8rem;
    }
}
