/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/
.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-top: none !important;
}

a:focus,
a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    color: #666;
}

.form-control:focus {
    border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
    border-color: #ff0000;
}

.btn-primary {
    color: var(--color-ember);
    background-color: transparent;
    border-color: var(--color-ember);
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    color: #fff !important;
    background-color: var(--color-ember) !important;
    border-color: var(--color-ember) !important;
}

/* Navbar Merge Styles */
#navbar {
    height: auto;
    padding: 10px 0;
    /* Slightly increased padding for initial state */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000;
    transition: all 0.3s ease;
    /* Smooth transition */
    background-color: transparent;
    /* Start transparent */
}

#navbar.scrolled {
    padding: 0;
    /* Default padding on scroll */
    background-color: #0d0d0dcc;
    /* Darker background when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-content-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.navbar-logo {
    max-height: 60px;
    /* Slightly larger initial logo */
    width: auto;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    filter: brightness(1.2);
}

#navbar.scrolled .navbar-logo {
    max-height: 50px;
    /* Default size when scrolled */
}

.navbar-left,
.navbar-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.navbar-center {
    flex: 2;
    text-align: center;
    display: flex;
    justify-content: center;
}

.navbar-right {
    justify-content: flex-end;
    gap: 15px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar-right a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.navbar-right a:hover {
    color: #fff;
}

.navbar-separator {
    color: #444;
}

/* Adjust Language Selector in Navbar */
.webengine-language-selector-new {
    margin: 0;
}

/* Adjust existing navbar ul to behave well in flex */
#navbar ul {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

#navbar ul li {
    display: inline-block;
}

/* Fix for Language Dropdown items inheriting generic navbar styles */
#navbar .webengine-language-dropdown {
    white-space: normal;
}

#navbar .webengine-language-dropdown li {
    display: block;
}

#navbar ul li a {
    padding: 20px 15px;
    /* Reduce padding to fit everything */
    font-size: 14px;
}

.form-horizontal .control-label {
    text-align: left !important;
}

/* Language Switcher Redesign */
.webengine-language-selector-new {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

.webengine-language-selector-new:hover .webengine-language-dropdown {
    display: block;
}

.webengine-language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
}

.webengine-language-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.webengine-language-btn svg {
    display: block;
}

.webengine-language-btn .lucide-globe {
    width: 1rem;
    height: 1rem;
}

.webengine-language-btn .lucide-chevron-down {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.3s;
}

.webengine-language-switcher:hover .lucide-chevron-down {
    transform: rotate(180deg);
}

.webengine-language-btn .lang-code {
    font-weight: 500;
}

/* Refined Language Dropdown Styles */
.webengine-language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 5px;
    background-color: #0d0d0d;
    /* Extremely dark grey/black */
    border: 1px solid rgba(212, 175, 55, 0.4);
    /* Gold border */
    border-radius: 2px;
    padding: 5px 0;
    list-style: none;
    min-width: unset;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.webengine-language-dropdown li {
    display: block;
    margin: 0;
    padding: 0;
}

.webengine-language-dropdown li a {
    display: block;
    padding: 8px 15px !important;
    color: #a0a0a0 !important;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left !important;
    /* Force left alignment */
    line-height: normal;
    border-left: 2px solid transparent;
}


.webengine-language-dropdown li a:hover {
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--color-gold) !important;
    border-left: 2px solid var(--color-gold);
}

/* Responsive Navbar Styles */
.navbar-toggle-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    color: #c8a165;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

@media (max-width: 991px) {

    /* Increase navbar height on mobile */
    #navbar {
        padding: 20px 0 !important;
        /* Force even larger padding */
    }

    .navbar-content-container {
        width: 100%;
        padding: 0 25px;
        /* Increased padding from edge */
    }

    .navbar-toggle-btn {
        display: block;
    }

    .navbar-toggle-btn svg {
        width: 48px;
        /* Extra Big button */
        height: 48px;
    }

    /* Hide the center menu by default on mobile */
    .navbar-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0d0d0d;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
        /* More padding in dropdown */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    /* Show when active */
    .navbar-center.active {
        display: block;
    }

    .navbar-center ul {
        display: block;
    }

    #navbar ul li {
        display: block;
        margin: 0;
        text-align: center;
    }

    #navbar ul li a {
        display: block;
        padding: 25px;
        /* Huge touch target */
        font-size: 20px;
        /* Huge text */
    }

    /* Adjust navbar logo for mobile */
    .navbar-logo {
        max-height: 40px !important;
        /* Force extra large logo */
    }


}

