:root {
    --bg-dark: #0a0c10;
    --panel-bg: rgba(18, 20, 24, 0.85);
    --panel-border: #232730;
    --header-bg: #111318;
    --text-primary: #e0e0e0;
    --text-muted: #888;
    --accent-blue: #4aa3df;
    --accent-blue-hover: #3b8ac0;
    --success: #2ecc71;
    --danger: #e74c3c;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    //background: #121117 url(../images/wallpaper.jpg) center -80px no-repeat;
	background: #000000 url(../images/wallpaper.jpg) center -80px no-repeat;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
    background-size: contain;
}


.site-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,12,16,0.1) 0%, rgba(10,12,16,0.8) 40%, rgba(10,12,16,1) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.main-logo {
    position: absolute;
    top: -350px;
    left: 110px;
    z-index: 10;
}

.main-logo img {
    max-width: 530px; /* Tamanho ajustável da logo */
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-blue);
}

ul {
    list-style: none;
}

.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.p-0 { padding: 0 !important; }
.text-center { text-align: center; }
.text-success { color: var(--success) !important; }

/* Top Header */
.top-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 10px 15px;
    margin-top: 350px; /* To push content down below the character's head */
    margin-bottom: 10px;
}

.top-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #57fc42 0%, rgb(85 223 74 / 20%) 70%);
    border-radius: 50%;
    box-shadow: 0 0 10px #4cdf4a;
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-title {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
}

.status-count {
    font-weight: 700;
    font-size: 11px;
}

