/* 
 * Realmu Theme for WebEngine CMS
 * Based on Realmu_theme
 */

/* Base Styles */
/* =====================================================
   REALMU THEME - LOCAL FONT SYSTEM
   ===================================================== */

/* ===== LOAD LOCAL FONTS ===== */
@font-face {
    font-family: 'MuFont';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'MuFont';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'MuFont';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* FORCE FULL WEBSITE FONT */
html,
body,
input,
button,
select,
textarea,
.navbar,
.table,
.btn,

* {
    font-family: 'MuFont', sans-serif !important;
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    color: #ff4500;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6a33;
    text-decoration: none;
}

.bg-light-dark {
    background-color: #000;
}

/* Header Styles */
.sticky-header-wrap {
    border-bottom: 1px solid #333;
}

.header-logo {
    max-height: 60px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #e0e0e0;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;

    text-transform: none !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .active > .nav-link {
    color: var(--realmu-blue);
}

/* Main Navigation Bar */
.main-navigation-bar {
    width: 100%;
    background-color: #222;
    padding: 18px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.header-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ⭐ đẩy hết sang trái */
}

.header-logo-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mu-logo {
    display: flex;
    align-items: center;
}

.mu-logo-img {
    height: 65px;
    width: auto;
}

.player-stats {
    display: flex;
    align-items: center;

    background: none;
    border: none;
    padding: 0;
}

.player-online-count {

    font-weight: 700;
}


.main-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.main-nav-menu li {
    padding: 0;
    margin: 0;
}

.main-nav-menu li a {
    display: block;
    color: #fff;
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;

    text-transform: none !important;
}

.main-nav-menu li a:hover,
.main-nav-menu li.active a {
    color: var(--realmu-blue);
}

/* Header Video */
.header-video-wrapper {
    width: 100%;
    background-color: #000;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 30%; /* Adjusted for wider display */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.main-content-container {
    padding: 30px 0;
}

.main-content-container .container{
    max-width:1600px;
}

.container{
    max-width:1600px !important;
}

.content-block {
    background-color: #222;
    border-radius: 5px;
    border: 1px solid #333;
    padding: 40px;
    margin-bottom: 20px;
}

.content-block-title {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #ff4500;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.content-block-title .fa {
    margin-right: 5px;
}

/* Sidebar Styles */
.sidebar-block {
    background-color: #222;
    border-radius: 5px;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.sidebar-title {
    background-color: #ff4500;
    color: white;
    padding: 10px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 5px 5px 0 0;
}

.sidebar-content {
    padding: 15px;
}

/* Server Status Sidebar */
.server-status-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.server-status-item:last-child {
    border-bottom: none;
}

.server-indicator {
    display: flex;
    align-items: center;
}

.server-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.online {
    background-color: #5cb85c;
}

.busy {
    background-color: #f0ad4e;
}

.offline {
    background-color: #d9534f;
}

/* News Items */
.news-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.news-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-title a {
    color: #ff4500;
}

.news-meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-content {
    margin-bottom: 10px;
}

.news-content-preview {
    color: #ccc;
    margin-top: 5px;
    font-size: 0.9rem;
}

.news-readmore {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.home-news-block-article {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.home-news-block-article:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.home-news-block-article-title a {
    color: #ff4500;
    font-weight: 600;
}

.home-news-block-article-type {
    display: inline-block;
    background-color: rgba(255, 69, 0, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
    color: #ff4500;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.home-news-block-article-date {
    color: #888;
    font-size: 0.8rem;
}

.character-avatar {
    border: 2px solid #ff4500;
    box-shadow: 0 0 5px rgba(255, 69, 0, 0.5);
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.character-avatar:hover {
    transform: scale(1.1);
}

/* Footer */
.footer-container {
    background-color: #222;
    border-top: 1px solid #333;
    padding: 30px 0;
}

.footer-title {
    color: #ff4500;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #e0e0e0;
}

.footer-links a:hover {
    color: #ff4500;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background-color: #ff4500;
    border-color: #ff4500;
}

.btn-primary:hover {
    background-color: #ff6a33;
    border-color: #ff6a33;
}

.btn-secondary {
    background-color: #2a2a2a;
    border-color: #333;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background-color: #333;
    border-color: #444;
    color: #fff;
}

/* Tables */
.table {
    color: #e0e0e0;
}

.table-dark {
    background-color: #222;
}

.table-dark th,
.table-dark td,
.table-dark thead th {
    border-color: #333;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Forms */
.form-control {
    background-color: #2a2a2a;
    border-color: #333;
    color: #e0e0e0;
}

.form-control:focus {
    background-color: #2a2a2a;
    border-color: #ff4500;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.25);
}

/* Ranking Tables */
.ranking-table {
    width: 100%;
}

.ranking-table th {
    background-color: #2a2a2a;
    color: #ff4500;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.ranking-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}

.ranking-table tr:hover td {
    background-color: #2a2a2a;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.5rem;
    }
    
    .video-container {
        padding-bottom: 35%; /* Slightly taller on medium screens */
    }
    
    .main-nav-menu li a {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .mu-logo-img {
        height: 35px;
    }
    
    .player-stats {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .server-status-block {
        padding: 10px;
    }
    
    .content-block, .sidebar-block {
        padding: 15px;
    }
    
    .video-container {
        padding-bottom: 40%; /* Taller on smaller screens */
    }
    
    .header-nav-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-logo-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .main-navigation {
        width: 100%;
        justify-content: center;
    }
    
    .main-nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .main-nav-menu li a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .header-logo {
        max-height: 40px;
    }
    
    .video-container {
        padding-bottom: 50%; /* Even taller on mobile */
    }
    
    .mu-logo-img {
        height: 30px;
    }
    
    .player-stats {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .main-nav-menu {
        flex-wrap: wrap;
    }
    
    .main-nav-menu li {
        flex: 1 1 auto;
    }
    
    .main-nav-menu li a {
        padding: 8px 5px;
        font-size: 11px;
        text-align: center;
    }
}

/* Disable uppercase globally */
a,
span,
li,
.nav-link {
    text-transform: none !important;
}

/* LOGO TEXT */
.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;

    /* HIỆU ỨNG PHÁT SÁNG */
    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 20px #00ccff,
        0 0 35px #00ccff;
}

/* Hover sáng mạnh hơn */
.logo-text:hover {
    color: #ffffff;
    text-shadow:
        0 0 8px #ffffff,
        0 0 15px #00e1ff,
        0 0 30px #00e1ff,
        0 0 45px #00e1ff;
}

/* MENU RIGHT ALIGN */
.navbar-nav {
    margin-left: auto;
}

/* REGISTER BUTTON STYLE */
.register-btn {
    background: #ffd700;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 4px;
    margin-left: 10px;
}

.register-btn:hover {
    background: #ffae00;
    color: #000 !important;
}

/* MENU ROOT */
.main-nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-menu li {
    position: relative;
}

.main-nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 18px 0;
    display: block;
}

/* ===== MEGA MENU ===== */

.mega-menu-content {
    position: absolute;
    top: 77px;

    left: -95%;                 /* ⭐ bám theo menu */
    transform: translateX(-15%) translateY(15px);

    width: 1750px;

    background: #0b0b0b;
    padding: 30px 40px;

    display: flex;
    justify-content: space-between;
    gap: 60px;

    opacity: 0;
    visibility: hidden;

    transition: 0.25s ease;

    border-top: 3px solid #00ccff;
    z-index: 999;
}

/* SHOW */
.mega-menu:hover .mega-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* COLUMN */
.mega-column {
    flex: 1;
}

.mega-column h4 {
    color: #00ccff;
    margin-bottom: 10px;
    font-size: 15px;
}

/* LINK */
.mega-column a {
    display: block;
    padding: 6px 0;
    color: #ccc;
}

.mega-column a:hover {
    color: #fff;
    padding-left: 5px;
}

.main-navigation-bar {
    position: relative;
}

/* ===== REALMU ONLINE CENTER ALIGN ===== */

.player-stats {
    display: flex;
    align-items: center;
}

/* CỘT ONLINE */
.online-wrapper {
    display: flex;
    flex-direction: column;

    align-items: center;      /* ⭐ CENTER NGANG */
    justify-content: center;  /* ⭐ CENTER DỌC */

    text-align: center;

    gap: 10px;
    padding-right: 30px;
    margin-left: 10px;

    border-right: 1px solid rgba(255,255,255,0.08);
}

/* TEXT */
.player-online-text {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    line-height: 1;
}

/* LINE NGANG */
.online-divider {
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

/* SỐ ONLINE */
.player-online-count {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;

    text-shadow:
        0 0 4px #ffffff,
        0 0 8px #00ccff;
}

.online-update-time {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    line-height: 1;

    white-space: nowrap; /* ⭐ chống xuống dòng */
}

.header-logo-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation-bar .container {
    max-width: 1600px;
    margin: 0 auto;
}

.main-navigation {
    margin-left: 40px;
}

/* LANGUAGE MENU */
.language-menu {
    position: relative;
}

.lang-toggle {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

/* dropdown */
.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;

    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,0.08);

    min-width: 160px;
    padding: 8px 0;

    display: none;
    z-index: 999;
}

.language-dropdown li {
    list-style: none;
}

.language-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.language-dropdown a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* LANGUAGE POSITION REALMU */
.language-wrapper {
    margin-left: auto;
    padding-left: 160px;

    display: flex;
    align-items: center;

    white-space: nowrap;   /* ⭐ */
}

.main-nav-menu {
    display: flex;
    gap: 35px;

    flex-wrap: nowrap;     /* ⭐ QUAN TRỌNG */
    white-space: nowrap;   /* ⭐ KHÓA TEXT */
}

.main-nav-menu li a {
    white-space: nowrap;
}

.main-navigation {
    flex: 1;
}

.lang-toggle {
    cursor: pointer;
    color: #fff;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 6px;

    white-space: nowrap;   /* ⭐ KHÔNG XUỐNG DÒNG */
}

.language-menu {
    position: relative;
    flex-shrink: 0; /* ⭐ không bị co */
}

.news-notice{
    background:#e74c3c;
    color:#fff;
    padding:3px 8px;
    border-radius:4px;
}

.news-guide{
    background:#f1c40f;
    color:#000;
    padding:3px 8px;
    border-radius:4px;
}

.news-update{
    background:#3498db;
    color:#fff;
    padding:3px 8px;
    border-radius:4px;
}

/* ===== REALMU LOGIN STYLE ===== */

.header-login-form{
    display:flex;
    flex-direction:column;
    gap:6px;
}

/* password + login cùng hàng */
.login-wrapper{
    display: flex;
    align-items: center;   /* 👈 CĂN GIỮA THEO CHIỀU DỌC */
    gap: 12px;
    height: 70px;          /* bằng chiều cao header */
}

.login-wrapper input{
    height: 36px;
    line-height: 36px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.login-wrapper button{
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* input chung */
.login-input{
    width:250px;
    height:36px;

    background:url('../img/input-login.png') no-repeat center;
    background-size:100% 100%;

    display:flex;
    align-items:center;

    clip-path:polygon(
        0 0,
        calc(100% - 18px) 0,
        100% 100%,
        0% 100%
    );

    overflow:hidden;   /* ⭐ QUAN TRỌNG */
}

.login-input input{
    width:100%;
    height:36px;
    padding:0 15px 0 45px;  /* 👈 tăng padding trái */
    background:transparent;
    border:none;
    color:#fff;
}

.login-input i{
    position:absolute;
    left:15px;
    color:#888;
    font-size:13px;
}

/* PASSWORD + BUTTON cùng hàng */
.login-row{
    display:flex;
    align-items:center;
    gap:8px;
}

.login-password input{
    width:100%;
    height:36px;
    padding:0 15px 0 45px; /* giống username */
    background:transparent;
    border:none;
    color:#fff;
}

/* LOGIN BUTTON BLUE */
.login-btn{
    width:95px;
    height:36px;
    display:flex;
    border:none;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    margin-left:-25px;
    background:linear-gradient(
        135deg,
        #0d6efd,
        #004ecb
    );

    clip-path:polygon(
        0 0,
        82% 0,
        100% 100%,
        18% 100%
    );
}

.login-btn:hover{
    background:linear-gradient(
        135deg,
        #33a1ff,
        #1a75ff
    );
}

.user-input{
    width:100%;
}

.skew-btn{
    clip-path:polygon(
        0 0,
        calc(100% - 18px) 0,
        100% 100%,
        0% 100%
    );
}

.login-password{
    width:220px;
    height:36px;

    background:url('../img/input-login.png') no-repeat center;
    background-size:100% 100%;

    display:flex;
    align-items:center;
    overflow:hidden; /* ⭐ thêm dòng này */
    clip-path:polygon(
        0 0,
        calc(100% - 18px) 0,
        100% 100%,
        0% 100%
    );
}

/* ===== REALMU VERTICAL DIVIDER ===== */

.language-menu{
    position: relative;
    flex-shrink: 0;
    padding-right: 20px; /* tạo khoảng cách cho line */
}

.language-menu::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70px;
    background: rgba(255,255,255,0.08);
}


.rm-badge{
    padding:4px 8px;
    border-radius:4px;
    font-size:12px;
    margin-right:8px;
}

.rm-badge.news{background:#3498db;}
.rm-badge.update{background:#2ecc71;}
.rm-badge.event{background:#f39c12;}
.rm-badge.maintenance{background:#e74c3c;}

.rm-news-title{
font-size:20px;
margin-bottom:10px;
}

.rm-news-title a{
color:#fff;
text-decoration:none;
}


/* ===== REALMU NEWS BADGE ===== */

.rm-news-category{
    display:inline-block;
    padding:4px 10px;
    border-radius:6px;
    font-size:12px;
    font-weight:600;
    color:#fff;
}

/* NEWS */
.news-default{
    background: linear-gradient(180deg,#2ea8ff,#1c7ed6);
}

/* NOTICE */
.news-notice{
    background: linear-gradient(180deg,#ff6b6b,#e03131);
}

/* UPDATE */
.news-update{
    background: linear-gradient(180deg,#38d9a9,#099268);
}

/* EVENT */
.news-event{
    background: linear-gradient(180deg,#ffd43b,#f59f00);
}



/* ===== REMOVE WHITE INPUT BACKGROUND ===== */

.header-login-form input{
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

/* khi focus */
.header-login-form input:focus{
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* autofill chrome */
.header-login-form input:-webkit-autofill,
.header-login-form input:-webkit-autofill:hover,
.header-login-form input:-webkit-autofill:focus{
    -webkit-box-shadow: 0 0 0px 1000px #111 inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* =====================================
   REALMU NEWS STYLE
===================================== */

.news-meta{
background:#0d2b50;
padding:12px 20px;
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:2px solid #ff4c1e;
font-size:13px;
}

.news-tag{
color:#00bfff;
font-weight:600;
background:#102c54;
padding:4px 10px;
border-radius:3px;
font-size:12px;
}

.news-meta-right{
display:flex;
align-items:center;
gap:25px;
color:#9ca3af;
}

.news-meta i{
color:#00bfff;
font-size:12px;
margin-right:6px;
}

.news-body{
display:flex;
gap:30px;
align-items:flex-start;
}

.news-thumb img{
width:260px;
height:150px;
object-fit:cover;
border-radius:4px;
}

.news-info{
flex:1;
}

.news-title{
font-size:22px;
font-weight:700;
margin-bottom:6px;
}

.news-title a{
color:#fff;
text-decoration:none;
}

.news-title a:hover{
color:#3bc5ff;
}

.news-text{
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;

font-size:15px;
line-height:1.8;
color:#9fb0d0;
margin-top:8px;
}

.news-readmore{
margin-top:auto;
align-self:flex-end;
font-weight:600;
color:#3bc5ff;
}

.news-readmore:hover{
color:#fff;
}

/* NEWS SECTION */
.home-news-block{
width:100%;
padding:0;
}

.news-section-header{
display:flex;
justify-content:space-between;
align-items:flex-start;
margin-bottom:30px;
}

.news-header-left{
display:flex;
flex-direction:column;
}

.news-small-title{
color:#ff6a3d;
font-size:14px;
letter-spacing:2px;
text-transform:uppercase;
}

.news-big-title{
font-size:48px;
font-weight:700;
color:#ffffff;
margin:0;
}

.news-header-right{
margin-top:10px;
}

.news-header-right a{
background:#b45b4b;
color:#fff;
padding:10px 26px;
font-weight:600;
text-decoration:none;
clip-path:polygon(0 0,100% 0,90% 100%,0% 100%);
}

.news-header-right a:hover{
background:#d46b5b;
}


/* ===== PATCH NOTES REALMU FINAL ===== */

/* TITLE */
.patch-notes-title{
    background: linear-gradient(135deg,#d46b5b,#b45b4b);
    color:#fff;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:16px;

    padding:14px 18px;
    border-radius:6px 6px 0 0;

    box-shadow:0 0 15px rgba(212,107,91,0.25);
}

/* CONTAINER */
.sidebar-content{
    background:#0f1622;
    border-radius:0 0 6px 6px;
}

/* LIST */
.patch-notes-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

/* ITEM */
.patch-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:#0b1220;
    padding:14px 16px;

    border-radius:6px;
    border:1px solid rgba(255,255,255,0.04);

    transition:all 0.25s ease;
}

.patch-item:hover{
    background:#111a2e;
    transform:translateY(-2px);
}

/* TITLE TEXT */
.patch-title{
    color:#c7d0e0;
    font-size:13.5px;
    font-weight:600;
    text-decoration:none;
}

.patch-title:hover{
    color:#3bc5ff;
}

/* DATE */
.patch-date{
    background:linear-gradient(135deg,#d46b5b,#b45b4b);
    color:#fff;

    padding:5px 12px;
    border-radius:20px;

    font-size:11px;
    font-weight:600;

    box-shadow:0 0 10px rgba(212,107,91,0.25);
}

/* =====================================
   REALMU NEWS CARD (CLEAN VERSION)
===================================== */

.rm-news-card{
    width:100%;
    background:#141a24;

    padding:40px 45px; /* 🔥 tăng thêm */

    margin-bottom:35px;

    border-radius:6px;
    border:1px solid rgba(255,255,255,0.04);
}

/* hover nhẹ giống realmu */
.rm-news-card:hover{
    background:#1b2330;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,0.35);
}

/* ===== META ===== */
.news-meta{
    background:#0d2b50;
    padding:12px 20px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    border-bottom:2px solid #ff4c1e;
    font-size:13px;
}

/* TAG */
.news-tag{
    font-weight:600;
    padding:4px 10px;
    border-radius:4px;
    font-size:12px;
}

/* RIGHT META */
.news-meta-right{
    display:flex;
    align-items:center;
    gap:20px;
    color:#9ca3af;
}

.news-meta i{
    color:#00bfff;
    font-size:12px;
    margin-right:6px;
}

/* ===== BODY ===== */
.news-body{
    display:flex;
    gap:30px;
    align-items:flex-start;
    margin-top:20px;
}

/* IMAGE */
.news-thumb img{
    width:180px;
    height:200px;
    object-fit:cover;
    border-radius:4px;
    transition:.3s;
}

.rm-news-card:hover .news-thumb img{
    transform:scale(1.05);
}

/* CONTENT */
.news-info{
    flex:1;
}

/* TITLE */
.news-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:6px;
}

.news-title a{
    color:#fff;
    text-decoration:none;
}

.news-title a:hover{
    color:#3bc5ff;
}

/* TEXT */
.news-text{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;

    font-size:15px;
    line-height:1.8;
    color:#9fb0d0;

    margin-top:8px;
}

/* READ MORE */
.news-readmore{
    display:inline-block;
    margin-top:12px;

    font-weight:600;
    color:#3bc5ff;
    text-decoration:none;
}

.news-readmore:hover{
    color:#fff;
}

.row{
    margin-left:-20px;
    margin-right:-20px;
}

.col-md-9,
.col-md-3{
    padding-left:20px;
    padding-right:20px;
}

/* PATCH NOTES FULL HEIGHT */
.col-md-3{
    display:flex;
    flex-direction:column;
}

.patch-notes-list{
    max-height:650px;   /* 🔥 giống realmu */
    overflow-y:auto;
    padding-right:5px;
}

/* ===== REALMU SLIDER ===== */

/* CONTAINER CHO SLIDER */
.rm-slider-section{
    margin-top:60px;
    display:flex;
    justify-content:center; /* căn giữa */
}

/* GIỚI HẠN CHIỀU NGANG */
.rm-slider{
    width:100%;
    max-width:1600px;   /* 🔥 chỉnh số này */
}

.swiper-slide{
    display:flex;
    justify-content:center;
}

.rm-slide-block{
    background:#141a24;
    padding:40px;
    border-radius:6px;
    border:1px solid rgba(255,255,255,0.05);
}

/* HEADER */
.rm-slide-header span{
    color:#ff6a3d;
    font-size:14px;
    letter-spacing:2px;
}

.rm-slide-header h2{
    font-size:42px;
    color:#fff;
    margin:5px 0 25px;
}

/* ITEM */
.rm-slide-item{
    display:flex;
    justify-content:space-between;
    padding:15px 20px;
    margin-bottom:12px;

    background:#0f1622;
    border-radius:6px;

    transition:0.25s;
}

.rm-slide-item:hover{
    background:#1b2330;
}

.rm-slide-item span:last-child{
    color:#3bc5ff;
}

/* DOTS */
.swiper-pagination-bullet{
    background:#666;
    opacity:1;
}

.swiper-pagination-bullet-active{
    background:#3bc5ff;
}

.rm-slider-section{
    margin-top:60px;
    width:100%;
}

.rm-slide-block{
    max-width:1600px;
    margin:0 auto;
}


/* ===== BOOTSTRAP FONT FIX ===== */

h1,h2,h3,h4,h5,h6,
p,span,div,
a,li,td,th {
    font-family: 'MuFont', sans-serif !important;
}

.header-login-form{
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-left:30px;
}