/* ==========================================================================
   watch-together.css – Discord Watch Together Seite
   Angeglichen an Community-Design
   ========================================================================== */

.page-watch-together #content.content-watch-together {
    --wt-pink: #ff2a6d;
    --wt-border: #2a2a2a;
    --wt-muted: #888;
    --wt-text: #a0a0a0;
    max-width: none;
    padding: 0;
    background: transparent;
}

/* Header – dezent wie Community
   -------------------------------------------------------------------------- */
.wt-hero {
    position: relative;
    padding: 2.5rem 2rem 0;
}

.wt-hero-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.wt-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #666;
}

.wt-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wt-breadcrumb a:hover {
    color: var(--wt-pink);
}

.wt-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wt-muted);
    line-height: 1;
    margin: 0 0 0.5rem;
}

.wt-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.wt-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--wt-text);
    max-width: 40rem;
    margin: 0 0 1.35rem;
}

.wt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

/* CTAs – pink wie Community
   -------------------------------------------------------------------------- */
.wt-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: #fff;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
}

.wt-cta i:last-child {
    transition: transform 0.2s ease;
}

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

.wt-cta:hover i:last-child {
    transform: translateX(3px);
}

.wt-cta--primary {
    background: var(--wt-pink);
    border-color: var(--wt-pink);
}

.wt-cta--primary:hover {
    background: #e02460;
    border-color: #e02460;
    box-shadow: 0 8px 24px rgba(255, 42, 109, 0.28);
}

.wt-cta--ghost {
    background: transparent;
    border-color: #3a3a3a;
    color: #c8c8c8;
}

.wt-cta--ghost:hover {
    border-color: var(--wt-pink);
    color: #fff;
    background: rgba(255, 42, 109, 0.08);
}

/* Sections
   -------------------------------------------------------------------------- */
.wt-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.wt-program {
    padding: 2.75rem 2rem 1.5rem;
}

.wt-program + .wt-program {
    padding-top: 1.5rem;
}

.wt-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wt-section-title i {
    color: var(--wt-pink);
    font-size: 0.95em;
}

.wt-program--past .wt-section-title i {
    color: #888;
}

.wt-section-lead {
    color: var(--wt-muted);
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
}

.wt-item-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* Cards – pink accents statt Discord/Amber-Regenbogen
   -------------------------------------------------------------------------- */
.wt-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wt-border);
    background: #161616;
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.25s ease, background 0.25s ease;
}

.wt-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wt-card:hover,
.wt-card:focus-within {
    border-color: rgba(255, 42, 109, 0.55);
    background: #1a1a1a;
    transform: translateY(-2px);
}

.wt-card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    background: #0a0a0a;
    overflow: hidden;
}

.wt-card-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.wt-card-poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(255, 42, 109, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    color: #444;
    font-size: 2.5rem;
}

.wt-card-body {
    padding: 1rem 1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wt-card--past.is-visible {
    opacity: 0.88;
}

.wt-card--past:hover,
.wt-card--past:focus-within {
    opacity: 1;
}

.wt-card--past .wt-card-poster img {
    filter: grayscale(0.35);
}

.wt-card--past:hover .wt-card-poster img,
.wt-card--past:focus-within .wt-card-poster img {
    filter: grayscale(0);
}

.wt-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.wt-item-type {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border: 1px solid currentColor;
}

.wt-item-type--serie,
.wt-item-type--film {
    color: var(--wt-pink);
    background: rgba(255, 42, 109, 0.08);
}

.wt-item-progress {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: #8fdc9f;
    white-space: nowrap;
}

.wt-item-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888;
}

.wt-item-badge--past {
    color: #777;
}

.wt-item-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.wt-item-note {
    margin: 0;
    font-size: 0.88rem;
    color: #9a9a9a;
    line-height: 1.55;
}

/* Join – Rubrik-Kachel-Stil wie Community
   -------------------------------------------------------------------------- */
.wt-join {
    padding: 2rem 2rem 5rem;
}

.wt-join-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 1.6rem;
    border: 1px solid var(--wt-border);
    border-left: 3px solid var(--wt-pink);
    background:
        linear-gradient(135deg, rgba(255, 42, 109, 0.06) 0%, transparent 45%),
        #161616;
}

.wt-join-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.wt-join-text {
    margin: 0;
    font-size: 0.95rem;
    color: #9a9a9a;
    line-height: 1.6;
    max-width: 32rem;
}

.wt-join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex-shrink: 0;
}

@media (max-width: 820px) {
    .wt-hero {
        padding: 2rem 1.25rem 0;
    }

    .wt-program,
    .wt-join {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .wt-program {
        padding-top: 2.25rem;
    }

    .wt-item-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .wt-join-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.4rem;
    }

    .wt-join {
        padding-bottom: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-card,
    .wt-cta,
    .wt-cta i:last-child {
        transition: none !important;
    }

    .wt-card {
        opacity: 1;
        transform: none;
    }

    .wt-card--past .wt-card-poster img {
        filter: none;
    }
}
