@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap');

/* Regular */
@font-face {
    font-family: 'NotoSansThaiCondensed';
    src: url('../fonts/NotoSansThai-Condensed.woff2') format('woff2'),
        url('../fonts/NotoSansThai-Condensed.woff') format('woff'),
        url('../fonts/NotoSansThai-Condensed.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* SemiBold */
@font-face {
    font-family: 'NotoSansThaiCondensed';
    src: url('../fonts/NotoSansThai-CondensedSemiBold.woff2') format('woff2'),
        url('../fonts/NotoSansThai-CondensedSemiBold.woff') format('woff'),
        url('../fonts/NotoSansThai-CondensedSemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'NotoSansThaiCondensed', 'Noto Sans Thai', sans-serif;
    width: 100%;
    position: relative;
    color: #C5C5C5;
    background: #000000;
}

h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2s;
    color: #fff;
    text-align: center;
    margin: 0;
}

h1 span {
    font-family: "tannakone-condensed", sans-serif;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    color: #ffffff;
}

a {
    color: #ffffff;
    text-decoration: none;
}

.section-title {
    max-width: fit-content;
    width: 100%;
    padding: 15px 30px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
}

.section-title2 {
    max-width: fit-content;
    width: 100%;
    padding: 15px 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
}

.mybox-body {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: #0000008e;
    padding: 50px;
}

.main-border {
    border-color: #ffffff;
    opacity: .1;
}

.main-body {
    background: url(../policy/images/bg-main.webp) top center/cover no-repeat;
    background-attachment: fixed;
    padding: 120px 0 80px;
    min-height: 90vh;
}


.col-text-title-head-white {
    position: relative;
    padding: 0 45px;
}

.col-text-title-head-white::before {
    content: "";
    position: absolute;
    background: url(../images/ic-star-head-white.webp?v=1.48) center / contain no-repeat;
    width: 36px;
    height: 36px;
    bottom: 0;
    left: 0px;
    z-index: 3;
}

.col-text-title-head-white::after {
    content: "";
    position: absolute;
    background: url(../images/ic-star-head-white.webp?v=1.48) center / contain no-repeat;
    width: 36px;
    height: 36px;
    bottom: 0;
    right: 0px;
    z-index: 3;
}

.text-title-head {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.text-blue {
    color: #0E8CEE;
}

.text-detail.update {
    width: fit-content;
    font-size: 20px !important;
    color: #ffffff !important;
    padding: 6px 70px !important;
    margin: 30px auto 0 !important;
    background: linear-gradient(90deg, rgb(14 140 238 / 0%) 0%, rgb(14 140 238 / 50%) 10%, rgb(14 140 238 / 70%) 50%, rgb(14 140 238 / 50%) 90%, rgb(14 140 238 / 0%) 100%) !important;
}

.text-detail.update a {
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 40px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .main-body {
        padding: 80px 0 50px;
    }

    .mybox-body {
        padding: 25px;
    }

    .text-title-head {
        font-size: 32px;
    }

    .col-text-title-head-white::before,
    .col-text-title-head-white::after {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 24px;
    }

    .section-title {
        gap: 10px;
        padding: 30px 5px 15px 5px;
    }

    .section-title img {
        min-height: 30px;
    }
}

/* About WarZTH Limited Edition */

.about-warz {
    box-sizing: border-box;
    color: #ffffff;
}

.about-warz *,
.about-warz *::before,
.about-warz *::after {
    box-sizing: inherit;
}

.about-warz-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 54px);
}

.about-warz-hero-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: #1313136e;
}

.about-warz-hero-logo img {
    display: block;
    width: min(100%, 485px);
    height: auto;
}

.about-warz-hero-content {
    width: 100%;
}

.about-warz-hero-content p {
    margin: 0 0 20px;
    color: #f5f5f5;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.about-warz-news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 255px;
    min-height: 68px;
    padding: 14px 44px 16px;
    color: #ffffff;
    background: url("../about/images/bg-btn01.webp?v=1.48") center / 100% 100% no-repeat;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.about-warz-news-btn:hover,
.about-warz-news-btn:focus {
    color: #ffffff;
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.about-warz-divider {
    height: 1px;
    margin: clamp(42px, 5vw, 64px) 0 clamp(44px, 5vw, 60px);
    border: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.22));
    opacity: 1;
}

