/* ============================================================
   Dark ROG theme for the footer / information pages.
   Kept in one file so all six pages share one visual identity.
   ============================================================ */

.info-page {
    background: #0b0b0d;
    background-image:
        radial-gradient(60rem 30rem at 50% -10rem, rgba(220, 38, 38, .18), transparent 70%),
        linear-gradient(180deg, #0b0b0d 0%, #0e0e11 100%);
    color: #c9c9d1;
    min-height: 100vh;
}

/* the shared layout wraps content in .container which the shop pages paint white */
.info-page-host .container {
    background: #0b0b0d !important;
}

.info-page h1,
.info-page h2,
.info-page h3 {
    color: #fff;
}

.info-rule {
    width: 70px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, #DC2626, #ff6a3d);
}

/* --- cards ------------------------------------------------ */
.info-card {
    background: #141418;
    border: 1px solid #232329;
    border-radius: 14px;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.info-card:hover {
    border-color: rgba(220, 38, 38, .55);
    box-shadow: 0 10px 34px -12px rgba(220, 38, 38, .45);
}

.info-stat:hover {
    transform: translateY(-4px);
}

/* --- section headings ------------------------------------- */
.info-section h2 {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
}

.info-section h2::before {
    content: "";
    width: 4px;
    height: 1.35rem;
    border-radius: 2px;
    background: #DC2626;
    flex: 0 0 auto;
}

/* --- links ------------------------------------------------ */
.info-page a.link {
    color: #ff5a5a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

.info-page a.link:hover {
    color: #ff8080;
    border-bottom-color: #ff8080;
}

/* --- sub navigation --------------------------------------- */
.info-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .9rem;
    border-radius: 9999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: #a5a5b0;
    border: 1px solid #26262d;
    background: #141418;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.info-nav-link:hover {
    color: #fff;
    border-color: rgba(220, 38, 38, .6);
    background: #1b1b21;
}

.info-nav-link.active {
    color: #fff;
    background: #DC2626;
    border-color: #DC2626;
}

/* --- tables ----------------------------------------------- */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    text-align: left;
    padding: .8rem 1rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a8a96;
    border-bottom: 1px solid #26262d;
}

.info-table td {
    padding: .8rem 1rem;
    border-bottom: 1px solid #1d1d23;
    color: #c9c9d1;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr {
    transition: background .2s ease;
}

.info-table tbody tr:hover {
    background: #17171c;
}

/* --- misc ------------------------------------------------- */
.info-kbd {
    display: inline-block;
    padding: .15rem .5rem;
    font-size: .8rem;
    color: #e6e6ea;
    background: #1c1c22;
    border: 1px solid #2e2e36;
    border-bottom-width: 2px;
    border-radius: 6px;
}

.info-note {
    background: rgba(220, 38, 38, .08);
    border-left: 3px solid #DC2626;
    border-radius: 8px;
}

.info-timeline {
    border-left: 1px solid #26262d;
}

.info-timeline-dot {
    position: absolute;
    left: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #DC2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .15);
}

/* --- image banner ------------------------------------------ */
.info-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #232329;
    height: 220px;
}

@media (min-width: 768px) {
    .info-banner { height: 300px; }
}

.info-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.35) contrast(1.05);
    transform: scale(1.02);
    transition: transform .6s cubic-bezier(.22, 1, .36, 1), filter .6s ease;
}

.info-banner:hover img {
    transform: scale(1.06);
    filter: grayscale(0) contrast(1.08);
}

.info-banner-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 11, 13, .96) 0%, rgba(11, 11, 13, .72) 45%, rgba(11, 11, 13, .35) 100%),
        radial-gradient(40rem 20rem at 85% 110%, rgba(220, 38, 38, .38), transparent 70%);
}

.info-banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .info-banner-text { padding: 2.25rem; }
}

.info-banner-kicker {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: .3rem .75rem;
    border-radius: 9999px;
    background: #DC2626;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.info-banner-caption {
    color: #e8e8ee;
    font-weight: 600;
    font-size: 1rem;
    margin-top: .7rem;
    max-width: 46ch;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .info-banner-caption { font-size: 1.15rem; }
}

/* --- media inside cards ------------------------------------ */
.info-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(.3);
    transition: filter .35s ease, transform .35s ease;
}

.info-card:hover .info-thumb {
    filter: grayscale(0);
    transform: scale(1.02);
}

.info-thumb-sm {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
    filter: grayscale(.3);
    transition: filter .35s ease;
}

.info-card:hover .info-thumb-sm {
    filter: grayscale(0);
}

/* --- admin entry chip in the storefront header -------------- */
.admin-entry {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    padding: .3rem .7rem;
    border-radius: 9999px;
    background: #DC2626;
    color: #fff !important;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .03em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease;
}

.admin-entry:hover {
    background: #b91c1c;
    color: #fff !important;
}

/* --- keyboard accessibility -------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 300;
    padding: .7rem 1.2rem;
    background: #DC2626;
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* visible focus ring everywhere, without hurting mouse users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #ff5a5a;
    outline-offset: 2px;
    border-radius: 4px;
}

#main-content:focus {
    outline: none;
}

/* --- page transition --------------------------------------- */
.page-enter {
    animation: pageEnter .32s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* --- reveal-on-scroll initial state (Motion One animates it) */
.reveal {
    opacity: 0;
    transform: translateY(14px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }

    .page-enter {
        animation: none;
    }

    .info-card,
    .info-nav-link,
    .info-table tbody tr {
        transition: none;
    }
}
