/* ==========================================================================
   BasicStyle.css - นครนิรันดร์ (The Empire of Eternity) Master 2026 Dark Fantasy Glassmorphism
   Designed for High-Performance Gaming Web Portal (Desktop, Tablet & Mobile)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Prompt:wght@400;500;600;700&family=Sarabun:wght@400;500;600&display=swap');

*, *:before, *:after {
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, form, label, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font-style: normal;
    text-decoration: none;
}

body {
    background-color: #070b14;
    background-image: 
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(30, 58, 138, 0.42), transparent 75%),
        radial-gradient(ellipse 70% 50% at 85% 55%, rgba(180, 83, 9, 0.16), transparent 65%),
        radial-gradient(ellipse 60% 40% at 15% 85%, rgba(16, 185, 129, 0.12), transparent 65%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Kanit', 'Prompt', 'Sarabun', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }

input, select, button, textarea {
    font-family: inherit;
    font-size: 14px;
}

a:link, a:visited, a:hover, a:active {
    font-family: inherit;
    text-decoration: none;
    outline: none;
}
a { 
    color: #38bdf8; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}
a:hover { 
    color: #fbbf24; 
    text-decoration: none; 
}

/* Global Utilities */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clearfix:after { content: " "; display: block; height: 0; clear: both; }
.clearfix { *zoom: 1; }

.red { color: #f87171; }
.green { color: #34d399; }
.orange { color: #fbbf24; }
.gold { color: #f59e0b; text-shadow: 0 0 12px rgba(245, 158, 11, 0.5); }
.cyan { color: #38bdf8; text-shadow: 0 0 12px rgba(56, 189, 248, 0.5); }

.fr { float: right; }
.fl { float: left; }
.mt10 { margin-top: 10px; }
.mb10 { margin-bottom: 10px; }
.ml10 { margin-left: 10px; }
.mr10 { margin-right: 10px; }
a.mr10 { margin-right: 10px; }
a.mb_10 { margin-bottom: 10px; }
b.segmentation { 
    margin: 0 8px; 
    display: inline-block; 
    width: 1px; 
    height: 12px; 
    position: relative; 
    top: 1px; 
    background: rgba(255, 255, 255, 0.15); 
}

/* Badges & Chips */
.badge-gold {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.35));
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-cyan {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 116, 144, 0.35));
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #38bdf8;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-emerald {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.35));
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Header & Top Navigation (Dark Glassmorphism)
   ========================================================================== */
.header {
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 38px;
    width: 100%;
    position: relative;
    z-index: 100;
    color: #94a3b8;
    font-size: 13px;
}
.header a { color: #cbd5e1; }
.header a.red { color: #fbbf24; font-weight: 600; }
.header a:hover { color: #38bdf8; text-decoration: none; }
.header .top_content {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 7px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top_content ul.usered {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.top_content li { display: inline-flex; align-items: center; }
.top_content li.lines {
    background: rgba(255, 255, 255, 0.15);
    height: 12px;
    width: 1px;
}

/* Top Banner & Game Logo */
.top {
    background: transparent;
    width: 100%;
    position: relative;
    padding-top: 10px;
}
.top_logo {
    background: transparent;
}
.top_logo .top_logo_con {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 15px 0;
    min-height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-title-wrap h1 {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
    letter-spacing: 0.5px;
}
.logo-title-wrap span.server-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.user-status-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Floating Glass Main Navbar */
.nav {
    max-width: 1200px;
    width: 95%;
    margin: 8px auto 0 auto;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 6px;
    clear: both;
}
.nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.nav ul li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    height: 42px;
    line-height: 42px;
    padding: 0 18px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav ul li a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    display: block;
}
.nav ul li:hover, .nav ul li.select {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.45) 100%);
    border-color: #3b82f6;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}
.nav ul li:hover a, .nav ul li.select a {
    color: #ffffff;
    font-weight: 600;
}
.nav ul li.gold-tab {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.35) 100%);
    border-color: rgba(245, 158, 11, 0.4);
}
.nav ul li.gold-tab:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.6) 100%);
    border-color: #f59e0b;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.5);
}
.nav ul li.gold-tab a {
    color: #fbbf24;
}
.nav ul li.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    margin-left: auto;
}
.nav ul li.orange a {
    color: #ffffff;
    font-weight: 700;
}
.nav ul li.orange:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
}

