/*
 * YG-FATE V24.0 Frontend Styles
 * Modern Theme: Dark Red/Orange, Bright Yellow, Warm Orange
 * Based on original style.css
 * Image names remain unchanged, requires original image files to be recolored.
 */

/* --- Font Face for Boon-0.6 (แก้ไขพาธไฟล์ฟอนต์) --- */
@font-face {
    font-family: 'Boon-0.6'; /* ใช้ชื่อ font-family ที่คุณต้องการ */
    src: url('fonts/woff/boon-300.woff') format('woff'); /* ระบุพาธและ format ที่ถูกต้อง */
    /* หากมีไฟล์ .ttf หรือ .woff2 ด้วย สามารถเพิ่มเข้าไปได้ */
    /* src: url('fonts/woff/boon-300.woff2') format('woff2'), */
    /* url('fonts/woff/boon-300.woff') format('woff'), */
    /* url('fonts/woff/boon-300.ttf') format('truetype'); */
    font-weight: normal; /* หรือระบุ font-weight ที่ถูกต้องของไฟล์นี้ เช่น 300, 400, 700 */
    font-style: normal;
}


/* --- Import Google Fonts (สำหรับฟอนต์อื่นๆ ที่คุณอาจใช้ร่วมกัน) --- */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;500;600;700&family=Poppins:wght@200;300;400;500;600;700&display=swap');


/* --- Global Styles & Base Theme --- */
body {
    font-family: 'Boon-0.6', 'Kanit', sans-serif; /* ใช้ Boon-0.6 เป็นฟอนต์หลัก */
    min-width: 1200px; /* ควรพิจารณาปรับให้ Responsive หากจำเป็น */
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: hidden;
    background-color: #1A1A1A; /* พื้นหลังสีเข้มหลัก */
    color: #E0E0E0; /* สีข้อความเริ่มต้น */
    background-image: url('../../img/livestream-bg.jpg'); /* ภาพพื้นหลังของคุณ */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    font-size: 16px; /* ขนาดฟอนต์พื้นฐานที่เหมาะสม */
}

ul {
    list-style-type: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* --- Particles JS --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 650px;
    top: 65px;
    background-repeat: repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 1;
    pointer-events: none;
}

/* --- Header Menu (Top Bar) --- */
.header_menu .menu_topbar_bg {
    width: 100%;
    height: 76px;
    margin: 0 auto;
    padding: 0 auto;
    background-color: #0D0D0D; /* Very dark top bar */
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    border: 1px solid rgba(0, 0, 0, .4); /* Adjust border if needed */
    position: fixed;
    z-index: 50;
}

.sub-menu-parent {
    height: 76px;
    position: relative;
}

.header_menu .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    z-index: 5;
    margin-left: -1px;
    left: 0;
    width: 105.8%; /* May need adjustment based on parent width */
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
    font-size: 12px;
    background-color: #0D0D0D; /* Very dark for sub-menu */
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    border: 1px solid #000;
    border-top: none;
    padding: 0 auto;
    list-style: none; /* Ensure no bullets */
}

.header_menu .sub-menu-parent:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}

.header_menu .sub-menu a {
    padding: 10px 5px;
    border-bottom: solid 1px rgba(255, 255, 255, .05); /* Lighter border for dark theme */
    color: #E0E0E0; /* Light text for sub-menu items */
    display: block; /* Make links block-level for full click area */
}

.header_menu .sub-menu > li:last-child a {
    border-bottom: none;
}

.header_menu ul {
    width: 1170px;
    margin: 0 auto;
    list-style: none;
    padding-left: 65px;
}

.header_menu nav a {
    color: #F3C756; /* Bright Yellow/Gold from your palette */
    font-family: 'Boon-0.6', 'Open Sans', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    display: block;
    padding: 20px 22px;
    text-decoration: none;
}

.header_menu nav a:hover {
    color: #AD7653; /* Warm Orange on hover */
}

.header_menu nav ul,
.header_menu nav ul li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.header_menu nav span {
    font-weight: 400;
    display: block;
    font-size: 70%;
}

.header_menu nav > ul {
    text-align: center;
}

.header_menu nav > ul > li {
    display: inline-block;
    border-left: solid 1px rgba(255, 255, 255, .1); /* Lighter border for dark theme */
}

.header_menu nav > ul > li:first-child {
    border-left: none;
}

/* --- Header Top Section --- */
.header-top::after {
    display: block;
    content: "";
    position: relative;
    top: 0;
    background: url('../../img/header-curve.png') repeat-x left top; /* Use original image name, assume it's recolored */
    width: 100%;
    height: 138px;
    background-position: 50% 50%;
    z-index: 5;
}

.header-top {
    width: 100%;
    padding-top: 5em;
    background-image: url('../../img/header-bg.jpg'); /* Use original image name, assume it's recolored */
    background-size: cover;
    background-position: center center;
    color: #E0E0E0;
    position: relative;
}

.header-top .col-left {
    float: left;
    position: relative;
    z-index: 3;
}

.header-top .col-left img {
    position: relative;
    left: 0;
    top: 8.5em;
    width: 100%;
    height: 550px;
    z-index: 0;
}

.header-top .col-right {
    padding-top: 10em;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    width: 40%;
    float: left;
    font-size: 14px;
    text-align: left;
}

.header-top .col-right h1 { /* Targeting the h1 inside col-right specifically */
    color: #F3C756; /* Bright Yellow/Gold for main title */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8); /* Stronger shadow */
}

