/* =============================================
   Scorekeeper Landing Page — Shared Styles
   Used by tennis, badminton, table tennis landings
   ============================================= */

.sk-landing {
    min-height: 100vh;
    background: var(--bg-primary, #0f1117);
    color: var(--text-primary, #e4e4e7);
}

/* ── Hero ── */
.sk-landing__hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.06));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sk-landing__hero-inner {
    max-width: 640px;
}

.sk-landing__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.sk-landing__title i {
    color: var(--accent, #818cf8);
}

.sk-landing__subtitle {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Light mode */
[data-theme="light"] .sk-landing {
    background: #f4f5f7;
    color: #1f2937;
}

[data-theme="light"] .sk-landing__hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(6, 182, 212, 0.04));
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .sk-landing__subtitle {
    color: rgba(0, 0, 0, 0.5);
}

/* ── Version Cards ── */
.sk-landing__versions {
    padding: 2rem 1.5rem 3rem;
}

.sk-landing__versions-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .sk-landing__versions-inner {
        grid-template-columns: 1fr;
    }
}

.sk-landing__version-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: border-color 0.2s;
}

.sk-landing__version-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="light"] .sk-landing__version-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .sk-landing__version-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.sk-landing__version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    width: fit-content;
}

.sk-landing__version-badge--cloud {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.sk-landing__version-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.sk-landing__version-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

[data-theme="light"] .sk-landing__version-desc {
    color: rgba(0, 0, 0, 0.5);
}

.sk-landing__feature-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.sk-landing__feature-list li {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sk-landing__feature-list li i {
    color: #22c55e;
    font-size: 0.6875rem;
    flex-shrink: 0;
}

[data-theme="light"] .sk-landing__feature-list li {
    color: rgba(0, 0, 0, 0.65);
}

/* CTA buttons */
.sk-landing__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    width: 100%;
    text-align: center;
}

.sk-landing__cta--free {
    background: #22c55e;
    color: #fff;
}

.sk-landing__cta--free:hover {
    background: #16a34a;
    color: #fff;
}

.sk-landing__cta--cloud {
    background: #6366f1;
    color: #fff;
}

.sk-landing__cta--cloud:hover {
    background: #4f46e5;
    color: #fff;
}

/* Status banner (Deuce / Advantage / Tiebreak) for cloud version */
.sk-status-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    background: rgba(129, 140, 248, 0.12);
    color: #818cf8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(129, 140, 248, 0.2);
}
