/*
 * HoFi Billard - Forside v2.0
 */

.home-page {
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   Hero
   ========================================================= */

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    gap: 28px;
    align-items: center;
    padding: 34px 36px;
    margin-top: 10px;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -130px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(59,130,246,.07);
    pointer-events: none;
}

.home-eyebrow,
.home-section-kicker {
    display: block;
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: .25rem 0 .65rem;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
}

.home-hero-copy > p {
    max-width: 670px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.home-hero-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.home-season-panel {
    position: relative;
    z-index: 1;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(59,130,246,.055);
}

.home-season-panel span,
.home-season-panel strong,
.home-season-panel small {
    display: block;
}

.home-season-panel > span {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.home-season-panel > strong {
    margin-top: 5px;
    font-size: 1.45rem;
}

.home-season-panel small {
    margin-top: 7px;
    color: var(--text-muted);
}

.home-season-panel small span {
    display: inline;
    margin: 0 4px;
}


/* =========================================================
   Summary
   ========================================================= */

.home-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin: 15px 0 30px;
}

.home-summary-card {
    padding: 14px 17px;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease;
}

.home-summary-card:hover {
    transform: translateY(-1px);
}

.home-summary-card span,
.home-summary-card strong,
.home-summary-card small {
    display: block;
}

.home-summary-card span {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 700;
}

.home-summary-card strong {
    margin: 2px 0;
    font-size: 1.55rem;
}

.home-summary-card small {
    color: var(--text-muted);
    font-size: .68rem;
}


/* =========================================================
   Section headings
   ========================================================= */

.home-section {
    margin-bottom: 30px;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.home-section-heading h2,
.home-card-heading h2 {
    margin: .15rem 0 0;
    font-size: 1.15rem;
}

.home-section-heading p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: .78rem;
}

.home-heading-link {
    color: var(--primary);
    text-decoration: none;
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}

.home-heading-link:hover {
    text-decoration: underline;
}


/* =========================================================
   Competition cards
   ========================================================= */

.home-competition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.home-competition-card {
    display: block;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease;
}

.home-competition-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59,130,246,.38);
}

.home-competition-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.home-competition-type {
    color: var(--text-muted);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.home-competition-head h3 {
    margin: 3px 0 0;
    font-size: .98rem;
}

.home-competition-arrow {
    color: var(--text-muted);
}

.home-competition-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: .7rem;
}

.home-competition-progress-row strong {
    color: inherit;
}

.home-progress-track {
    height: 6px;
    margin-top: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148,163,184,.12);
}

.home-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.home-competition-foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid var(--border-color);
}

.home-competition-foot span {
    color: var(--text-muted);
    font-size: .65rem;
}

.home-competition-foot strong {
    font-size: .73rem;
}


/* =========================================================
   Lower content
   ========================================================= */

.home-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 15px;
    margin-bottom: 30px;
}

.home-evenings,
.home-quick {
    padding: 0;
    overflow: hidden;
}

.home-card-heading {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
}

.home-evening-list {
    display: grid;
}

.home-evening-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
}

.home-evening-row:last-child {
    border-bottom: 0;
}

.home-evening-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-evening-date strong {
    font-size: .95rem;
}

.home-evening-date span {
    color: var(--text-muted);
    font-size: .65rem;
}

.home-evening-main strong,
.home-evening-main span {
    display: block;
}

.home-evening-main strong {
    font-size: .8rem;
}

.home-evening-main span {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: .68rem;
}

.home-evenings-empty,
.home-empty {
    padding: 26px 18px;
    color: var(--text-muted);
    text-align: center;
    font-size: .78rem;
}


/* =========================================================
   Quick links
   ========================================================= */

.home-quick-list {
    display: grid;
}

.home-quick-list a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: inherit;
    text-decoration: none;
}

.home-quick-list a:last-child {
    border-bottom: 0;
}

.home-quick-list a:hover {
    background: rgba(59,130,246,.035);
}

.home-quick-icon {
    font-size: 1.1rem;
}

.home-quick-list strong,
.home-quick-list small {
    display: block;
}

.home-quick-list strong {
    font-size: .78rem;
}

.home-quick-list small {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: .67rem;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 950px) {

    .home-competition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {

    .home-hero {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    .home-summary,
    .home-competition-grid,
    .home-lower-grid {
        grid-template-columns: 1fr;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* Player experience v1.0 */
.home-access-note{
    max-width:280px;
    color:var(--text-muted);
    font-size:.66rem;
    line-height:1.35;
    text-align:right;
}

@media(max-width:760px){
    .home-access-note{
        max-width:none;
        text-align:left;
    }
}


/* HoFi turneringsikon - fast visningsstørrelse */
.home-quick-icon--image{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:0;
    flex-shrink:0;
}
.home-quick-icon--image img{
    width:26px;
    height:26px;
    display:block;
    object-fit:contain;
    object-position:center;
}
