/*!
    
 =========================================================
 * 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: #3f6588;
    background-color: transparent;
    border-color: #3f6588;
    -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: #3f6588 !important;
    border-color: #3f6588 !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(102, 163, 216) 0%, rgb(63, 101, 136) 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(102, 163, 216);
    /* 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(102, 163, 216) 0%, rgb(63, 101, 136) 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(102, 163, 216, 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(63, 101, 136) 0%, rgb(102, 163, 216) 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(102, 163, 216) 0%, rgb(63, 101, 136) 100%);
    box-shadow: 0 0 15px rgba(102, 163, 216, 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(13, 20, 30, 0.85) 0%, rgba(18, 9, 9, 0.8) 100%);
    border: 1px solid rgba(102, 163, 216, 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(102, 163, 216);
    border-bottom: 1px solid rgba(102, 163, 216, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

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

.rankings-table tbody tr:hover {
    background-color: rgba(102, 163, 216, 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(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(102, 163, 216);
    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 */
.usercp-menubar {
    margin-bottom: 20px;
    background: rgba(13, 20, 30, 0.6);
    border: 1px solid rgba(102, 163, 216, 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(102, 163, 216, 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(102, 163, 216, 0.1);
    border-color: rgba(102, 163, 216, 0.4);
    color: rgb(102, 163, 216);
    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;
}

.characters-section {
	position: relative;
	padding: 90px 20px;
	background: linear-gradient(to bottom, rgba(3,8,18,0.40), rgba(3,8,18,0.78));
	backdrop-filter: blur(2px);
	overflow: hidden;
}

.characters-container {
	max-width: 1500px;
	margin: 0 auto;
}

.characters-header {
	text-align: center;
	margin-bottom: 50px;
}

.characters-subtitle {
	margin: 0 0 10px 0;
	font-size: 12px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #d2a85c;
}

.characters-title {
	margin: 0 0 12px 0;
	font-size: 56px;
	line-height: 1.1;
	font-family: 'Cinzel', serif;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.characters-description {
	max-width: 820px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.8;
	color: rgba(255,255,255,0.78);
}

.characters-premium-slider-wrap {
	position: relative;
	padding: 0 70px;
}

.characters-premium-slider {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 25px 20px 20px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	perspective: 1400px;
}

.characters-premium-slider::-webkit-scrollbar {
	display: none;
}

.characters-premium-slider.no-smooth {
	scroll-behavior: auto !important;
}

.character-premium-card {
position: relative;
	min-width: 360px;
	max-width: 360px;
	scroll-snap-align: center;
	border-radius: 30px;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
	border: 1px solid rgba(255,255,255,0.10);
	box-shadow: 0 20px 50px rgba(0,0,0,0.28);
	backdrop-filter: blur(12px);
	transform: perspective(1200px) rotateY(10deg) scale(0.88);
	transform-origin: center center;
	opacity: 0.58;
	filter: saturate(0.85);
	transition:
		transform 0.45s ease,
		opacity 0.45s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		filter 0.35s ease;
	will-change: transform;
}

.character-premium-card.active {
	transform: perspective(1200px) rotateY(0deg) scale(1);
	opacity: 1;
	filter: saturate(1);
	border-color: rgba(210,168,92,0.45);
	box-shadow:
		0 28px 70px rgba(0,0,0,0.42),
		0 0 35px rgba(210,168,92,0.10);
	z-index: 3;
}

.character-premium-card.is-left {
	transform: perspective(1200px) rotateY(18deg) scale(0.90);
	opacity: 0.72;
	z-index: 1;
}

.character-premium-card.is-right {
	transform: perspective(1200px) rotateY(-18deg) scale(0.90);
	opacity: 0.72;
	z-index: 1;
}

.character-premium-card:hover {
	transform: perspective(1200px) rotateY(0deg) scale(1.03);
	opacity: 1;
	filter: saturate(1.05);
	z-index: 4;
}

.character-premium-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
	pointer-events: none;
}

.character-premium-image {
	position: relative;
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 24px 0;
}

.character-premium-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 14px 30px rgba(0,0,0,0.35));
}