.header-top .col-right h1 span {
    color: #AD7653; /* Warm Orange for subtitle */
}

/* Added for the slogan text underneath the main title */
.header-top .col-right p.slogan-text {
    font-size: 18px;
    font-weight: 300;
    word-wrap: break-word;
    color: #CCCCCC; /* Adjusted for better readability */
    margin-top: 10px; /* Space between title and slogan */
    margin-bottom: 20px; /* Space before buttons */
}


/* Social Buttons Group */
.header-top .btnsocialgroup {
    width: 100%;
    height: 60px;
    position: relative;
    top: 15px; /* Adjusted from original to accommodate new button group */
    background-color: #AD7653; /* Warm Orange button */
    border: 5px solid #F3C756; /* Bright Yellow/Gold border */
    margin: 0 auto;
    border-radius: 32px;
    text-align: left;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    z-index: 2;
    display: flex; /* Use flexbox for button alignment */
    align-items: center;
    justify-content: center; /* Center content within button */
}

.btnsocialgroup:focus,
.btnsocialgroup.focus {
    color: #FFF;
    background-color: #BB9142; /* Brownish Gold on focus */
}

.btnsocialgroup:hover {
    color: #FFF;
    background-color: #BB9142; /* Brownish Gold on hover */
}

.btnsocialgroup a {
    color: #FFF; /* Ensure text is white */
}

.btnsocialgroup a:hover {
    color: #FFF;
}

/* Like & Share Button */
.header-top .btnlikeshare {
    width: 100%;
    height: 60px;
    position: relative;
    top: 15px; /* Adjusted from original to accommodate new button group */
    background-color: #F3C756; /* Bright Yellow/Gold button */
    border: 5px solid #AD7653; /* Warm Orange border */
    margin: 0 auto;
    border-radius: 32px;
    text-align: left;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    z-index: 2;
    color: #2A0C03; /* Dark text for bright yellow button */
    display: flex; /* Use flexbox for button alignment */
    align-items: center;
    justify-content: center; /* Center content within button */
}

.btnlikeshare:focus,
.btnlikeshare.focus {
    color: #2A0C03;
    background-color: #BB9142; /* Darker Bright Yellow/Gold */
}

.btnlikeshare:hover {
    color: #2A0C03;
    background-color: #BB9142; /* Darker Bright Yellow/Gold */
}

.btnlikeshare a {
    color: #2A0C03; /* Ensure text is dark */
}

.btnlikeshare a:hover {
    color: #2A0C03;
}

/* New button group container style */
.button-group-header {
    margin-top: 20px; /* Space between slogan and buttons */
    margin-bottom: 20px; /* Space between buttons and social buttons */
}

.header-top .text-btn {
    padding: 5px 10px 10px 20px;
    display: flex; /* Use flexbox for text and icon */
    align-items: center;
    justify-content: center;
}

.header-top .text-btn .icon-btn{
    padding:5px 10px 10px 5px;
}

.header-top .text-btn .body-btn{
    margin-left:5px;
    font-weight:500;
}

/* --- Features Section --- */
.features {
    padding: 0;
    margin-top: -110px;
    position: relative;
    z-index: 5;
}

