:root {
    --royale-bg: #120e0a;
    --royale-card-bg: #1a1510;
    --royale-sidebar-bg: #0d0a08;
    --royale-gold: #d4b27d;
    --royale-gold-bright: #ffc24c;
    --royale-text: #9d8f81;
    --royale-border: #3a2f24;
    --royale-red: #3d1414;
    --royale-font-title: 'Outfit', 'Inter', sans-serif;
    --royale-font-content: 'Inter', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

body {
    background: var(--royale-bg) !important;
    font-family: var(--royale-font-content) !important;
    color: var(--royale-text) !important;
    margin: 0;
    padding: 0;
}

section {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 178, 125, 0.1) !important;
    border-radius: 25px;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 10px auto !important;
    padding: 25px !important;
    box-sizing: border-box !important;
    display: block !important;
}

.server_status {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.all {
    background: transparent !important;
    display: grid !important;
    grid-template-columns: 280px 1fr;
    width: 100% !important;
    padding: 0 !important;
    gap: 40px;
    align-items: start;
}

/* Sidebar Styling */
.menu {
    width: 280px !important;
    min-height: auto !important;
    float: none !important;
    z-index: 10 !important;
    display: block !important;
    margin: 0 !important;
}

.menu>div {
    position: static !important;
    width: 100% !important;
    background: var(--royale-sidebar-bg) !important;
    border: 1px solid var(--royale-border) !important;
    border-radius: 20px !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
}

.menu:hover>div,
.all .menu>div>div {
    width: 100% !important;
}

/* User Profile in Sidebar */
.royale-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.royale-avatar {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 3px solid var(--royale-border);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.royale-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-label {
    font-size: 11px;
    color: var(--royale-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.profile-name {
    font-family: var(--royale-font-title);
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}

.profile-status {
    font-size: 11px;
    color: var(--royale-gold);
}

/* Sidebar Buttons */
.royale-sidebar-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--royale-gold);
    border-radius: 15px;
    color: var(--royale-gold) !important;
    text-align: center;
    font-family: var(--royale-font-title);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(212, 178, 125, 0.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.royale-sidebar-btn:hover {
    background: rgba(212, 178, 125, 0.1);
    border-color: var(--royale-gold-bright);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(212, 178, 125, 0.15);
}

.balance-box {
    text-align: center;
}

.balance-label {
    font-size: 11px;
    color: var(--royale-text);
    margin-bottom: 5px;
}

.balance-value {
    font-family: var(--royale-font-title);
    font-size: 15px;
    color: var(--royale-gold-bright) !important;
    font-weight: 700;
}

/* Sidebar Menu Controls */
.sidebar-category {
    font-family: var(--royale-font-title);
    font-size: 10px;
    color: var(--royale-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 15px 0 8px 0;
    padding-left: 12px;
    opacity: 0.5;
    display: block !important;
    float: none !important;
    clear: both;
}

nav,
.menu nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

nav>a,
.menu nav>a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
    padding: 8px 12px !important;
    color: #a39689 !important;
    font-size: 13px !important;
    font-family: var(--royale-font-content) !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    float: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: 1px solid transparent;
}

nav>a:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
    padding-left: 15px !important;
    border-color: rgba(212, 178, 125, 0.05);
}

nav>a.actived {
    background: rgba(212, 178, 125, 0.08) !important;
    color: var(--royale-gold) !important;
    border: 1px solid rgba(212, 178, 125, 0.1) !important;
}

nav>a .icon {
    width: 30px !important;
    font-size: 16px !important;
    margin-right: 10px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav>a.logout-btn {
    background: rgba(239, 68, 68, 0.05) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.1) !important;
    margin-top: 10px;
}

nav>a.logout-btn:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

/* Content Area Styling */
.bluArea {
    background: transparent !important;
    flex: 1 !important;
    float: none !important;
    display: block !important;
}

.whitArea {
    background: transparent !important;
    width: 100% !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}

article {
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Cards */
.box {
    background: var(--royale-card-bg) !important;
    border: 1px solid var(--royale-border) !important;
    border-radius: 15px !important;
    overflow: hidden;
    padding-bottom: 20px !important;
}

.box h1 {
    background: transparent !important;
    color: var(--royale-gold) !important;
    font-family: var(--royale-font-title) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid var(--royale-border);
    margin: 0 !important;
    padding: 20px 25px !important;
    height: auto !important;
    line-height: normal !important;
    display: block !important;
}

.lines>div {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--royale-border) !important;
    padding: 12px 25px !important;
    height: auto !important;
    line-height: normal !important;
    background: transparent !important;
}

.lines>div.two {
    background: rgba(255, 255, 255, 0.01) !important;
}

.lines>div b,
.lines>div .desc {
    color: var(--royale-text);
    font-weight: normal;
}

.lines>div span {
    color: #fff !important;
    font-weight: 500 !important;
}

/* Characters Table */
table.default {
    background: transparent !important;
    border-spacing: 0;
    border-collapse: separate;
    box-shadow: none !important;
}

table.default tr th {
    background: transparent !important;
    color: var(--royale-text) !important;
    font-family: var(--royale-font-title);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--royale-border);
    padding: 15px !important;
}

table.default tr td {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: none !important;
    padding: 15px !important;
    color: var(--royale-text) !important;
    vertical-align: middle;
}

table.default tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
}

.char-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--royale-border);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.status-dot.offline {
    background: #ef4444;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 194, 76, 0.1);
    border: 1px solid var(--royale-gold);
    border-radius: 6px;
    color: var(--royale-gold) !important;
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--royale-gold);
    color: #000 !important;
}

