:root {
    /* --- Visual Replication Palette --- */
    --bg-body: #001a23;
    /* Deep Dark Teal Background */

    /* --- Sidebar Colors --- */
    --sidebar-btn-bg: linear-gradient(to bottom, #b71c1c 0%, #880e4f 100%);
    /* Deep Red */
    --sidebar-btn-border: #5c0000;
    --sidebar-btn-hover: linear-gradient(to bottom, #d32f2f 0%, #b71c1c 100%);

    --download-btn-bg: linear-gradient(to bottom, #ff9800 0%, #e65100 100%);
    /* Bright Orange */
    --download-btn-border: #bf360c;

    /* --- Panel Colors --- */
    --panel-bg: #ffffff;
    /* White Panels */
    --panel-header-bg: #263238;
    /* Dark Header */
    --panel-border: 1px solid #cfd8dc;

    /* --- Text --- */
    --text-primary: #263238;
    /* Dark text for panels */
    --text-secondary: #546e7a;
    --text-light: #ffffff;
    /* For headers/sidebar */

    /* --- Accents --- */
    --accent-green: #00c853;
    --accent-blue: #0277bd;

    /* --- Typography --- */
    --font-primary: 'Roboto', 'Segoe UI', sans-serif;
    --font-heading: 'Impact', 'Arial Black', sans-serif;
    /* Stronger font for buttons */

    /* --- New Menu Variables --- */
    --bg-sidebar: #6f94b8;
    --bg-panel-icon: #5d809d;
}

body {
    background-color: #00293c12;
    background-image: url('../img/bg-pattern.png');
    /* Optional texture */
    color: var(--text-light);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* --- Animations --- */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        left: 100%;
        opacity: 0.6;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* --- Top Bar --- */
.top-bar {
    background: rgb(0 0 0 / 94%);
    border-bottom: 2px solid #ffa014;
    padding: 5px 0;
    font-size: 0.8rem;
}

.top-bar a {
    color: #b0bec5;
    margin: 0 10px;
}

.top-bar a:hover {
    color: #fff;
}

/* --- Header Banner --- */
.header-banner {
    height: 280px;
    background: url('../../web_azul_images/banner4.png') top center no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 20px;
    /* border-bottom: 4px solid #303030; */
}

.logo-banner {
    max-height: 180px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.6));
    animation: float 4s ease-in-out infinite;
}

.banner-text h4 {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.banner-text h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    letter-spacing: -1px;
}

/* --- Layout --- */
.main-container-wrapper {
    padding-bottom: 40px;
}

/* --- Sidebar Navigation (Accordion) --- */
.main-nav__sidebar {
    padding: 0;
    background-color: var(--bg-sidebar);
}

/* --- Improved Modern Menu (Refined based on web-azul) --- */
.gunbound-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.desktop-nav__item {
    background: linear-gradient(to bottom, #970605, #7a0404);
    /* Red base with subtle depth */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 38px;
    /* Original closed height */
    transition: background 0.2s ease-in-out, height 0.1s ease-out, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.desktop-nav__item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.desktop-nav__item.active {
    height: 150px;
    /* Original open height */
    transition: background 0.2s ease-in-out, height 0.4s cubic-bezier(0.5, 0, 0.5, 1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Taller items */
.desktop-nav__item#avatar-shop.active,
.desktop-nav__item#mobile-avatar-shop.active {
    height: 185px;
}

.desktop-nav__item>a {
    display: block;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    /* Enhanced readability */
}

/* Submenu */
.desktop-nav__submenu {
    position: relative;
    overflow: hidden;
    transition: padding 0.1s ease-out;
}

.desktop-nav__item.active .desktop-nav__submenu {
    padding-top: 5px;
    padding-bottom: 15px;
    transition-delay: 0.1s;
}

/* Background Images (Exact web-azul animation) */
.desktop-nav__bg-img {
    position: absolute;
    right: 15px;
    bottom: 10px;
    width: auto;
    height: auto;
    opacity: 0;
    z-index: 1;
    transform: translateX(30px);
    transition: transform 0s, opacity 0s;
}

.desktop-nav__item.active .desktop-nav__bg-img {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.4s ease-out 0.5s, opacity 0.4s ease-out 0.5s;
}

/* Submenu Links */
.desktop-nav__submenu ul {
    position: relative;
    z-index: 2;
    padding-left: 25px;
}

.desktop-nav__submenu li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0s, transform 0s;
    margin-bottom: 2px;
}

.desktop-nav__submenu li a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    display: block;
    transition: all 0.2s ease-in-out;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.desktop-nav__item.active .desktop-nav__submenu li {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Staggered Delays */
.desktop-nav__item.active .desktop-nav__submenu li:nth-child(1) {
    transition-delay: 0.20s;
}

.desktop-nav__item.active .desktop-nav__submenu li:nth-child(2) {
    transition-delay: 0.25s;
}

.desktop-nav__item.active .desktop-nav__submenu li:nth-child(3) {
    transition-delay: 0.30s;
}

.desktop-nav__item.active .desktop-nav__submenu li:nth-child(4) {
    transition-delay: 0.35s;
}

.desktop-nav__item.active .desktop-nav__submenu li:nth-child(5) {
    transition-delay: 0.40s;
}

.desktop-nav__item.active .desktop-nav__submenu li:nth-child(6) {
    transition-delay: 0.45s;
}



/* --- Color Variants (Subtle Gradients based on web-azul) --- */

/* No Submenu - Green */
.desktop-nav__item.no-submenu:hover {
    background: linear-gradient(to bottom, #a8d39a, #8db680);
}

/* About - Orange */
.desktop-nav__item#about-gunbound:hover,
.desktop-nav__item#about-gunbound.active,
.desktop-nav__item#mobile-about-gunbound:hover,
.desktop-nav__item#mobile-about-gunbound.active {
    background: linear-gradient(to bottom, #ef9300, #cc7a00);
}

/* How to Play - Purple */
.desktop-nav__item#how-to-play:hover,
.desktop-nav__item#how-to-play.active,
.desktop-nav__item#mobile-how-to-play:hover,
.desktop-nav__item#mobile-how-to-play.active {
    background: linear-gradient(to bottom, #a870e7, #8a5bc0);
}

/* Community - Gold/Green */
.desktop-nav__item#community:hover,
.desktop-nav__item#community.active,
.desktop-nav__item#mobile-community:hover,
.desktop-nav__item#mobile-community.active {
    background: linear-gradient(to bottom, #c0bf00, #9da000);
}

/* Ranking - Bronze */
.desktop-nav__item#ranking:hover,
.desktop-nav__item#ranking.active,
.desktop-nav__item#mobile-ranking:hover,
.desktop-nav__item#mobile-ranking.active {
    background: linear-gradient(to bottom, #cc8409, #a66b07);
}

/* Guild - Blue */
.desktop-nav__item#guild:hover,
.desktop-nav__item#guild.active,
.desktop-nav__item#mobile-guild:hover,
.desktop-nav__item#mobile-guild.active {
    background: linear-gradient(to bottom, #60a6e6, #4a8ac6);
}

/* Shop - Cyan */
.desktop-nav__item#avatar-shop:hover,
.desktop-nav__item#avatar-shop.active,
.desktop-nav__item#mobile-avatar-shop:hover,
.desktop-nav__item#mobile-avatar-shop.active {
    background: linear-gradient(to bottom, #5ac2c8, #469ea3);
}

/* Help - Indigo */
.desktop-nav__item#help:hover,
.desktop-nav__item#help.active,
.desktop-nav__item#mobile-help:hover,
.desktop-nav__item#mobile-help.active {
    background: linear-gradient(to bottom, #889ae5, #6b7bc0);
}

/* Submenu Hover Colors (Exact web-azul) */
#about-gunbound.active .desktop-nav__submenu li a:hover,
#mobile-about-gunbound.active .desktop-nav__submenu li a:hover {
    color: #970605;
    text-shadow: none;
}

#how-to-play.active .desktop-nav__submenu li a:hover,
#mobile-how-to-play.active .desktop-nav__submenu li a:hover {
    color: #3a1a80;
    text-shadow: none;
}

#community.active .desktop-nav__submenu li a:hover,
#mobile-community.active .desktop-nav__submenu li a:hover {
    color: #545700;
    text-shadow: none;
}

#ranking.active .desktop-nav__submenu li a:hover,
#mobile-ranking.active .desktop-nav__submenu li a:hover {
    color: #452911;
    text-shadow: none;
}

#guild.active .desktop-nav__submenu li a:hover,
#mobile-guild.active .desktop-nav__submenu li a:hover {
    color: #13366d;
    text-shadow: none;
}

#avatar-shop.active .desktop-nav__submenu li a:hover,
#mobile-avatar-shop.active .desktop-nav__submenu li a:hover {
    color: #103c4f;
    text-shadow: none;
}