.features .feature {
    padding: 10px;
    height: 170px;
    background: rgba(42, 12, 3, 0.7); /* Use #2A0C03 with 70% opacity for features boxes */
    border-radius: 12px;
    text-align: center;
    -webkit-box-shadow: 2.5px 4.33px 54px 0 rgba(0, 0, 0, 0.4); /* Stronger shadow */
    box-shadow: 2.5px 4.33px 54px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(187, 145, 66, 0.7); /* Subtle border with opacity using #BB9142 */
    display: flex; /* Use flexbox for internal alignment */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.online {
    color: #F3C756; /* Bright Yellow/Gold for online status */
}

.offline {
    color: #AD7653; /* Warm Orange for offline status */
}

.features .feature .status {
    font-size: 18px;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    color: #CCCCCC; /* Light gray text */
}

.features .feature .onlineCount {
    font-size: 48px;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    font-weight: 600;
    color: #F3C756; /* Bright Yellow/Gold for online count number */
    line-height: 1;
    padding-top: 42px;
}

.features .feature .onlineCount > small {
    font-size: 14px;
    color: #AD7653; /* Warm Orange for "players online" text */
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    display: block;
    font-weight: 500;
}

.features .feature > .feature-icon {
    font-size: 36px;
    color: #AD7653; /* Warm Orange for feature icons */
    padding: 28px 0 15px 10px;
    line-height: 1;
}

.features .feature > .feature-text {
    font-size: 16px;
    color: #CCCCCC; /* Light gray text */
    line-height: 1.2;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    font-weight: 300;
}

/* --- Slider Section --- */
.slider {
    width: 100%;
    background: #1A1A1A; /* Dark background for slider section */
    color: #E0E0E0;
    margin-bottom: 6em;
    font-family: 'Boon-0.6', 'Open Sans', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    position: relative;
    z-index: 1;
}

.slider .col-slider-left {
    position: relative;
    top: 45px;
    width: 60%;
    padding: 0 10px 10px;
    float: left;
}

.slider .col-slider-left .slider-bg {
    position: relative;
    width: 100%;
    padding: 10px;
    background: #2B2B2B; /* Dark background for slider content */
    border-radius: 8px;
    min-height: 425px;
    float: left;
    border: 1px solid #BB9142; /* Subtle border using brownish gold */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.slider .col-slider-right {
    position: relative;
    top: 45px;
    width: 40%;
    padding: 0 10px 10px;
    float: left;
}

/* Intro Buttons (Register, Manage, Donate, Download) */
.btn-intro {
    color: #FFF;
    background-color: #AD7653; /* Warm Orange intro buttons */
    border-color: #2A0C03; /* Dark Red border */
    font-size: 24px;
    position: relative;
    font-weight: 700;
    text-align: left;
    -webkit-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    display: flex; /* Use flexbox for internal alignment */
    align-items: center;
    justify-content: space-between; /* Space out icon and text */
    padding-right: 40px; /* Make space for icon */
}

.btn-intro:focus,
.btn-intro.focus {
    color: #FFF;
    background-color: #BB9142; /* Brownish Gold on focus */
    border-color: #AD7653;
}

.btn-intro:hover {
    color: #FFF;
    background-color: #BB9142; /* Brownish Gold on hover */
    border-color: #AD7653;
}

.btn-intro:active,
.btn-intro.active,
.open > .btn-intro.dropdown-toggle {
    color: #FFF;
    background-color: #F3C756; /* Bright Yellow/Gold active */
    border-color: #BB9142;
}

.btn-intro:active:hover,
.btn-intro:active:focus,
.btn-intro.active:hover,
.btn-intro.active:focus,
.btn-intro.active.focus,
.open > .btn-intro.dropdown-toggle:hover,
.open > .btn-intro.dropdown-toggle.focus {
    color: #FFF;
    background-color: #F3C756;
    border-color: #BB9142;
}

.btn-intro:active,
.btn-intro.active,
.open > .btn-intro.dropdown-toggle {
    background-image: none;
}

.btn-intro .badge {
    color: #AD7653; /* Warm Orange badge text */
    background-color: #FFF;
}

.btn-intro > small {
    text-transform: none;
    font-size: 14px;
    display: block;
    font-weight: 400;
}

.btn-intro > .icon {
    position: absolute; /* Keep absolute for precise positioning */
    right: 15px;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for perfect centering */
    opacity: .8; /* Slightly more opaque */
    color: #F3C756; /* Bright Yellow/Gold icon */
    font-size: 36px;
}

.btn-intro.btn-rounded {
    border-radius: 10px;
    padding: 24px 15px; /* Keep padding for overall size */
}

.char-right {
    top: 0;
    right: 0;
}

.objectintro-topcontent.register-intro {
    position: absolute;
    top: -13px;
}

.objectintro-topcontent.manage-intro {
    position: absolute;
    top: -121px;
}

.objectintro-topcontent.donate-intro {
    position: absolute;
    top: -231px;
}

.objectintro-topcontent.download-intro {
    position: absolute;
    top: -340px;
}

/* --- News/Activities Section --- */
.thumb-boxnews {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.boxnews .thumb-boxnews img {
    -webkit-transition-property: -ms-transform, transform, -webkit-transform;
    -webkit-transition-duration: .5s;
    -webkit-transition-timing-function: ease;
    transition-property: -ms-transform, transform, -webkit-transform;
    transition-duration: .5s;
    transition-timing-function: ease;
}

.boxnews:hover .thumb-boxnews img {
    -ms-transform: rotate(10deg) scale(1.5, 1.5);
    -webkit-transform: rotate(10deg) scale(1.5, 1.5);
    transform: rotate(10deg) scale(1.5, 1.5);
}

.activitie_tab {
    background-image: url('../../img/livestream-bg.jpg'); /* Added background image */
    background-size: cover;
    background-position: center center;
    background-color: #1A1A1A; /* Fallback dark background */
    padding: 2em 0 0;
    padding-bottom: 4em;
    margin-top: -6em; /* Keep this for now, may need fine-tuning */
    position: relative; /* Ensure z-index works if needed */
    z-index: 4; /* Ensure it's above elements that might overlap incorrectly */
}

.activitie_tab .activitie_text {
    line-height: 23px;
    padding-bottom: 3.3em;
    text-align: center;
}

.activitie_tab .activitie_text h2 {
    display: block; /* Ensure it behaves as a block element */
    width: 100%; /* Take full width */
    color: #F3C756; /* Bright Yellow/Gold */
    margin-bottom: 0.5em; /* Add some space below the title if needed */
    font-size: 2.2em; /* Adjusted for impact */
    font-weight: 700;
}

.activitie_tab .activitie_text h2 span { /* Target all spans in h2 */
    display: block; /* Force the span content onto its own line */
    width: 100%; /* Ensure it takes full available width */
    color: #AD7653; /* Warm Orange for the "blue" part (now orange) */
    white-space: normal; /* Allow text to wrap normally */
    line-height: 1.2; /* Adjust line height if necessary for multi-line title */
    font-size: 0.8em; /* Smaller than main title */
    font-weight: 500;
}


.activitie_tab .activitie_text p {
    margin-bottom: 0px;
    font-size: 14px;
    color: #CCCCCC; /* Light gray text */
    letter-spacing: 2px;
}

.activitie_tab .nav > li {
    display: block;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    float: none;
    margin-bottom: 10px;
    border-radius: 0px;
}

.activitie_tab .nav > li:last-child a {
    width: 120px;
    float: right;
    padding-top: 25px;
    text-align: center;
    padding-left: 0;
}

.activitie_tab .nav > li:last-child:after:before,
.activitie_tab .nav > li:last-child:after:after {
    content: " ";
    display: table;
}

.activitie_tab .nav > li > a {
    height: 72px;
    text-transform: none;
    font-weight: 700;
    background: #333333; /* Dark gray for inactive tabs */
    color: #E0E0E0; /* Light text */
    padding: 18px 0 18px 75px;
    position: relative;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1;
    margin: 0;
    border: 0;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.activitie_tab .nav > li > a:before {
    position: absolute;
    right: -8px;
    top: 27px;
    width: 16px;
    height: 16px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #AD7653; /* Warm Orange for active tab indicator */
    content: '';
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    opacity: 0;
}

.activitie_tab .nav > li > a img {
    position: absolute;
    top: 6px;
    left: 7px;
    border-radius: 6px;
}

.activitie_tab .nav > li > a > small {
    display: block;
    margin-top: 3px;
    font-weight: 400;
    font-size: 14px;
}

.activitie_tab .nav > li.active a {
    width: 100%;
    background: #AD7653; /* Warm Orange for active tab */
    position: relative;
    color: #FFFFFF;
}

.activitie_tab .nav > li.active a:before {
    opacity: 1;
}

.activitie_tab .news-item {
    background: #2B2B2B; /* Dark background for news items */
    height: 317px;
    -webkit-box-shadow: 2.5px 4.33px 54px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 2.5px 4.33px 54px 0 rgba(0, 0, 0, 0.4);
    margin: 0 0 15px;
    border: 1px solid #444444; /* Subtle border */
    border-radius: 8px; /* Added border-radius for consistency */
}

.activitie_tab .news-item .news-info {
    font-size: 18px;
    font-weight: 700;
}

.news-info a {
    color: #F3C756; /* Bright Yellow/Gold for news title links */
    font-size: 18px;
    font-weight: 700;
}

.activitie_tab .news-item .news-info span {
    font-size: 16px;
    color: #CCCCCC; /* Light gray for news sub-info */
    font-weight: 400;
}

.activitie_tab .news-item .news-info p {
    font-size: 14px;
    font-weight: 400;
    padding-top: 3px;
}

.activitie_tab .news-item .latest-description p {
    font-size: 14px;
}

.news-item {
    width: 100%;
    position: relative;
    margin: 0 10px 15px 10px; /* Adjust margin if needed with new layout */
    border-radius: 8px 8px 0 0;
}

.news-item .news-image {
    position: relative;
    border-radius: 8px 8px 0 0;
}

.news-item .news-image img {
    border-radius: 8px 8px 0 0;
}

.news-item .latest-description {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    width: 100%;
}

.news-item .latest-description p {
    font-weight: 400;
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.4;
    color: #AAAAAA; /* Lighter gray for description */
}

/* News Labels */
.label-latest {
    float: right;
    color: #fff;
    text-align: center;
    padding: 1px 4px 2px 4px;
    border-radius: 100px;
    position: relative;
    left: 0;
    font-family: 'Boon-0.6', "Helvetica Neue", Helvetica, Arial, sans-serif; /* ใช้ Boon-0.6 */
    font-size: 10px;
}

.label-boxnews-Promotion {
    background-color: #AD7653; /* Warm Orange */
}

.label-boxnews-Update {
    background-color: #F3C756; /* Bright Yellow/Gold */
    color: #1A1A1A; /* Dark text for bright yellow background */
}

.label-boxnews-Activities {
    background-color: #AD7653; /* Warm Orange */
}

.label-boxnews-Faq {
    background-color: #AD7653; /* Warm Orange */
}

.label-boxnews-Gameguide {
    background-color: #F3C756; /* Bright Yellow/Gold */
    color: #1A1A1A; /* Dark text for bright yellow background */
}

.label-boxnews-fixgame {
    background-color: #AD7653; /* Warm Orange */
}

.cut-text-multi {
    height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.textwraper {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-date-box {
    margin-top: 3px;
}

.text-date-box small {
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    font-weight: 200;
    font-size: 10px;
    color: #888888; /* Darker gray for date */
}

/* Facebook Fanpage Section */
.facebookfanpage {
    background-color: #2B2B2B; /* Dark background */
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #444444; /* Subtle border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* --- Stats Total Section --- */
.stattotal {
    padding: 0 auto;
    background: #1A1A1A; /* Main dark background */
}

.stattotal .stats {
    background: #2B2B2B; /* Dark background for stats boxes */
    font-size: 48px;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    border-radius: 12px 12px 0 0;
    font-weight: 300;
    color: #F3C756; /* Bright Yellow/Gold for stat numbers */
    text-align: center;
    position: relative;
    padding: 65px 0 40px 0;
    line-height: 1;
    -webkit-box-shadow: 2.5px 4.33px 54px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 2.5px 4.33px 54px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid #444444; /* Subtle border */
}

.stattotal .stats .text {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    color: #CCCCCC; /* Light gray for stat labels */
    line-height: 1;
    padding-left: 15px;
}

.stattotal .stats .text::before {
    background: #AD7653; /* Warm Orange dot for status */
    width: 10px;
    height: 10px;
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    border-radius: 50%;
}

.right {
    float: right;
}

.left {
    float: left;
}

/* --- Middle Body Section (Livestream etc.) --- */
.body_middle {
    min-height: 585px;
    padding-top: 10px;
    width: 100%;
    margin: 0 auto;
    background-image: url('../../img/livestream-bg.jpg'); /* Use original image name, assume it's recolored */
    background-size: cover;
    background-position: center center; /* Ensure image covers well */
    position: relative;
    z-index: 1;
}

.body_middle .col-live-right {
    position: relative;
    top: 45px;
    width: 50%;
    padding: 0 10px 10px;
    float: left;
}

.body_middle .col-live-right .live-bg {
    position: relative;
    width: 100%;
    padding: 10px 10px 5px;
    background: rgba(0, 0, 0, .6); /* Darker transparent background */
    border-radius: 8px;
    float: left;
    border: 1px solid #444444; /* Subtle border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.body_middle .col-live-left {
    position: relative;
    top: 45px;
    width: 50%;
    padding: 0 10px 10px;
    float: left;
}

/* Live Intro Buttons (Guild War, Replay) */
.btn-live-intro {
    color: #FFF;
    background-color: #AD7653; /* Warm Orange live intro buttons */
    border-color: #8B0000;
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
    font-weight: 700;
    text-align: right;
    -webkit-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    display: flex; /* Use flexbox for internal alignment */
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    padding-left: 40px; /* Make space for text */
}

.btn-live-intro:focus,
.btn-live-intro.focus {
    color: #FFF;
    background-color: #8B0000;
    border-color: #660000;
}

.btn-live-intro:hover {
    color: #FFF;
    background-color: #8B0000;
    border-color: #660000;
}

.btn-live-intro:active,
.btn-live-intro.active,
.open > .btn-live-intro.dropdown-toggle {
    color: #FFF;
    background-color: #660000; /* Darker Red */
    border-color: #330000;
}

.btn-live-intro:active:hover,
.btn-live-intro:active:focus,
.btn-live-intro.active:hover,
.btn-intro.active:focus,
.btn-live-intro.active.focus,
.open > .btn-live-intro.dropdown-toggle:hover,
.open > .btnlive--intro.dropdown-toggle:focus,
.open > .btn-live-intro.dropdown-toggle.focus {
    color: #FFF;
    background-color: #660000;
    border-color: #330000;
}

.btn-live-intro:active,
.btn-live-intro.active,
.open > .btn-live-intro.dropdown-toggle {
    background-image: none;
}

.btn-live-intro .badge {
    color: #AD7653;
    background-color: #FFF;
}

.btn-live-intro > small {
    text-transform: none;
    font-size: 14px;
    display: block;
    font-weight: 400;
}

.btn-live-intro.btn-rounded {
    border-radius: 10px;
    padding: 24px 15px;
}

.header-text {
    color: #F3C756; /* Bright Yellow/Gold for header text */
    font-size: 34px;
    font-weight: 500;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1); /* Stronger shadow for dark text */
}

.mini-figure {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.char-left {
    top: 35px;
    left: -10px;
    position: relative;
    z-index: 1;
}

.char-right {
    top: 50px;
    right: 0;
}

/* Page Content (General) */
.viewpage {
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #2B2B2B; /* Dark background */
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #444444; /* Subtle border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.text-right {
    float: right;
    vertical-align: center;
    text-align: right;
}

/* General Text Colors */
.normal {
    font-weight: normal;
}

.gray {
    color: #AAAAAA; /* Lighter gray */
}

.black {
    color: #000; /* Still pure black - อาจจะต้องปรับเปลี่ยนหากข้อความสีดำบนพื้นหลังเข้มมองไม่เห็น */
}

.blue {
    color: #F3C756; /* เปลี่ยนสี blue เป็น Bright Yellow/Gold ตามธีม */
}

.light-blue {
    color: #AD7653; /* เปลี่ยนสี light-blue เป็น Warm Orange ตามธีม */
}

.red {
    color: #AD7653; /* ใช้ Warm Orange */
}

.green {
    color: #F3C756; /* เปลี่ยนสี green เป็น Bright Yellow/Gold ตามธีม */
}

.white {
    color: #fff; /* ยังคงเป็นสีขาว */
}

.yellow {
    color: #F3C756; /* ใช้ Bright Yellow/Gold */
}

.yellow_light {
    color: #F3C756; /* ใช้ Bright Yellow/Gold */
}

/* Marquee Text */
.marquee_text {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-top: 26px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #0D0D0D; /* Very dark */
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .7), inset 0 1px 1px rgba(255, 255, 255, .1);
    border: 1px solid #000;
    color: #F3C756; /* Bright Yellow/Gold text */
    text-decoration: none;
}

/* Fanpage Section */
.fanpage {
    margin-top: 15px;
    width: 100%;
    background-color: #2B2B2B; /* Dark background */
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .1);
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .1);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .1);
    border: 1px solid #444444; /* Subtle border */
    padding: 10px;
}

/* Box Page (General Content Box) */
.box-page {
    margin-top: 30px;
    padding: 20px;
    width: 1170px;
    min-height: 500px;
    background-color: #0D0D0D; /* Very dark background */
    border: 1px solid #444444; /* Subtle border */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* View Container (General Content View) */
.view_container {
    padding-bottom: 30px;
    background-color: #1A1A1A; /* Dark background */
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .1);
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .1);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .4), inset 0 1px 1px rgba(255, 255, 255, .1);
    border: 1px solid #444444; /* Subtle border */
    border-radius: 8px; /* Added border-radius for consistency */
}

