/* ==================== SETTINGS PAGE STYLES ==================== */

html {
    background: var(--bg1);
}

body {
    margin: 0;
    font-family: system-ui;
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
    color: var(--text);
    min-height: 100vh;
    padding: 40px 20px 60px;
}

.container {
    max-width: 1720px;
    margin: 0 auto;
}

/* ==================== TWO-COLUMN LAYOUT ==================== */

#overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.col-left,
.col-right {
    min-width: 0;
}

/* ==================== TITLE ==================== */

#title {
    text-align: center;
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-back {
    margin-bottom: 40px;
}

/* ==================== MANUFACTURER SECTION ==================== */

.manufacturer-section {
    margin-bottom: 48px;
    opacity: 0;
    transition: opacity 400ms ease-out;
}

.manufacturer-section.section-visible {
    opacity: 1;
}

.manufacturer-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(95, 208, 255, 0.25);
    text-shadow:
        0 0 8px rgba(95, 208, 255, 0.3);
}

/* ==================== SERIES BLOCK ==================== */

.series-block {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.series-block.block-visible {
    opacity: 1;
    transform: translateY(0);
}

.series-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-left: 2px;
}

/* ==================== TABLE ==================== */

.table-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: none;
    background: linear-gradient(
        180deg,
        rgba(21, 26, 35, 0.98),
        rgba(16, 21, 29, 0.98)
    );
}

.table-wrap.table-complete {
    border-color: #5fd0ff;
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.08),
        0 0 6px rgba(95, 208, 255, 0.35);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    position: relative;
}

thead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(95, 208, 255, 0.2),
        transparent
    );
    pointer-events: none;
}

th {
    padding: 8px 14px;
    text-align: left;
    background: linear-gradient(
        180deg,
        rgba(28, 36, 50, 0.92),
        rgba(18, 24, 34, 0.96)
    );
    color: #8fd8ff;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(95, 208, 255, 0.18);
    white-space: nowrap;
}

td {
    padding: 7px 14px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.018);
}

/* ==================== COLUMN WIDTHS ==================== */

.col-gpu     { width: 180px; }
.col-vram    { width: 75px;  }
.col-profile { width: 160px; }
.col-mode    { width: 110px; }
.col-quality { width: 120px; }
.col-sharc   { width: 120px; }

/* ==================== MOBILE DIVIDER ROW ==================== */

tr.type-divider td {
    padding: 6px 14px 5px;
    border-bottom: 1px solid rgba(95, 208, 255, 0.12);
    border-top: 1px solid rgba(95, 208, 255, 0.12);
    background: rgba(95, 208, 255, 0.04);
}

tr.type-divider span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

tr.type-divider:hover {
    background: transparent;
}

/* ==================== PROFILE COLORS ==================== */

.profile-performance { color: #e0c775; }
.profile-quality     { color: #75d4e0; }
.profile-ultra       { color: #a775e0; }
.profile-psycho      { color: #e075a7; }
.profile-na          { color: #e06c75; }

.sharc-na            { color: #4a7a94; }

/* ==================== ERROR ==================== */

.load-error {
    text-align: center;
    color: #e06c75;
    margin-top: 4rem;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1710px) {
    #overview-content {
        grid-template-columns: 1fr;
    }

    .col-left,
    .col-right {
        width: 100%;
    }

    .container {
        min-width: 933px;
    }

    table {
        table-layout: auto;
        min-width: 933px;
    }

    .col-gpu     { width: auto; min-width: 180px; }
    .col-vram    { width: auto; min-width: 75px;  }
    .col-profile { width: auto; min-width: 160px; }
    .col-mode    { width: auto; min-width: 110px; }
    .col-quality { width: auto; min-width: 120px; }
    .col-sharc   { width: auto; min-width: 120px; }
}

/* ==================== MOBILE BANNER ==================== */

#mobile-banner {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);

    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease-out;
}

#mobile-banner.banner-visible {
    opacity: 1;
    pointer-events: all;
}

.banner-box {
    max-width: 900px;
    width: 75%;
    min-height: 320px;
    padding: 56px 56px;

    background: linear-gradient(180deg, rgba(21, 26, 35, 0.98), rgba(16, 21, 29, 0.98));
    border: 1px solid #5fd0ff;
    border-radius: 16px;
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.08),
        0 0 12px rgba(95, 208, 255, 0.5),
        0 0 28px rgba(95, 208, 255, 0.25);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 56px;
    text-align: center;

    transform: translateY(16px);
    transition: transform 400ms ease-out;
}

#mobile-banner.banner-visible .banner-box {
    transform: translateY(0);
}

.banner-box p {
    margin: 0;
    font-size: 2.65rem;
    color: var(--accent);
    line-height: 1.5;
}

.banner-box button {
    padding: 31px 100px;
    width: 80%;
    font-size: 2.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.01);
    border: 1px solid #5fd0ff;
    border-radius: 8px;
    color: #5fd0ff;

    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.08),
        0 0 12px rgba(95, 208, 255, 0.35);

    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.banner-box button:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 10px rgba(95, 208, 255, 0.75),
        0 0 24px rgba(255, 255, 255, 0.12);
}
