/*!
    
 =========================================================
 * 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: #ff2b2b;
    background-color: transparent;
    border-color: #ff2b2b;
    -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: #ff2b2b !important;
    border-color: #ff2b2b !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: rgb(200, 161, 101);
    border: 1px solid rgba(200, 161, 101, 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(200, 161, 101, 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(200, 161, 101, 0.08);
    color: rgb(200, 161, 101) !important;
    border-left: 2px solid rgb(200, 161, 101);
}

/* 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, rgb(255, 60, 60) 0%, rgb(120, 0, 0) 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: rgb(255, 60, 60);
    /* Fallback */
}

.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, rgb(255, 60, 60) 0%, rgb(120, 0, 0) 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(255, 0, 0, 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, rgb(120, 0, 0) 0%, rgb(255, 60, 60) 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, rgb(255, 60, 60) 0%, rgb(120, 0, 0) 100%);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    border-color: transparent;
}

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

/* Rankings Table Card Design */
.rankings-card {
    background: linear-gradient(135deg, rgba(13, 20, 30, 0.85) 0%, rgba(18, 9, 9, 0.8) 100%);
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    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: rgb(255, 60, 60);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

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

.rankings-table tbody tr:hover {
    background-color: rgba(255, 0, 0, 0.05);
}

.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(255, 0, 0, 0.1);
    color: rgb(255, 60, 60);
    border: 1px solid rgba(255, 0, 0, 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(255, 60, 60);
}

.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(255, 0, 0, 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(255, 0, 0, 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(255, 60, 60);
    padding-left: 10px;
}

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

.info-table th {
    background: rgba(8, 14, 25, 0.3);
    color: rgb(255, 60, 60);
    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(255, 0, 0, 0.1) !important;
}

.info-table tr:hover {
    background: rgba(255, 0, 0, 0.05);
}

.text-blue {
    color: rgb(255, 60, 60) !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(255, 60, 60);
    color: #c7d1db;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.login-modal-header {
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
}

.login-modal-header .close {
    color: rgb(255, 60, 60);
    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(255, 0, 0, 0.3);
    color: #fff;
}

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

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

.login-submit-btn:hover {
    background-color: rgb(255, 60, 60);
    border-color: rgb(255, 60, 60);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 0, 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(255, 60, 60);
}

/* =========================================
   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(255, 60, 60);
    background: linear-gradient(135deg, rgb(255, 60, 60) 0%, #fff 50%, rgb(120, 0, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    text-shadow: 0 4px 20px rgba(255, 0, 0, 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(255, 0, 0, 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 100px rgba(255, 0, 0, 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(255, 60, 60) 0%, transparent 70%);
}

.blob-bottom-right {
    bottom: -40px;
    right: -40px;
    background: radial-gradient(circle, rgb(120, 0, 0) 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(255, 60, 60);
    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(255, 60, 60);
    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(120, 0, 0, 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(255, 60, 60);
    box-shadow: 0 0 15px rgba(255, 0, 0, 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(120, 0, 0, 0.1);
    border: 1px solid rgba(120, 0, 0, 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(255, 0, 0, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.custom-checkbox:hover .checkmark {
    background-color: rgba(255, 0, 0, 0.1);
}

.custom-checkbox input:checked~.checkmark {
    background-color: rgb(255, 60, 60);
}

.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(255, 60, 60);
    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(120, 0, 0) 0%, rgb(255, 60, 60) 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(120, 0, 0, 0.4);
}

.register-shiny-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 0, 0, 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(255, 0, 0, 0.2);
    padding-top: 20px;
    color: #c7d1db;
}

.register-login-link a {
    color: rgb(255, 60, 60);
    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(255, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .border-right {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 0, 0, 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 */
.usercp-menubar {
    margin-bottom: 20px;
    background: rgba(13, 20, 30, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
}

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

.usercp-menu-list li {
    width: 100%;
}

.usercp-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 4px;
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.usercp-menu-item:hover,
.usercp-menu-item.active {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
    color: rgb(255, 60, 60);
    text-decoration: none;
}

.usercp-menu-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.usercp-menu-icon img {
    max-width: 20px;
    max-height: 20px;
}

.usercp-menu-text {
    font-weight: 500;
    font-size: 14px;
}

/* ===== MU VOLCON OVERRIDE RED THEME ===== */

#navbar {
    background: rgba(10,0,0,.78) !important;
    border-bottom: 1px solid rgba(255,0,0,.25) !important;
    box-shadow: 0 0 25px rgba(255,0,0,.15);
}

#navbar.scrolled {
    background: rgba(0,0,0,.92) !important;
}

#navbar ul li a:hover,
#navbar ul li a.active {
    color: #ff4d4d !important;
    text-shadow: 0 0 12px rgba(255,0,0,.7);
}

.rankings-card,
.register-glass-card,
.login-modal-content,
.usercp-menubar {
    border: 1px solid rgba(255,0,0,.25) !important;
    box-shadow: 0 0 25px rgba(255,0,0,.12);
}

.rank-pos-circle.rank-1 {
    background: linear-gradient(135deg,#ff2b2b,#7a0000);
}

.login-submit-btn,
.register-shiny-btn {
    background: linear-gradient(180deg,#ff1a1a,#7a0000) !important;
    border-color: rgba(255,0,0,.35) !important;
    box-shadow: 0 0 20px rgba(255,0,0,.35);
}

.login-submit-btn:hover,
.register-shiny-btn:hover {
    background: linear-gradient(180deg,#ff4040,#9c0000) !important;
    box-shadow: 0 0 30px rgba(255,0,0,.55);
}

.info-card-title h3,
.rankings-title,
.register-main-title {
    background: linear-gradient(90deg,#ff2b2b,#ff6a00,#ffffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
