/* Accent bleu football pour ce projet */
:root {
    --accent-1: #3b82f6;
    --accent-3: #93c5fd;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #2563eb 100%);
    --gradient-text: linear-gradient(135deg, #93c5fd, #3b82f6, #bfdbfe);
    --gradient-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(29, 78, 216, 0.08));
    --border-hover: rgba(59, 130, 246, 0.4);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.12);
}

.orb-1 {
    background: radial-gradient(circle, #1d4ed8, transparent 70%);
}

.orb-2 {
    background: radial-gradient(circle, #3b82f6, transparent 70%);
}

/* Stats chiffres clés */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
    line-height: 1.4;
}

/* Espaces utilisateurs */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.space-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.3s;
}

.space-card:hover {
    border-color: var(--border-hover);
}

.space-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.space-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-3);
    flex-shrink: 0;
}

.space-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.space-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

.space-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.space-features li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.space-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-1);
    flex-shrink: 0;
    margin-top: 5px;
}

/* Blocs screenshots */
.screenshot-section {
    margin-top: 48px;
}

.screenshot-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-3);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.screenshot-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-frame img {
    width: 100%;
    display: block;
    border-radius: 0;
}

/* Grille 2 screenshots côte à côte (mobile/joueur) */
.screenshots-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .screenshots-row {
        grid-template-columns: 1fr;
    }
}

/* Documentation technique cards */
.doc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 28px 28px 24px;
    transition: border-color 0.3s;
}

.doc-card:hover {
    border-color: var(--border-hover);
}

.doc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.doc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.doc-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.doc-version {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-3);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s, border-color 0.2s;
}

a.doc-version:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.45);
}

.doc-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0 0 20px;
}

.doc-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-point {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.doc-point i {
    color: var(--accent-1);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.doc-point div {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

.doc-point strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.doc-point code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 1px 5px;
    color: #93c5fd;
}

@media (max-width: 640px) {
    .doc-card {
        padding: 20px 18px;
    }

    .doc-card-header {
        flex-wrap: wrap;
    }

    .doc-version {
        margin-left: 0;
    }
}