.view_container h2 {
    color: #F3C756; /* Bright Yellow/Gold for headings in view container */
}

.gray_light {
    color: #AAAAAA; /* Light gray */
}

.text_center {
    text-align: center;
    padding-bottom: 20px;
}

/* Android Middle (App/Download Section) */
.android_middle {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 5px;
    background-color: #2B2B2B; /* Dark background */
    color: #FFF;
    word-wrap: break-word;
    position: relative;
    z-index: 5;
}

.android-right {
    width: 100%;
    padding-left: 80px;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
}

.android-right ul {
    padding-left: 20px;
    line-height: 26px;
}

.android-right li a {
    transition: 0.4s;
    text-decoration: none;
    padding: 0px 10px 0px 10px;
    color: #CCCCCC; /* Light gray links */
}

.android-right li :hover {
    color: #F3C756; /* Bright Yellow/Gold on hover */
}

/* --- Footer --- */
.footer {
    color: #E0E0E0; /* Light text color */
    min-height: 92px;
    line-height: 20px;
    text-align: left;
    margin: 0 auto;
    padding-top: 17px;
    padding-left: 20px;
    background-color: #0D0D0D; /* Very dark footer */
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    position: relative;
    z-index: 3;
    font-size: 12px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.7); /* Shadow on top of footer */
}