.top-server-info {
    display: flex;
    gap: 50px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-label {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.info-value {
    font-weight: 700;
    font-size: 13px;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-info {
    border: 1px solid #33333380;
    padding: 10px 15px;
    font-size: 11px;
    background: #18181a;
    color: #888;
}
.btn-info:hover {
    background: #2a2d34;
    color: #fff;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 30px;
    background: #18181a;
    border: 1px solid #33333380;
    color: #888;
}
.social-icon:hover {
    color: #fff;
    border-color: #555;
}

/* Main Layout Grid */
.main-layout {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 10px;
    margin-bottom: 39px;
    justify-content: center;
}

/* Box Panel Base */
.box-panel {
    overflow: hidden;
    width: 100%;
    padding: 5px;
    border: solid 1px #262626;
    border-bottom: solid 2px #383838;
    box-shadow: inset 0 0 50px #18181a;
    background: #0d0d0d;
    margin-bottom: 15px;
}

.box-header {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    padding: 10px 10px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(270deg, #72170000, #555555, #ba635600);
    margin-bottom: 5px;
}

.box-content {
    padding: 15px;
}

/* Sidebar Nav */
.main-nav ul li {
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.main-nav ul li:last-child {
    border-bottom: none;
}
.main-nav ul li a {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 10px 15px;
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}
.main-nav ul li a i {
    width: 20px;
    color: var(--accent-blue);
    margin-right: 10px;
}
.main-nav ul li.active a {
    background: #333;
    color: #fff;
    border-color: #444;
}

.main-nav ul li a:hover {
    background: #333;
    color: #fff;
    border-color: #444;
    padding-left: 25px; /* Efeito de deslocamento suave no hover */
}

/* Top Donate & Avatars */
.avatar-placeholder {
    background: #1a1c23;
    border: 1px solid #333;
    width: 100px;
    height: 100px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    color: #666;
    padding: 10px;
}
.avatar-placeholder.small {
    width: 100px;
    height: 100px;
    margin: 10px auto 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}
.top-donate-name { font-weight: 700; font-size: 14px; }
.top-donate-level { color: var(--text-muted); font-size: 12px; }

/* Events List */
.event-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 11px;
}
.event-list li:last-child { border-bottom: none; }
.badge {
    background: #1a1d24;
    border: 1px solid #333;
    padding: 2px 6px;
    border-radius: 2px;
    color: #bbb;
}


/* Slider principal MuLord */
.hero-slider {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #000;
    border: solid 1px #262626;
    border-bottom: solid 2px #383838;
    border-radius: 3px;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1.04);

    transition:
        opacity 1s ease-in-out,
        transform 5s ease-out;

    pointer-events: none;
}

.hero-image img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}


/* News */
.news-list li {
    padding: 10px 15px;
    border-bottom: 1px dotted rgba(255,255,255,0.1);
    font-size: 12px;
}
.news-list li:last-child { border-bottom: none; }
.news-date { color: var(--text-muted); }
.news-list a { color: var(--accent-blue); font-weight: 600; }

/* Rankings */
.ranking-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}
.ranking-tabs button {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}
.ranking-tabs button.active, .ranking-tabs button:hover {
    color: #fff;
    border-color: #383838;
    box-shadow: 0 0 10px #5c5c5c4d;
    background: linear-gradient(270deg, #72170000, #184463, #ba635600);
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.rank-card {
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    border: 1px solid #383838cc;
    background: linear-gradient(270deg, #72170000, #383838, #ba635600);
}
.rank-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: #0056b3;
}
.rank-pos {
    font-size: 12px;
    padding: 2px;
    margin-bottom: 5px;
}
.rank-name { font-weight: 600; font-size: 11px; margin-top: 5px;}
.rank-score { font-size: 10px; color: var(--accent-blue); border-color: #383838;background: #363636;}

/* Event Cards Grid */
.event-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.event-card {
    background: url(../images/war-devias-bg.png) center center no-repeat;
    border: 1px solid #383838;
    border-radius: 3px;
    text-align: center;
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    box-shadow: inset 0 0 100px #000000;
}
.event-card2 {
    background: url(../images/castle-siege-bg.png) center center no-repeat;
    border: 1px solid #383838;
    border-radius: 3px;
    text-align: center;
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    box-shadow: inset 0 0 100px #000000;
}
.event-card-title {
    letter-spacing: 1px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}
.event-card-desc {
    color: #d1d5db;
    font-size: 13px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.event-guilds {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 10px;
}
.guild {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.guild-role { font-size: 12px; color: #fff; margin-bottom: 5px; }
.guild-logo {
    width: 70px; 
    height: 70px;
    background: #222;
    border: 1px solid #444;
    margin-bottom: 5px;
}
.guild-name { 
    color: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 13px;
    min-width: 80px;
    text-align: center;
    background: #232324eb;
    border: 1px solid #ffffff33; }
.vs { font-weight: 800; color: #fff; }
.event-time {
    display: inline-block;
    background: #1a1d24;
    border: 1px solid #333;
    padding: 6px 15px;
    font-size: 11px;
    border-radius: 30px;
}

/* User Panel / Login */
.login-form .form-group {
    margin-bottom: 10px;
}
.login-form label {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 4px;
}
.form-control {
    width: 100%;
    border: 1px solid #282828a6;
    background: #2b2b2b5c;
    color: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    outline: none;
}
.form-control:focus {
    border-color: var(--accent-blue);
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    margin-bottom: 15px;
}
.form-options label { margin: 0; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.forgot-link { color: var(--text-muted); text-decoration: underline; }
.btn-submit {
    width: 100%;
    background: linear-gradient(270deg, #72170000, #184463, #ba635600);
    border: solid 1px #282828;
    color: #ccc;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}
.btn-submit:hover {
    background: linear-gradient(270deg, #72170000, #005692, #ba635600);
    color: #fff;
}

/* Info List */
.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
    border-bottom: 1px dotted rgba(255,255,255,0.05);
    font-size: 11px;
}
.info-list li:last-child { border-bottom: none; }
.info-list li span:first-child { color: var(--text-muted); }
.info-list li span:last-child { font-weight: 600; }

/* Team Section */
.team-content { font-size: 11px; }
.team-role { font-weight: 700; color: #fff; font-style: italic; border-bottom: 1px solid #222; padding-bottom: 3px; margin-bottom: 5px; }
.team-member { padding-left: 10px; color: #bbb; display: flex; align-items: center; gap: 5px; }
.team-member i { font-size: 10px; color: #555; }
.status-offline { font-size: 11px; color: #eb0000; margin-left: auto; }
.status-online { font-size: 11px; color: lime; margin-left: auto; }
.team-empty { padding-left: 10px; color: #666; font-style: italic; }
.team-notice {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #222;
    font-size: 10px;
    color: #888;
    text-align: center;
    border-radius: 3px;
}

/* Footer */
.site-footer {
    background: #1a1a1a url(../images/bg-footer.png) no-repeat center top;
    border-top: 1px solid #484848;
    padding: 40px 0 20px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #484848;
    padding-bottom: 30px;
}

.footer-logo h2 { margin: 0; font-size: 24px; letter-spacing: 1px; }
.footer-logo span { font-size: 9px; color: var(--text-muted); letter-spacing: 2px; }
.footer-logo img {
    height: 100px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    font-size: 12px;
    color: #aaa;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.store-links {
    display: flex;
    gap: 10px;
}
.store-links img {
    height: 30px;
    opacity: 0.7;
    transition: 0.2s;
}
.store-links img:hover { opacity: 1; }

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #a9a9a9;
}
.footer-bottom p { margin-bottom: 5px; }

html,
body {
    min-width: 1200px;
}

.container {
    width: 1200px;
    max-width: 1200px;
}