.formpadrao {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(212, 178, 125, 0.08) !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 15px !important;
    padding: 18px !important;
    transition: all 0.3s ease;
}

.formpadrao:hover,
.formpadrao>div:hover {
    background: transparent !important;
    border-color: rgba(212, 178, 125, 0.2) !important;
}

.formpadrao .camp input,
.formpadrao .camp select,
.formpadrao .camp select option,
.formpadrao textarea {
    background: rgba(13, 10, 8, 0.6) !important;
    color: #fff !important;
    border: 1px solid var(--royale-border) !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-family: var(--royale-font-content) !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.3s ease;
}

.formpadrao .camp input:hover,
.formpadrao .camp select:hover,
.formpadrao textarea:hover {
    border-color: rgba(212, 178, 125, 0.45) !important;
    background: rgba(13, 10, 8, 0.7) !important;
}

/* Fix for browser autocomplete (disharmony) */
.formpadrao .camp input:-webkit-autofill,
.formpadrao .camp input:-webkit-autofill:hover,
.formpadrao .camp input:-webkit-autofill:focus,
.formpadrao .camp input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(13, 10, 8, 1) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.formpadrao .camp input:focus,
.formpadrao .camp select:focus {
    border-color: var(--royale-gold) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 0 15px rgba(212, 178, 125, 0.1);
}

.recharge-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px !important;
    font-weight: 800;
    color: var(--royale-gold-bright) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

.formpadrao>div {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

.formpadrao .desc {
    color: var(--royale-gold) !important;
    font-family: var(--royale-font-title);
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: 100% !important;
    text-align: left !important;
    font-weight: 700;
    opacity: 0.9;
}

.formpadrao .camp {
    width: 100% !important;
}

.formpadrao .camp input:focus,
.formpadrao .camp select:focus {
    border-color: var(--royale-gold) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 0 20px rgba(212, 178, 125, 0.15);
}

a.default,
span.default,
input.default {
    background: var(--royale-gold) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--royale-font-title) !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s !important;
}

a.default:hover,
input.default:hover {
    background: var(--royale-gold-bright) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 194, 76, 0.4) !important;
}

/* Guest Layout Harmony */
.royale-guest-layout .recharge-header {
    margin: 10px auto 10px !important;
    max-width: 600px;
}

