/* Together Hub — раздел "Для двоих" */

.together-page {
    padding-bottom: 100px;
    min-height: calc(100vh - 60px);
}

/* Hero */
.together-hero {
    padding: 5rem 1.5rem 2.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 30% -10%, rgba(200,245,61,0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(13,148,136,0.1) 0%, transparent 50%);
}

.together-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(200,245,61,0.12);
    border: 1px solid rgba(200,245,61,0.3);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.together-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 20%, #c4b5fd 55%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.together-subtitle {
    font-size: 1.1rem;
    color: var(--text2);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards grid */
.together-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 3.5rem auto 0;
    padding: 0 1.5rem;
}

/* Card base */
.together-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.together-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.together-card--movie::after {
    background: radial-gradient(ellipse at 50% 0%, rgba(13,148,136,0.12) 0%, transparent 70%);
}

.together-card--quiz::after {
    background: radial-gradient(ellipse at 50% 0%, rgba(200,245,61,0.12) 0%, transparent 70%);
}

.together-card--soon::after {
    background: none;
}

.together-card:hover:not(.together-card--soon) {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.together-card--movie:hover {
    border-color: rgba(13,148,136,0.5);
}

.together-card--quiz:hover {
    border-color: rgba(200,245,61,0.5);
}

.together-card:hover::after {
    opacity: 1;
}

/* Card badge */
.together-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.together-card-badge--new {
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.4);
    color: var(--teal);
}

.together-card-badge--hot {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.4);
    color: #f87171;
}

.together-card-badge--soon {
    background: rgba(148,163,184,0.08);
    border: 1px solid rgba(148,163,184,0.15);
    color: #475569;
}

/* Card icon */
.together-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.together-card--movie .together-card-icon {
    background: linear-gradient(135deg, rgba(13,148,136,0.25), rgba(13,148,136,0.05));
    border: 1px solid rgba(13,148,136,0.3);
}

.together-card--quiz .together-card-icon {
    background: linear-gradient(135deg, rgba(200,245,61,0.25), rgba(200,245,61,0.05));
    border: 1px solid rgba(200,245,61,0.3);
}

.together-card--soon .together-card-icon {
    background: rgba(148,163,184,0.07);
    border: 1px solid rgba(148,163,184,0.1);
}

/* Card content */
.together-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.together-card--soon .together-card-title {
    color: #475569;
}

.together-card-desc {
    font-size: 0.95rem;
    color: var(--text2);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.5rem;
}

.together-card--soon .together-card-desc {
    color: #334155;
}

/* Card features list */
.together-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
    color: var(--text3);
}

/* Card button */
.together-card-btn {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.together-card--movie .together-card-btn {
    background: rgba(13,148,136,0.15);
    color: var(--teal);
    border: 1px solid rgba(13,148,136,0.3);
}

.together-card--movie:hover .together-card-btn {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}

.together-card--quiz .together-card-btn {
    background: rgba(200,245,61,0.15);
    color: #c4b5fd;
    border: 1px solid rgba(200,245,61,0.3);
}

.together-card--quiz:hover .together-card-btn {
    background: var(--accent-dim);
    color: #fff;
    box-shadow: 0 6px 20px rgba(200,245,61,0.35);
}

.together-card--soon .together-card-btn {
    background: rgba(148,163,184,0.07);
    color: #334155;
    border: 1px solid rgba(148,163,184,0.1);
    cursor: default;
}

/* Soon overlay */
.together-card--soon {
    opacity: 0.55;
    pointer-events: none;
}

/* Bottom hint */
.together-hint {
    text-align: center;
    margin-top: 3rem;
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: #334155;
}

/* Light theme overrides */
[data-theme=""] .together-card {
    background: #fff;
    border-color: #e2e8f0;
}

[data-theme=""] .together-title {
    background: linear-gradient(135deg, #0f172a 20%, var(--accent-dim) 55%, var(--teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme=""] .together-card-features {
    color: var(--text2);
}

[data-theme=""] .together-card--soon .together-card-title {
    color: var(--text2);
}

[data-theme=""] .together-card--soon .together-card-desc {
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 600px) {
    .together-grid {
        grid-template-columns: 1fr;
    }

    .together-hero {
        padding: 3.5rem 1.25rem 2rem;
    }

    .together-card {
        padding: 1.5rem;
    }
}