/* Enhancements for smaller screens */
@media (max-width: 480px) {
    .navbar-content-container {
        padding: 0 20px;
    }

    .navbar-logo {
        max-height: 40px !important;
        /* Keep it extra large even on small screens */
    }

    .navbar-right {
        gap: 12px;
        /* Slightly more space */
    }

    .webengine-language-selector-new {
        display: none;
    }
}

/* Hero Header Styles */
#header {
    position: relative;
    width: 100%;
    min-height: 110dvh;
    /* Use dynamic viewport height for mobile */
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken video slightly to make logo pop */
    z-index: 1;
}

.webengine-mu-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    width: 400px;
    max-width: 90%;
    /* Ensure responsiveness */
    height: auto;
    transform: translateY(-40px);
    /* Move logo further up */
}

@media (max-width: 768px) {
    .webengine-mu-logo {
        width: 90% !important;
        /* Use percentage to avoid viewport overflow */
        max-width: 500px !important;
        /* Cap it reasonably */
        transform: translateY(10px) !important;
    }
}

@media (max-width: 480px) {
    .webengine-mu-logo {
        width: 95% !important;
        /* Maximize within container */
        max-width: 400px !important;
        /* Cap for small screens */
    }
}

/* Prevent scrollbar disappearance and layout shift */
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* Custom Rankings Title Styles */
.rankings-title-container {
    text-align: center;
    margin-bottom: 48px;
    margin-top: 24px;
}

.rankings-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-crimson) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-gold);
}

.rankings-subtitle {
    color: rgb(150, 180, 200);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Ensure Menu Container centering */
.rankings_menu {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Refined Rankings Title Styles (Stronger Specificity) */
body .rankings-title-container {
    text-align: center !important;
    margin-bottom: 48px !important;
    margin-top: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

body .rankings-title {
    font-family: 'Cinzel', serif !important;
    font-size: 6rem !important;
    /* Even bigger */
    font-weight: 700 !important;
    margin-bottom: 0px !important;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-crimson) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

body .rankings-subtitle {
    color: rgb(150, 180, 200) !important;
    font-size: 1.5rem !important;
    /* Increased from 1.125rem */
    font-weight: 400 !important;
    margin-top: 0 !important;
}

/* Rankings Class Filter Redesign */
.rankings-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: rgba(13, 20, 30, 0.6);
    border: 1px solid rgba(191, 201, 202, 0.2);
    border-radius: 16px;
    margin-bottom: 32px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
}

.rankings-filter-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rankings-filter-btn:hover {
    transform: scale(1.1);
    opacity: 1 !important;
    filter: grayscale(0%) !important;
}

.rankings-filter-ring {
    padding: 3px;
    border-radius: 50%;
    transition: all 0.3s ease;
    /* Default border for inactive state logic handled inline or here */
}

.rankings-filter-all-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-orange) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
}

.rankings-filter-img-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
}

.rankings-filter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rankings Filter Active States */
.rankings-filter-btn {
    opacity: 0.6;
    filter: grayscale(100%);
}

.rankings-filter-btn.active {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
    transform: scale(1.1);
}

.rankings-filter-btn .rankings-filter-ring {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rankings-filter-btn.active .rankings-filter-ring {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-crimson) 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    border-color: transparent;
}

.rankings-filter-btn.active .rankings-filter-all-icon {
    box-shadow: 0 0 15px rgba(102, 163, 216, 0.6);
}