.royale-guest-layout .recharge-header h1 {
    font-size: 20px !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    background: linear-gradient(180deg, #fff 0%, var(--royale-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Force dark autocomplete in all browsers */
input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px #120e0a inset !important;
    -webkit-box-shadow: 0 0 0px 1000px #120e0a inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Footer Styling */
footer {
    width: 100% !important;
    margin-top: 40px !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(157, 143, 129, 0.4) !important;
    font-size: 11px !important;
    text-align: center !important;
    font-weight: normal !important;
    display: block !important;
    clear: both;
}

footer center {
    display: block;
}

/* Guest & Login Page Styles */
.royale-guest-layout {
    width: 100%;
    max-width: 500px;
    margin: 5px auto;
    display: flex;
    flex-direction: column;
}

.royale-guest-header {
    background: linear-gradient(135deg, rgba(44, 36, 22, 0.4) 0%, rgba(26, 21, 16, 0.4) 100%);
    border: 1px solid rgba(212, 178, 125, 0.1);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.server-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-logo img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px;
    border: 1px solid rgba(212, 178, 125, 0.3);
    display: block !important;
    position: relative;
    z-index: 5;
    opacity: 1 !important;
    visibility: visible !important;
}

.server-logo span {
    font-family: var(--royale-font-title);
    font-size: 18px;
    color: var(--royale-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.royale-langs {
    font-family: var(--royale-font-title);
    font-size: 11px;
    color: var(--royale-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-links {
    display: flex;
    gap: 5px;
}

.lang-links a {
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    transition: all 0.2s;
}

.lang-links a:hover,
.lang-links a.active {
    background: var(--royale-gold);
    color: #000;
}

.royale-guest-layout .all {
    display: block !important;
    grid-template-columns: 1fr !important;
}

.smallCenter {
    width: 100%;
    max-width: 420px !important;
    margin: 0 auto 30px !important;
    animation: fadeInRoyale 0.8s ease-out;
}

@keyframes fadeInRoyale {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smallCenter form {
    background: rgba(18, 14, 10, 0.85) !important;
    border: 1px solid rgba(212, 178, 125, 0.2) !important;
    padding: 40px 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
}

.smallCenter form:hover {
    border-color: rgba(212, 178, 125, 0.3) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 178, 125, 0.06);
}

.smallCenter input[type="text"],
.smallCenter input[type="password"] {
    width: 100% !important;
    padding: 12px 15px !important;
    background: #000 !important;
    border: 1px solid var(--royale-border) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-align: center !important;
}

/* Garante que o ÃƒÂ­cone de mostrar senha (olho) seja visÃƒÂ­vel */
.smallCenter input[type="password"]::-ms-reveal,
.smallCenter input[type="password"]::-webkit-contacts-auto-fill-button,
.smallCenter input[type="password"]::-webkit-credentials-auto-fill-button {
    filter: invert(100%) sepia(20%) saturate(1000%) hue-rotate(30deg) !important;
}

.grayArea {
    margin: 15px 0;
    font-size: 12px;
    color: var(--royale-text);
}

.grayArea a {
    color: var(--royale-gold);
    font-weight: 600;
}

.accessButton {
    margin-top: 25px;
}

.accessButton input.default {
    width: 100% !important;
    padding: 15px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
}

/* Fix Autofill White Background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #000 inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

.userCts {
    display: none !important;
    /* Replaced by royale-profile */
}

.donbox,
.donbox1 {
    display: none !important;
    /* Replaced by royale-sidebar-btn */
}

/* Utility to fix layout grid */
.royale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1000px) {
    .royale-grid {
        grid-template-columns: 1fr;
    }

    .all {
        flex-direction: column;
    }

    .menu {
        width: 100% !important;
    }
}

/* Character Profile UI */
.portrait-selector {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid var(--royale-border);
    background: rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--royale-gold) transparent;
}

.portrait-selector::-webkit-scrollbar {
    height: 4px;
}

.portrait-selector::-webkit-scrollbar-thumb {
    background: var(--royale-gold);
}

.portrait-item {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    flex-shrink: 0;
    width: 65px;
}

.portrait-frame {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border: 2px solid var(--royale-border);
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    transition: all 0.3s;
    position: relative;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: all 0.3s;
}

.portrait-item:hover .portrait-frame,
.portrait-item.active .portrait-frame {
    border-color: var(--royale-gold);
    box-shadow: 0 0 10px rgba(212, 178, 125, 0.4);
    transform: translateY(-3px);
}

.portrait-item:hover .portrait-frame img,
.portrait-item.active .portrait-frame img {
    opacity: 1;
}

.portrait-name {
    font-size: 10px;
    color: var(--royale-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portrait-item.active .portrait-name {
    color: var(--royale-gold-bright);
}

.char-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    padding: 25px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    font-size: 12px;
    color: var(--royale-text);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-label i {
    width: 16px;
    color: var(--royale-gold);
    font-size: 13px;
    text-align: center;
}

.stat-value {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    font-family: var(--royale-font-title);
    letter-spacing: 0.5px;
}

.char-content-pane {
    display: none;
}

.char-content-pane.active {
    display: block;
    animation: charFadeIn 0.4s ease-out forwards;
}

@keyframes charFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 800px) {
    .char-stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Legacy Support & Utilities */
.pddInner {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--royale-border);
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    line-height: 1.8;
    color: var(--royale-text);
}

.pddInner b {
    color: var(--royale-gold);
    margin-right: 8px;
}

.rmsg {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 13px;
    font-weight: 500;
}

.rmsg.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.rmsg.warn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.rmsg.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 25px 5px;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.breadcrumb li a {
    color: var(--royale-gold);
    text-decoration: none;
}

.breadcrumb li.active {
    color: var(--royale-text);
}

.breadcrumb li+li::before {
    content: '/';
    margin-right: 10px;
}

/* ========================================
   PREMIUM RECHARGE SYSTEM (DONATE)
   ======================================== */

.premium-recharge-wrapper {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    padding: 10px 0;
}

.recharge-header {
    margin-bottom: 35px;
}

.recharge-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--royale-gold-bright);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    line-height: 1;
}

.recharge-header p {
    color: var(--royale-text);
    font-size: 13px;
    opacity: 0.7;
}

/* Confirmation shown only when checkout comes from a Starter Pack card. */
.starter-checkout-banner {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: -16px 0 27px;
    padding: 13px 16px;
    border: 1px solid rgba(235, 181, 65, .38);
    border-radius: 10px;
    background: linear-gradient(100deg, rgba(102, 66, 19, .38), rgba(32, 23, 13, .78));
    box-shadow: inset 0 1px 0 rgba(255, 227, 157, .08);
}

.starter-checkout-icon {
    display: inline-flex;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 188, 58, .17);
    color: var(--royale-gold-bright);
    font-size: 16px;
}

.starter-checkout-banner > div { display: flex; flex-direction: column; min-width: 0; }
.starter-checkout-label {
    color: rgba(255, 233, 183, .72);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.starter-checkout-banner strong {
    color: #fff2d3;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    letter-spacing: .3px;
}
.starter-checkout-banner small { color: var(--royale-text); font-size: 11px; opacity: .8; }
.starter-checkout-safe {
    margin-left: auto;
    color: #eec866;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pack-item.starter-pack-unavailable {
    cursor: not-allowed;
    opacity: .35;
    filter: grayscale(.7);
}

@media (max-width: 560px) {
    .starter-checkout-banner { align-items: flex-start; }
    .starter-checkout-safe { display: none; }
}

/* Stepper */
.recharge-stepper {
    display: flex;
    gap: 30px;
    margin: 25px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.3;
    transition: 0.3s;
}

.step-item.active {
    opacity: 1;
    color: var(--royale-gold-bright);
}

.step-number {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Layout Grid */
.recharge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
    width: 100%;
}

.recharge-section {
    background: rgba(26, 21, 16, 0.45);
    border: 1px solid var(--royale-border);
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.recharge-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.recharge-section .sec-desc {
    font-size: 11px;
    color: var(--royale-text);
    margin-bottom: 25px;
    display: block;
    text-align: center;
    opacity: 0.8;
}

/* Packages */
.packages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 8px;
}

.packages-list::-webkit-scrollbar {
    width: 3px;
}

.packages-list::-webkit-scrollbar-thumb {
    background: var(--royale-gold);
    border-radius: 3px;
}

.pack-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 178, 125, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pack-item:hover {
    border-color: var(--royale-gold);
    background: rgba(212, 178, 125, 0.05);
    transform: translateX(4px);
}

.pack-item.active {
    background: rgba(212, 178, 125, 0.08);
    border-color: var(--royale-gold);
    box-shadow: 0 0 15px rgba(212, 178, 125, 0.1);
}

.pack-icon {
    width: 50px;
    height: 50px;
    background: #000;
    border: 1px solid var(--royale-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--royale-gold);
}

.pack-info {
    flex: 1;
}

.pack-name {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2px;
    opacity: 0.9;
}

.pack-qty {
    font-size: 16px;
    font-weight: 800;
    color: var(--royale-gold-bright);
}

.pack-qty span {
    font-size: 10px;
    opacity: 0.5;
    margin-left: 3px;
}

.pack-price {
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid var(--royale-border);
    color: #fff;
}

.pack-bonus {
    position: absolute;
    top: -8px;
    left: 15px;
    background: #10b981;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: all 0.3s ease;
}

.pack-bestseller {
    position: absolute;
    top: -8px;
    left: 15px;
    background: var(--royale-gold);
    color: #120e0a;
    font-size: 8px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    z-index: 2;
    letter-spacing: 0.5px;
}

.pack-bonus.with-bestseller {
    left: 105px;
}

/* Payment Methods */
.methods-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.method-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--royale-border);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.method-item:hover {
    border-color: var(--royale-gold);
}

.method-item.active {
    border-color: var(--royale-gold-bright);
    background: rgba(212, 178, 125, 0.1);
}

.method-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--royale-gold);
    border-radius: 50%;
    position: relative;
}

