/* ============================================================
   hub.css — User Hub page styles
   Source: web/css/hub.less (compile with lessc when editing)
   Tokens:
     #FFD200  = --fr-yellow  (site primary yellow)
     #222     = --fr-black   (nav background)
     #161616  = --fr-hero-bg (hero/dark section bg)
     #0d0d0d  = --fr-dark-card
     #1aa260  = --fr-green   (verified badge, top-rank accent)
     #2575c2  = --fr-blue    (mid-rank accent)
   Breakpoints match Bootstrap 3: xs <768, sm 768+, md 992+, lg 1200+
   ============================================================ */

/* ---- Reset / scope ---------------------------------------- */
#hub {
    font-family: inherit; /* inherits site font stack */
}

#hub *,
#hub *::before,
#hub *::after {
    box-sizing: border-box;
}

/* ---- Hero -------------------------------------------------- */
.hub-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(251,210,0,0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 35%, rgba(37,117,194,0.16) 0%, transparent 55%),
        linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
    color: #fff;
    padding: 40px 24px 32px;
    overflow: hidden;
}

/* Subtle vertical grid lines */
.hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.6) 0 1px,
        transparent 1px 8px
    );
    mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

.hub-hero-inner {
    position: relative;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.hub-hero-profile {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.hub-hero-text {
    min-width: 0;
}

/* ---- Avatar (uses shared .monogram--lg component) --------- */

/* ---- Hero text -------------------------------------------- */
.hub-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    color: #FFD200;
    text-transform: uppercase;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
    margin-bottom: 6px;
}

.hub-title {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #fff;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    flex-wrap: wrap;
}

.hub-bio {
    margin: 12px 0 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
}

/* ---- Social chips ----------------------------------------- */
.hub-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.hub-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.hub-social-chip--verified {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    transition: background 0.15s;
}

.hub-social-chip--verified:hover,
.hub-social-chip--verified:focus {
    background: rgba(255,255,255,0.13);
    color: #fff;
    text-decoration: none;
}

.hub-social-chip--unverified {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.55);
    cursor: default;
}

.hub-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1aa260;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.hub-unverified-pill {
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.65);
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
}

/* ---- Hero right column: actions --------------------------- */
.hub-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
    flex-shrink: 0;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'DINPro-Cond', 'DIN Pro', sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    width: 100%;
}

.hub-btn--yellow {
    background: #FFD200;
    color: #111;
    border-color: #FFD200;
}

.hub-btn--yellow:hover,
.hub-btn--yellow:focus {
    background: #e6bd00;
    border-color: #e6bd00;
    color: #111;
    text-decoration: none;
}

.hub-btn--yellow.hub-btn--following {
    background: transparent;
    border-color: #FFD200;
    color: #FFD200;
}

.hub-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.hub-btn--outline:hover,
.hub-btn--outline:focus {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.hub-follower-count {
    text-align: center;
    margin-top: 4px;
}

.hub-follower-count a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.hub-follower-count a:hover {
    text-decoration: underline;
}

.hub-follower-count strong {
    font-weight: 800;
    font-size: 18px;
}

.hub-follower-count span {
    color: rgba(255,255,255,0.6);
}

/* ---- Stats strip ------------------------------------------ */
.hub-stats {
    margin: 28px 0 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.hub-stat {
    padding: 16px 18px;
    background: #0d0d0d;
}

.hub-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-stat-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-top: 4px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
}

/* ---- Games band ------------------------------------------- */
.hub-games-band {
    background: #0d0d0d;
    color: #fff;
    padding: 28px 24px;
    border-bottom: 4px solid #FFD200;
}

.hub-games-band-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 16px;
}

.hub-games-band-head-left {
    flex: 1;
}

.hub-section-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    color: #FFD200;
    text-transform: uppercase;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
    margin-bottom: 5px;
}

.hub-games-band h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-games-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}

/* ---- Game tiles ------------------------------------------- */
.hub-game-tile {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
    transition: background 0.15s;
}

.hub-game-tile:hover {
    background: rgba(255,255,255,0.07);
    text-decoration: none;
    color: #fff;
}