/* Animation Figures (if still used/relevant) */
.head {
    background: #AD7653; /* Warm Orange head */
    position: relative;
    height: 80px;
    margin: 0 auto;
    width: 160px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}

.head div:first-child,
.head div:nth-child(2) {
    position: absolute;
    height: 7px;
    width: 30px;
    border-radius: 20px;
    background: #F3C756; /* Bright Yellow/Gold ears/antennae */
}

.head div:first-child {
    left: 15px;
    transform: rotate(50deg);
}

.head div:nth-child(2) {
    transform: rotate(-50deg);
    left: 116px;
}

.head div:nth-child(3) {
    position: relative;
}

.head div:nth-child(3) div {
    position: absolute;
    height: 15px;
    width: 15px;
    background: #FFFFFF; /* White eyes */
    border-radius: 50%;
    top: 35px;
}

.head div:nth-child(3) div:first-child {
    left: 40px;
}

.head div:nth-child(3) div:nth-child(2) {
    left: 107px;
}

.body {
    position: relative;
    width: 160px;
    height: 130px;
    margin: 0 auto;
    background: #2A0C03; /* Dark Red background for body */
    margin-top: 5px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.body div {
    position: absolute;
    width: 35px;
    height: 110px;
    border-radius: 30px;
    background: #AD7653; /* Warm Orange limbs */
}

.body div:first-child {
    left: -40px;
    transform-origin: top;
    animation: arm-l 0.9s infinite;
    animation-delay: 0.45s;
}

.body div:nth-child(2) {
    left: 165px;
    transform-origin: top;
    animation: arm-r 0.9s infinite;
}

.body div:nth-child(3),
.body div:nth-child(4) {
    top: 75px;
}

.body div:nth-child(3) {
    animation: legup-l 0.9s infinite;
    animation-delay: 0.45s;
    left: 32px;
}

.body div:nth-child(4) {
    animation: legup-r 0.9s infinite;
    left: 96px;
}

.shadow {
    margin-top: -72px;
    z-index: -2;
    height: 30px;
    width: 160px;
    background: #333333; /* Darker shadow for dark theme */
    border-radius: 50%;
    animation: shadow 0.45s infinite;
    display: flex;
    justify-content: space-between;
}

.shadow div {
    height: 15px;
    width: 40px;
    background: #444444; /* Darker shadow parts */
    border-radius: 50%;
}

.shadow div:first-child {
    margin: 8px -25px;
}

.shadow div:last-child {
    margin: 8px -25px;
}

.footsteps {
    display: flex;
}

.footsteps div {
    height: 15px;
    width: 30px;
    background: #2B2B2B; /* Darker footsteps */
    border-radius: 50%;
    margin: 51px 20px;
    z-index: -1;
}

.footsteps div:first-child {
    animation: footsteps-l 0.9s infinite;
    animation-delay: 0.45s;
}

.footsteps div:last-child {
    animation: footsteps-r 0.9s infinite;
}

/* Keyframes remain unchanged as they define animation movement */
@keyframes shadow {
    50% {
        transform: scale(0.96);
    }
}
@keyframes footsteps-l {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(6px, -5px);
    }
}
@keyframes footsteps-r {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-6px, -5px);
    }
}
@keyframes bobble {
    0% {
        transform: translateY(-2px);
    }
    70% {
        transform: translateY(2px);
    }
    100% {
        transform: translateY(-2px);
    }
}
@keyframes legup-l {
    0% {
        transform: translate(4px, -5px);
    }
    30% {
        transform: translate(-4px, 7px);
    }
    100% {
        transform: translate(4px, -5px);
    }
}
@keyframes legup-r {
    0% {
        transform: translate(-4px, -5px);
    }
    30% {
        transform: translate(4px, 7px);
    }
    100% {
        transform: translate(-4px, -5px);
    }
}
@keyframes arm-l {
    0% {
        transform: rotate(7deg);
    }
    60% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(7deg);
    }
}
@keyframes arm-r {
    0% {
        transform: rotate(-7deg);
    }
    60% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(-7deg);
    }
}