.about-warz-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 34px;
}

.about-warz h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.about-warz-section-heading-left {
    justify-content: flex-start;
    margin-bottom: 26px;
}

.about-warz-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.about-warz-card {
    position: relative;
    grid-column: span 2;
    min-height: 290px;
    padding: 30px;
    overflow: hidden;
    background: #1313136e;
    border-bottom: 4px solid #AF0000;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.about-warz-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.about-warz-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.about-warz-card:hover {
    transform: translateY(-6px);


    box-shadow: 0 10px 10px #0000002a;
}

.about-warz-card-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.about-warz-card-icon img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.about-warz-card-number {
    position: absolute;
    top: 52px;
    right: 28px;
    color: rgba(255, 255, 255, 0.12);
    font-family: "tannakone-condensed", sans-serif;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 50px;
    font-weight: 400;
    line-height: 1;
}

.about-warz-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.about-warz-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #bdbdbd;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.about-warz-provider {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
    align-items: center;
    gap: clamp(34px, 7vw, 90px);
    margin-top: clamp(58px, 7vw, 84px);
}

.about-warz-provider-content p {
    max-width: 760px;
    margin: 0 0 20px;
    color: #d2d2d2;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

.about-warz-provider-content p:last-child {
    margin-bottom: 0;
    color: #bcbcbc;
}

.about-warz-provider-content strong {
    color: #ffffff;
}

.about-warz-provider-content em {
    color: #AF0000;
    font-style: normal;
    font-weight: 600;
}

.about-warz-provider-logo {
    display: flex;
    justify-content: center;
}

.about-warz-provider-logo img {
    display: block;
    width: min(100%, 300px);
    height: auto;
}

@media (max-width: 1199px) {
    .about-warz-card {
        padding: 32px 24px 34px;
    }

    .about-warz-card h3 {
        font-size: 28px;
    }

    .about-warz-card p {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .about-warz h2 {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .about-warz-hero {
        grid-template-columns: 1fr;
    }

    .about-warz-hero-logo img {
        width: 60%;
    }

    .about-warz-hero-content {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-warz-hero-content p {
        text-align: center;
    }

    .about-warz-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .about-warz-card,
    .about-warz-card:nth-child(4),
    .about-warz-card:nth-child(5) {
        grid-column: auto;
    }

    .about-warz-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 50%;
        width: 100%;
        justify-self: center;
    }

    .about-warz-provider {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-warz-provider-content p {
        text-align: center;
    }

    .about-warz-provider-logo img {
        width: 40%;
    }

    .mybox-body.ab-page {
        padding: 25px 25px 50px;
    }
}

@media (max-width: 768px) {
    .about-warz-hero-logo {
        min-height: 230px;
    }

    .about-warz-news-btn {
        min-width: 220px;
        min-height: 58px;
        font-size: 28px;
    }

}

@media (max-width: 575px) {
    .about-warz-hero {
        gap: 24px;
    }

    .about-warz-hero-logo {
        min-height: 170px;
        padding: 26px 18px;
    }

    .about-warz-hero-content p {
        font-size: 21px;
    }

    .about-warz-news-btn {
        width: 100%;
        min-width: 0;
        font-size: 25px;
    }

    .about-warz-section-heading {
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .about-warz-section-heading span {
        width: 15px;
        height: 40px;
    }

    .about-warz-section-heading h2 {
        font-size: 30px;
    }

    .about-warz-card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-warz-card {
        min-height: fit-content;
    }

    .about-warz-card-icon,
    .about-warz-card-icon img {
        width: 50px;
        height: 50px;
    }

    .about-warz-card-number {
        top: 38px;
        right: 22px;
        font-size: 42px;
    }

    .about-warz-card h3 {
        font-size: 24px;
    }

    .about-warz-card p,
    .about-warz-provider-content p {
        font-size: 20px;
    }

    .about-warz-provider-logo img {
        width: 50%;
    }

    .about-warz-card:nth-child(5) {
        max-width: 100%;
        width: 100%;
    }

    .about-warz h2 {
        font-size: 28px;
    }
}

/* Contact Page - WarZTH Support Layout */
.mybox-body.ct-page {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(34px, 4.5vw, 60px);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
}

.ct-page *,
.ct-page *::before,
.ct-page *::after {
    box-sizing: inherit;
}

/* Contact Page - Intro */
.ct-intro {
    max-width: 1040px;
    margin: 0 auto clamp(36px, 5vw, 58px);
    text-align: center;
}

.ct-page h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.ct-intro p {
    margin: 0 0 20px;
    color: #f5f5f5;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Contact Page - Main Support Grid */
.ct-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
    align-items: start;
    gap: clamp(30px, 5vw, 58px);
}

.ct-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 26px;
}

.ct-title-mark {
    flex: 0 0 auto;
    display: inline-block;
    width: 18px;
    height: 50px;
    background: linear-gradient(180deg, #d80000 0%, #970000 100%);
    transform: skew(-4deg);
    box-shadow: 0 0 18px rgba(216, 0, 0, 0.28);
}

.ct-section-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.12;
}

.ct-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.ct-issue-card {
    min-height: 98px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px;
    background: #1313136e;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ct-issue-card:hover {
    transform: translateY(-4px);
}

.ct-card-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ct-card-icon img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.ct-card-icon-note {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d80000, #940000);
}

.ct-card-icon-note::before,
.ct-card-icon-note::after {
    content: "";
    position: absolute;
    background: #ffffff;
}

.ct-card-icon-note::before {
    width: 22px;
    height: 16px;
    border-radius: 3px;
}

.ct-card-icon-note::after {
    width: 8px;
    height: 8px;
    right: 9px;
    bottom: 9px;
    transform: rotate(45deg);
}

.ct-issue-card p {
    margin: 0;
    color: #c9c9c9;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* Contact Page - Contact Card */
.ct-contact-card {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: #1313136e;
}

.ct-operator {
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -4px;
}

.ct-operator img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ct-contact-btn,
.ct-privacy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

.ct-contact-btn {
    width: min(100%, 340px);
    min-height: 78px;
    gap: 12px;
    padding: 14px 28px 16px;
    background: url("../contact/images/bg-btn-line.webp?v=1.48") center / 100% 100% no-repeat;
    font-size: 34px;
    line-height: 1;
}

.ct-contact-btn:hover,
.ct-contact-btn:focus,
.ct-privacy-btn:hover,
.ct-privacy-btn:focus {
    color: #ffffff;
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.ct-line-badge {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #c40000;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.ct-divider {
    width: 100%;
    height: 1px;
    margin: 32px 0 28px;
    background: rgba(255, 255, 255, 0.14);
}

.ct-response-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ct-response-time img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-bottom: 16px;
}

.ct-response-time p,
.ct-response-time span {
    margin: 0;
    color: #bdbdbd;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

.ct-response-time strong {
    display: block;
    margin: 6px 0 4px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
}

/* Contact Page - Privacy */
.ct-privacy {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    margin-top: clamp(42px, 5vw, 60px);
    padding: 30px 50px 50px;
    background: #1313136e;
}

.ct-privacy-icon {
    display: flex;
    justify-content: center;
}

.ct-privacy-icon img {
    display: block;
    width: min(100%, 148px);
    height: auto;
}

.ct-section-head-sm {
    margin-bottom: 18px;
}

.ct-privacy-content p {
    max-width: 850px;
    margin: 0 0 14px;
    color: #bdbdbd;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.ct-privacy-btn {
    min-width: 280px;
    min-height: 58px;
    margin-top: 10px;
    padding: 5px 30px;
    background: url(../contact/images/bg-btn-privacy.webp?v=1.48) center / 100% 100% no-repeat;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 1199px) {
    .ct-main {
        grid-template-columns: 1fr;
    }

    .ct-contact-card {
        max-width: 560px;
        min-height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .ct-page h2 {
        font-size: 32px;
    }

    .ct-contact-card {
        order: 1;
    }

    .ct-report {
        order: 2;
    }
}

@media (max-width: 991px) {
    .ct-card-grid {
        grid-template-columns: 1fr;
    }

    .ct-privacy {
        grid-template-columns: 150px minmax(0, 1fr);
    }

}

@media (max-width: 768px) {
    .mybox-body.ct-page {
        padding: 28px 20px 34px;
    }

    .ct-intro p br {
        display: none;
    }

    .ct-section-head {
        gap: 12px;
        margin-bottom: 20px;
    }

    .ct-title-mark {
        width: 15px;
        height: 42px;
    }

    .ct-issue-card {
        min-height: 86px;
        padding: 18px 16px;
    }

    .ct-contact-card {
        padding: 30px 18px 32px;
    }

    .ct-privacy {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 30px 20px 30px;
    }

    .ct-privacy .ct-section-head {
        justify-content: center;
    }

    .ct-privacy-icon img {
        width: 112px;
    }
}

@media (max-width: 575px) {
    .mybox-body.ct-page {
        padding: 24px 15px 30px;
    }

    .ct-intro {
        margin-bottom: 30px;
    }

    .ct-section-head h2 {
        font-size: 30px;
    }

    .ct-issue-card p {
        font-size: 20px;
    }

    .ct-contact-btn {
        min-height: 66px;
        padding: 12px 18px 14px;
        font-size: 27px;
    }

    .ct-line-badge {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .ct-response-time strong {
        font-size: 32px;
    }

    .ct-privacy-btn {
        width: 100%;
        min-width: 0;
        padding: 5px;
    }

    .ct-card-grid {
        gap: 10px;
    }

    .ct-privacy {
        gap: 10px;
    }

    .ct-response-time p,
    .ct-response-time span {
        font-size: 20px;
    }
}

/* Contact Page - Responsive Refinements */

@media (min-width: 1200px) {
    .mybox-body.ct-page {
        width: min(1240px, calc(100vw - 48px));
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 575px) {
    .section-title2 {
        gap: 10px;
    }

    .ct-section-head h2 {
        font-size: 28px;
    }

    .ct-issue-card {
        align-items: flex-start;
    }

    .ct-card-icon {
        margin-top: 2px;
    }
}

/* Contact Page - Mobile Overflow Guard */
.ct-page,
.ct-main,
.ct-report,
.ct-card-grid,
.ct-issue-card,
.ct-contact-card,
.ct-privacy,
.ct-privacy-content {
    max-width: 100%;
    min-width: 0;
}

.ct-page {
    overflow-x: hidden;
}

.ct-intro p,
.ct-section-head h2,
.ct-issue-card p,
.ct-privacy-content p,
.ct-contact-btn span,
.ct-privacy-btn {
    min-width: 0;
    max-width: 100%;
}

/* Contact Page - Viewport Width Guard */
@media (max-width: 1199px) {
    .mybox-body.ct-page {
        width: calc(100vw - 32px);
    }
}

@media (max-width: 575px) {
    .mybox-body.ct-page {
        width: calc(100vw - 24px);
    }

    .ct-intro p {
        font-size: 20px;
    }

    .ct-issue-card {
        gap: 10px;
        padding: 15px;
        display: flex;
        align-items: center;
    }

    .ct-card-icon,
    .ct-card-icon img {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .ct-issue-card p {
        font-size: 18px;
        line-height: 1.4;
    }
}

@media (max-width: 375px) {

    .ct-response-time strong {
        font-size: 28px;
    }

    .ct-page h2 {
        font-size: 22px;
    }

    .ct-privacy-content p {
        font-size: 18px;
    }

    .ct-privacy-btn {
        font-size: 22px;
    }
}

/* Contact Page - Flex Text Sizing */
.ct-issue-card p {
    flex: 1 1 0;
}

/* Contact Page - Mobile Line Breaks */
@media (max-width: 768px) {
    .ct-intro p br {
        display: block;
    }
}

/* Contact Page - Intro Breakpoints */
.ct-mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .ct-mobile-break {
        display: inline;
    }

    .ct-desktop-break {
        display: none !important;
    }
}

/* Contact Page - Mobile Inner Gutter */
@media (max-width: 575px) {
    .mybox-body.ct-page {
        padding: 24px 28px 30px;
    }

    .ct-page h2 {
        font-size: 28px;
    }
}

/* Contact Page - Mobile Heading Breaks */
@media (max-width: 768px) {
    .ct-desktop-break {
        display: block !important;
    }
}