/* ==========================================================================
   Main Containers & Cards (Dark Glassmorphism)
   ========================================================================== */
.center {
    max-width: 1200px;
    width: 95%;
    margin: 25px auto 50px auto;
}
.center_left {
    float: left;
    width: 260px;
}
.center_right {
    float: right;
    width: calc(100% - 285px);
    min-height: 350px;
}

.c_main {
    width: 100%;
}

.def_main {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* User Profile & Account Info Boxes */
.basicInfo {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 22px;
    gap: 20px;
    margin-bottom: 22px;
}
.basicInfo_content {
    flex: 1 1 350px;
    color: #cbd5e1;
}
.basicInfo_content p {
    line-height: 34px;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 4px;
    margin-bottom: 4px;
}
.basicInfo_currency {
    flex: 0 0 280px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}
.basicInfo_currency ul {
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(30, 27, 24, 0.6);
}
.basicInfo_currency ul li {
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    font-weight: 600;
    color: #fbbf24;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}
.basicInfo_currency ul li:last-child {
    border-bottom: none;
}

.mybox {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 22px;
    overflow: hidden;
}
.mybox .mytit {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mybox .con {
    color: #cbd5e1;
    padding: 24px;
}

/* ==========================================================================
   Buttons System (Radiant 3D Gradients & Glow)
   ========================================================================== */
.at_but, .bt_but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.at_but:hover, .bt_but:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 26px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.65);
    transform: translateY(-2px);
}

.btn-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 26px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
}
.btn-cyan:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.65);
    transform: translateY(-2px);
}

.btn-emerald {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 26px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}
.btn-emerald:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.65);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer (Modern Dark Studio Edition)
   ========================================================================== */
.footer {
    background: rgba(7, 11, 20, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    color: #94a3b8;
    padding: 35px 0 25px 0;
}
.footer_con {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    text-align: center;
    line-height: 2;
    font-size: 13px;
}
.footer_con a {
    color: #cbd5e1;
    margin: 0 8px;
}
.footer_con a:hover {
    color: #fbbf24;
}

/* ==========================================================================
   Interactive Lightbox Modal Component
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 11, 20, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-box {
    position: relative;
    max-width: 1100px;
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.35);
    animation: zoomLightbox 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes zoomLightbox {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-img {
    display: block;
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background: #000;
}
.lightbox-caption {
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.lightbox-caption h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fde047;
}
.lightbox-caption p {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #94a3b8;
}
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 26px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: all 0.2s ease;
}
.lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

/* ==========================================================================
   Gameplay Showcase Gallery Grid
   ========================================================================== */
.gallery-section {
    margin-top: 35px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.gallery-header {
    text-align: center;
    margin-bottom: 24px;
}
.gallery-header h2 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #fde68a 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
    margin: 0 0 8px 0;
}
.gallery-header p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.gallery-card:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25), 0 0 20px rgba(56, 189, 248, 0.2);
}
.gallery-card-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #000;
}
.gallery-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-thumb img {
    transform: scale(1.06);
}
.gallery-card-thumb .zoom-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: all 0.25s ease;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}
.gallery-card:hover .gallery-card-thumb .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.gallery-card-info {
    padding: 12px 14px;
}
.gallery-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 6px;
}
.tag-combat { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.tag-boss { background: rgba(245, 158, 11, 0.2); color: #fde047; border: 1px solid rgba(245, 158, 11, 0.4); }
.tag-dungeon { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.tag-system { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.gallery-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    margin: 0 0 4px 0;
    line-height: 1.4;
}
.gallery-card-desc {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}


/* ==========================================================================
   2026 AAA Dark Fantasy Hero & Systems Styling
   ========================================================================== */

/* Hero Banner 2026 */
.hero-epic-2026 {
    position: relative;
    background: 
        radial-gradient(ellipse 90% 70% at 50% 20%, rgba(30, 58, 138, 0.5) 0%, rgba(15, 23, 42, 0.95) 100%),
        url('/images/art/hero_bg_load.png') center top / cover no-repeat;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 18px;
    padding: 55px 35px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 35px rgba(245, 158, 11, 0.15);
    margin-bottom: 28px;
    overflow: hidden;
}
.hero-epic-2026::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.hero-epic-content {
    position: relative;
    z-index: 2;
}
.hero-thai-logo {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.6)) drop-shadow(0 10px 20px rgba(0,0,0,0.8));
    margin-bottom: 16px;
    animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.45);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #fbbf24;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    margin-bottom: 16px;
}
.hero-desc-thai {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 780px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.hero-cta-wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.btn-gold-3d {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-gold-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
}
.btn-cyan-3d {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-cyan-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
}
.btn-emerald-3d {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-emerald-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
}

/* Server Stats Strip */
.server-stats-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(30, 58, 138, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.stat-info .stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.2;
}
.stat-info .stat-label {
    font-size: 12px;
    color: #94a3b8;
}

/* 4-Class Interactive Showcase 2026 */
.section-headline {
    text-align: center;
    margin: 36px 0 22px 0;
}
.section-headline h2 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
    margin-bottom: 8px;
}
.section-headline p {
    font-size: 14px;
    color: #94a3b8;
}