.method-item.active .method-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: var(--royale-gold-bright);
    border-radius: 50%;
}

.method-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

/* Summary */
.summary-box {
    text-align: center;
}

.summary-preview {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 35px 25px;
    margin: 20px 0;
    border: 1px solid var(--royale-border);
    position: relative;
}

.summary-qty {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2px;
}

.summary-label {
    font-size: 12px;
    color: var(--royale-gold);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.summary-total {
    font-size: 26px;
    font-weight: 900;
    color: var(--royale-gold-bright);
    margin-top: 25px;
    text-shadow: 0 0 15px rgba(255, 194, 76, 0.2);
}

.summary-diamond-frame {
    margin: 25px auto;
    width: 50px;
    height: 50px;
    background: #000;
    border: 1.5px solid var(--royale-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--royale-gold);
    box-shadow: 0 0 15px rgba(212, 178, 125, 0.15);
}

.btn-buy-now {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #d4b27d 0%, #b39363 100%);
    color: #1a1510;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s;
    margin-top: 15px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-buy-now:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffc24c 0%, #d4b27d 100%);
    box-shadow: 0 8px 25px rgba(255, 194, 76, 0.4);
    transform: translateY(-2px);
}

.btn-buy-now:disabled {
    background: #2a2520;
    color: #4a4540;
    cursor: not-allowed;
    box-shadow: none;
}

.summary-footer-text {
    margin-top: 15px;
    font-size: 10px;
    color: var(--royale-text);
    opacity: 0.5;
    font-weight: 600;
}

.formpadrao select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4b27d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3Csvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px !important;
}

