/*
 * PTR guide page.
 *
 * Companion sheet to landing.css — loaded after it, on the PTR page only.
 * Every colour, radius, border and shadow here is lifted from the recipes
 * already used by .feature_card / .tf_tab / .bfa_news_card so the guide reads
 * as the same site. Nothing in landing.css is overridden except the header
 * offsets, which exist for the tall BFA hero art this page doesn't carry.
 */

/* ---------------------------------------------------------------- shell -- */

/* The landing hero reserves ~440px for the character art. The guide is a
   sub-page with a logo-only header, so the reserved space comes back out. */
.ptr_page header .header-center { padding-top: 160px; }
.ptr_page header .header-center img { width: 260px; }

.ptr_page .ptr_top {
    position: relative;
    top: 0;
    background: linear-gradient(180deg, rgba(11, 20, 26, 0) 0%, rgba(11, 20, 26, 0.94) 30%, rgba(11, 20, 26, 1) 100%);
}

.ptr_page .ptr_main {
    position: relative;
    top: 0;
    background-image: url('../../img/presentation/bfa_reforged/7_bg3.png');
    background-repeat: repeat-x;
    background-size: auto;
    background-color: #0b141a;
}

.ptr_page .ptr_foot { position: relative; top: 0; }

/* .container is a fixed 1250px until the 768px breakpoint, so anything between
   those widths runs past the viewport and gets clipped by body{overflow-x:hidden}.
   The landing gets away with it; a page of tables and two-column cards does not.
   Scoped to .ptr_page so the BFA landing keeps its current behaviour. */
@media (max-width: 1299px) {
    .ptr_page .container { width: 90%; }
}

/* -------------------------------------------------------------- opening -- */

.ptr_intro {
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
}

.ptr_intro h1 {
    font-size: 4rem;
    font-family: 'AGFriquer-light';
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ptr_intro .ptr_intro_sub {
    color: #ffffff;
    font-family: 'AGFriquer-light';
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 20px #bbe44956;
    margin-bottom: 26px;
}

.ptr_intro .ptr_intro_text {
    max-width: 900px;
    margin: 0 auto;
    color: #d8e3eb;
    font-family: 'UbuntuLight';
    font-size: 1.15rem;
    line-height: 1.6;
}

.ptr_intro .ptr_intro_text + .ptr_intro_text { margin-top: 14px; }

/* ------------------------------------------------------------------ nav -- */

.ptr_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1100px;
    margin: 36px auto 0 auto;
    padding: 0 25px;
}

.ptr_nav a {
    padding: 11px 26px;
    border: 1px solid #4A6B85;
    border-radius: 28px;
    background: transparent;
    color: #e8f1f7;
    font-family: 'AGFriquer-light';
    font-weight: 300;
    font-size: 1.02rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 220ms cubic-bezier(.4, 0, .2, 1),
                box-shadow 220ms cubic-bezier(.4, 0, .2, 1),
                text-shadow 220ms cubic-bezier(.4, 0, .2, 1);
}

.ptr_nav a:hover,
.ptr_nav a.active {
    border-color: #9BC0DC;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(180, 210, 240, 0.85), 0 0 2px rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 1px rgba(155, 192, 220, 0.35), 0 0 24px rgba(80, 130, 170, 0.45);
}

/* -------------------------------------------------------------- chapter -- */

.ptr_chapter { padding: 20px 0 10px 0; }

/* The guide sits inside section.about, which centres its text for the landing's
   own copy blocks. Feature bodies and tables read as prose — put them back left,
   and let the chapter headings keep the centred treatment. */
.ptr_chapter .ptr_features,
.ptr_chapter .ptr_table_wrap,
.ptr_chapter .ptr_note { text-align: left; }

.ptr_chapter_head {
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px 25px 10px 25px;
    text-align: center;
}

.ptr_chapter_head h2 {
    padding: 0 0 15px 0;
    font-size: 3rem;
    text-transform: uppercase;
}