#help.active .desktop-nav__submenu li a:hover,
#mobile-help.active .desktop-nav__submenu li a:hover {
    color: #23366a;
    text-shadow: none;
}

/* --- Content Panels (White) --- */
.content-panel {
    background: var(--panel-bg);

    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.panel-header {
    background: var(--panel-header-bg);
    padding: 10px 15px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header a {
    color: #b0bec5;
}

.panel-header a:hover {
    color: #fff;
}

.panel-body {
    padding: 15px;
    color: var(--text-primary);
}

/* --- News List --- */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.notice-item:hover {
    background: #f5f5f5;
    padding-left: 5px;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-date {
    color: #90a4ae;
    font-size: 0.8rem;
    margin-right: 10px;
    min-width: 80px;
}

.notice-tag {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 10px;
    color: #fff;
}

.tag-announce {
    background: #ff9800;
}

.tag-info {
    background: #00bcd4;
}

.tag-update {
    background: #f44336;
}

.notice-title {
    color: #37474f;
    font-weight: 500;
}

.notice-title:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* --- Events List --- */
.panel-list--events {
    list-style: none;
    padding: 0;
}

.panel-list--events li {
    margin-bottom: 8px;
}

.panel-list--events a {
    color: #455a64;
    display: flex;
    align-items: center;
}

.panel-list--events a:hover {
    color: var(--accent-blue);
}

.panel-list--events i {
    color: #d32f2f;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* --- Banned List Table --- */
.ban-list-header {
    background: #eceff1;
    color: #546e7a;
    font-weight: 700;
    padding: 10px;
    border-bottom: 2px solid #cfd8dc;
    font-size: 0.8rem;
}

.ban-list-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    background: #fff;
    transition: background 0.2s;
}

.ban-list-item:nth-child(even) {
    background: #fafafa;
}

.ban-list-item:hover {
    background: #f0f4c3;
    /* Light lime highlight */
}

.ban-col-user {
    color: #37474f;
    font-weight: 600;
}

.ban-col-reason {
    color: #78909c;
}

.ban-col-expires {
    text-align: right;
    font-weight: bold;
}

/* --- Avatar Shop Grid --- */
.avatar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    top: 0;
}

.avatar-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    top: -5px;
}

.avatar-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.avatar-card:hover img {
    transform: scale(1.1);
}

.avatar-card__price {
    color: #d32f2f;
    font-weight: bold;
    font-size: 0.85rem;
}

/* --- Buttons & Search --- */
.btn-group .btn-outline-info {
    color: #00bcd4;
    border-color: #00bcd4;
}

.btn-group .btn-outline-info:hover,
.btn-group .btn-outline-info.active {
    background-color: #00bcd4;
    color: #fff;
}

.form-control-gb {
    background: #fff;
    border: 1px solid #cfd8dc;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
}

/* --- Footer --- */
.footer-bar {
    border-top: 4px solid #ff9800;
    /* Orange accent */
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    background: #0e0e0e;
    /* Deep dark background */
    color: #b0bec5;
    font-size: 0.9rem;
    position: relative;
}

.footer-bar a {
    color: #cfd8dc;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-bar a:hover {
    color: #ff9800;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: #ff9800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.footer-copy {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Rectangular Download Button - Orange Style */
.download-btn-orange {
    display: block;
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffb74d 0%, #ff9800 50%, #f57c00 51%, #e65100 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 #bf360c, 0 5px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    border: 2px solid #ffe0b2;
    transition: all 0.2s ease;
}

.download-btn-orange:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #bf360c, 0 3px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.download-btn-orange:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #bf360c, inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-layer {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.dl-text-main {
    font-family: 'Impact', sans-serif;
    font-size: 32px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
}

.dl-text-sub {
    font-size: 10px;
    color: #fff3e0;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 2px;
    text-transform: uppercase;
}

.ban-col-reason {
    color: #78909c;
}

.ban-col-expires {
    text-align: right;
    font-weight: bold;
}

/* --- Avatar Shop Grid --- */
.avatar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    top: 0;
}