@media (max-width: 1100px) {
    .all {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .menu {
        width: 100% !important;
        order: -1;
    }

    .menu>div {
        padding: 20px 15px !important;
    }

    .bluArea {
        width: 100% !important;
    }

    nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    section {
        padding: 15px !important;
        margin: 5px auto !important;
        border-radius: 12px !important;
        width: calc(100% - 10px) !important;
    }
}

@media (max-width: 768px) {
    nav {
        grid-template-columns: 1fr;
    }

    .royale-guest-header {
        padding: 10px 15px !important;
        flex-direction: column;
        gap: 10px;
    }

    .server-logo span {
        font-size: 14px;
    }

    .royale-guest-layout {
        max-width: 100%;
        padding: 0 10px;
    }

    .smallCenter form {
        padding: 25px 20px !important;
    }
}

@media (max-width: 1200px) {
    .recharge-grid {
        grid-template-columns: 1fr;
    }

    .recharge-section {
        height: auto;
    }
}

/* Notification System Royale - Professional Positioning */
.royale-top-bar {
    position: relative;
    width: 100%;
    height: 0;
    /* Removido espaÃ§o morto para subir os cards */
    z-index: 999;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.notif-wrapper {
    position: absolute;
    right: -11px;
    /* ALINHAMENTO Ã¯Â¿Â½ DIREITA: Diminua este valor para mover MAIS para a direita */
    top: -15px;
    /* ALTURA: Aumente este valor para mover para BAIXO */
    z-index: 10000;
    display: inline-block;
}

.notif-btn {
    width: 250px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    position: relative;
}

.notif-img {
    width: 250px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    opacity: 0.1;
    filter: grayscale(1) brightness(0.4);
    transition: opacity 0.4s ease;
}

/* MODO ALERTA: Nitidez Total sem movimentos */
.notif-wrapper.visible .notif-img {
    filter: grayscale(0) brightness(1);
    opacity: 1 !important;
}



.notif-wrapper.visible .notif-badge {
    display: block;
}

.notif-tooltip {
    position: absolute;
    right: 60px;
    bottom: -10px;
    background: rgba(18, 14, 10, 0.98);
    color: #d4b27d;
    padding: 12px 25px;
    border-radius: 12px;
    border: 1px solid #d4b27d;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    font-weight: bold;
    z-index: 10001;
}

.notif-wrapper:hover .notif-tooltip {
    opacity: 1;
    transform: translateY(-5px);
}

.notif-tooltip1 {
    position: absolute;
    right: 60px;
    bottom: -10px;
    background: rgba(18, 14, 10, 0.98);
    color: #d4b27d;
    padding: 12px 25px;
    border-radius: 12px;
    border: 1px solid #d4b27d;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    font-weight: bold;
    z-index: 10001;
}

.notif-wrapper:hover .notif-tooltip1 {
    opacity: 1;
    transform: translateY(-5px);
}

@media (max-width: 1200px) {
    /* Layout fixo para notificação */
}

@media (max-width: 768px) {
    .royale-top-bar {
        height: 40px;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .notif-wrapper {
        position: relative;
        right: auto;
        top: 0;
        transform: scale(0.8);
    }
}

/* Faction Branding - Ice and Fire Effects */
.faction-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faction-angel {
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.2) 0%, rgba(2, 27, 121, 0.2) 100%);
    color: #87cefa;
    border-color: rgba(135, 206, 250, 0.4);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.15), inset 0 0 10px rgba(135, 206, 250, 0.1);
    backdrop-filter: blur(4px);
}

.faction-angel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: rotate-ice 6s linear infinite;
}

.faction-evil {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%);
    color: #ff6347;
    border-color: rgba(255, 99, 71, 0.4);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.15), inset 0 0 10px rgba(255, 99, 71, 0.1);
    backdrop-filter: blur(4px);
}

.faction-evil::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 100, 0, 0.08) 0%, transparent 60%);
    animation: rotate-fire 6s linear infinite;
}

.faction-none {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border-color: rgba(255, 255, 255, 0.1);
}

