/* ==========================================================================
   Support page (support/index.html) – builds on the .home-* components in index.css
   ========================================================================== */

/* --- Account box in the hero ------------------------------------------ */
.sup-account {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    max-width: 640px;
    padding: 1.1rem 1.35rem;
    border-radius: var(--home-radius);
    background: rgba(13, 20, 40, 0.7);
    border: 1px solid var(--home-border-accent);
    backdrop-filter: blur(8px);
}

.sup-account__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    color: var(--home-accent-strong);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.sup-account strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.sup-account div > span {
    font-size: 0.85rem;
    color: var(--home-text-subtle);
}

.sup-account .home-link {
    margin-left: auto;
}

/* --- Contact channels -------------------------------------------------- */
.sup-channels {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.25rem;
}

.sup-channel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border-radius: var(--home-radius);
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sup-channel:hover {
    transform: translateY(-4px);
    border-color: var(--home-border-accent);
    box-shadow: 0 18px 40px rgba(6, 182, 212, 0.1);
}

.sup-channel--primary {
    border-color: var(--home-border-accent);
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.16), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(168, 85, 247, 0.12), transparent 50%),
        var(--home-surface);
}

.sup-channel__badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #04121f;
    background: var(--home-gradient);
}

.sup-channel h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.sup-channel p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--home-text-muted);
    margin-bottom: 1.25rem;
}

.sup-channel ul {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.sup-channel li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(226, 234, 248, 0.84);
}

.sup-channel li i {
    margin-top: 0.22rem;
    font-size: 0.8rem;
    color: var(--home-accent);
}

.sup-channel__address {
    align-self: flex-start;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--home-accent-strong);
    word-break: break-all;
}

.sup-channel__address:hover {
    text-decoration: underline;
}

.sup-channel__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.sup-channel__actions .home-btn {
    padding: 0.8rem 1.3rem;
}

.sup-channel__hint {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    font-size: 0.8rem;
    color: var(--home-text-subtle);
}

/* Status page hint */
.sup-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    margin-top: 1.5rem;
    padding: 1.15rem 1.5rem;
    border-radius: var(--home-radius);
    font-size: 0.95rem;
    color: var(--home-text-muted);
    background: var(--home-surface-2);
    border: 1px solid var(--home-border);
    transition: border-color 0.25s ease;
}

.sup-status:hover {
    border-color: var(--home-border-accent);
}

.sup-status strong {
    margin-right: 0.35rem;
    color: var(--home-text);
}

.sup-status__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.sup-status .home-link {
    margin-left: auto;
}

/* --- Ticket process + tips --------------------------------------------- */
.sup-howto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.sup-howto__title {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}

.sup-steps {
    position: relative;
    display: grid;
    gap: 1.25rem;
    list-style: none;
}

.sup-steps::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 1.05rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.5), rgba(168, 85, 247, 0.5));
}

.sup-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(226, 234, 248, 0.88);
}

.sup-steps li span {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    color: #04121f;
    background: var(--home-gradient);
}

.sup-tips {
    padding: 1.9rem;
    border-radius: calc(var(--home-radius) + 4px);
    background: var(--home-surface);
    border: 1px solid var(--home-border);
}

.sup-tips h3 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.sup-tips h3 i {
    color: #fbbf24;
}

.sup-tips > p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--home-text-muted);
    margin-bottom: 1.25rem;
}

.sup-tips ul {
    display: grid;
    gap: 0.65rem;
    list-style: none;
}

.sup-tips li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.93rem;
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sup-tips li i {
    width: 1.2rem;
    text-align: center;
    color: var(--home-accent-strong);
}

/* --- FAQ empty state --------------------------------------------------- */
.sup-faq-empty {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.4rem 1.5rem;
    border-radius: 12px;
    color: var(--home-text-muted);
    background: var(--home-surface-2);
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

.sup-faq-empty i {
    font-size: 1.3rem;
    color: var(--home-accent-strong);
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
    .sup-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sup-channel--primary {
        grid-column: 1 / -1;
    }

    .sup-howto {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sup-channels {
        grid-template-columns: 1fr;
    }

    .sup-channel__actions .home-btn {
        width: 100%;
    }

    .sup-account .home-link,
    .sup-status .home-link {
        margin-left: 0;
    }

    .sup-tips {
        padding: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sup-channel {
        transition: none;
    }
}
