* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: "Montserrat", sans-serif;

    background: #0c0c0f;
    color: #eee;
}


/* HIATUS */

/* .banner {
    position: sticky;
    top: 0;
    padding: 50px 75px;
    background-color: #1F1F27;
    z-index: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
} */

/* .banner h1 {
    margin-top: 0;
} */

/* .close-button {
    position: absolute;
    right: 50px;

    background: none;
    border: none;
    color: white;

    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;

    opacity: 0.7;
    transition: opacity 0.15s ease;
} */

/* .close-button:hover {
    opacity: 1;
} */

/* .banner.hidden {
    opacity: 0;
    visibility: hidden;
    display: none;
} */


/* PAGE */

.page {
    width: min(1720px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.header {
    padding: 50px 0 35px;

    text-align: center;
}

.header h1 {
    margin: 0;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.header p {
    margin-top: 15px;

    color: #AAAAAA;
    font-size: 0.95rem;
}

.header a,
footer a {
    color: #FF0066;
    text-decoration: none;
}

.header a:hover,
footer a:hover {
    text-decoration: underline;
}


/* CONTENT */

.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* CONSIDERING */

.considering {
    position: relative;
    padding: 0 0 50px;
}

.wrapper {
    overflow-x: auto;
    overflow-y: hidden;
}

/* Title */

.title h1 {
    font-size: 2rem;
    font-weight: 700;
}

.title hr {
    width: 100%;
    height: 2px;
    border: none;
    background-color: white;
    position: relative;
    text-align: center;
}

.title p {
    font-size: 20px;
    font-weight: 600;
}

/* Cards Container */

.boxes {
    position: relative;
    display: flex;
    gap: 50px;
    margin-top: 30px;
    padding: 0 25px;
    align-items: stretch;
}

/* Connections */

.card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100.2%;
    width: 52px;
    height: 3px;
    background: #FF0066;
    transform: translateY(-50%);
}

/* Card */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    
    flex: 0 0 499px;
    min-width: 0;
    height: 292px;
    box-sizing: border-box;
    padding: 25px;
    
    background-color: #1F1F27;
    border: 1px solid #6B8493;
    border-radius: 10px;
    overflow: visible;
}

.card-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Category */

.category {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card h2 {
    margin: 25px 0 15px;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Description */

.card-content > p {
    margin: 0;
    font-size: 1rem;
}

/* CONSIDERING Status */

.considering-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    margin-top: 25px;
    background-color: #0c0c0f;
    border-radius: 5px;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 20px;
}

/* PLANNED Status */

.planned-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
    font-size: 1.25rem;
    font-weight: 700;
}

.planned-status, .completed-status, .dropped-status {
    max-width: 100%;
    overflow: auto;
}

.date-planned, .real-status, .difficulty {
    background-color: #0c0c0f;
    border-radius: 5px;
    white-space: nowrap;
}

.date-planned {
    width: 119px;
    height: 40px;
    padding: 8px 10px;
    text-align: center;
}

.real-status {
    width: 215px;
    height: 40px;
    padding: 8px 0;
    text-align: center;
}

.difficulty {
    width: 107px;
    height: 40px;
    padding: 8px;
    text-align: center;
}

/* PROGRESS Status */

.progress-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
}

.progress-bar {
    flex: 1;
    min-width: 0;
    height: 40px;
    background-color: #0c0c0f;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #FF0066;
    transition: width 0.4s ease;
}

.progress-percentage {
    flex: 0 0 74px;
    height: 40px;
    background: #0c0c0f;
    color: #eee;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 8px 0;
    border-radius: 5px;
    text-align: center;
}

/* COMPLETED Status */

.completed-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
}

.shipped-version, .shipped-date {
    background-color: #0c0c0f;
    height: 40px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 8px 0;
    text-align: center;
}

.shipped-version {
    width: 316px;
}

.shipped-date {
    width: 128px;
}

.dashed-line hr {
    height: 2px;
    border: none;
    background-color: transparent;
    border-radius: 1px;
    border-top: dashed 2px #666;
    margin-top: 50px;
    margin-bottom: 75px;
}

/* DROPPED Status */

.dropped-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
}

.dropped-reason, .dropped-date {
    background-color: #0c0c0f;
    height: 40px;
    border-radius: 5px;
    padding: 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.dropped-reason {
    width: 329px;
    text-align: left;
    padding-left: 10px;
}

.dropped-date {
    width: 115px;
    text-align: center;
}

/* Card Bottom */

.roadmap-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 4.5%;
    flex-shrink: 0;

    font-size: 1.25rem;
    font-weight: 700;
}

.roadmap-footer span {
    white-space: nowrap;
}

.details {
    padding: 0;
    background: none;
    border: none;

    color: #eee;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.details:hover {
    color: #FF0066;
}

/* FOOTER */

footer {
    padding: 35px 0 45px;

    text-align: center;

    color: #666;
    font-size: 0.8rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

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

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
}

.modal-content {
    margin-right: 20px;

    position: absolute;
    z-index: 1;

    width: min(600px, 100%);
    max-height: 90vh;
    overflow: auto;

    padding: 35px;

    background: #1F1F27;
    border: 1px solid #ff0066;
    border-radius: 20px;

    /* transform: translateY(15px); */
    transition: transform 0.25s ease;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* .modal.open .modal-content {
    transform: translateY(0);
} */

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: #eee;
    
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
}

.modal-close:hover {
    opacity: 1;
    color: #FF0066;
}

.modal-category {
    color: #FF0066;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-content h2 {
    margin: 15px 0;
    font-size: 1.7rem;
}

.modal-content p {
    color: #ccc;
    line-height: 1.7;
}

.modal-extra {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.modal-extra-item {
    margin: 12px 0;
    color: #ccc;
    line-height: 1.6;
}

.modal-extra-item strong {
    color: #eee;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 30px;
    color: #aaa;
    font-size: 0.85rem;
}

#modal-done-btn {
    padding: 10px 20px;
    background: #FF0066;
    border: none;
    border-radius: 6px;

    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#modal-done-btn:hover {
    background: #d90057;
}


/* RESPONSIVE */

@media (max-width: 600px) {

    .page {
        width: min(100% - 20px, 1000px);
        text-align: center;
    }

    .header {
        padding-top: 30px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .wrapper {
        text-align: left;
    }

    .modal-content {
        padding: 28px 20px;
        max-height: 85vh;
    }

    .modal-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}