@keyframes rotate-ice {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-fire {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.faction-icon {
    font-size: 14px;
    filter: drop-shadow(0 0 5px currentColor);
}

/* 
   ==========================================================================
   HARMONIZATION: LOGIN PAGE (ROYALE PREMIUM)
   Adaptado para o novo modelo visual com Fundo Full-Screen e Layout Lateral
   ========================================================================== 
*/

/* Ocultar elementos desnecessÃ¡rios no modo login */
.royale-layout:has(.royale-guest-layout) .server_status,
.royale-layout:has(.royale-guest-layout) footer,
.royale-layout:has(.royale-guest-layout) .breadcrumb {
    display: none !important;
}

/* Neutralizar hovers residuais no container de login */
.royale-guest-layout .formpadrao:hover,
.royale-guest-layout .formpadrao>div:hover {
    background: transparent !important;
}

/* Transformar o Section principal em um container Full Screen */
.royale-layout:has(.royale-guest-layout) {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    max-width: none !important;
    width: 100% !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 100 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Background com Imagem de Impacto */
.royale-layout:has(.royale-guest-layout)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../assets/images/bg/bg-topOriginal.jpg') no-repeat center right !important;
    background-size: cover !important;
    z-index: -20;
}

/* Overlay Dark Gradiente para facilitar leitura no lado esquerdo */
.royale-layout:has(.royale-guest-layout)::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d0a08 0%, #0d0a08 40%, rgba(13, 10, 8, 0.4) 70%, transparent 100%);
    z-index: -10;
}

.royale-guest-layout {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10% !important;
    height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
}

/* [ESPACAMENTO] Margem superior e inferior do cabecalho (Status/Idiomas) */
.royale-guest-header {
    background: transparent !important;
    border: none !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: none !important;
}

.royale-guest-header .server-logo {
    display: none !important;
}

.server-status-pill {
    position: relative;
    z-index: 100;
}

.status-pill-toggle {
    background: #110d0a;
    border: 1px solid var(--royale-gold);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.status-pill-toggle:hover {
    background: #1b1510;
    box-shadow: 0 0 25px rgba(212, 178, 125, 0.2);
}

.status-pill-toggle .dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.8);
}

.status-pill-toggle .dot.offline {
    background: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.8);
}

.status-pill-toggle .realm-txt {
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
}

.status-pill-toggle .badge {
    background: #0d281a;
    color: #4ce59b;
    border: 1px solid #105a3b;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 800;
}

.status-pill-toggle .badge.offline {
    background: #280d0d;
    color: #e54c4c;
    border-color: #5a1010;
}

.status-pill-toggle .chevron {
    color: var(--royale-gold);
    font-size: 10px;
    transition: transform 0.3s ease;
}