.class-grid-2026 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}
.class-card-2026 {
    position: relative;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}
.class-card-2026:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}
.class-card-warrior:hover { border-color: rgba(239, 68, 68, 0.6); box-shadow: 0 18px 45px rgba(239, 68, 68, 0.3); }
.class-card-mage:hover { border-color: rgba(168, 85, 247, 0.6); box-shadow: 0 18px 45px rgba(168, 85, 247, 0.3); }
.class-card-elf:hover { border-color: rgba(16, 185, 129, 0.6); box-shadow: 0 18px 45px rgba(16, 185, 129, 0.3); }
.class-card-gunner:hover { border-color: rgba(56, 189, 248, 0.6); box-shadow: 0 18px 45px rgba(56, 189, 248, 0.3); }

.class-portrait-box {
    position: relative;
    height: 220px;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.9) 80%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.class-portrait-box img {
    max-height: 180px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
    transition: transform 0.4s ease;
}
.class-card-2026:hover .class-portrait-box img {
    transform: scale(1.08) translateY(-4px);
}
.class-badge-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.class-tag-warrior { background: rgba(239, 68, 68, 0.25); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.5); }
.class-tag-mage { background: rgba(168, 85, 247, 0.25); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.5); }
.class-tag-elf { background: rgba(16, 185, 129, 0.25); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.5); }
.class-tag-gunner { background: rgba(56, 189, 248, 0.25); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.5); }