/* Rankings Table Card Design */
.rankings-card {
    background: linear-gradient(135deg, rgba(90, 13, 13, 0.85) 0%, rgba(13, 20, 30, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.rankings-table thead th {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.rankings-table tbody tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: background-color 0.3s ease;
}

.rankings-table tbody tr:hover {
    background-color: rgba(90, 13, 13, 0.1);
}

.rankings-table td {
    padding: 16px 24px;
    vertical-align: middle;
    color: #e6d6c6;
    font-size: 0.95rem;
}

/* Position Circles */
.rank-pos-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.rank-1 {
    background: linear-gradient(135deg, rgb(255, 215, 0) 0%, rgb(255, 165, 0) 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-2 {
    background: linear-gradient(135deg, rgb(224, 224, 224) 0%, rgb(169, 169, 169) 100%);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}

.rank-3 {
    background: linear-gradient(135deg, rgb(205, 127, 50) 0%, rgb(160, 82, 45) 100%);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.4);
}

.rank-n {
    background: rgba(102, 163, 216, 0.1);
    color: rgb(102, 163, 216);
    border: 1px solid rgba(102, 163, 216, 0.3);
}

/* Avatar & Info */
.rankings-table .player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rankings-table .player-name {
    font-weight: 700;
    color: #e6d6c6;
    text-decoration: none;
    transition: color 0.2s;
}

.rankings-table .player-name:hover {
    color: rgb(102, 163, 216);
}

.rankings-table .class-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rankings-table .class-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(102, 163, 216, 0.3);
}

/* Center alignment helper */
.text-center {
    text-align: center !important;
}

/* Info Module Styles */
.info-card-title {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(102, 163, 216, 0.2);
    background: linear-gradient(90deg, rgba(8, 14, 25, 0.4) 0%, rgba(8, 14, 25, 0) 100%);
    border-radius: 12px 12px 0 0;
}

.info-card-title h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #c7d1db;
    font-family: 'Cinzel', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-left: 3px solid rgb(234, 60, 60);
    padding-left: 10px;
}

.info-table {
    width: 100%;
    margin: 0;
}

.info-table th {
    background: rgba(8, 14, 25, 0.3);
    color: rgb(102, 163, 216);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 15px;
    border: none !important;
}

.info-table td {
    padding: 15px;
    font-size: 1.1rem;
    color: #aebbc9;
    border-top: 1px solid rgba(102, 163, 216, 0.1) !important;
}

.info-table tr:hover {
    background: rgba(102, 163, 216, 0.05);
}

.text-blue {
    color: rgb(102, 163, 216) !important;
    font-weight: bold;
}

.text-highlight {
    color: #e6e6e6 !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.table-responsive {
    overflow-x: auto;
}

/* Embed responsive for video */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Login Modal Styles */
/* Login Modal Styles */
#loginModal {
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
}

#loginModal.in,
#loginModal.show {
    display: flex !important;
    /* Only flex when active */
}

#loginModal .modal-dialog {
    margin: 0;
    max-width: 400px;
    width: 100%;
}

.login-modal-content {
    background-color: rgba(13, 20, 30, 0.9);
    border: 1px solid rgb(102, 163, 216);
    color: #c7d1db;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(102, 163, 216, 0.2);
    backdrop-filter: blur(5px);
}

.login-modal-header {
    border-bottom: 1px solid rgba(102, 163, 216, 0.3);
}

.login-modal-header .close {
    color: rgb(102, 163, 216);
    opacity: 0.8;
    text-shadow: none;
}

.login-modal-header .close:hover {
    opacity: 1;
    color: #fff;
}

.login-modal-body input.form-control {
    background-color: rgba(13, 20, 30, 0.6);
    border: 1px solid rgba(102, 163, 216, 0.3);
    color: #fff;
}

.login-modal-body input.form-control:focus {
    border-color: rgb(102, 163, 216);
    box-shadow: 0 0 10px rgba(102, 163, 216, 0.3);
}

.login-submit-btn {
    background-color: rgba(102, 163, 216, 0.2);
    border: 1px solid rgb(102, 163, 216);
    color: rgb(102, 163, 216);
    font-weight: bold;
    transition: all 0.3s ease;
}

.login-submit-btn:hover {
    background-color: rgb(102, 163, 216);
    border-color: rgb(102, 163, 216);
    color: #fff;
    box-shadow: 0 0 15px rgba(102, 163, 216, 0.6);
}