.hub-game-tile-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.hub-game-tile--top .hub-game-tile-accent { background: #FFD200; }
.hub-game-tile--mid .hub-game-tile-accent { background: #1aa260; }

.hub-game-tile-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.hub-game-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: #FFD200;
}

.hub-game-tile-name {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.hub-game-tile-status {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    margin-top: 2px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
}

.hub-game-tile-body {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.hub-game-tile-score {
    font-size: 36px;
    font-weight: 800;
    color: #FFD200;
    line-height: 1;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-game-tile-score-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
    text-transform: uppercase;
}

.hub-game-tile-rank {
    margin-left: auto;
    text-align: right;
}

.hub-game-tile-rank-value {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-game-tile-rank-value .rank-hash {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.hub-game-tile-rank-value .rank-total {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.hub-game-tile-last-played {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* Coming-soon game tile */
.hub-game-tile--coming {
    border: 1px dashed rgba(255,255,255,0.15);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: rgba(255,255,255,0.55);
}

.hub-game-tile--coming:hover {
    background: transparent;
    cursor: default;
}

.hub-game-tile--coming .hub-game-tile-icon {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.4);
}

.hub-game-tile--coming .hub-game-tile-name {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

.hub-game-tile--coming-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 14px;
    line-height: 1.5;
}

/* Games band empty state */
.hub-games-empty {
    padding: 28px;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 10px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    font-size: 14px;
}

.hub-games-empty a {
    color: #FFD200;
}

/* ---- Page body -------------------------------------------- */
.hub-body {
    /* width + centering handled by Bootstrap .container */
    padding-top: 32px;
}

.hub-siderail {
    width: 160px;
    flex: 0 0 160px;
}

/* ---- Section head ----------------------------------------- */
.hub-section {
    margin-bottom: 36px;
}

.hub-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.hub-section-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #222;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-section-count {
    margin-left: 8px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    font-family: inherit;
}

.hub-section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hub-link-action {
    color: #2575c2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.hub-link-action:hover {
    text-decoration: underline;
    color: #2575c2;
}

/* ---- Card design grid ------------------------------------- */
.hub-designs-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: 14px;
    overflow: auto;
}

.hub-design-tile {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.15s, transform 0.15s;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.hub-design-tile:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.13);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.hub-design-preview {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hub-design-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder when no image is available */
.hub-design-preview--placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    flex-direction: column;
    gap: 4px;
}

.hub-design-preview--placeholder .hub-design-year-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255,210,0,0.9);
    color: #111;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
    letter-spacing: 0.5px;
}

.hub-design-preview--placeholder .hub-design-placeholder-rating {
    font-size: 28px;
    font-weight: 800;
    color: #FFD200;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
    line-height: 1;
}

.hub-design-preview--placeholder .hub-design-placeholder-label {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
}

.hub-design-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
}

.hub-design-name {
    font-weight: 700;
    font-size: 12px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.hub-design-likes {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #999;
    font-size: 11px;
    flex-shrink: 0;
}

/* Section empty state */
.hub-section-empty {
    padding: 28px 20px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ---- Club grid -------------------------------------------- */
.hub-club-card-wrap {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.hub-club-label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
}

.hub-club-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

/* Mini FUT card for club display */
.hub-mini-card {
    border-radius: 6px;
    padding: 8px 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.12s;
    min-width: 0;
}

.hub-mini-card:hover {
    transform: scale(1.06);
}

.hub-mini-card-rating {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    font-family: 'DINPro-CondBold', 'DIN Pro', sans-serif;
}

.hub-mini-card-pos {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DINPro-Cond', 'DIN Pro', monospace;
    opacity: 0.8;
}

.hub-mini-card-name {
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-weight: 600;
    opacity: 0.9;
}

/* ---- Coming soon ------------------------------------------ */
.hub-coming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hub-coming-tile {
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 18px;
    opacity: 0.9;
}

.hub-coming-tile-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hub-coming-tile-head .fa {
    font-size: 18px;
    color: #aaa;
    width: 20px;
    text-align: center;
}

.hub-coming-tile-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.hub-coming-tile-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

/* ---- Empty state (whole page) ----------------------------- */
.hub-empty-state {
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
}

.hub-empty-state h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
}

.hub-empty-state p {
    color: #888;
    max-width: 480px;
    margin: 0 auto 24px;
    font-size: 14px;
    line-height: 1.6;
}

/* ---- Inline leaderboard ad -------------------------------- */
.hub-inline-ad {
    display: flex;
    justify-content: center;
    margin: 0 0 36px;
}

/* ---- Footer band ------------------------------------------ */
.hub-footer-band {
    background: #0a0a0a;
    color: rgba(255,255,255,0.5);
    padding: 24px;
    border-top: 4px solid #FFD200;
    text-align: center;
    font-size: 12px;
}

/* ============================================================
   RESPONSIVE — mobile-first adjustments
   ============================================================ */

/* md and below: tighten siderail */
@media (max-width: 1199px) {
    .hub-club-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* sm and below (< 992px): hide siderail, adjust grids */
@media (max-width: 991px) {
    .hub-siderail {
        display: none;
    }
    .hub-body {
        padding: 24px 16px 60px;
    }
    .hub-club-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .hub-coming-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hub-games-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hub-games-grid .hub-game-tile:first-child {
        grid-column: 1 / -1;
    }
    .hub-title {
        font-size: 32px;
    }
}

/* xs (< 768px): single-column mobile layout */
@media (max-width: 767px) {
    /* Hero */
    .hub-hero {
        padding: 24px 16px 20px;
    }

    .hub-hero-inner {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .hub-hero-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .monogram--lg {
        width: 86px;
        height: 86px;
    }

    .monogram--lg .monogram__initial {
        font-size: 34px;
    }

    .hub-title {
        font-size: 26px;
        letter-spacing: 0;
    }

    .hub-meta {
        justify-content: center;
        gap: 10px;
        font-size: 13px;
    }

    .hub-bio {
        font-size: 13px;
        text-align: center;
    }

    .hub-socials {
        justify-content: center;
    }

    /* Actions row: horizontal on mobile, full-width follow */
    .hub-hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
        width: 100%;
        margin-top: 16px;
    }

    .hub-btn {
        flex: 1;
        min-width: 0;
        padding: 9px 12px;
        font-size: 13px;
    }

    /* Follower count under the buttons */
    .hub-follower-count {
        width: 100%;
        margin-top: 10px;
    }

    /* Stats strip */
    .hub-stats {
        margin-top: 16px;
    }

    .hub-stat {
        padding: 12px 8px;
        text-align: center;
    }

    .hub-stat-value {
        font-size: 18px;
    }

    .hub-stat-label {
        font-size: 9px;
    }

    /* Games band */
    .hub-games-band {
        padding: 20px 16px;
    }

    .hub-games-band-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .hub-games-grid {
        grid-template-columns: 1fr;
    }

    .hub-game-tile:first-child {
        grid-column: auto;
    }

    .hub-game-tile-score {
        font-size: 28px;
    }

    /* Body */
    .hub-body {
        padding: 16px 16px 48px;
    }

    .hub-section-head h2 {
        font-size: 18px;
    }

    /* Club grid: 4-col on mobile */
    .hub-club-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    /* Coming soon: 1-col on mobile */
    .hub-coming-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hub-section {
        margin-bottom: 28px;
    }
}

/* Very small screens (< 400px) */
@media (max-width: 399px) {
    .hub-club-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   SKELETON LOADING
   Shimmer placeholders for the 4 lazy-loaded sections.
   JS replaces each skeleton with real content (or an empty
   state) once the API responds. Sections: stats, designs,
   club, spins.
   ============================================================ */

@keyframes hub-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

/* Shared mixin — light shimmer (used in .hub-body on white bg) */
.hub-skel-light {
    background: linear-gradient(90deg, #ececec 25%, #d8d8d8 50%, #ececec 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* ---- Stats strip skeleton --------------------------------- */
/* Replaces .hub-stats — same grid + border/bg so layout doesn't shift */
.hub-stats-skeleton {
    margin: 28px 0 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.hub-stat-skel {
    padding: 16px 18px;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Value placeholder — label text is real HTML, rendered below this */
.hub-stat-skel::before {
    content: '';
    display: block;
    height: 26px;
    width: 55%;
    border-radius: 4px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.06) 25%,
        rgba(255,255,255,0.13) 50%,
        rgba(255,255,255,0.06) 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
}

/* ---- Section title placeholder ---------------------------- */
/* Drop inside .hub-section-head to fake the <h2> */
.hub-skel-title {
    height: 24px;
    width: 160px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ececec 25%, #d8d8d8 50%, #ececec 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
}

/* ---- Card designs skeleton -------------------------------- */
/* Each card: same border/padding as .hub-design-tile */
.hub-skel-design-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Image area — 3:4 aspect ratio matches .hub-design-preview */
.hub-skel-design-card::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    background: linear-gradient(90deg, #ececec 25%, #d8d8d8 50%, #ececec 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
}

/* Footer title line */
.hub-skel-design-card::after {
    content: '';
    display: block;
    height: 12px;
    width: 70%;
    border-radius: 4px;
    background: linear-gradient(90deg, #ececec 25%, #d8d8d8 50%, #ececec 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
}

/* ---- Club skeleton ---------------------------------------- */
/* Each mini card: same aspect ratio as .hub-mini-card */
.hub-skel-mini-card {
    border-radius: 6px;
    aspect-ratio: 1 / 1.35;
    background: linear-gradient(90deg, #ececec 25%, #d8d8d8 50%, #ececec 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
}

/* ---- FUT Spins tile skeleton ------------------------------ */
/* Applied alongside .hub-game-tile on the first grid cell.
   Uses higher specificity to override the tile's own background. */
.hub-game-tile.hub-skel-game-tile {
    min-height: 148px;
    border-top: 3px solid rgba(255,255,255,0.12); /* accent line placeholder */
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 600px 100%;
    animation: hub-shimmer 1.5s ease-in-out infinite;
    cursor: default;
    pointer-events: none;
}

.hub-game-tile.hub-skel-game-tile:hover {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 600px 100%;
}

/* ---- Skeleton responsive ---------------------------------- */
@media (max-width: 767px) {
    .hub-stats-skeleton {
        margin-top: 16px;
    }

    .hub-stat-skel {
        padding: 12px 8px;
        align-items: center;
    }
}