.avatar-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    top: -5px;
}

.avatar-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.avatar-card:hover img {
    transform: scale(1.1);
}

.avatar-card__price {
    color: #d32f2f;
    font-weight: bold;
    font-size: 0.85rem;
}

/* --- Buttons & Search --- */
.btn-group .btn-outline-info {
    color: #00bcd4;
    border-color: #00bcd4;
}

.btn-group .btn-outline-info:hover,
.btn-group .btn-outline-info.active {
    background-color: #00bcd4;
    color: #fff;
}

.form-control-gb {
    background: #fff;
    border: 1px solid #cfd8dc;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
}

/* --- Footer --- */
.footer-bar {
    border-top: 4px solid #ff9800;
    /* Orange accent */
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    background: #0e0e0e;
    /* Deep dark background */
    color: #b0bec5;
    font-size: 0.9rem;
    position: relative;
}

.footer-bar a {
    color: #cfd8dc;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-bar a:hover {
    color: #ff9800;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: #ff9800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.footer-copy {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Rectangular Download Button - Orange Style */
.download-btn-orange {
    display: block;
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffb74d 0%, #ff9800 50%, #f57c00 51%, #e65100 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 #bf360c, 0 5px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    border: 2px solid #ffe0b2;
    transition: all 0.2s ease;
}

.download-btn-orange:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #bf360c, 0 3px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.download-btn-orange:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #bf360c, inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-layer {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.dl-text-main {
    font-family: 'Impact', sans-serif;
    font-size: 32px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
}