.class-body-2026 {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.class-body-2026 h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}
.class-role-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
}
.class-desc-txt {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

/* Stat Meters */
.class-stats-list {
    margin-bottom: 12px;
    font-size: 12px;
}
.stat-bar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #94a3b8;
}
.stat-bar-track {
    width: 90px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.stat-bar-fill {
    height: 100%;
    border-radius: 6px;
}
.fill-red { background: linear-gradient(90deg, #ef4444, #f87171); }
.fill-purple { background: linear-gradient(90deg, #a855f7, #c084fc); }
.fill-green { background: linear-gradient(90deg, #10b981, #34d399); }
.fill-cyan { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.fill-gold { background: linear-gradient(90deg, #d97706, #fbbf24); }

/* System Cards (Boss, Dragon, Forge, Guild) */
.systems-grid-2026 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.system-card-2026 {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}
.system-card-2026:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.2);
}
.system-card-media {
    position: relative;
    height: 190px;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.3) 0%, rgba(15, 23, 42, 0.9) 80%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.system-card-media img {
    max-height: 165px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
    transition: transform 0.4s ease;
}
.system-card-2026:hover .system-card-media img {
    transform: scale(1.07);
}
.system-card-content {
    padding: 18px 20px;
}
.system-card-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 6px;
}
.system-card-content p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Pay Page Luxury 2026 Styles */
.pay-hero-2026 {
    position: relative;
    background: 
        radial-gradient(ellipse 90% 70% at 75% 30%, rgba(245, 158, 11, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.pay-goddess-art {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
    animation: floatGoddess 5s ease-in-out infinite;
}
@keyframes floatGoddess {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.pay-hero-info {
    flex: 1;
}
.pay-hero-info h2 {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #fde047 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 6px 0;
}
.pay-hero-info p {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

/* Enhanced Role Profile Card */
.role-card-2026 {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 78, 59, 0.35) 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 14px;
    padding: 20px;
    margin-top: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    display: none;
}
.role-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.role-avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.role-avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #34d399;
    background: rgba(15, 23, 42, 0.9);
    padding: 4px;
    box-shadow: 0 0 14px rgba(52, 211, 153, 0.4);
}
.role-name-title {
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc;
}
.role-server-tag {
    font-size: 12px;
    color: #38bdf8;
}
.role-grid-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.role-stat-cell {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
}
.role-stat-cell span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.role-stat-cell b {
    font-size: 16px;
    color: #34d399;
    font-weight: 700;
}

/* Luxury Package Cards 2026 */
.pkg-card-2026 {
    position: relative;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.pkg-card-2026:hover {
    border-color: #38bdf8;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
}
.pkg-card-2026.selected {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(180, 83, 9, 0.25) 100%);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4), inset 0 0 15px rgba(245, 158, 11, 0.15);
}
.pkg-coin-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 8px auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}
.pkg-card-2026:hover .pkg-coin-icon {
    transform: scale(1.15) rotate(5deg);
}

/* VIP Dragon Showcase Card in Pay */
.vip-dragon-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(180, 83, 9, 0.3) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 18px 24px;
    margin-top: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.vip-dragon-art {
    width: 130px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
}
.vip-dragon-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fde047;
    margin-bottom: 4px;
}
.vip-dragon-text p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* ==========================================================================
   Responsive Media Queries (Tablets & Smartphones)
   ========================================================================== */
@media (max-width: 992px) {
    .class-grid-2026 {
        grid-template-columns: repeat(2, 1fr);
    }
    .systems-grid-2026 {
        grid-template-columns: repeat(2, 1fr);
    }
    .role-grid-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .center_left, .center_right {
        float: none !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }
}

@media (max-width: 768px) {
    .class-grid-2026 {
        grid-template-columns: 1fr;
    }
    .systems-grid-2026 {
        grid-template-columns: 1fr;
    }
    .pay-hero-2026 {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .pay-goddess-art {
        width: 110px;
        height: 110px;
    }
    .vip-dragon-banner {
        flex-direction: column;
        text-align: center;
    }
    .vip-dragon-art {
        width: 100px;
        height: 85px;
    }
    .role-grid-stats {
        grid-template-columns: 1fr 1fr;
    }

    .header .top_content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .top_content ul.usered {
        justify-content: center;
    }
    
    .top_logo .top_logo_con {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 10px 0;
    }
    .logo-title-wrap {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Touch-friendly Horizontal Scroll Navigation */
    .nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding: 6px;
    }
    .nav ul {
        display: inline-flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 6px;
    }
    .nav ul li {
        flex-shrink: 0;
        height: 42px;
        line-height: 42px;
        padding: 0 16px;
    }
    
    /* Stack Sidebar & Main Content on Mobile */
    .center_left, .center_right {
        float: none !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }
    
    /* Responsive Basic Info Box */
    .basicInfo {
        flex-direction: column;
        gap: 15px;
    }
    .basicInfo_currency {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 15px;
        flex: 1 1 100%;
    }
    
    /* Ensure all tables scroll horizontally if wide */
    table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