/* Carousel Controls (Superslides) */
.carousel-control {
    width: 0px;
    opacity: 1;
}

.carousel-control.left {
    left: 93%;
    top: -60px;
}

.carousel-control.right {
    right: 3%;
    top: -60px;
}

.numcount {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 45px;
    text-align: center;
    font-size: inherit;
    line-height: 45px;
}

.text-letter {
    letter-spacing: 2px;
}

/* --- Header Content Section --- */
.header_content::after {
    display: block;
    content: "";
    position: relative;
    top: 230px;
    background: url('../../img/header-curve.png') repeat-x left top; /* Use original image name, assume it's recolored */
    width: 100%;
    height: 138px;
    background-position: 50% 50%;
    z-index: 1;
}

.header_content {
    min-height: 300px;
    background-image: url('../../img/header-bg.jpg'); /* Use original image name, assume it's recolored */
    background-size: cover;
    background-position: center center;
    position: relative;
}

.content_text {
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    position: absolute;
    width: 100%;
    margin: 0 auto;
    color: #F3C756; /* Bright Yellow/Gold for content text */
    top: 5em;
    text-align: center;
}

.content_text h1 {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Main Content Container (สำหรับเนื้อหา download ที่คุณให้มา) */
.download-page-content {
    max-width: 1170px; /* ปรับให้เข้ากับความกว้างรวมของไซต์คุณ */
    margin: 30px auto; /* จัดกึ่งกลางและมีระยะห่างด้านบน/ล่าง */
    padding: 20px;
    background-color: #280d06; /* พื้นหลังสีเข้มตามธีม */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #444444;
    color: #E0E0E0; /* สีข้อความเริ่มต้นสำหรับเนื้อหาภายใน */
}

/* Original global overrides - ensure these are applied as needed */
.body_middle,
.btnsocialgroup,
.btnguildwarinfo,
div a {
    color: #fff;
}

/* Guild War Info Button */
.body_middle .btnguildwarinfo {
    width: 100%;
    height: 70px;
    position: relative;
    top: 30px;
    background-color: #AD7653; /* Warm Orange button */
    border: 5px solid #F3C756; /* Bright Yellow/Gold border */
    margin: 0 auto;
    border-radius: 100px;
    text-align: left;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    z-index: 2;
    display: flex; /* Use flexbox */
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    padding-right: 20px;
}

.btnguildwarinfo:focus,
.btnguildwarinfo .focus {
    color: #FFF;
    background-color: #8B0000;
}

.btnguildwarinfo:hover {
    color: #FFF;
    background-color: #8B0000;
}

.btnguildwarinfo a:hover {
    font-weight: inherit;
    font-size: inherit; /* Corrected from infinite */
    color: #FFF;
}

/* Replay Button */
.body_middle .btn_replay {
    width: 100%;
    height: 70px;
    position: relative;
    top: 30px;
    background-color: #F3C756; /* Bright Yellow/Gold button */
    border: 5px solid #AD7653; /* Warm Orange border */
    margin: 0 auto;
    border-radius: 100px;
    text-align: left;
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    z-index: 2;
    color: #1A1A1A; /* Dark text for bright yellow button */
    display: flex; /* Use flexbox */
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    padding-right: 20px;
}

.btn_replay:focus,
.btn_replay .focus {
    color: #1A1A1A;
    background-color: #BB9142;
}

.btn_replay:hover {
    color: #1A1A1A;
    background-color: #BB9142;
}

.btn_replay a:hover {
    font-weight: inherit;
    font-size: inherit; /* Corrected from infinite */
    color: #1A1A1A;
}

/* This class already exists, ensure it works with flexbox */
.body_middle .text-btn {
    padding: 5px 10px 10px 20px;
    display: flex; /* Ensure flexbox for text and icon */
    align-items: center;
}

.body_middle .text-btn .icon-btn {
    padding: 14px 15px 10px 15px;
}

.body_middle .text-btn .body-btn {
    margin-top: 9px;
    font-weight: inherit;
    font-size: inherit; /* Corrected from infinite */
}

.shareleft {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 99;
}

#myBtn {
    display: none;
    font-size: 12px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #AD7653; /* Warm Orange scroll to top button */
    color: white;
    cursor: pointer;
    padding: 10px;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

#myBtn:hover {
    background-color: #8B0000; /* Darker Red on hover */
}