.character-premium-content {
	position: relative;
	padding: 28px 28px 34px;
	text-align: center;
}

.character-premium-content h3 {
	margin: 0 0 14px 0;
	font-size: 27px;
	font-family: 'Cinzel', serif;
	color: #fff;
}

.character-premium-content p {
	margin: 0 0 18px 0;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(255,255,255,0.78);
}

.character-premium-stats {
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 15px;
	line-height: 1.9;
	color: rgba(255,255,255,0.82);
}

.characters-premium-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.14);
	background: rgba(10,12,18,0.70);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 10;
	transition: all 0.25s ease;
	backdrop-filter: blur(8px);
}

.characters-premium-arrow:hover {
	background: rgba(210,168,92,0.20);
	border-color: rgba(210,168,92,0.50);
	color: #f6d18f;
	box-shadow: 0 0 20px rgba(210,168,92,0.18);
}

.characters-premium-arrow.left {
	left: 0;
}

.characters-premium-arrow.right {
	right: 0;
}

@media screen and (max-width: 1200px) {
	.characters-title {
		font-size: 48px;
	}
}

@media screen and (max-width: 768px) {
	.characters-section {
		padding: 70px 15px;
	}

	.characters-title {
		font-size: 36px;
	}

	.characters-description {
		font-size: 15px;
	}

	.characters-premium-slider-wrap {
		padding: 0 45px;
	}

	.character-premium-card {
		min-width: 300px;
		max-width: 300px;
	}

	.character-premium-image {
		height: 250px;
	}

	.character-premium-content {
		padding: 22px 20px 26px;
	}

	.character-premium-content h3 {
		font-size: 22px;
	}

	.character-premium-content p {
		font-size: 14px;
	}

	.character-premium-stats {
		font-size: 14px;
	}

	.characters-premium-arrow {
		width: 42px;
		height: 42px;
		font-size: 22px;
	}
}

.character-premium-card:hover{

    transform:scale(1.05);

    border-color:#d2a85c;

    box-shadow:
        0 0 25px rgba(210,168,92,0.35),
        0 0 60px rgba(210,168,92,0.15),
        0 25px 60px rgba(0,0,0,0.45);

}

.character-premium-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
	pointer-events: none;
	z-index: 1;
}

