﻿:root { --primary-gold: #d4af37; }

body {
    background: radial-gradient(circle at top, rgba(212,175,55,0.10), rgba(0,0,0,0.92)), #000;
    color: #fff;
    font-family: 'Kanit', sans-serif;
    min-height: 100vh;
}

.brand-title { font-family: 'Cinzel', serif; letter-spacing: 3px; }

.card-link {
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 14px;
    padding: 18px 18px;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.55);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    color: #fff;
}

.card-link i { color: var(--primary-gold); }

.muted { color: rgba(255,255,255,0.65); }

.sound-control-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid var(--primary-gold);
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.sound-waves { display: flex; align-items: flex-end; gap: 2px; height: 15px; }
.sound-waves span {
    width: 3px; background: var(--primary-gold);
    animation: wave-anim 0.5s ease-in-out infinite alternate;
}

@keyframes wave-anim { from { height: 3px; } to { height: 15px; } }

/* สถานะ Muted */
.sound-control-float.muted .sound-waves span { animation: none; height: 2px; background: #555; }
#soundStatusText { font-family: 'Cinzel', serif; font-size: 0.75rem; color: #fff; letter-spacing: 1px; }
	.castle-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.castle-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 204, 0, 0.5);
}
.castle-img-wrapper {
    position: relative;
    overflow: hidden;
}
.emblem-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.emblem-img {
    width: 24px;
    height: 24px;
}
	.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}
.rank-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}
	/* คอนเทนเนอร์หลัก: ปรับความฟุ้งของขอบ (Glow) */
.btn-premium-luxury {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* เพิ่มขอบทองให้หนาและสว่างขึ้น */
    border: 1.5px solid rgba(212, 175, 55, 0.6) !important; 
    color: #d4af37 !important;
    font-weight: 900;
    letter-spacing: 4px;
    position: relative;
    overflow: hidden;
    padding: 18px 45px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    border-radius: 0px;
    /* เพิ่มความฟุ้งกระจายของแสงทองรอบปุ่ม */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); 
}