.forgot-password-link {
    color: #888;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: rgb(102, 163, 216);
}

/* =========================================
   Advanced Premium Glass Registration Styles
   ========================================= */

.register-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    width: 100%;
    min-height: 80vh;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-main-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgb(102, 163, 216);
    background: linear-gradient(135deg, rgb(102, 163, 216) 0%, #fff 50%, rgb(63, 101, 136) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    text-shadow: 0 4px 20px rgba(102, 163, 216, 0.3);
}

.register-subtitle {
    color: rgb(150, 180, 200);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Glass Card */
.register-glass-card {
    position: relative;
    width: 100%;
    max-width: 550px;
    background: linear-gradient(135deg, rgba(8, 14, 25, 0.95) 0%, rgba(13, 20, 30, 0.85) 50%, rgba(8, 14, 25, 0.95) 100%);
    border: 1px solid rgba(102, 163, 216, 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 100px rgba(102, 163, 216, 0.1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    z-index: 10;
}

/* Decorative Blobs (Ambients) */
.register-blob {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.blob-top-left {
    top: -40px;
    left: -40px;
    background: radial-gradient(circle, rgb(102, 163, 216) 0%, transparent 70%);
}

.blob-bottom-right {
    bottom: -40px;
    right: -40px;
    background: radial-gradient(circle, rgb(63, 101, 136) 0%, transparent 70%);
}

.register-content {
    position: relative;
    z-index: 10;
}

.register-form-space {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Inputs */
.register-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-label {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(102, 163, 216);
    margin: 0;
    text-align: left;
}

.register-field-wrapper {
    position: relative;
}

.register-icon-wrapper {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    color: rgb(102, 163, 216);
    pointer-events: none;
}

.limit-icon {
    width: 20px;
    height: 20px;
}

.register-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    /* Space for icon */
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(63, 101, 136, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 50;
    /* Ensure clickable */
    cursor: text;
}

.register-input:focus {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgb(102, 163, 216);
    box-shadow: 0 0 15px rgba(102, 163, 216, 0.2);
}

.register-input::placeholder {
    color: #5a6b7c;
}

.register-help {
    font-size: 0.75rem;
    color: #5a6b7c;
    margin: 0;
    text-align: right;
}

/* Checkboxes */
.register-terms-container {
    background: rgba(63, 101, 136, 0.1);
    border: 1px solid rgba(63, 101, 136, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #c7d1db;
    margin: 0;
    position: relative;
    z-index: 50;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 20px;
    width: 20px;
    z-index: 50;
    left: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 163, 216, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.custom-checkbox:hover .checkmark {
    background-color: rgba(102, 163, 216, 0.1);
}

.custom-checkbox input:checked~.checkmark {
    background-color: rgb(102, 163, 216);
}

.checkmark:after {
    content: "";
    display: none;
    width: 6px;
    height: 12px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.checkbox-text a {
    color: rgb(102, 163, 216);
    text-decoration: underline;
    font-weight: 600;
}

/* Shiny Button */
.register-submit-wrapper {
    margin-top: 20px;
}

.register-shiny-btn {
    position: relative;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, rgb(63, 101, 136) 0%, rgb(102, 163, 216) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(63, 101, 136, 0.4);
}

.register-shiny-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(102, 163, 216, 0.5);
}

.btn-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-text {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: skewX(-20deg) translateX(-150%);
    transition: transform 0.5s;
    pointer-events: none;
}

.register-shiny-btn:hover .btn-shine {
    transform: skewX(-20deg) translateX(150%);
    transition: transform 1s ease-in-out;
}

/* Login Link */
.register-login-link {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(102, 163, 216, 0.2);
    padding-top: 20px;
    color: #c7d1db;
}

.register-login-link a {
    color: rgb(102, 163, 216);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s;
}

.register-login-link a:hover {
    color: #fff;
}

/* Recaptcha */
.register-recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    opacity: 0.9;
}

/* UserCP Unified Card Utilities */
.border-right {
    border-right: 1px solid rgba(102, 163, 216, 0.1);
}

@media (max-width: 991px) {
    .border-right {
        border-right: none !important;
        border-bottom: 1px solid rgba(102, 163, 216, 0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* Sidebar Banner Fix (Re-adding if missing) */
.sidebar-banner img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.sidebar-banner img:hover {
    transform: translateY(-2px);
}

/* Hero Responsive Fixes */
@media (max-width: 480px) {
    .hero-server-info-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 10px !important;
        /* Reduced padding slightly as container is narrower */
        width: 90% !important;
        /* Shrink width */
        max-width: 90% !important;
        margin: 0 auto 30px auto !important;
        box-sizing: border-box;
    }

    .hero-stat-card {
        width: 100% !important;
        height: 110px !important;
        margin: 0 !important;
        padding: 10px !important;
    }

    .hero-action-buttons {
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box;
    }
}

/* Even Smaller Screens Fix */
@media (max-width: 360px) {
    .hero-server-info-grid {
        gap: 8px !important;
        padding: 0 5px !important;
        width: 95% !important;
        max-width: 95% !important;
    }

    .hero-stat-card {
        height: 95px !important;
        padding: 8px !important;
    }

    .hero-stat-label {
        font-size: 10px !important;
    }

    .hero-stat-value {
        font-size: 13px !important;
    }
}

/* Responsive Fixes */
html {
    min-width: auto !important;
}

#container {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.footer>.footer-container {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.global-top-bar .global-top-bar-content {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* UserCP Horizontal Menu - Premium Redesign */
.usercp-menubar {
    margin-bottom: 30px;
    background: rgba(10, 15, 20, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(8px);
}

.usercp-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.usercp-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--color-silver) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.usercp-menu-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background: var(--color-gold);
    transition: all 0.3s ease;
    opacity: 0;
}

.usercp-menu-item:hover {
    background: rgba(90, 13, 13, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.usercp-menu-item:hover::before {
    height: 2px;
    opacity: 0.5;
}

.usercp-menu-item.active {
    background: linear-gradient(180deg, rgba(30, 35, 45, 0.9) 0%, rgba(90, 13, 13, 0.4) 100%);
    border-color: var(--color-gold);
    color: var(--color-gold) !important;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.2);
}

.usercp-menu-item.active::before {
    height: 3px;
    opacity: 1;
    box-shadow: 0 0 10px var(--color-gold);
}

.usercp-menu-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    padding: 6px;
    transition: all 0.3s ease;
}

.usercp-menu-icon img {
    max-width: 24px;
    max-height: 24px;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.3s ease;
}

.usercp-menu-item:hover .usercp-menu-icon,
.usercp-menu-item.active .usercp-menu-icon {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    background: rgba(90, 13, 13, 0.2);
}

.usercp-menu-item:hover .usercp-menu-icon img,
.usercp-menu-item.active .usercp-menu-icon img {
    filter: grayscale(0%) brightness(1.2) drop-shadow(0 0 3px var(--color-gold));
    transform: scale(1.1);
}

.usercp-menu-text {
    font-family: "Cinzel", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* UserCP Module Components */
.ucp-btn-crimson {
    background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-orange) 100%);
    border: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(90, 13, 13, 0.4);
}

.ucp-btn-crimson:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 13, 13, 0.6);
    filter: brightness(1.1);
}

.ucp-input-gold {
    background: rgba(10, 15, 20, 0.7) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    color: #fff !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.ucp-input-gold:focus {
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2) !important;
    background: rgba(20, 25, 35, 0.9) !important;
    outline: none !important;
}

.panel-usercp {
    background: linear-gradient(180deg, rgba(20, 25, 35, 0.9) 0%, rgba(10, 12, 18, 0.95) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    backdrop-filter: blur(15px);
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.panel-usercp .panel-heading {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
}

.panel-usercp .panel-title {
    font-family: 'Cinzel', serif !important;
    color: var(--color-gold) !important;
    font-size: 20px !important;
    letter-spacing: 2px !important;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================
   Info Module Styles (Solid Redesign)
   ========================================= */
.info-panel-modern { 
    margin-bottom: 40px;
    background: rgba(10, 12, 18, 0.98) !important; 
    border: 1px solid rgba(212, 175, 55, 0.15); 
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9), 0 15px 40px rgba(0, 0, 0, 0.6); 
    border-radius: 12px; 
    position: relative;
    overflow: hidden;
    padding: 0; /* Remove padding to let header go full width */
    backdrop-filter: blur(20px);
}

.info-panel-modern:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    z-index: 10;
}

.info-card-title {
    background: linear-gradient(90deg, rgba(90, 13, 13, 0.3) 0%, rgba(10, 12, 18, 0.2) 100%);
    padding: 20px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--color-crimson);
}

.info-card-title h3 {
    font-family: "Cinzel", serif; 
    font-size: 22px; 
    font-weight: bold; 
    margin: 0;
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-accent) 100%); 
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    display: inline-block;
}

.info-table {
    width: 100%;
    background-color: transparent;
    margin: 0;
}

.info-table th {
    color: var(--color-gold) !important;
    background: rgba(0, 0, 0, 0.3);
    font-weight: bold;
    border-bottom: 2px solid rgba(212, 175, 55, 0.1) !important;
    padding: 18px 30px !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.info-table td {
    color: var(--color-silver) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
    padding: 16px 30px !important;
    vertical-align: middle !important;
    font-size: 15px;
}

.info-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.info-table tr:hover td {
    background-color: rgba(90, 13, 13, 0.08);
    color: #fff !important;
}

.info-table .text-blue {
    color: var(--color-gold-accent) !important;
    font-weight: bold;
}

.info-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.02; /* Even lower opacity for pure solidity */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235A0D0D' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.info-content-wrapper { position: relative; z-index: 2; }

/* =========================================
   Unified Auth Panel Styles (Crimson/Gold theme)
   ========================================= */
.auth-panel-modern {
    margin-top: 50px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, rgba(90, 13, 13, 0.9) 0%, rgba(13, 20, 30, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.auth-panel-modern:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    box-shadow: 0px 0px 15px rgba(212, 175, 55, 0.5);
    z-index: 10;
    border-radius: 12px 12px 0 0;
}

.auth-panel-modern .panel-body {
    padding: 40px;
    position: relative;
    z-index: 5;
}

.auth-content-wrapper {
    position: relative;
    z-index: 10;
}

.auth-title {
    font-family: "Cinzel", serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

.auth-label {
    color: var(--color-silver);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: "PT Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-input {
    background: rgba(10, 15, 20, 0.7) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #fff !important;
    height: 50px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative;
    z-index: 20;
}

.auth-input:focus {
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2) !important;
    background: rgba(20, 25, 35, 0.9) !important;
    outline: none !important;
}

.auth-btn {
    border: none;
    background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-orange) 100%);
    color: #fff;
    font-weight: bold;
    padding: 14px;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(90, 13, 13, 0.4);
    cursor: pointer;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 13, 13, 0.6);
    filter: brightness(1.1);
    color: #fff;
}