.dl-text-sub {
    font-size: 10px;
    color: #fff3e0;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 2px;
    text-transform: uppercase;
}

.shine-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

/* --- Ranking Preview Sidebar (New) --- */
.ranking-preview-sidebar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #cfd8dc;
    font-family: 'Tahoma', sans-serif;
    /* Clean, classic look */
}

.ranking-preview-header {
    background: linear-gradient(to bottom, #424242 0%, #212121 100%);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.ranking-preview-header i {
    color: #bdbdbd;
}

.ranking-preview-list {
    list-style: none;
}

.avatar-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.avatar-card:hover img {
    transform: scale(1.1);
}

.avatar-card__price {
    color: #d32f2f;
    font-weight: bold;
    font-size: 0.85rem;
}

/* --- Buttons & Search --- */
.btn-group .btn-outline-info {
    color: #00bcd4;
    border-color: #00bcd4;
}

.btn-group .btn-outline-info:hover,
.btn-group .btn-outline-info.active {
    background-color: #00bcd4;
    color: #fff;
}

.form-control-gb {
    background: #fff;
    border: 1px solid #cfd8dc;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
}

/* --- Footer --- */
.footer-bar {
    border-top: 4px solid #ff9800;
    /* Orange accent */
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    background: #0e0e0e;
    /* Deep dark background */
    color: #b0bec5;
    font-size: 0.9rem;
    position: relative;
}

.footer-bar a {
    color: #cfd8dc;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-bar a:hover {
    color: #ff9800;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: #ff9800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.footer-copy {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Rectangular Download Button - Orange Style */
.download-btn-orange {
    display: block;
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffb74d 0%, #ff9800 50%, #f57c00 51%, #e65100 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 #bf360c, 0 5px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    border: 2px solid #ffe0b2;
    transition: all 0.2s ease;
}

.download-btn-orange:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #bf360c, 0 3px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.download-btn-orange:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #bf360c, inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-layer {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.dl-text-main {
    font-family: 'Impact', sans-serif;
    font-size: 32px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
}

.dl-text-sub {
    font-size: 10px;
    color: #fff3e0;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 2px;
    text-transform: uppercase;
}

.shine-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

/* --- Ranking Preview Sidebar (New) --- */
.ranking-preview-sidebar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #cfd8dc;
    font-family: 'Tahoma', sans-serif;
    /* Clean, classic look */
}