/* --- Specific Styles for the provided download HTML structure --- */

/* Info Section (Alerts) */
.info-section {
    margin-bottom: 25px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.alert p {
    margin: 5px 0;
    padding-left: 10px;
    font-family: 'Boon-0.6', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
}

.custom-alert-info {
    background-color: #2A0C03; /* Dark Red from palette */
    border: 1px solid #AD7653; /* Warm Orange border */
    color: #E0E0E0; /* Light text color */
}

.custom-alert-danger {
    background-color: #2A0C03; /* Dark Red from palette */
    border: 1px solid #E74C3C; /* Brighter red for danger */
    color: #E0E0E0; /* Light text color */
    margin-top: 25px;
}

/* Download Card (FULL SETUP LINK) */
.download-options-container.download-single-card {
    display: flex;
    justify-content: center; /* จัดการ์ดเดี่ยวให้อยู่ตรงกลาง */
    margin-bottom: 40px; /* เพิ่มระยะห่างด้านล่างของการ์ด */
    margin-top: 20px;
}

.download-card {
    background-color: #2B2B2B; /* พื้นหลังการ์ดสีเข้ม */
    border: 1px solid #444444; /* ขอบละเอียด */
    border-radius: 12px; /* ขอบโค้งมนมากขึ้น */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); /* เงาที่ลึกขึ้น */
    flex: 0 1 700px; /* กำหนดความกว้างสูงสุดของการ์ดให้กว้างขึ้น */
    max-width: 95%; /* ยืดหยุ่นบนจอเล็ก */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #E0E0E0;
}

.download-card:hover {
    transform: translateY(-8px); /* เด้งขึ้นมากขึ้นเมื่อ Hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* เงาเข้มขึ้นเมื่อ Hover */
}