.status-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 320px;
    background: #110d0a;
    border: 1px solid var(--royale-gold);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.status-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.status-dropdown .dropdown-title {
    color: var(--royale-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.status-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid rgba(212, 178, 125, 0.1);
}

.status-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-card .card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-card .card-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.status-card .card-names h4 {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.status-card .card-names span {
    display: block;
    font-size: 9px;
    color: var(--royale-gold);
    font-weight: 700;
    opacity: 0.7;
}

.status-card .card-badge {
    font-size: 8px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-card .card-badge.online {
    color: #4ce59b;
    border: 1px solid #105a3b;
}

.status-card .card-badge.offline {
    color: #e54c4c;
    border: 1px solid #5a1010;
}

/* Navegação de Topo Estilizada */
.royale-guest-header {
    background: transparent !important;
    border: none !important;
    margin: 30px 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: none !important;
}

/* Idiomas Redesenhados Estilo Site Principal */
.royale-langs {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex !important;
}

.royale-langs .lang-links {
    display: flex !important;
    gap: 10px;
}

.royale-langs .lang-links a {
    text-decoration: none !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 178, 125, 0.3);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    transition: all 0.3s ease;
    filter: grayscale(1);
    opacity: 0.6;
}

.royale-langs .lang-links a:hover,
.royale-langs .lang-links a.active {
    background: var(--royale-gold);
    color: #110d0a !important;
    border-color: var(--royale-gold);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 178, 125, 0.3);
}

/* Login Area */
.royale-guest-layout .all {
    margin: auto 0 !important;
    display: block !important;
}

.smallCenter {
    max-width: 480px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    animation: fadeInSlideLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* [ESPACAMENTO] Titulo Principal (Acesse sua conta) */
.smallCenter::before {
    content: 'Acesse sua conta';
    display: block;
    font-family: var(--royale-font-title);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    /* Reduzi de 12px */
    letter-spacing: -1px;
}

/* [ESPACAMENTO] Subtitulo (Para ter acesso ao painel...) */
.smallCenter::after {
    content: 'Entre no L2JPremium e volte ao reino com seu personagem.';
    display: block;
    font-family: var(--royale-font-content);
    font-size: 17px;
    color: var(--royale-text);
    margin-bottom: 15px;
    /* Reduzi de 30px */
    opacity: 0.9;
}

/* [ESPACAMENTO] Espacamento interno (Padding) do Cartao de Login */
.smallCenter form {
    background: rgba(26, 21, 16, 0.85) !important;
    border: 1px solid rgba(212, 178, 125, 0.2) !important;
    padding: 25px 45px !important;
    /* Reduzi padding interno */
    border-radius: 20px !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(15px) !important;
}

/* [ESPACAMENTO] Titulo "Login" e seu texto descritivo interno */
.recharge-header {
    display: block !important;
    text-align: left !important;
    margin-bottom: 15px !important;
    /* Reduzi de 25px */
}

.recharge-header>div {
    font-family: var(--royale-font-title) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
}

.recharge-header::after {
    content: 'Use seu login e senha cadastrados.';
    display: block;
    font-size: 14px;
    color: var(--royale-text);
    margin-top: 5px;
}

/* [ESPACAMENTO] Margem inferior de cada bloco (Login/Senha) */
.formpadrao {
    background: transparent !important;
    border: none !important;
    margin-bottom: 15px !important;
    /* Reduzi de 25px */
    padding: 0 !important;
}

/* [ESPACAMENTO] Margem superior ao texto "LOGIN:" e "SENHA:" */
.formpadrao .desc {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    margin-bottom: 6px !important;
    /* Reduzi de 12px */
    padding-left: 5px !important;
    opacity: 1 !important;
}

/* [ESPACAMENTO] Altura interna (Padding) das caixas de texto */
.formpadrao .camp input {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(212, 178, 125, 0.3) !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    /* Reduzi altura de 18px */
    font-size: 16px !important;
    color: #fff !important;
    text-align: left !important;
    transition: 0.3s !important;
    box-sizing: border-box !important;
}

.formpadrao .camp input:hover {
    border-color: rgba(212, 178, 125, 0.5) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

.formpadrao .camp input:focus {
    border-color: var(--royale-gold-bright) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 0 20px rgba(255, 194, 76, 0.1) !important;
}

/* [ESPACAMENTO] Altura e margem do Botao de Login */
.btn-buy-now {
    background: #ffc24c !important;
    color: #120e0a !important;
    height: 55px !important;
    /* Reduzi de 62px */
    border-radius: 10px !important;
    font-family: var(--royale-font-title) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    margin-top: 5px !important;
    /* Reduzi de 15px */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    cursor: pointer !important;
    text-transform: none !important;
    box-shadow: 0 10px 30px rgba(255, 194, 76, 0.15) !important;
}

.btn-buy-now:hover {
    background: #ffcf70 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(255, 194, 76, 0.3) !important;
}

.btn-buy-now::after {
    content: '\f0a9';
    font-family: FontAwesome;
    font-size: 20px;
    opacity: 0.8;
}

/* Links de RodapÃ© */
.summary-footer-text {
    margin: 30px 0 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    font-size: 14px !important;
}

.summary-footer-text a {
    color: var(--royale-text) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: 0.2s !important;
}

.summary-footer-text a:hover {
    color: #fff !important;
}

/* Link Criar Conta (Simulado para manter estrutura PHP) */
.summary-footer-text::before {
    content: 'Criar conta';
    color: var(--royale-text);
    font-weight: 500;
    cursor: pointer;
}

.summary-footer-text a b {
    display: none !important;
    /* Esconder o "Recuperar" do PHP para usar texto custom */
}

/* Captcha Ajustes Premium V3 */
.formpadrao.captcha {
    margin: 20px 0 !important;
    display: block !important;
}

.formpadrao.captcha>div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.formpadrao.captcha .desc {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    order: 1 !important;
    width: auto !important;
}

.formpadrao.captcha .captchaImage {
    height: 35px !important;
    width: auto !important;
    border-radius: 10px !important;
    background: #120e0a !important;
    /* Fundo escuro para combinar com a imagem gerada no sistema */
    border: 2px solid rgba(212, 178, 125, 0.2) !important;
    padding: 0 !important;
    display: block !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

.formpadrao.captcha .camp {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 120px !important;
    order: 2 !important;
}

.formpadrao.captcha .camp input {
    height: 35px !important;
    padding: 0 15px !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(212, 178, 125, 0.3) !important;
    border-radius: 10px !important;
    color: #fff !important;
}

.captchaRefresh {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 32px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(212, 178, 125, 0.08) !important;
    border: 1px solid rgba(212, 178, 125, 0.3) !important;
    border-radius: 10px !important;
    color: var(--royale-gold) !important;
    text-decoration: none !important;
    order: 3 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    transition: all 0.3s ease !important;
}

.captchaRefresh:hover {
    background: rgba(212, 178, 125, 0.2) !important;
    border-color: var(--royale-gold) !important;
    color: #fff !important;
}


@media (max-width: 1000px) {
    .royale-layout:has(.royale-guest-layout)::after {
        background: rgba(13, 10, 8, 0.85) !important;
    }

    .royale-guest-layout {
        padding: 0 20px !important;
        align-items: center !important;
    }

    .smallCenter {
        text-align: center !important;
        max-width: 400px !important;
    }
}

/* 
   ==========================================================================
   RANKINGS & LEADERBOARD (ROYALE PREMIUM)
   ========================================================================== 
*/

.ranking-container {
    padding: 10px;
    animation: fadeIn 0.8s ease-out;
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(212, 178, 125, 0.1);
    padding-bottom: 20px;
}

.ranking-title h2 {
    font-family: var(--royale-font-title);
    font-size: 32px;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ranking-title span {
    color: var(--royale-gold);
    font-size: 13px;
    opacity: 0.7;
    font-weight: 600;
}

/* Leaderboard Grid */
.leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 10px;
}

.leaderboard-table th {
    text-align: left;
    padding: 15px 20px;
    color: var(--royale-gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.leaderboard-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 178, 125, 0.05);
    transition: all 0.3s ease;
}

.leaderboard-row:hover {
    background: rgba(212, 178, 125, 0.05);
    transform: scale(1.005);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.leaderboard-row td {
    padding: 18px 20px;
    color: #fff;
    font-size: 14px;
}

.leaderboard-row td:first-child {
    border-radius: 12px 0 0 12px;
}

.leaderboard-row td:last-child {
    border-radius: 0 12px 12px 0;
}

/* Rank Numbers & Medals */
.rank-pos {
    width: 60px;
    text-align: center !important;
    font-family: var(--royale-font-title);
    font-weight: 800;
}

.rank-1 {
    background: rgba(255, 215, 0, 0.05) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
}

.rank-2 {
    background: rgba(192, 192, 192, 0.05) !important;
    border: 1px solid rgba(192, 192, 192, 0.2) !important;
}

.rank-3 {
    background: rgba(205, 127, 50, 0.05) !important;
    border: 1px solid rgba(205, 127, 50, 0.2) !important;
}

.rank-1 .rank-pos {
    color: #ffd700;
    font-size: 20px;
}

.rank-2 .rank-pos {
    color: #c0c0c0;
    font-size: 18px;
}

.rank-3 .rank-pos {
    color: #cd7f32;
    font-size: 16px;
}

.rank-1 .rank-pos::before {
    content: \"\f091\";
    font-family: FontAwesome;
    margin-right: 8px;
    font-size: 14px;
}

/* Player Name Cell */
.player-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-info {
    text-align: left;
}

.player-info b {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 2px;
}

.player-info span {
    font-size: 11px;
    color: var(--royale-gold);
    opacity: 0.7;
}

/* Stats Badges */
.stat-badge {
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    border: 1px solid rgba(212, 178, 125, 0.1);
}

.stat-pvp {
    color: #4ce59b;
    border-color: rgba(76, 229, 155, 0.2);
}

.stat-pk {
    color: #e54c4c;
    border-color: rgba(229, 76, 76, 0.2);
}

.stat-time {
    color: var(--royale-gold);
    opacity: 0.9;
}

@media (max-width: 800px) {

    .leaderboard-table th:nth-child(3),
    .leaderboard-table td:nth-child(3) {
        display: none;
    }

    .ranking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Royale Tabs */
.royale-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(212, 178, 125, 0.1);
    padding-bottom: 10px;
}

.royale-tabs a {
    padding: 10px 25px;
    color: var(--royale-gold) !important;
    text-decoration: none !important;
    font-family: var(--royale-font-title);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.royale-tabs a:hover {
    background: rgba(212, 178, 125, 0.05);
    color: #fff !important;
}

.royale-tabs a.active {
    background: rgba(212, 178, 125, 0.15);
    color: #fff !important;
    border-bottom: 2px solid var(--royale-gold);
    margin-bottom: -12px;
}

/* ============================================================ 
   NOTIFICAÇÕES TOAST (SISTEMA DE ALERTAS RÁPIDOS)
   ============================================================ */
.notif-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, var(--royale-gold-bright) 0%, #ff9800 100%);
    color: #1a1510;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 194, 76, 0.3);
    z-index: 999999;
    font-weight: 800;
    font-size: 14px;
    font-family: var(--royale-font-title);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s ease;
}

.notif-toast:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 194, 76, 0.4);
}

.notif-toast.toast-out {
    animation: toastOut 0.5s ease forwards;
}

.notif-toast i {
    font-size: 18px;
}

.notif-toast .toast-action {
    opacity: 0.7;
    font-size: 11px;
    text-transform: uppercase;
    margin-left: 10px;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

@keyframes toastIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

@keyframes toastPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