.ranking-preview-header {
    background: linear-gradient(to bottom, #424242 0%, #212121 100%);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.ranking-preview-header i {
    color: #bdbdbd;
}

.ranking-preview-list {
    list-style: none;
    padding: 5px 10px;
    margin: 0;
    font-size: 12px;
}

.ranking-preview-list li {
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px dotted #e0e0e0;
    color: #37474f;
}

.ranking-preview-list li:last-child {
    border-bottom: none;
}

.rank-position {
    width: 20px;
    height: 20px;
    background: #eceff1;
    color: #546e7a;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Top 3 Highlights */
.rank-position.rank-1 {
    background: linear-gradient(135deg, #ffd700, #fdb931);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 1px solid #e6c200;
}

.rank-position.rank-2 {
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 1px solid #9e9e9e;
}

.rank-position.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 1px solid #8d6e63;
}

.rank-icon-small {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
}

.rank-name {
    font-weight: bold;
    color: #263238;
    flex-grow: 1;
    white-space: nowrap;
}

.footer-copy {
    opacity: 0.6;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Rectangular Download Button - Orange Style */
.download-btn-orange {
    display: block;
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffb74d 0%, #ff9800 50%, #f57c00 51%, #e65100 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 #bf360c, 0 5px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    border: 2px solid #ffe0b2;
    transition: all 0.2s ease;
}

.download-btn-orange:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #bf360c, 0 3px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.download-btn-orange:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #bf360c, inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-layer {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.dl-text-main {
    font-family: 'Impact', sans-serif;
    font-size: 32px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
}

.dl-text-sub {
    font-size: 10px;
    color: #fff3e0;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 2px;
    text-transform: uppercase;
}

.shine-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

/* --- Ranking Preview Sidebar (New) --- */
.ranking-preview-sidebar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #cfd8dc;
    font-family: 'Tahoma', sans-serif;
    /* Clean, classic look */
}

.ranking-preview-header {
    background: linear-gradient(to bottom, #424242 0%, #212121 100%);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.ranking-preview-header i {
    color: #bdbdbd;
}

.ranking-preview-list {
    list-style: none;
    padding: 5px 10px;
    margin: 0;
    font-size: 12px;
}

.ranking-preview-list li {
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px dotted #e0e0e0;
    color: #37474f;
}

.ranking-preview-list li:last-child {
    border-bottom: none;
}

.rank-position {
    width: 20px;
    height: 20px;
    background: #eceff1;
    color: #546e7a;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Top 3 Highlights */
.rank-position.rank-1 {
    background: linear-gradient(135deg, #ffd700, #fdb931);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 1px solid #e6c200;
}

.rank-position.rank-2 {
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 1px solid #9e9e9e;
}

.rank-position.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 1px solid #8d6e63;
}

.rank-icon-small {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
}

.rank-name {
    font-weight: bold;
    color: #263238;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
}

.rank-gp {
    color: #546e7a;
    font-weight: normal;
    font-size: 11px;
    white-space: nowrap;
}

/* --- Responsive Styles (Mobile) --- */
@media (max-width: 991px) {

    /* Top Bar */
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-bar .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar a {
        margin: 0 5px;
        font-size: 0.75rem;
    }

    /* Header Banner */
    .header-banner {
        height: 180px;
        background-position: center;
    }

    .logo-banner {
        max-height: 100px;
    }

    /* Sidebar Menu (Hidden by default on mobile) */
    .sidebar-container {
        display: none;
        animation: slideDown 0.3s ease-out;
    }

    .sidebar-container.show-mobile {
        display: block;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


a {
    text-decoration: none;
    color: #000;
}

.cash-efecto {
    font-weight: 900;
    font-size: 12px;

    text-transform: uppercase;
    text-shadow: 0 0 10px #0088ff;
    animation: respiracion 2s infinite ease-in-out;
    display: inline-block;
}

@keyframes respiracion {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px #0088ff;
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px #00ffff, 0 0 30px #0088ff;
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 10px #0088ff;
    }
}

.ranking-header {
    background-image: linear-gradient(to bottom, #ff9000, #834d06);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a38a64;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.ranking-header h2 {
    font-weight: 700;
    margin: 0;
}

.ranking-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.ranking-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    background: #ffffff;
    color: #363636;
}

.search-bar {
    background-color: #d28521;
    border: 1px solid #d9c8ae;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}

.search-bar .btn-search {
    background-color: #a52a2a;
    border-color: #8b0000;
    color: white;
}

.search-bar .btn-search:hover {
    background-color: #8b0000;
    border-color: #6e0000;
}

.table {
    border: 1px solid #d9c8ae;
}

.table thead th {
    background-color: #f0e4d1;
    color: #6b4f34;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #d9c8ae;
}

.table tbody td {
    vertical-align: middle;
    background-color: #fff;
}

.table tbody td.rank,
.table tbody td.level,
.table tbody td.gp,
.table tbody td.login {
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #f8f3e9;
}

.pagination-nav .btn {
    background-color: #e9e0d1;
    border: 1px solid #c5aa81;
    color: #6b4f34;
    font-weight: 500;
}

.pagination-nav .btn:hover {
    background-color: #d8c3a5;
}

.level-icon {

    display: inline-block;
}

.guild-header {
    background-image: linear-gradient(to bottom, #54a7e6, #00365e);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #0e5993;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.guild-header h2 {
    font-weight: 700;
    margin: 0;
}

.guild-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.guild-guide-list {
    list-style-type: upper-alpha;
    padding-left: 1.5rem;
}

.guild-guide-list li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.guild-guide-list ul {
    list-style-type: none;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    color: #007bff;
}

.guild-guide-list ul li {
    position: relative;
    font-style: italic;
    font-size: 0.85rem;
}

.guild-guide-list ul li::before {
    content: '*';
    position: absolute;
    left: -1rem;
    color: #007bff;
}


.mygb-header {
    background-image: linear-gradient(to bottom, #002536, #011621);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #243d52;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.mygb-header h2 {
    font-weight: 700;
    margin: 0;
}

.mygb-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.feature-header {
    background-image: linear-gradient(to bottom, #f7941d, #a35900);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.feature-header h2 {
    font-weight: 700;
    margin: 0;
}

.feature-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}


.feature-content {
    padding: 1.5rem 2rem;
    color: #333333;
    font-size: 0.9rem;
    background: #ffffff;
}

.descarga-header {
    background-image: linear-gradient(to bottom, #ad6fe6, #491776);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.descarga-header h2 {
    font-weight: 700;
    margin: 0;
}


.ranking-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    background: #ffffff;
    color: #363636;
}

.search-bar {
    background-color: #d28521;
    border: 1px solid #d9c8ae;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}

.search-bar .btn-search {
    background-color: #a52a2a;
    border-color: #8b0000;
    color: white;
}

.search-bar .btn-search:hover {
    background-color: #8b0000;
    border-color: #6e0000;
}

.table {
    border: 1px solid #d9c8ae;
}

.table thead th {
    background-color: #f0e4d1;
    color: #6b4f34;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #d9c8ae;
}

.table tbody td {
    vertical-align: middle;
    background-color: #fff;
}

.table tbody td.rank,
.table tbody td.level,
.table tbody td.gp,
.table tbody td.login {
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #f8f3e9;
}

.pagination-nav .btn {
    background-color: #e9e0d1;
    border: 1px solid #c5aa81;
    color: #6b4f34;
    font-weight: 500;
}

.pagination-nav .btn:hover {
    background-color: #d8c3a5;
}

.level-icon {

    display: inline-block;
}

.guild-header {
    background-image: linear-gradient(to bottom, #54a7e6, #00365e);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #0e5993;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.guild-header h2 {
    font-weight: 700;
    margin: 0;
}

.guild-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.guild-guide-list {
    list-style-type: upper-alpha;
    padding-left: 1.5rem;
}

.guild-guide-list li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.guild-guide-list ul {
    list-style-type: none;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    color: #007bff;
}

.guild-guide-list ul li {
    position: relative;
    font-style: italic;
    font-size: 0.85rem;
}

.guild-guide-list ul li::before {
    content: '*';
    position: absolute;
    left: -1rem;
    color: #007bff;
}


.mygb-header {
    background-image: linear-gradient(to bottom, #002536, #011621);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #243d52;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.mygb-header h2 {
    font-weight: 700;
    margin: 0;
}

.mygb-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.feature-header {
    background-image: linear-gradient(to bottom, #f7941d, #a35900);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.feature-header h2 {
    font-weight: 700;
    margin: 0;
}

.feature-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}


.feature-content {
    padding: 1.5rem 2rem;
    color: #333333;
    font-size: 0.9rem;
    background: #ffffff;
}

.descarga-header {
    background-image: linear-gradient(to bottom, #ad6fe6, #491776);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


.ranking-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    background: #ffffff;
    color: #363636;
}

.search-bar {
    background-color: #d28521;
    border: 1px solid #d9c8ae;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}

.search-bar .btn-search {
    background-color: #a52a2a;
    border-color: #8b0000;
    color: white;
}

.search-bar .btn-search:hover {
    background-color: #8b0000;
    border-color: #6e0000;
}

.table {
    border: 1px solid #d9c8ae;
}

.table thead th {
    background-color: #f0e4d1;
    color: #6b4f34;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #d9c8ae;
}

.table tbody td {
    vertical-align: middle;
    background-color: #fff;
}

.table tbody td.rank,
.table tbody td.level,
.table tbody td.gp,
.table tbody td.login {
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #f8f3e9;
}

.pagination-nav .btn {
    background-color: #e9e0d1;
    border: 1px solid #c5aa81;
    color: #6b4f34;
    font-weight: 500;
}

.pagination-nav .btn:hover {
    background-color: #d8c3a5;
}

.level-icon {

    display: inline-block;
}

.guild-header {
    background-image: linear-gradient(to bottom, #54a7e6, #00365e);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #0e5993;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.guild-header h2 {
    font-weight: 700;
    margin: 0;
}

.guild-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.guild-guide-list {
    list-style-type: upper-alpha;
    padding-left: 1.5rem;
}

.guild-guide-list li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.guild-guide-list ul {
    list-style-type: none;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    color: #007bff;
}

.guild-guide-list ul li {
    position: relative;
    font-style: italic;
    font-size: 0.85rem;
}

.guild-guide-list ul li::before {
    content: '*';
    position: absolute;
    left: -1rem;
    color: #007bff;
}


.mygb-header {
    background-image: linear-gradient(to bottom, #002536, #011621);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #243d52;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.mygb-header h2 {
    font-weight: 700;
    margin: 0;
}

.mygb-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.feature-header {
    background-image: linear-gradient(to bottom, #f7941d, #a35900);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.feature-header h2 {
    font-weight: 700;
    margin: 0;
}

.feature-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}


.feature-content {
    padding: 1.5rem 2rem;
    color: #333333;
    font-size: 0.9rem;
    background: #ffffff;
}

.descarga-header {
    background-image: linear-gradient(to bottom, #ad6fe6, #491776);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.descarga-header h2 {
    font-weight: 700;
    margin: 0;
}

.descarga-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.font-arial-rounded {
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    color: #144670;
}

.news-header {
    background-image: linear-gradient(to bottom, #00c853, #009624);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #007E33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.news-header h2 {
    font-weight: 700;
    margin: 0;
}



.table {
    border: 1px solid #d9c8ae;
}

.table thead th {
    background-color: #f0e4d1;
    color: #6b4f34;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #d9c8ae;
}

.table tbody td {
    vertical-align: middle;
    background-color: #fff;
}

.table tbody td.rank,
.table tbody td.level,
.table tbody td.gp,
.table tbody td.login {
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #f8f3e9;
}

.pagination-nav .btn {
    background-color: #e9e0d1;
    border: 1px solid #c5aa81;
    color: #6b4f34;
    font-weight: 500;
}

.pagination-nav .btn:hover {
    background-color: #d8c3a5;
}

.level-icon {

    display: inline-block;
}

.guild-header {
    background-image: linear-gradient(to bottom, #54a7e6, #00365e);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #0e5993;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.guild-header h2 {
    font-weight: 700;
    margin: 0;
}

.guild-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.guild-guide-list {
    list-style-type: upper-alpha;
    padding-left: 1.5rem;
}

.guild-guide-list li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.guild-guide-list ul {
    list-style-type: none;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    color: #007bff;
}

.guild-guide-list ul li {
    position: relative;
    font-style: italic;
    font-size: 0.85rem;
}

.guild-guide-list ul li::before {
    content: '*';
    position: absolute;
    left: -1rem;
    color: #007bff;
}


.mygb-header {
    background-image: linear-gradient(to bottom, #002536, #011621);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #243d52;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.mygb-header h2 {
    font-weight: 700;
    margin: 0;
}

.mygb-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.feature-header {
    background-image: linear-gradient(to bottom, #f7941d, #a35900);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.feature-header h2 {
    font-weight: 700;
    margin: 0;
}

.feature-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}


.feature-content {
    padding: 1.5rem 2rem;
    color: #333333;
    font-size: 0.9rem;
    background: #ffffff;
}

.descarga-header {
    background-image: linear-gradient(to bottom, #ad6fe6, #491776);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #a164d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.descarga-header h2 {
    font-weight: 700;
    margin: 0;
}

.descarga-header h2 small {
    font-weight: 400;
    color: #ffebd5;
}

.news-header {
    background-image: linear-gradient(to bottom, #00c853, #009624);
    color: #ffffff;
    padding: 0rem 1.5rem;
    border-bottom: 2px solid #007E33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.news-header h2 {
    font-weight: 700;
    margin: 0;
}

.news-header h2 small {
    font-weight: 400;
    color: #e8f5e9;
}

/* News Module Enhancements */
.news-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    font-weight: 600;
    color: #009624;

    .table tbody td {
        vertical-align: middle;
        background-color: #fff;
    }

    .table tbody td.rank,
    .table tbody td.level,
    .table tbody td.gp,
    .table tbody td.login {
        text-align: center;
    }

    .table-striped>tbody>tr:nth-of-type(odd)>* {
        background-color: #f8f3e9;
    }

    .pagination-nav .btn {
        background-color: #e9e0d1;
        border: 1px solid #c5aa81;
        color: #6b4f34;
        font-weight: 500;
    }

    .pagination-nav .btn:hover {
        background-color: #d8c3a5;
    }

    .level-icon {

        display: inline-block;
    }

    .guild-header {
        background-image: linear-gradient(to bottom, #54a7e6, #00365e);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #0e5993;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .guild-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .guild-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }

    .guild-guide-list {
        list-style-type: upper-alpha;
        padding-left: 1.5rem;
    }

    .guild-guide-list li {
        margin-bottom: 0.75rem;
        padding-left: 0.5rem;
    }

    .guild-guide-list ul {
        list-style-type: none;
        margin-top: 0.5rem;
        padding-left: 1.5rem;
        color: #007bff;
    }

    .guild-guide-list ul li {
        position: relative;
        font-style: italic;
        font-size: 0.85rem;
    }

    .guild-guide-list ul li::before {
        content: '*';
        position: absolute;
        left: -1rem;
        color: #007bff;
    }


    .mygb-header {
        background-image: linear-gradient(to bottom, #002536, #011621);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #243d52;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .mygb-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .mygb-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }

    .feature-header {
        background-image: linear-gradient(to bottom, #f7941d, #a35900);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #a164d9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .feature-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .feature-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }


    .feature-content {
        padding: 1.5rem 2rem;
        color: #333333;
        font-size: 0.9rem;
        background: #ffffff;
    }

    .descarga-header {
        background-image: linear-gradient(to bottom, #ad6fe6, #491776);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #a164d9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .descarga-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .descarga-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }

    .news-header {
        background-image: linear-gradient(to bottom, #00c853, #009624);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #007E33;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .news-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .news-header h2 small {
        font-weight: 400;
        color: #e8f5e9;
    }

    /* News Module Enhancements */
    .news-card {
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: 1px solid #eaeaea;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        position: relative;
    }

    .news-card:hover {
        transform: translateY(-5px);
        font-weight: 600;
        color: #009624;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }

    .hover-primary:hover {
        color: #00c853 !important;
    }

    /* News Table Styles - Force Overrides */
    .news-table {
        border: none !important;
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
        background-color: transparent !important;
    }

    .news-table thead th {
        background-color: transparent !important;
        /* Force remove cream color */
        color: #555 !important;
        border-bottom: 2px solid #00c853 !important;
        border-top: none !important;
        text-transform: uppercase;
        font-size: 0.85rem;
        font-weight: 800;
        padding: 15px;
        letter-spacing: 1px;
    }

    .news-table tbody tr {
        background-color: #ffffff !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-radius: 8px;
    }

    .news-table tbody td {
        border: none !important;
        color: #444;
        padding: 18px 15px;
        vertical-align: middle;
        background-color: transparent !important;
        /* Let row background show */
    }

    /* Rounded corners for rows */
    .news-table tbody tr td:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .news-table tbody tr td:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    /* Enhanced Hover Effect */
    .news-table tbody tr:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 200, 83, 0.15) !important;
        background-color: #ffffff !important;
        z-index: 10;
        position: relative;
    }

    .news-table .badge {
        font-weight: 600;
        letter-spacing: 0.5px;
        padding: 6px 12px;
    }

    .news-link {
        color: #333;
        font-weight: 700;
    }

    .guild-guide-list ul li::before {
        content: '*';
        position: absolute;
        left: -1rem;
        color: #007bff;
    }


    .mygb-header {
        background-image: linear-gradient(to bottom, #002536, #011621);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #243d52;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .mygb-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .mygb-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }

    .feature-header {
        background-image: linear-gradient(to bottom, #f7941d, #a35900);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #a164d9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .feature-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .feature-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }


    .feature-content {
        padding: 1.5rem 2rem;
        color: #333333;
        font-size: 0.9rem;
        background: #ffffff;
    }

    .descarga-header {
        background-image: linear-gradient(to bottom, #ad6fe6, #491776);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #a164d9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .descarga-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .descarga-header h2 small {
        font-weight: 400;
        color: #ffebd5;
    }

    .news-header {
        background-image: linear-gradient(to bottom, #00c853, #009624);
        color: #ffffff;
        padding: 0rem 1.5rem;
        border-bottom: 2px solid #007E33;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .news-header h2 {
        font-weight: 700;
        margin: 0;
    }

    .news-header h2 small {
        font-weight: 400;
        color: #e8f5e9;
    }

    /* News Module Enhancements */
    .news-card {
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: 1px solid #eaeaea;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        position: relative;
    }

    .news-card:hover {
        transform: translateY(-5px);
        font-weight: 600;
        color: #009624;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }

    .hover-primary:hover {
        color: #00c853 !important;
    }

    /* News Table Styles - Force Overrides */
    .news-table {
        border: none !important;
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
        background-color: transparent !important;
    }

    .news-table thead th {
        background-color: transparent !important;
        /* Force remove cream color */
        color: #555 !important;
        border-bottom: 2px solid #00c853 !important;
        border-top: none !important;
        text-transform: uppercase;
        font-size: 0.85rem;
        font-weight: 800;
        padding: 15px;
        letter-spacing: 1px;
    }

    .news-table tbody tr {
        background-color: #ffffff !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-radius: 8px;
    }

    .news-table tbody td {
        border: none !important;
        color: #444;
        padding: 18px 15px;
        vertical-align: middle;
        background-color: transparent !important;
        /* Let row background show */
    }

    /* Rounded corners for rows */
    .news-table tbody tr td:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .news-table tbody tr td:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    /* Enhanced Hover Effect */
    .news-table tbody tr:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 200, 83, 0.15) !important;
        background-color: #ffffff !important;
        z-index: 10;
        position: relative;
    }

    .news-table .badge {
        font-weight: 600;
        letter-spacing: 0.5px;
        padding: 6px 12px;
    }

    .news-link {
        color: #333;
        font-weight: 700;
        font-size: 1rem;
        transition: color 0.2s;
        display: block;
    }

    .news-link:hover {
        color: #00c853;
        text-decoration: none !important;
    }

    /* Login Modal Styles */
    .login-modal-content {
        border: none;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .login-icon-wrapper {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #e0f2f1, #b9f6ca);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: -40px auto 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        top: 30px;
    }

    .login-icon-wrapper i {
        font-size: 3rem;
        color: #00c853;
    }

    .modal-header {
        padding-top: 2rem;
    }

    .form-floating>.form-control:focus~label,
    .form-floating>.form-control:not(:placeholder-shown)~label {
        color: #00c853;
        transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    }

    .form-floating>.form-control:focus {
        border-color: #00c853;
        box-shadow: 0 0 0 0.25rem rgba(0, 200, 83, 0.25);
    }

    .form-check-input:checked {
        background-color: #00c853;
        border-color: #00c853;
    }