.character-premium-card.class-dk {
	background:
		radial-gradient(circle at top, rgba(255,80,40,0.22), transparent 55%),
		linear-gradient(145deg, rgba(90,20,12,0.30), rgba(255,255,255,0.02));
}
.character-premium-card.class-dk:hover,
.character-premium-card.class-dk.active {
	border-color: rgba(255,106,61,0.55);
	box-shadow: 0 0 30px rgba(255,106,61,0.20), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-dw {
	background:
		radial-gradient(circle at top, rgba(62,137,255,0.24), transparent 58%),
		linear-gradient(145deg, rgba(10,34,82,0.34), rgba(255,255,255,0.02));
}
.character-premium-card.class-dw:hover,
.character-premium-card.class-dw.active {
	border-color: rgba(86,166,255,0.55);
	box-shadow: 0 0 32px rgba(86,166,255,0.22), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-elf {
	background:
		radial-gradient(circle at top, rgba(220,170,255,0.22), transparent 56%),
		linear-gradient(145deg, rgba(73,35,104,0.28), rgba(255,255,255,0.02));
}
.character-premium-card.class-elf:hover,
.character-premium-card.class-elf.active {
	border-color: rgba(227,190,255,0.55);
	box-shadow: 0 0 30px rgba(227,190,255,0.20), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-mg {
	background:
		radial-gradient(circle at top, rgba(255,194,76,0.22), transparent 56%),
		linear-gradient(145deg, rgba(110,75,15,0.28), rgba(255,255,255,0.02));
}
.character-premium-card.class-mg:hover,
.character-premium-card.class-mg.active {
	border-color: rgba(255,202,92,0.55);
	box-shadow: 0 0 30px rgba(255,202,92,0.22), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-dl {
	background:
		radial-gradient(circle at top, rgba(153,96,255,0.22), transparent 56%),
		linear-gradient(145deg, rgba(50,20,86,0.30), rgba(255,255,255,0.02));
}
.character-premium-card.class-dl:hover,
.character-premium-card.class-dl.active {
	border-color: rgba(175,122,255,0.55);
	box-shadow: 0 0 30px rgba(175,122,255,0.20), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-sum,
.character-premium-card.class-rw,
.character-premium-card.class-ww,
.character-premium-card.class-lm,
.character-premium-card.class-alc {
	background:
		radial-gradient(circle at top, rgba(95,177,255,0.20), transparent 56%),
		linear-gradient(145deg, rgba(15,45,95,0.28), rgba(255,255,255,0.02));
}
.character-premium-card.class-sum:hover,
.character-premium-card.class-rw:hover,
.character-premium-card.class-ww:hover,
.character-premium-card.class-lm:hover,
.character-premium-card.class-alc:hover,
.character-premium-card.class-sum.active,
.character-premium-card.class-rw.active,
.character-premium-card.class-ww.active,
.character-premium-card.class-lm.active,
.character-premium-card.class-alc.active {
	border-color: rgba(95,177,255,0.50);
	box-shadow: 0 0 30px rgba(95,177,255,0.18), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-rf,
.character-premium-card.class-slayer,
.character-premium-card.class-cru,
.character-premium-card.class-ik,
.character-premium-card.class-gl,
.character-premium-card.class-gc {
	background:
		radial-gradient(circle at top, rgba(255,120,76,0.22), transparent 56%),
		linear-gradient(145deg, rgba(85,28,14,0.30), rgba(255,255,255,0.02));
}
.character-premium-card.class-rf:hover,
.character-premium-card.class-slayer:hover,
.character-premium-card.class-cru:hover,
.character-premium-card.class-ik:hover,
.character-premium-card.class-gl:hover,
.character-premium-card.class-gc:hover,
.character-premium-card.class-rf.active,
.character-premium-card.class-slayer.active,
.character-premium-card.class-cru.active,
.character-premium-card.class-ik.active,
.character-premium-card.class-gl.active,
.character-premium-card.class-gc.active {
	border-color: rgba(255,132,92,0.55);
	box-shadow: 0 0 30px rgba(255,132,92,0.20), 0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card:hover {
	opacity: 1;
	z-index: 4;
}

.character-premium-card.class-dk:hover {
	box-shadow:
		0 0 18px rgba(255,106,61,0.35),
		0 0 38px rgba(255,106,61,0.20),
		0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-dw:hover {
	box-shadow:
		0 0 18px rgba(86,166,255,0.35),
		0 0 38px rgba(86,166,255,0.20),
		0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-elf:hover {
	box-shadow:
		0 0 18px rgba(227,190,255,0.35),
		0 0 38px rgba(227,190,255,0.20),
		0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-mg:hover {
	box-shadow:
		0 0 18px rgba(255,202,92,0.35),
		0 0 38px rgba(255,202,92,0.20),
		0 25px 60px rgba(0,0,0,0.40);
}

.character-premium-card.class-dl:hover {
	box-shadow:
		0 0 18px rgba(175,122,255,0.35),
		0 0 38px rgba(175,122,255,0.20),
		0 25px 60px rgba(0,0,0,0.40);
}

/* =========================================
   MODO ÉPICO - GUILDS CAMPEONAS
========================================= */
.siege-winners-section {
    position: relative;
    padding: 120px 0 140px;
    overflow: hidden;
}

/* fondo ambiental de la sección */
.siege-winners-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 35%),
        linear-gradient(to bottom, rgba(3,8,18,0.10), rgba(3,8,18,0.35));
    pointer-events: none;
    z-index: 0;
}

.siege-winners-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* =========================================
   HEADER
========================================= */
.siege-section-header {
    text-align: center;
    margin-bottom: 70px;
    animation: siegeFadeUp 0.8s ease both;
}

.siege-section-kicker {
    margin: 0 0 14px;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #d8ad61;
    text-shadow: 0 0 12px rgba(216,173,97,0.18);
}

.siege-section-title {
    margin: 0 0 18px;
    font-family: "Cinzel", serif;
    font-size: 68px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #f5f1ea;
    text-shadow:
        0 4px 18px rgba(0,0,0,0.35),
        0 0 20px rgba(255,255,255,0.06),
        0 0 40px rgba(255,255,255,0.03);
}

.siege-section-desc {
    max-width: 860px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
}

/* =========================================
   GRID
========================================= */
.siege-winners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

/* =========================================
   CARDS
========================================= */
.siege-winner-card {
    position: relative;
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(120, 170, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(10,18,34,0.84) 0%, rgba(4,8,18,0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 18px 45px rgba(0,0,0,0.38);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    isolation: isolate;
}

/* fondo principal */
.siege-winner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.22;
    transform: scale(1.02);
    z-index: 0;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

/* overlay cinematográfico */
.siege-winner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 16%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 18%, transparent 42%),
        linear-gradient(to bottom, rgba(10,16,28,0.18) 0%, rgba(6,10,18,0.52) 38%, rgba(2,5,12,0.92) 100%);
}

/* fondos */
.castle-siege::before {
    background-image: url('../img/background.jpg');
}

.arka-war::before {
    background-image: url('../img/arka-war-bg.jpg');
}

/* borde luminoso interno */
.siege-winner-card .siege-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        inset 0 30px 80px rgba(255,255,255,0.02);
}

/* glow base */
.siege-winner-glow {
    position: absolute;
    inset: -25%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    filter: blur(34px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.castle-siege .siege-winner-glow {
    background: radial-gradient(circle at 50% 28%, rgba(255,190,70,0.22), transparent 48%);
}

.arka-war .siege-winner-glow {
    background: radial-gradient(circle at 50% 28%, rgba(70,150,255,0.22), transparent 48%);
}

/* partículas */
.siege-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.55;
    overflow: hidden;
}

.siege-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
    animation: siegeParticleFloat linear infinite;
}

.siege-particles span:nth-child(1)  { left: 12%; top: 82%; animation-duration: 9s;  animation-delay: 0s; }
.siege-particles span:nth-child(2)  { left: 22%; top: 74%; animation-duration: 11s; animation-delay: 1s; }
.siege-particles span:nth-child(3)  { left: 33%; top: 88%; animation-duration: 10s; animation-delay: 2s; }
.siege-particles span:nth-child(4)  { left: 47%; top: 78%; animation-duration: 12s; animation-delay: 1.5s; }
.siege-particles span:nth-child(5)  { left: 58%; top: 84%; animation-duration: 9.5s; animation-delay: 0.5s; }
.siege-particles span:nth-child(6)  { left: 68%; top: 76%; animation-duration: 10.5s; animation-delay: 2.5s; }
.siege-particles span:nth-child(7)  { left: 76%; top: 86%; animation-duration: 11.5s; animation-delay: 1.2s; }
.siege-particles span:nth-child(8)  { left: 86%; top: 80%; animation-duration: 10s; animation-delay: 0.8s; }

/* =========================================
   CONTENIDO
========================================= */
.siege-winner-content {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 440px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 46px 32px;
    text-align: center;
}

.siege-winner-icon {
    font-size: 54px;
    line-height: 1;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.08));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.siege-winner-label {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d8ad61;
    text-shadow: 0 0 12px rgba(216,173,97,0.12);
}

.siege-winner-name {
    margin: 0 0 16px;
    font-family: "Cinzel", serif;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
    color: #f8f5ef;
    text-shadow:
        0 4px 20px rgba(0,0,0,0.36),
        0 0 14px rgba(255,255,255,0.04);
}

.siege-winner-text {
    margin: 0;
    max-width: 470px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(236,240,248,0.86);
}

/* =========================================
   ESTADOS
========================================= */
.siege-winner-card.is-active {
    border-color: rgba(90,182,255,0.26);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 20px 52px rgba(0,0,0,0.42),
        0 0 26px rgba(62,133,255,0.08);
}

.siege-winner-card.is-empty::before {
    opacity: 0.12;
    filter: saturate(0.85);
}

/* =========================================
   HOVER ÉPICO
========================================= */
.siege-winner-card:hover {
    transform: translateY(-8px);
    border-color: rgba(135,204,255,0.36);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 28px 60px rgba(0,0,0,0.48),
        0 0 34px rgba(80,150,255,0.12);
}

.siege-winner-card:hover::before {
    opacity: 0.30;
    transform: scale(1.06);
}

.siege-winner-card:hover .siege-winner-glow {
    opacity: 0.78;
    transform: scale(1.06);
}

.siege-winner-card:hover .siege-winner-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 16px rgba(255,255,255,0.14));
}

.siege-winner-card:hover .siege-particles span {
    box-shadow: 0 0 14px rgba(255,255,255,0.65);
}

/* =========================================
   ANIMACIONES
========================================= */
@keyframes siegeFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes siegeParticleFloat {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    12% {
        opacity: 0.8;
    }
    70% {
        opacity: 0.55;
    }
    100% {
        transform: translateY(-260px) scale(1.15);
        opacity: 0;
    }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 980px) {
    .siege-winners-section {
        padding: 90px 0 100px;
    }

    .siege-winners-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .siege-section-title {
        font-size: 50px;
    }

    .siege-winner-card,
    .siege-winner-content {
        min-height: 380px;
    }
}

@media (max-width: 640px) {
    .siege-winners-container {
        padding: 0 16px;
    }

    .siege-section-header {
        margin-bottom: 42px;
    }

    .siege-section-kicker {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .siege-section-title {
        font-size: 36px;
    }

    .siege-section-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .siege-winner-name {
        font-size: 28px;
    }

    .siege-winner-text {
        font-size: 15px;
    }
}

/* =========================================
   AURAS ÉPICAS ESPECÍFICAS
========================================= */

/* CASTLE SIEGE - dorado imperial */
.castle-siege .siege-winner-glow {
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 214, 102, 0.26), transparent 32%),
        radial-gradient(circle at 50% 38%, rgba(255, 170, 40, 0.18), transparent 48%),
        radial-gradient(circle at 50% 55%, rgba(255, 120, 0, 0.10), transparent 62%);
    animation: castleAuraPulse 3.2s ease-in-out infinite;
}

.castle-siege:hover {
    border-color: rgba(255, 205, 95, 0.40);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 28px 60px rgba(0,0,0,0.50),
        0 0 34px rgba(255, 187, 0, 0.16);
}

.castle-siege:hover .siege-winner-icon {
    filter:
        drop-shadow(0 0 12px rgba(255,215,120,0.22))
        drop-shadow(0 0 24px rgba(255,180,40,0.12));
}

.castle-siege:hover .siege-winner-name {
    text-shadow:
        0 4px 20px rgba(0,0,0,0.36),
        0 0 12px rgba(255,220,160,0.10),
        0 0 26px rgba(255,180,60,0.08);
}

/* partículas doradas */
.castle-siege .siege-particles span {
    background: rgba(255, 221, 145, 0.78);
    box-shadow:
        0 0 10px rgba(255, 210, 110, 0.34),
        0 0 18px rgba(255, 166, 30, 0.16);
}

/* ARKA WAR - azul/rojo de guerra */
.arka-war .siege-winner-glow {
    background:
        radial-gradient(circle at 38% 32%, rgba(76, 160, 255, 0.22), transparent 30%),
        radial-gradient(circle at 64% 34%, rgba(255, 76, 76, 0.18), transparent 34%),
        radial-gradient(circle at 50% 52%, rgba(93, 120, 255, 0.10), transparent 56%);
    animation: arkaAuraPulse 2.8s ease-in-out infinite;
}

.arka-war:hover {
    border-color: rgba(125, 165, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 28px 60px rgba(0,0,0,0.50),
        0 0 18px rgba(74, 140, 255, 0.12),
        0 0 28px rgba(255, 70, 70, 0.08);
}

.arka-war:hover .siege-winner-icon {
    filter:
        drop-shadow(0 0 12px rgba(120,170,255,0.18))
        drop-shadow(0 0 18px rgba(255,90,90,0.10));
}

.arka-war:hover .siege-winner-name {
    text-shadow:
        0 4px 20px rgba(0,0,0,0.36),
        0 0 10px rgba(130,170,255,0.09),
        0 0 18px rgba(255,90,90,0.06);
}

/* partículas azul/rojo */
.arka-war .siege-particles span:nth-child(odd) {
    background: rgba(140, 190, 255, 0.78);
    box-shadow:
        0 0 10px rgba(90, 160, 255, 0.34),
        0 0 16px rgba(90, 160, 255, 0.12);
}

.arka-war .siege-particles span:nth-child(even) {
    background: rgba(255, 130, 130, 0.72);
    box-shadow:
        0 0 10px rgba(255, 80, 80, 0.28),
        0 0 16px rgba(255, 80, 80, 0.10);
}

/* brillo activo según estado */
.castle-siege.is-active {
    border-color: rgba(255, 196, 72, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 20px 52px rgba(0,0,0,0.42),
        0 0 22px rgba(255, 182, 42, 0.08);
}

.arka-war.is-active {
    border-color: rgba(110, 160, 255, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 20px 52px rgba(0,0,0,0.42),
        0 0 22px rgba(86, 135, 255, 0.09);
}

/* animaciones */
@keyframes castleAuraPulse {
    0%, 100% {
        opacity: 0.50;
        transform: scale(1);
        filter: blur(34px);
    }
    50% {
        opacity: 0.72;
        transform: scale(1.06);
        filter: blur(38px);
    }
}

@keyframes arkaAuraPulse {
    0%, 100% {
        opacity: 0.48;
        transform: scale(1);
        filter: blur(34px);
    }
    50% {
        opacity: 0.70;
        transform: scale(1.05);
        filter: blur(38px);
    }
}

/* =========================================
   TOP GUILDS - SAFE GOLD THEME
========================================= */
.theme-gold {
	border: 1px solid rgba(255, 200, 80, 0.22);
	box-shadow: 0 0 25px rgba(255, 180, 60, 0.08);
}

.theme-gold .modern-card-glow {
	background: radial-gradient(circle, rgba(255, 190, 60, 0.22), transparent 70%);
}

.guild-icon-box {
	background: linear-gradient(135deg, #ffcc66, #ff9900) !important;
	color: #1a1a1a !important;
	font-size: 20px;
}

.guild-row {
	background: rgba(255, 200, 80, 0.05);
	transition: all 0.3s ease;
}

.guild-row:hover {
	background: rgba(255, 200, 80, 0.12);
	transform: translateX(4px);
}

.guild-avatar {
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.guild-name-modern {
	color: #ffd27a;
	font-weight: 600;
}

.theme-gold .rank-1 {
	box-shadow: 0 0 12px rgba(255, 200, 80, 0.22);
	border-radius: 10px;
}

/* =========================================
   🏆 RANKING GOD COMPLETO
========================================= */

/* FILA BASE */
.modern-list-item {
    position: relative;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.28s ease;
    overflow: hidden;
}

/* brillo suave al pasar */
.modern-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.modern-list-item:hover::before {
    left: 140%;
}

.modern-list-item:hover {
    transform: translateX(6px);
    box-shadow: 0 0 16px rgba(255,255,255,0.06);
}

/* =========================================
   👑 CORONA SIMPLE
========================================= */
.rank-crown {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ICONO CORONA */
.rank-crown-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: block;
}

/* 4+ */
.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfd6e6;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

/* =========================================
   🥇 TOP 1 - ORO PREMIUM
========================================= */
.modern-list-item.rank-1 {
    background: linear-gradient(
        135deg,
        rgba(255,215,0,0.25),
        rgba(255,170,0,0.12)
    );
    border: 1px solid rgba(255,215,0,0.6);
    box-shadow:
        0 0 18px rgba(255,215,0,0.35),
        inset 0 0 10px rgba(255,215,0,0.08);
}

.modern-list-item.rank-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(255,235,120,0.25),
        transparent 60%
    );
    pointer-events: none;
}

.rank-crown.rank-1 {
    background: linear-gradient(180deg, #ffd84d, #e1ad00);
    box-shadow:
        0 0 10px rgba(255,215,0,0.4),
        0 0 18px rgba(255,200,0,0.18);
}

.rank-1 .player-name-modern {
    color: #ffd95e;
    font-weight: 800;
    text-shadow: 0 0 6px rgba(255,215,0,0.4);
}

.rank-1 .stat-value-modern {
    color: #ffd24a;
    text-shadow: 0 0 6px rgba(255,200,0,0.4);
}

.rank-1 .player-avatar-modern {
    border-color: rgba(255,215,0,0.7);
    box-shadow:
        0 0 12px rgba(255,215,0,0.5),
        0 0 25px rgba(255,180,0,0.2);
}

/* =========================================
   🥈 TOP 2 - PLATA PREMIUM
========================================= */
.modern-list-item.rank-2 {
    background: linear-gradient(
        135deg,
        rgba(230,230,230,0.24),
        rgba(180,180,180,0.12)
    );
    border: 1px solid rgba(220,220,220,0.45);
    box-shadow:
        0 0 14px rgba(220,220,220,0.18),
        inset 0 0 8px rgba(255,255,255,0.05);
}

.rank-crown.rank-2 {
    background: linear-gradient(180deg, #e7e7e7, #bfc3c9);
    box-shadow:
        0 0 8px rgba(220,220,220,0.18);
}

.rank-2 .player-name-modern {
    color: #f0f0f0;
    font-weight: 700;
}

.rank-2 .stat-value-modern {
    color: #ececec;
}

.rank-2 .player-avatar-modern {
    border-color: rgba(220,220,220,0.45);
    box-shadow: 0 0 10px rgba(220,220,220,0.14);
}

/* =========================================
   🥉 TOP 3 - BRONCE PREMIUM
========================================= */
.modern-list-item.rank-3 {
    background: linear-gradient(
        135deg,
        rgba(210,130,60,0.26),
        rgba(140,80,35,0.12)
    );
    border: 1px solid rgba(205,127,50,0.45);
    box-shadow:
        0 0 14px rgba(205,127,50,0.18),
        inset 0 0 8px rgba(255,210,170,0.04);
}

.rank-crown.rank-3 {
    background: linear-gradient(180deg, #d28a45, #9b5a28);
    box-shadow:
        0 0 8px rgba(205,127,50,0.18);
}

.rank-3 .player-name-modern {
    color: #f0b47f;
    font-weight: 700;
}

.rank-3 .stat-value-modern {
    color: #e0a36a;
}

.rank-3 .player-avatar-modern {
    border-color: rgba(205,127,50,0.45);
    box-shadow: 0 0 10px rgba(205,127,50,0.14);
}

/* =========================================
   RANK 4 Y 5
========================================= */
.modern-list-item.rank-4,
.modern-list-item.rank-5 {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
}

/* =========================================
   TEXTO Y VALORES
========================================= */
.player-name-modern,
.stat-value-modern {
    position: relative;
    z-index: 2;
    transition: all 0.28s ease;
}

/* =========================================
   AVATAR
========================================= */
.player-avatar-modern {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 2;
    transition: all 0.28s ease;
}

.modern-list-item:hover .player-avatar-modern {
    transform: scale(1.05);
}

/* =========================================
   TOP GUILDS COMPATIBLE
========================================= */
.theme-gold .guild-row.rank-1 {
    background: linear-gradient(
        135deg,
        rgba(255,215,0,0.20),
        rgba(255,170,0,0.10)
    );
}

.theme-gold .guild-row.rank-2 {
    background: linear-gradient(
        135deg,
        rgba(230,230,230,0.16),
        rgba(180,180,180,0.08)
    );
}

.theme-gold .guild-row.rank-3 {
    background: linear-gradient(
        135deg,
        rgba(210,130,60,0.18),
        rgba(140,80,35,0.08)
    );
}

.guild-icon-box {
    background: linear-gradient(135deg, #ffcc66, #ff9900) !important;
    color: #1a1a1a !important;
    font-size: 20px;
}

.guild-avatar {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guild-name-modern {
    color: #ffd27a;
    font-weight: 600;
}