/* เมื่อ Hover: ปรับความเรืองแสงให้สว่างจ้า (Neon Gold Effect) */
.btn-premium-luxury:hover {
    color: #fff !important;
    background: rgba(212, 175, 55, 0.15) !important;
    border: 1.5px solid rgba(255, 215, 0, 1) !important;
    /* ปรับ Glow ให้ฟุ้งกระจายกว้างขึ้น */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 
                0 0 60px rgba(212, 175, 55, 0.4),
                inset 0 0 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

/* ปรับความแรงของ Glitch (เพิ่ม Layer และระยะการสั่น) */
.glitch-text:hover::before,
.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Layer 1: สีแดง-ชมพู (Cyberpunk vibe) สั่นแรงขึ้น */
.glitch-text:hover::before {
    color: #ff00c1;
    z-index: -1;
    animation: glitch-intense 0.2s cubic-bezier(.25,.46,.45,.94) both infinite;
}

/* Layer 2: สีฟ้า-ทอง สั่นสวนทางกัน */
.glitch-text:hover::after {
    color: #00fff9;
    z-index: -2;
    animation: glitch-intense 0.2s cubic-bezier(.25,.46,.45,.94) reverse both infinite;
}

/* Keyframe สำหรับ Glitch ที่รุนแรงขึ้น (เพิ่มระยะการกระโดดของตัวอักษร) */
@keyframes glitch-intense {
    0% { transform: translate(0); clip: rect(10px, 999px, 20px, 0); }
    20% { transform: translate(-5px, 4px); clip: rect(30px, 999px, 50px, 0); }
    40% { transform: translate(5px, -4px); clip: rect(60px, 999px, 80px, 0); }
    60% { transform: translate(-8px, 2px); clip: rect(10px, 999px, 40px, 0); }
    80% { transform: translate(8px, -2px); clip: rect(50px, 999px, 70px, 0); }
    100% { transform: translate(0); }
}

/* เส้นแสงวิ่งผ่าน (Shine) ให้เร็วและคมขึ้น */
.btn-light {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.btn-premium-luxury:hover .btn-light {
    animation: shine-rapid 0.8s forwards;
}

@keyframes shine-rapid {
    0% { left: -150%; }
    100% { left: 150%; }
}
	/* แอนิเมชั่นและการตกแต่ง Modal แจ้งเตือน */
@keyframes shake-modal {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}
.modal-auth-status .modal-content {
    background: rgba(15, 15, 15, 0.98);
    border-radius: 15px; border: 2px solid transparent;
}
.status-success { border-color: #28a745 !important; box-shadow: 0 0 25px rgba(40, 167, 69, 0.3) !important; }
.status-success i { color: #28a745; filter: drop-shadow(0 0 10px rgba(40, 167, 69, 0.5)); }
.status-error { 
    border-color: #dc3545 !important; 
    box-shadow: 0 0 25px rgba(220, 53, 69, 0.3) !important;
    animation: shake-modal 0.5s ease-in-out; 
}
.status-error i { color: #dc3545; filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.5)); }
.auth-title { font-family: 'Cinzel', serif; letter-spacing: 2px; margin-top: 15px; font-weight: bold; }
	/* แอนิเมชั่นการสั่น */
@keyframes shake-modal {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

.modal-auth-status .modal-content {
    background: rgba(20, 20, 20, 0.98);
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

/* กรณีสำเร็จ - ขอบเขียวเรืองแสง */
.status-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.3) !important;
}
.status-success i { color: #28a745; filter: drop-shadow(0 0 10px rgba(40, 167, 69, 0.5)); }

/* กรณีผิดพลาด - ขอบแดงเรืองแสง + สั่น */
.status-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 25px rgba(220, 53, 69, 0.3) !important;
    animation: shake-modal 0.5s ease-in-out;
}
.status-error i { color: #dc3545; filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.5)); }

/* กรณีคำเตือน - ขอบทอง/เหลือง */
.status-warning {
    border-color: #ffc107 !important;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.2) !important;
    animation: shake-modal 0.5s ease-in-out;
}
.status-warning i { color: #ffc107; }

.auth-title {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 15px;
}
	/* การปรับแต่ง Input Group ให้ดูทันสมัย */
.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

.input-custom-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-custom-wrapper i {
    position: absolute;
    left: 15px;
    color: rgba(212, 175, 55, 0.5);
}

.form-control-dark {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #fff !important;
    padding: 12px 15px 12px 45px !important; /* เว้นที่ให้ไอคอนด้านซ้าย */
    border-radius: 4px !important;
    transition: 0.3s all ease;
    width: 100%;
}

.form-control-dark:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    outline: none;
}

.form-control-dark:disabled {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 8px;
    display: block;
}
.form-note span { color: #ff4a4a; }
	/* การปรับแต่งหัวข้อภายใน Modal */
.modal-info-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ปรับแต่งตารางข้อมูลตัวละครให้เข้ากับ Ban Table เดิม */
.char-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 5px;
}
.char-table th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    padding: 12px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
}
.char-table td {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    padding: 12px;
    border: none;
    font-size: 0.9rem;
    vertical-align: middle;
}
.char-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

/* ป้ายแสดงพอยท์ */
.badge-point-custom {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    color: #ffd700;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
}
	/* --- Dashboard Modal Styling --- */
.modal-dashboard .modal-content {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.95), rgba(30, 30, 30, 0.95));
    border: 1px solid var(--primary-gold);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.char-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.char-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.char-stat-card:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-3px);
}

.char-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.char-job-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.char-name {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.char-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.char-label { color: #888; }
.char-value { color: var(--secondary-gold); font-family: 'Cinzel', serif; }

.btn-action-sm {
    padding: 4px 10px;
    font-size: 0.7rem;
    font-family: 'Mitr', sans-serif;
    margin-top: 10px;
}
	/* การปรับแต่งช่อง Input ให้เข้ากับธีม */
.auth-input-group {
    margin-bottom: 15px;
}
.auth-input-group label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
    display: block;
    letter-spacing: 1px;
}
.form-login-custom {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 4px;
    color: #fff !important;
    padding: 10px 15px;
    width: 100%;
    transition: 0.3s;
}
.form-login-custom:focus {
    outline: none;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ปรับแต่ง List รายการข้อมูลสมาชิก */
.member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.member-list-item {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.member-list-item:hover {
    background: rgba(212, 175, 55, 0.05);
}
.member-list-item i {
    color: var(--primary-gold);
    margin-right: 10px;
}
.member-value {
    font-family: 'Cinzel', serif;
    font-weight: bold;
}
.value-gold { color: #ffd700; text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }

/* ปรับแต่งเมนูปุ่มกด */
.member-nav-link {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    transition: 0.3s;
}
.member-nav-link:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    color: #fff;
    border-left: 2px solid var(--primary-gold);
}
	/* --- Ultra Modern Ranking Styling --- */
.table-ranking {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px; /* ระยะห่างระหว่างแถว */
}

.table-ranking th {
    font-family: 'Cinzel', serif;
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 15px 5px;
}

.rank-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.rank-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.02);
}

.rank-number {
    width: 50px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 8px 0 0 8px;
}

/* ปรับแต่งสี Rank 1, 2, 3 */
.rank-item.top-1 { border: 1px solid rgba(212, 175, 55, 0.4); background: rgba(212, 175, 55, 0.05); }
.rank-item.top-1 .rank-number { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); font-size: 1.3rem; }

.rank-item.top-2 { border: 1px solid rgba(192, 192, 192, 0.3); }
.rank-item.top-2 .rank-number { color: #c0c0c0; }

.rank-item.top-3 { border: 1px solid rgba(205, 127, 50, 0.3); }
.rank-item.top-3 .rank-number { color: #cd7f32; }

.char-avatar {
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.char-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.lvl-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
}

/* ปุ่มดูทั้งหมดแบบ Custom */
.btn-rank-all {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.btn-rank-all:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
	/* --- Castle Occupancy Styling --- */
.castle-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.castle-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
}

.castle-img-wrapper {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: #000;
}

.castle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.5s;
    filter: sepia(0.5) contrast(1.2);
}

.castle-card:hover .castle-img {
    opacity: 0.8;
    transform: scale(1.1);
    filter: sepia(0) contrast(1);
}

.emblem-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}

.emblem-img {
    width: 48px;
    height: 48px;
    image-rendering: pixelated; /* ให้รูปกิลด์ขนาดเล็กคมชัดแบบ Classic */
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0,0,0,0.5);
    padding: 2px;
}

.castle-info {
    padding: 15px;
    background: linear-gradient(to bottom, rgba(20,20,20,0.9), rgba(10,10,10,1));
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.castle-name {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.guild-name {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2px;
}

.master-name {
    font-size: 0.7rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.master-name i {
    font-size: 0.6rem;
    color: var(--primary-gold);
}
	/* --- Enhanced Modal Content --- */
.ban-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 10px;
}

.ban-table th {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.ban-row {
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.ban-row:hover {
    background: rgba(212, 175, 55, 0.08);
}

.ban-row td {
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ban-row td:first-child {
    border-left: 2px solid var(--primary-gold);
    border-radius: 5px 0 0 5px;
    text-align: left;
    font-weight: 600;
}

.ban-row td:last-child {
    border-radius: 0 5px 5px 0;
}

/* Status Badges */
.punish-light { color: #51cf66; font-weight: bold; }
.punish-medium { color: #fcc419; font-weight: bold; }
.punish-heavy { color: #ff6b6b; text-shadow: 0 0 10px rgba(255, 107, 107, 0.5); font-weight: bold; }

/* Rule Icon Cards */
.rule-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.rule-mini-card {
    background: linear-gradient(145deg, rgba(40,40,40,0.4), rgba(20,20,20,0.6));
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
	
}

.rule-mini-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.rule-mini-card i {
    font-size: 2rem;
    margin-bottom: 12px;
    background: linear-gradient(to bottom, #fff, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
	/* --- Modern Custom Modal Styles --- */
.modal-content {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    border-radius: 0;
    color: #e0e0e0;
}

.modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem;
}

.modal-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    transition: 0.3s;
}

.modal-body {
    padding: 2rem;
    font-family: 'Kanit', sans-serif;
    line-height: 1.8;
}

/* เอฟเฟกต์การปรากฏ (Modern Animation) */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* ตกแต่ง Scrollbar ใน Modal */
.modal-body::-webkit-scrollbar {
    width: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
}

/* ตกแต่งเนื้อหาข้างใน */
.rule-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 2px solid var(--primary-gold);
}
	/* ปรับแต่งฟอนต์เมนูภาษาไทย */
.navbar-nav .nav-link {
    font-family: 'Mitr', sans-serif; /* เปลี่ยนเป็น Mitr เพื่อความสวยงาม */
    font-weight: 400;
    font-size: 1rem;
    color: #e0e0e0 !important;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* เอฟเฟกต์เมื่อ Hover เมนู */
.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* ปรับปุ่มสมัครสมาชิกบนเมนูให้ฟอนต์เข้ากัน */
.navbar .btn-gold {
    font-family: 'Mitr', sans-serif;
    font-weight: 500;
    letter-spacing: 0px;
    border-radius: 4px; /* ปรับให้ดูซอฟต์ลงนิดนึงแต่ยังคม */
}

/* ปรับแต่ง Navbar Brand (ชื่อเซิร์ฟเวอร์) */
.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    background: linear-gradient(to bottom, #fff 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}
	
	/* สไตล์สำหรับแถวข้อมูล */
    .rate-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        margin-bottom: 6px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
        transition: 0.3s ease;
        border-left: 3px solid transparent;
    }

    .rate-row:hover {
        background: rgba(212, 175, 55, 0.1);
        border-left: 3px solid var(--primary-gold);
        transform: translateX(5px);
    }

    /* สไตล์ไอคอนและข้อความข้างหน้า */
    .rate-label {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.85rem;
        color: #ddd;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .rate-label i {
        width: 20px;
        text-align: center;
        color: var(--primary-gold);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
    }

    /* กล่องเน้นตัวคูณ (The Box) */
    .rate-box {
        min-width: 60px;
        text-align: center;
        padding: 3px 10px;
        border-radius: 4px;
        font-family: 'Cinzel', serif;
        font-weight: 800;
        font-size: 0.85rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    /* สีต่างๆ สำหรับแต่ละประเภท */
    .box-gold { background: linear-gradient(135deg, #d4af37, #b8860b); color: #000; }
    .box-blue { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #000; }
    .box-red { background: linear-gradient(135deg, #ff4d4d, #a30000); color: #fff; }
    .box-silver { background: linear-gradient(135deg, #bdc3c7, #2c3e50); color: #fff; }

    /* หัวข้อหมวดหมู่ */
    .rate-category-title {
        font-family: 'Cinzel', serif;
        font-size: 0.7rem;
        color: var(--primary-gold);
        letter-spacing: 2px;
        margin: 15px 0 8px 5px;
        opacity: 0.7;
        display: flex;
        align-items: center;
    }
    .rate-category-title::after {
        content: ""; flex: 1; height: 1px; 
        background: linear-gradient(to right, rgba(212, 175, 55, 0.4), transparent);
        margin-left: 10px;
    }
	
	/* ลบหรือคอมเม้นต์ cursor: url ตัวเก่าออกเพื่อให้เห็นเอฟเฟกต์แสงชัดเจน */
body, a, button { cursor: none !important; }

.cursor-dot {
    width: 0px;
    height: 0px;
    background-color: var(--primary-gold);
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 0px;
    height: 0px;
    border: 0px solid var(--primary-gold);
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, background 0.3s;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* เอฟเฟกต์ตอน Hover ปุ่มหรือลิงก์ */
.cursor-hover {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.85);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}
	
	/* เอฟเฟกต์รูปโลโก้ลอยขึ้นลงนุ่มๆ */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* เอฟเฟกต์แสงไฟกวาดผ่านตัวอักษร */
.shiny-text {
    background: linear-gradient(to right, #fff 20%, #d4af37 40%, #d4af37 60%, #fff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-logo-anim {
    animation: float 6s ease-in-out infinite;
    margin-bottom: 20px;
}

/* ปรับปรุง Hero Section ให้มี Layering */
.hero-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* เพิ่มแสง Aura ด้านหลังโลโก้ */
.hero-aura {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: pulseAura 4s ease-in-out infinite;
}

@keyframes pulseAura {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}
	
	/* ปรับแต่งสีหลอดไอดีให้เป็นโทนสีทองขาว (White Gold) มีความแวววาวสูง */
.account-progress .progress-bar {
    background: linear-gradient(90deg, #e5e5e5, #d4af37, #ffffff);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    color: #000; /* ตัวเลขเปอร์เซ็นต์สีดำเพื่อให้มองเห็นชัดบนพื้นสว่าง */
}
	
	/* ปรับแต่งสีหลอดตัวละครให้เป็นโทนสีทองสว่าง/ขาว เพื่อให้ต่างจากหลอด Online */
.char-progress .progress-bar {
    background: linear-gradient(90deg, #d4af37, #f1c40f, #ffffff);
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.4);
}

/* ปรับระยะห่างระหว่างหลอด */
.server-status-container {
    margin-bottom: 15px;
}
	
	.server-status-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.status-label {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
}

.player-count {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.custom-server-progress {
    height: 12px; /* ปรับให้หลอดดูเรียวสวย */
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 0 5px #000;
}

.custom-server-progress .progress-bar {
    background: linear-gradient(90deg, #b8860b, var(--primary-gold));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: bold;
    color: #000;
    transition: width 1.5s cubic-bezier(0.1, 0.42, 0.41, 1); /* เอฟเฟกต์หลอดวิ่งนุ่มๆ */
}
	
	.game-footer {
    background: rgba(10, 10, 10, 0.95);
    padding-top: 60px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.footer-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 1.8rem;
}

.footer-subtitle {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
}

.footer-desc {
    color: #bbb;
    font-size: 0.95rem;
    max-width: 600px;
}

/* Footer Cards */
.footer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: 0.3s;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-header-gold {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-links a i {
    color: var(--primary-gold);
    width: 20px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Items */
.contact-item {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.contact-item:hover {
    border-color: var(--primary-gold);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #f39c12;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-icon.discord { background: #5865F2; color: #fff; }
.contact-icon.support { background: #ffcc00; color: #000; }

.contact-info small {
    display: block;
    color: #666;
    font-size: 0.7rem;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ddd;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.05);
}
	
	.custom-pagination .page-link {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
    margin: 0 5px;
    transition: 0.3s;
}

.custom-pagination .page-item.active .page-link {
    background: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
}

.custom-pagination .page-link:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #fff;
}
	
	.news-list-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.news-list-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--primary-gold);
    transform: translateX(5px);
}

.news-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}
	
	/* --- Persistent Side Menu Styles --- */
.side-menu-persistent {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 220px; /* ความกว้างตอนกางออก */
    background: linear-gradient(90deg, transparent, rgba(20, 20, 20, 0.95));
    border-left: none; /* Removing border */
    display: flex;
    flex-direction: column;
    z-index: 998;
    backdrop-filter: blur(15px);
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    border-radius: 15px 0 0 15px;
}

/* หัวข้อเมนู */
.side-menu-header {
    padding: 15px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    font-weight: bold;
}

/* ลิงก์แต่ละรายการ */
.side-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.side-menu-link img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: sepia(1) saturate(3) brightness(0.8);
    transition: 0.3s;
}

.side-menu-link span {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* เอฟเฟกต์ตอน Hover */
.side-menu-link:hover {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15));
    color: #fff;
    padding-left: 30px; /* ขยับข้อความตอนเอาเมาส์วาง */
}

.side-menu-link:hover img {
    filter: sepia(0) saturate(1) brightness(1.2) drop-shadow(0 0 5px var(--primary-gold));
    transform: scale(1.2);
}

.side-menu-footer {
    padding: 10px;
    font-size: 0.6rem;
    color: #444;
    text-align: center;
    letter-spacing: 1px;
}


@keyframes sideGlow {
    0% { top: -100%; }
    100% { top: 100%; }
}
	
	/* --- Notice Scroller Styles --- */
.notice-box-container {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(212, 175, 55, 0.1);
    position: relative;
}

/* ป้ายกำกับคำว่า NOTICE */
.notice-label {
    background: linear-gradient(90deg, #b8860b, var(--primary-gold));
    color: #000;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    z-index: 2;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
}

.notice-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

/* เอฟเฟกต์ข้อความเลื่อน */
.notice-scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite; /* ปรับตัวเลขวินาทีเพื่อเปลี่ยนความเร็ว */
    color: var(--secondary-gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.notice-scroll-text:hover {
    animation-play-state: paused; /* หยุดเลื่อนเมื่อเอาเมาส์วางเพื่อให้คนอ่านทัน */
    color: #fff;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* เพิ่มแสงวิบวับที่ขอบกล่อง - Disabled */
.notice-box-container::after {
    display: none;
}
/*
.notice-box-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid var(--primary-gold);
    opacity: 0.2;
    pointer-events: none;
    animation: noticeGlow 2s ease-in-out infinite;
}

@keyframes noticeGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}
*/
	
	.glitch-text {
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.025em -0.05em 0 rgba(0,255,0,.75), 0.025em 0.05em 0 rgba(0,0,255,.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.05em -0.025em 0 rgba(0,255,0,.75), -0.025em 0.05em 0 rgba(0,0,255,.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75), 0.025em 0.025em 0 rgba(0,255,0,.75), -0.05em -0.05em 0 rgba(0,0,255,.75); }
    /* เพิ่มขั้นตอนอื่นๆ ให้สุ่มตำแหน่ง */
    100% { text-shadow: -0.025em 0 0 rgba(255,0,0,.75), -0.025em -0.025em 0 rgba(0,255,0,.75), -0.025em -0.05em 0 rgba(0,0,255,.75); }
}
	
	#loader-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* อยู่บนสุดเสมอ */
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8)); transform: scale(1.05); }
}

.loader-bar-container {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-gold), #fff);
    box-shadow: 0 0 10px var(--primary-gold);
    animation: loadingProgress 2.5s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* คลาสสำหรับซ่อน Loading เมื่อโหลดเสร็จ */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}
	/* เปลี่ยนเมาส์ทั้งหน้าเว็บ */
body {
    cursor: url('https://cur.cursors-4u.net/games/gam-4/gam376.cur'), auto !important;
}

/* เปลี่ยนเมาส์เวลาชี้ Link หรือปุ่ม */
a, button, .btn, .hover-gold, .image-card {
    cursor: url('https://cur.cursors-4u.net/games/gam-11/gam1088.cur'), pointer !important;
}
	.btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-gold:hover::before {
    left: 125%;
}
		/* ละอองลอยบนพื้นหลัง */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle, #fff 1px, transparent 1px),
        radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    background-position: 0 0, 50px 50px;
    animation: particles 20s linear infinite;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

@keyframes particles {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}
	
        :root {
            --primary-gold: #d4af37;
            --secondary-gold: #f2d06b;
            --dark-bg: #0a0a0a;
            --glass-bg: rgba(20, 20, 20, 0.85);
            --border-glow: 0 0 15px rgba(212, 175, 55, 0.4);
        }

        body {
            background-color: var(--dark-bg);
            background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/image/bg/bg1.jpg'); 
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            font-family: 'Kanit', sans-serif;
            color: #e0e0e0;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, .nav-link, .btn-custom {
            font-family: 'Cinzel', serif;
            letter-spacing: 1px;
        }

        /* --- Custom Scrollbar --- */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #050505; }
        ::-webkit-scrollbar-thumb { background: var(--primary-gold); border-radius: 0px; }

        /* --- Glassmorphism Cards & Animations --- */
        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(212, 175, 55, 0.15);
            border-radius: 4px; /* ปรับให้ดูคมขึ้นสไตล์เกมเมอร์ */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
            margin-bottom: 25px;
            transition: transform 0.3s ease, border 0.3s ease;
        }
        
        .glass-panel:hover {
            border: 1px solid rgba(212, 175, 55, 0.4);
        }

        /* --- Navigation --- */
        .navbar {
            background: rgba(0, 0, 0, 0.95);
            border-bottom: 2px solid var(--primary-gold);
            padding: 0.8rem 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        }
        .navbar-brand {
            color: var(--primary-gold) !important;
            font-weight: 700;
            font-size: 1.6rem;
            text-shadow: var(--border-glow);
        }
        .nav-link {
            color: #d1d1d1 !important;
            text-transform: uppercase;
            margin: 0 8px;
            font-size: 0.95rem;
            transition: 0.3s;
            position: relative;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0; left: 50%;
            width: 0; height: 1px;
            background: var(--primary-gold);
            transition: 0.3s;
            transform: translateX(-50%);
        }
        .nav-link:hover::after { width: 80%; }
        .nav-link:hover, .nav-link.active {
            color: var(--primary-gold) !important;
            text-shadow: 0 0 10px var(--primary-gold);
        }

        /* --- Hero Section --- */
        .hero-section {
            height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(0,0,0,0) 70%);
            position: relative;
        }
        .hero-title {
            font-size: 5rem;
            background: linear-gradient(to bottom, #fff 20%, var(--primary-gold) 80%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
            font-weight: bold;
            margin-bottom: 10px;
        }

        /* --- Buttons --- */
        .btn-gold {
            background: linear-gradient(45deg, #b8860b, var(--primary-gold), #b8860b);
            background-size: 200% auto;
            color: #000;
            font-weight: 800;
            border: none;
            padding: 14px 35px;
            text-transform: uppercase;
            transition: 0.5s;
            clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
        }
        .btn-gold:hover {
            background-position: right center;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
            color: #000;
        }

        /* --- Server Status Bars --- */
        .server-item {
            margin-bottom: 15px;
            padding: 10px;
            background: rgba(255,255,255,0.03);
            border-radius: 4px;
        }
        .progress {
            height: 6px;
            background-color: #1a1a1a;
            border-radius: 0;
            overflow: visible;
        }
        .progress-bar {
            background: linear-gradient(90deg, var(--primary-gold), #fff);
            box-shadow: 0 0 10px var(--primary-gold);
            position: relative;
        }

        /* --- News Tabs --- */
        .nav-tabs .nav-link {
            border-radius: 0;
            font-size: 0.9rem;
            border: none !important;
        }
        .nav-tabs .nav-link.active {
            background-color: rgba(212, 175, 55, 0.1) !important;
            border-bottom: 2px solid var(--primary-gold) !important;
        }
        .news-list-item {
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 15px 10px;
            transition: 0.3s ease;
        }
        .news-list-item:hover {
            background: rgba(212, 175, 55, 0.08);
            transform: translateX(5px);
        }

        /* --- Image Hover Effects --- */
        .image-card {
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }
        .image-card img {
            transition: 1s ease;
        }
        .image-card:hover img {
            transform: scale(1.1);
            filter: brightness(1);
        }
        .image-overlay {
            background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
            transition: 0.3s;
        }

        /* --- Footer --- */
        footer {
            border-top: 2px solid var(--primary-gold);
            background: #050505;
            padding: 60px 0 30px;
            margin-top: 80px;
        }
        .hover-gold:hover {
            color: var(--primary-gold) !important;
            padding-left: 5px;
            transition: 0.3s;
        }