.auth-link {
    color: var(--color-gold);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.8;
}

.auth-link:hover {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

.auth-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235A0D0D' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}
/* =========================================
   UserCP Dashboard & Module Styles
   ========================================= */
.ucp-dashboard-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.ucp-title {
    font-family: "Cinzel", serif;
 font-size: 32px;
 font-weight: bold;
 color: var(--color-gold);
 text-transform: uppercase;
 letter-spacing: 2px;
 margin: 0;
}

.ucp-info-card {
    background: rgba(25, 30, 35, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ucp-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37 0%, #D4AF37 30%, #8A6D3B 50%, #D4AF37 70%, #D4AF37 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.ucp-info-card.highlighted {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(90, 13, 13, 0.15);
}

.ucp-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.ucp-info-label {
    font-size: 11px;
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: bold;
    opacity: 0.7;
}

.ucp-info-value {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: "Cinzel", serif;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.ucp-info-footer {
    font-size: 13px;
    color: var(--color-silver);
    font-weight: 500;
}

.ucp-credit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ucp-credit-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ucp-credit-value {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.status-badge {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-badge.active { background: rgba(39, 174, 96, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); }
.status-badge.active::before { background: #2ecc71; box-shadow: 0 0 8px #2ecc71; }

.status-badge.online { background: rgba(39, 174, 96, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); }
.status-badge.online::before { background: #2ecc71; box-shadow: 0 0 8px #2ecc71; }

.status-badge.offline { background: rgba(149, 165, 166, 0.1); color: #bdc3c7; border: 1px solid rgba(189, 195, 199, 0.3); }
.status-badge.offline::before { background: #bdc3c7; }

.status-badge.banned { background: rgba(192, 57, 43, 0.1); color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.3); }
.status-badge.banned::before { background: #e74c3c; box-shadow: 0 0 8px #e74c3c; }

/* =========================================
   Premium Character Cards (UserCP)
   ========================================= */
.characters-grid {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.char-card-premium {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.95) 0%, rgba(10, 12, 15, 1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.char-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.char-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 50px rgba(90, 13, 13, 0.6);
}

/* Avatar Section */
.char-avatar-rim {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    padding: 4px;
    background: linear-gradient(135deg, #D4AF37 0%, #8A6D3B 50%, #D4AF37 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.char-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #111;
    background: #000;
}

.char-status-glow {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #111;
    background: #95a5a6;
    z-index: 2;
}

.char-card-premium.online .char-status-glow {
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71, 0 0 20px rgba(46, 204, 113, 0.4);
}

.char-card-premium.online .char-avatar-rim {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Details Section */
.char-name-premium {
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.char-class-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(211, 84, 0, 0.15);
    border: 1px solid rgba(211, 84, 0, 0.3);
    border-radius: 20px;
    color: var(--color-ember);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Stats Section */
.char-stats-modern {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--color-silver);
    font-weight: 500;
}

.stat-val {
    color: #fff;
    font-weight: bold;
}

.char-level-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 8px 0 15px;
    overflow: hidden;
}

.char-level-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-gold));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Footer Section */
.char-card-footer {
    margin-top: 25px;
}

.char-view-btn {
    display: block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.char-view-btn:hover {
    background: var(--color-crimson);
    border-color: var(--color-gold);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(90, 13, 13, 0.5);
}

.ucp-section-header {
    border-left: 3px solid var(--color-gold);
    padding-left: 15px;
    margin-bottom: 25px;
}

.ucp-subtitle {
    font-family: "Cinzel", serif;
    font-size: 22px;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}


/* Final UserCP Polish */
.char-avatar-container.sm {
    width: 60px;
    height: 60px;
}

.char-avatar-container.sm .char-avatar {
    padding: 2px;
}

.points-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--color-gold);
    display: inline-block;
}

.points-badge strong {
    font-size: 1.25rem;
    margin: 0 5px;
}

.addstats-form-container {
    padding: 10px;
}

.w-100 { width: 100% !important; }

.small { font-size: 12px; color: #888; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-5 { margin-top: 40px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 25px; }
.mb-5 { margin-bottom: 40px; }


/* =========================================
   Add Stats Module - Premium Grid
   ========================================= */
.addstats-card-premium {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.95) 0%, rgba(10, 12, 15, 1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.addstats-card-premium:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(90, 13, 13, 0.4);
}

.points-badge-premium {
    background: rgba(211, 84, 0, 0.1);
    border: 1px solid rgba(211, 84, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.points-badge-premium span {
    font-size: 11px;
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.points-badge-premium strong {
    color: var(--color-gold);
    font-size: 18px;
    font-family: "Cinzel", serif;
}

.stat-input-group {
    margin-bottom: 15px;
    text-align: left;
}

.stat-input-group label {
    display: block;
    font-size: 11px;
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.stat-input-group label span {
    color: var(--color-gold);
    opacity: 0.8;
}

.premium-stat-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.premium-stat-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(90, 13, 13, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.module-requirements-premium {
    margin-top: 50px;
    background: rgba(20, 25, 30, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--color-gold);
    border-radius: 8px;
    padding: 25px;
}

.module-requirements-premium h3 {
    font-family: "Cinzel", serif;
    font-size: 18px;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.req-item {
    font-size: 13px;
    color: var(--color-silver);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.req-item strong {
    color: #fff;
}