.card-header {
    padding: 20px 25px; /* เพิ่ม Padding Header */
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h4 {
    margin: 0;
    font-size: 1.8em; /* ขนาด Font Header ที่ใหญ่ขึ้น */
    font-weight: 700; /* ตัวหนาขึ้น */
    text-transform: uppercase;
    letter-spacing: 2px; /* ระยะห่างตัวอักษร */
    font-family: 'Boon-0.6', 'Poppins', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* เงาข้อความ */
}

.full-setup-header {
    background: linear-gradient(135deg, #F3C756, #AD7653); /* สี Bright Yellow/Gold ไป Warm Orange */
}

.card-body {
    padding: 30px; /* เพิ่ม Padding Body */
    text-align: center;
}

/* Button Group for Download Links */
.btn-group-responsive {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* เพิ่มระยะห่างระหว่างปุ่ม */
    margin-bottom: 25px;
    justify-content: center;
}

.btn.custom-btn-success { /* Target the specific button class */
    flex: 1 1 200px; /* ปุ่มยืดหยุ่นและกว้างขึ้น */
    min-width: 180px;
    padding: 15px 25px; /* เพิ่มขนาดปุ่ม */
    background-color: #FF9900; /* ใช้สีส้มที่คุณให้มา (#FF9900) */
    color: #FFF; /* สีข้อความขาว */
    text-decoration: none;
    border-radius: 8px; /* ขอบโค้งมนมากขึ้น */
    border: none;
    font-size: 24px; /* ใช้ขนาด Font 24px ที่คุณให้มา */
    font-weight: 600; /* ตัวหนาปุ่ม */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Boon-0.6', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
    cursor: pointer;
    white-space: nowrap;
}

.btn.custom-btn-success:hover {
    background-color: #E68A00; /* สีส้มเข้มขึ้นเมื่อ Hover */
    transform: translateY(-3px); /* เด้งขึ้นมากขึ้นเมื่อ Hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* เงาเข้มขึ้นเมื่อ Hover */
}

/* Update Info */
.update-info {
    font-size: 1em; /* ขนาด Font Update Info */
    color: #AAAAAA;
    margin-top: 20px;
    font-family: 'Boon-0.6', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
}

.update-info .highlight-text {
    color: #F3C756; /* สี Bright Yellow/Gold สำหรับไฮไลต์ */
    font-weight: bold;
}

/* Utility Table (TeamViewer) */
.utility-table-container {
    overflow-x: auto;
    margin-top: 40px; /* เพิ่มระยะห่างด้านบน */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    background-color: #2B2B2B;
    border-radius: 8px;
    overflow: hidden;
    color: #E0E0E0;
}

.custom-table th,
.custom-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #444444;
    font-family: 'Boon-0.6', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
}

.custom-table thead th {
    background-color: #2A0C03; /* สีแดงเข้ม */
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #333333;
}

.custom-table tbody tr:hover {
    background-color: #444444;
}

.custom-table td:nth-child(2) { /* คอลัมน์ 'ขนาด' */
    color: #F3C756; /* สี Bright Yellow/Gold */
    font-weight: bold;
}

.download-link-text {
    color: #AD7653; /* สี Warm Orange */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
    font-family: 'Boon-0.6', 'Kanit', sans-serif; /* ใช้ Boon-0.6 */
}

.download-link-text:hover {
    color: #F3C756; /* สี Bright Yellow/Gold เมื่อ Hover */
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
    body {
        min-width: unset;
        overflow-x: hidden;
    }

    .download-page-content {
        width: 95%;
        padding: 20px;
        margin-top: 20px;
    }

    .download-card {
        flex-basis: 100%;
        max-width: 100%;
    }

    .btn-group-responsive {
        flex-direction: column;
        align-items: stretch;
    }

    .btn.custom-btn-success {
        width: 100%;
        min-width: unset;
    }

    .custom-table th,
    .custom-table td {
        padding: 10px 8px;
        font-size: 0.85em;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .alert {
        padding: 12px 15px;
        font-size: 0.9em;
    }

    .card-header h4 {
        font-size: 1.4em; /* ปรับขนาด H4 ลงสำหรับแท็บเล็ต */
    }

    .card-body {
        padding: 20px;
    }

    .update-info {
        font-size: 0.9em;
    }

    .custom-table th,
    .custom-table td {
        font-size: 0.8em;
    }
    .btn.custom-btn-success {
        font-size: 1.1em; /* ปรับขนาดปุ่มลงสำหรับแท็บเล็ต */
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .download-page-content {
        padding: 15px;
    }

    .alert p {
        font-size: 0.9em;
    }
    .card-header h4 {
        font-size: 1.2em; /* ปรับขนาด H4 ลงสำหรับมือถือ */
    }
    .btn.custom-btn-success {
        font-size: 1em; /* ปรับขนาดปุ่มลงสำหรับมือถือ */
        padding: 10px 15px;
    }
    .update-info {
        font-size: 0.8em;
    }
}
/* ในไฟล์ CSS ของคุณ เช่น style.css */
.news-detail img {
    max-width: 100%; /* ทำให้รูปภาพไม่เกินความกว้างของ div แม่ */
    height: auto;    /* รักษาสัดส่วนของรูปภาพ */
    display: block;  /* ป้องกันช่องว่างด้านล่างรูปภาพที่เกิดจาก inline element */
}

/* หรือสำหรับ video/iframe ถ้าคุณมี */
.news-detail video,
.news-detail iframe {
    max-width: 100%;
    height: auto;
}