.ptr_chapter_head p {
    color: #d8e3eb;
    font-family: 'UbuntuLight';
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------- features -- */

.ptr_features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1200px;
    width: 100%;
    margin: 30px auto 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

.ptr_feature {
    display: grid;
    grid-template-columns: 46% 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: linear-gradient(rgba(18, 28, 38, 0.7), rgba(12, 20, 28, 0.8)) padding-box,
                linear-gradient(180deg, #6589A6 0%, #304A60 55%, #1c2e3e 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(180, 210, 240, 0.15),
                inset 0 -1px 0 rgba(0, 0, 0, 0.4),
                0 6px 24px rgba(0, 0, 0, 0.35);
}

/* Alternate the screenshot side so a long chapter doesn't read as a list. */
.ptr_feature:nth-child(even) .ptr_feature_media { order: 2; }

.ptr_feature--wide { grid-template-columns: 1fr; }

.ptr_feature_media {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ptr_feature_media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #304A60;
}

.ptr_feature_body { min-width: 0; }

.ptr_feature_head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ptr_feature_head h3 {
    margin: 0;
    color: #ffffff;
    font-family: 'AGFriquer-light';
    font-weight: 300;
    font-size: 1.55rem;
}

.ptr_feature_lead {
    color: #9BC0DC;
    font-family: 'UbuntuLight';
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.ptr_feature ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ptr_feature li {
    position: relative;
    padding: 0 0 0 20px;
    margin-bottom: 10px;
    color: #d8e3eb;
    font-family: 'UbuntuLight';
    font-size: 1rem;
    line-height: 1.55;
}

.ptr_feature li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6589A6;
    box-shadow: 0 0 8px rgba(155, 192, 220, 0.6);
}

.ptr_feature li strong { color: #ffffff; font-family: 'UbuntuLight'; font-weight: bold; }

/* ------------------------------------------------------------------ tag -- */

.ptr_tag {
    padding: 4px 14px;
    border: 1px solid #4A6B85;
    border-radius: 28px;
    color: #9BC0DC;
    font-family: 'AGFriquer-light';
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ptr_tag--new      { border-color: #9BC0DC; color: #ffffff; box-shadow: 0 0 14px rgba(80, 130, 170, 0.45); }
.ptr_tag--reworked { border-color: #6589A6; color: #cfe1ef; }
.ptr_tag--tuned    { border-color: #4A6B85; color: #9BC0DC; }
.ptr_tag--ptr      { border-color: #bbe449; color: #d7f07f; box-shadow: 0 0 14px rgba(187, 228, 73, 0.28); }

/* ---------------------------------------------------------------- quote -- */

/* In-game text (tooltips, gossip) quoted verbatim. */
.ptr_quote {
    margin-top: 16px;
    padding: 14px 18px;
    border-left: 2px solid #6589A6;
    background: rgba(101, 137, 166, 0.08);
    color: #cfe1ef;
    font-family: 'UbuntuLight';
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.55;
}

/* ---------------------------------------------------------------- table -- */

.ptr_table_wrap {
    max-width: 1200px;
    width: 100%;
    margin: 28px auto 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
    overflow-x: auto;
}

.ptr_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid transparent;
    border-radius: 14px;
    background: linear-gradient(rgba(18, 28, 38, 0.7), rgba(12, 20, 28, 0.8)) padding-box,
                linear-gradient(180deg, #6589A6 0%, #304A60 55%, #1c2e3e 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(180, 210, 240, 0.15),
                inset 0 -1px 0 rgba(0, 0, 0, 0.4),
                0 6px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.ptr_table th {
    padding: 16px 18px;
    border-bottom: 1px solid #304A60;
    color: #ffffff;
    font-family: 'AGFriquer-light';
    font-weight: 300;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.ptr_table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(48, 74, 96, 0.5);
    color: #d8e3eb;
    font-family: 'UbuntuLight';
    font-size: 0.98rem;
    line-height: 1.5;
    vertical-align: top;
}

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

.ptr_table .ptr_cur {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    white-space: nowrap;
}

.ptr_table .ptr_cur img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
}

.ptr_table_caption {
    max-width: 1200px;
    margin: 12px auto 0 auto;
    padding: 0 25px;
    color: #9BC0DC;
    font-family: 'UbuntuLight';
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------- roster -- */

.ptr_roster {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ptr_roster li {
    padding: 0 0 0 20px;
    color: #d8e3eb;
    font-family: 'UbuntuLight';
    font-size: 1rem;
    line-height: 1.55;
}

.ptr_roster li strong { color: #ffffff; font-weight: bold; }

/* ----------------------------------------------------------- ptr callout -- */

.ptr_note {
    max-width: 1150px;
    margin: 30px auto 0 auto;
    padding: 22px 26px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: linear-gradient(rgba(24, 34, 24, 0.7), rgba(16, 24, 16, 0.8)) padding-box,
                linear-gradient(180deg, #bbe449 0%, #6d8a2c 55%, #2c3a16 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(200, 240, 140, 0.15),
                inset 0 -1px 0 rgba(0, 0, 0, 0.4),
                0 6px 24px rgba(0, 0, 0, 0.35);
}

.ptr_note h3 {
    margin-bottom: 10px;
    color: #d7f07f;
    font-family: 'AGFriquer-light';
    font-weight: 300;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ptr_note p {
    color: #e2eecd;
    font-family: 'UbuntuLight';
    font-size: 1.02rem;
    line-height: 1.6;
}

.ptr_note p + p { margin-top: 10px; }

/* ------------------------------------------------------------- back link -- */

.ptr_back {
    display: flex;
    justify-content: center;
    padding: 60px 25px 0 25px;
}

.ptr_back a {
    padding: 12px 34px;
    border: 1px solid #4A6B85;
    border-radius: 28px;
    color: #e8f1f7;
    font-family: 'AGFriquer-light';
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 200ms, border-color 200ms;
}

.ptr_back a:hover {
    background: rgba(101, 137, 166, 0.25);
    border-color: #9BC0DC;
}

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 900px) {
    .ptr_page header .header-center { padding-top: 110px; }
    .ptr_page header .header-center img { width: 210px; }

    .ptr_intro { padding-bottom: 30px; }
    .ptr_intro h1 { font-size: 2.2rem; letter-spacing: 3px; }
    .ptr_intro .ptr_intro_sub { font-size: 1.05rem; letter-spacing: 2px; }
    .ptr_intro .ptr_intro_text { font-size: 1rem; }

    .ptr_nav { gap: 8px; padding: 0 16px; }
    .ptr_nav a { padding: 9px 18px; font-size: 0.9rem; }

    .ptr_chapter_head { padding: 30px 16px 6px 16px; }
    .ptr_chapter_head h2 { font-size: 1.8rem; }
    .ptr_chapter_head p { font-size: 0.98rem; }

    .ptr_features { gap: 20px; padding: 0 16px; }

    .ptr_feature {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    /* Screenshot always leads on mobile, whatever the desktop alternation. */
    .ptr_feature:nth-child(even) .ptr_feature_media { order: 0; }

    .ptr_feature_head h3 { font-size: 1.3rem; }
    .ptr_feature_lead { font-size: 0.98rem; }
    .ptr_feature li { font-size: 0.95rem; }

    .ptr_roster { grid-template-columns: 1fr; }

    .ptr_table_wrap { padding: 0 16px; }
    .ptr_table th { font-size: 0.92rem; padding: 12px 14px; }
    .ptr_table td { font-size: 0.92rem; padding: 11px 14px; }

    .ptr_note { padding: 18px; }
    .ptr_note h3 { font-size: 1.15rem; }
    .ptr_note p { font-size: 0.95rem; }
}
