/* ==========================================================
   GAME NOTES
   ========================================================== */

.game-notes-content {
    padding-bottom: 100px;
}


/* ==========================================================
   Search
   ========================================================== */

.game-notes-search {
    margin-bottom: 24px;
}


.game-notes-search-label {
    display: block;

    margin-bottom: 8px;

    font-family: monospace;
    font-size: 0.72rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--cream-dim);
}


.game-notes-search input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid rgba(201, 147, 58, 0.25);
    border-radius: 2px;

    background: rgba(0, 0, 0, 0.2);

    color: var(--cream);

    font-family: monospace;
    font-size: 0.8rem;

    outline: none;

    transition:
        border-color 0.25s,
        background 0.25s;
}


.game-notes-search input::placeholder {
    color: var(--cream-dim);

    opacity: 0.6;
}


.game-notes-search input:focus {
    border-color: var(--gold);

    background: rgba(201, 147, 58, 0.04);
}


/* ==========================================================
   Filters
   ========================================================== */

.game-notes-filters {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
}


.game-notes-filter {
    padding: 6px 16px;

    border: 1px solid rgba(201, 147, 58, 0.25);
    border-radius: 2px;

    background: transparent;

    color: var(--cream-dim);

    font-family: monospace;
    font-size: 0.72rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    cursor: pointer;

    transition: all 0.25s;
}


.game-notes-filter:hover,
.game-notes-filter.active {
    border-color: var(--gold);

    color: var(--gold);

    background: rgba(201, 147, 58, 0.08);
}


/* ==========================================================
   Game list
   ========================================================== */

.game-notes-list {
    display: flex;

    flex-direction: column;

    gap: 28px;
}


/* ==========================================================
   Game card
   ========================================================== */

.game-note-card {
    padding: 28px;

    border: 1px solid rgba(201, 147, 58, 0.16);

    background: rgba(0, 0, 0, 0.12);

    transition:
        border-color 0.25s,
        transform 0.25s;
}


.game-note-card:hover {
    border-color: rgba(201, 147, 58, 0.38);

    transform: translateY(-2px);
}


/* ==========================================================
   Header
   ========================================================== */

.game-note-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 25px;

    padding-bottom: 22px;

    border-bottom: 1px solid rgba(201, 147, 58, 0.12);
}


.game-note-title-group h2 {
    margin: 0;

    color: var(--cream);

    font-size: 1.6rem;
}


.game-note-developer {
    margin: 6px 0 0;

    color: var(--cream-dim);

    font-family: monospace;
    font-size: 0.75rem;
}


/* ==========================================================
   Rating
   ========================================================== */

.game-note-rating {
    flex-shrink: 0;

    display: flex;

    align-items: baseline;
}


.game-note-rating-number {
    color: var(--gold);

    font-family: monospace;
    font-size: 1.8rem;

    font-weight: bold;
}


.game-note-rating-max {
    color: var(--cream-dim);

    font-family: monospace;
    font-size: 0.75rem;
}


/* ==========================================================
   Metadata
   ========================================================== */

.game-note-meta {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 20px;

    padding: 22px 0;
}


.game-note-meta-item {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.game-note-meta-label {
    color: var(--cream-dim);

    font-family: monospace;
    font-size: 0.62rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    opacity: 0.6;
}


.game-note-meta-value {
    color: var(--cream);

    font-family: monospace;
    font-size: 0.75rem;
}


/* ==========================================================
   Status
   ========================================================== */

.game-note-status-playing {
    color: var(--gold);
}


.game-note-status-finished {
    color: #8fcf91;
}


.game-note-status-dropped {
    color: #d47c7c;
}


.game-note-status-replay {
    color: #91a9d1;
}


/* ==========================================================
   Notes
   ========================================================== */

.game-note-body {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 40px;

    padding-top: 5px;
}


.game-note-section h3 {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 15px;

    font-family: monospace;

    font-size: 0.72rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.game-note-section-symbol {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border: 1px solid currentColor;

    font-size: 0.75rem;
}


.game-note-liked h3 {
    color: #8fcf91;
}


.game-note-disliked h3 {
    color: #d47c7c;
}


.game-note-content {
    color: var(--cream-dim);

    font-size: 0.85rem;

    line-height: 1.75;
}


.game-note-content p {
    margin: 0 0 16px;
}


.game-note-content p:last-child {
    margin-bottom: 0;
}


.game-note-empty {
    opacity: 0.5;

    font-style: italic;
}


/* ==========================================================
   Empty state
   ========================================================== */

.game-notes-empty {
    padding: 70px 20px;

    text-align: center;

    color: var(--cream-dim);
}


.game-notes-empty-symbol {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border: 1px solid rgba(201, 147, 58, 0.25);

    color: var(--gold);

    font-family: monospace;
}


.game-notes-empty h3 {
    margin: 0 0 8px;

    color: var(--cream);
}


.game-notes-empty p {
    margin: 0;

    font-size: 0.8rem;
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 850px) {

    .game-note-meta {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .game-note-card {
        padding: 22px 18px;
    }


    .game-note-header {
        flex-direction: column;
    }


    .game-note-rating {
        order: -1;
    }


    .game-note-meta {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .game-note-body {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


@media (max-width: 420px) {

    .game-note-meta {
        grid-template-columns: 1fr;
    }


    .game-notes-filter {
        flex: 1;
    }

}
