  @import url("https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&display=swap");
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
  @import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@300;400;500;600;700&display=swap");
  @import url(no-strap.css);
  @import url(helpers.css);

  :root {
    --cor-primary: #c8860a;
    --cor-primary-light: #e6a817;
    --cor-primary-dark: #8b5e0a;
    --cor-bg: #0d0d0d;
    --cor-bg-card: #141414;
    --cor-text: #e8e8e8;
    --cor-text-muted: #888888;
    --cor-border: rgba(255, 255, 255, 0.06);
    --cor-border-strong: rgba(200, 134, 10, 0.25);
    --cor-success: #00c853;
    --cor-danger: #ff4444;
    --font-heading: "Cinzel", serif;
    --font-body: "Inter", sans-serif;
    --font-nav: "Philosopher", sans-serif;
    --radius: 8px;
    --radius-lg: 10px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
  }

  /* ========== RESET ========== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { overflow-x: hidden; }
  body {
    width: 100%;
    font-family: var(--font-body);
    min-height: 100vh;
    background: var(--cor-bg);
    color: var(--cor-text);
    font-size: 14px;
    line-height: 1.5;
  }
  ol, ul { list-style: none; }
  p { margin-bottom: 0 !important; }
  a { transition: var(--transition); color: var(--cor-primary); text-decoration: none; }
  a:hover { text-decoration: none; color: var(--cor-primary-light); }
  img { max-width: 100%; height: auto; }
  :focus { outline: none; }
  ::-webkit-scrollbar { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(200,134,10,0.3); border-radius: 3px; }

  /* ========== TYPOGRAPHY ========== */
  h1, h2, h3 { color: var(--cor-text); font-family: var(--font-heading); line-height: 1.3; margin-bottom: 10px; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }

  /* ========== FORMS ========== */
  select, input:not([type="checkbox"]):not([type="radio"]), textarea {
    background: #1a1a1a; border: 1px solid var(--cor-border); color: var(--cor-text);
    padding: 11px 14px; font-size: 14px; width: 100%; border-radius: var(--radius);
    font-family: var(--font-body); transition: 0.3s;
  }
  input:focus, textarea:focus, select:focus { border-color: var(--cor-primary) !important; box-shadow: 0 0 0 2px rgba(200,134,10,0.1); outline: none; }
  textarea { min-height: 100px; }

  /* ========== TABLES ========== */
  table { width: 100%; border-collapse: collapse; }
  table td { padding: 10px 12px; border-bottom: 1px solid var(--cor-border); font-size: 13px; vertical-align: middle; }
  table thead td { color: var(--cor-text-muted); text-transform: uppercase; font-size: 11px; font-weight: 600; }

  /* ========== BUTTONS ========== */
  button, .button {
    transition: var(--transition); cursor: pointer; background: transparent;
    padding: 0 22px; height: 38px; border: 1px solid var(--cor-primary);
    color: var(--cor-primary) !important; font-family: var(--font-heading);
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center;
  }
  button:hover, .button:hover { background: var(--cor-primary); color: #fff !important; }
  .button-primary { background: linear-gradient(135deg, var(--cor-primary), var(--cor-primary-dark)) !important; border: none !important; color: #fff !important; }
  .button-primary:hover { background: linear-gradient(135deg, var(--cor-primary-light), var(--cor-primary)) !important; }

  /* ========== LAYOUT ========== */
  .wrapper { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; }
  body > .wrapper { max-width: 100%; padding: 0; width: 100%; }
  body > .wrapper > main { width: 100%; }
  header { width: 100%; }
  footer .wrapper { max-width: 1100px; }
  .status-bar .wrapper { max-width: 1100px; }
  .main-content .wrapper { max-width: 1100px; }
  .bottom-section .wrapper { max-width: 1100px; }

  /* ========== NAVBAR ========== */
  .topPanel {
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    height: 60px;
    background: linear-gradient(180deg, rgba(15,15,15,0.99) 0%, rgba(10,10,10,0.97) 100%);
    backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .topPanel-scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.7); border-bottom-color: rgba(200,134,10,0.1); }
  .topPanel-wrapper {
    width: 100%; max-width: 1140px; padding: 0 30px;
    display: flex; align-items: center; justify-content: space-between; height: 100%;
  }
  .topPanel-left { display: flex; align-items: center; height: 100%; }
  .topPanel-right { display: flex; align-items: center; gap: 16px; height: 100%; }
  .logo-mini { display: flex; align-items: center; margin-right: 35px; height: 100%; }
  .logo-mini img { height: 34px; width: auto; filter: brightness(1.1); }

  .nav-menu { display: flex; align-items: center; height: 100%; gap: 0; list-style: none; margin: 0; padding: 0; }
  .nav-menu li { position: relative; height: 100%; display: flex; align-items: center; }
  .nav-menu li a {
    color: rgba(255,255,255,0.55); font-family: var(--font-body); font-size: 11.5px;
    font-weight: 500; padding: 0 14px; display: flex; align-items: center;
    transition: all 0.25s ease; text-transform: uppercase; letter-spacing: 0.8px;
    white-space: nowrap; height: 100%; position: relative;
  }
  .nav-menu li a::after {
    content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
    height: 2px; background: var(--cor-primary); transform: scaleX(0);
    transition: transform 0.25s ease; border-radius: 2px;
  }
  .nav-menu li.active > a { color: var(--cor-primary); }
  .nav-menu li.active > a::after { transform: scaleX(1); }
  .nav-menu li:hover > a { color: rgba(255,255,255,0.95); }
  .nav-menu li:hover > a::after { transform: scaleX(1); background: rgba(255,255,255,0.3); }

  .nav-menu li ul {
    position: absolute; left: 0; top: calc(100% + 5px);
    background: #1a1a1a; border: 1px solid var(--cor-border); border-radius: var(--radius);
    padding: 8px 0; min-width: 170px; opacity: 0; visibility: hidden;
    transition: 0.2s; box-shadow: var(--shadow); z-index: 1000;
  }
  .nav-menu li ul.opened { opacity: 1; visibility: visible; }
  .nav-menu li ul li { display: block; }
  .nav-menu li ul li a { font-size: 12px; padding: 7px 16px; color: var(--cor-text) !important; text-transform: none; }
  .nav-menu li ul li a:hover { color: var(--cor-primary) !important; background: rgba(200,134,10,0.05); }

  .btn-dropdown::after {
    content: ""; display: inline-block; width: 0; height: 0;
    border-left: 3px solid transparent; border-right: 3px solid transparent;
    border-top: 4px solid currentColor; margin-left: 4px; vertical-align: middle;
  }

  /* Language + Login */
  .languages { position: relative; height: 100%; display: flex; align-items: center; }
  .lang-toggle { display: flex; align-items: center; gap: 5px; cursor: pointer; color: rgba(255,255,255,0.5); font-size: 12px; padding: 6px 8px; border-radius: 6px; transition: var(--transition); }
  .lang-toggle:hover { color: var(--cor-primary); background: rgba(200,134,10,0.05); }
  .lang-toggle .flag-img { width: 20px; height: 14px; border-radius: 2px; }
  .languages-content { background: #151515 !important; border: 1px solid rgba(255,255,255,0.06) !important; border-radius: 8px !important; box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important; }
  .languages-content .dropdown-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; color: rgba(255,255,255,0.7); font-size: 12px; border-radius: 4px; margin: 2px 4px; }
  .languages-content .dropdown-item img { width: 18px; height: 13px; }
  .languages-content .dropdown-item:hover { background: rgba(200,134,10,0.08); color: var(--cor-primary); }

  .btn-login {
    padding: 7px 22px; background: transparent;
    border: 1px solid rgba(200,134,10,0.5); color: var(--cor-primary) !important;
    font-family: var(--font-body); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px; border-radius: 6px;
    transition: all 0.3s ease; text-decoration: none; height: auto;
    display: flex; align-items: center; position: relative; overflow: hidden;
  }
  .btn-login::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--cor-primary), var(--cor-primary-dark));
    opacity: 0; transition: opacity 0.3s ease;
  }
  .btn-login:hover { color: #fff !important; border-color: var(--cor-primary); box-shadow: 0 0 20px rgba(200,134,10,0.2); }
  .btn-login:hover::before { opacity: 1; }
  .btn-login span, .btn-login { position: relative; z-index: 1; }

  /* ========== HEADER / HERO ========== */
  header { position: relative; width: 100%; }
  .hero-banner {
    position: relative; width: 100%; min-height: 420px; margin-top: 60px;
    background: url(../images/bgnova.jpg) center top no-repeat; background-size: cover;
    display: flex; align-items: center; justify-content: center;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,13,13,0.2) 0%, rgba(13,13,13,0.6) 70%, var(--cor-bg) 100%);
    z-index: 1;
  }
  .hero-content { position: relative; z-index: 2; text-align: center; padding: 50px 20px; }
  .hero-logo img {
    max-width: 380px; width: 100%; margin-bottom: 35px;
    filter: drop-shadow(0 0 30px rgba(200,134,10,0.3)) drop-shadow(0 0 60px rgba(200,134,10,0.15));
    animation: heroFloat 3s ease-in-out infinite;
    position: relative;
  }
  .hero-logo {
    position: relative; display: inline-block;
  }
  .hero-logo::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(200,134,10,0.2) 0%, rgba(200,134,10,0.05) 40%, transparent 70%);
    border-radius: 50%; animation: heroPulse 3s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }
  @keyframes heroPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  }

  /* Hero Buttons */
  .hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
  .hero-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
    border-radius: 50px; font-family: var(--font-heading); font-size: 13px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    text-decoration: none; transition: var(--transition);
  }
  .hero-btn-play {
    background: linear-gradient(135deg, var(--cor-primary), var(--cor-primary-dark));
    color: #fff !important; box-shadow: 0 4px 20px rgba(200,134,10,0.35);
  }
  .hero-btn-play:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(200,134,10,0.5); color: #fff !important; }
  .hero-btn-play i { font-size: 14px; }
  .hero-btn-whatsapp {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
    color: #fff !important; backdrop-filter: blur(8px);
  }
  .hero-btn-whatsapp:hover { background: rgba(37,211,102,0.08); border-color: #25d366; transform: translateY(-2px); color: #fff !important; }
  .hero-btn-icon { font-size: 24px; color: #25d366; }
  .hero-btn-text { text-align: left; }
  .hero-btn-title { display: block; font-size: 13px; font-weight: 700; }
  .hero-btn-sub { display: block; font-size: 9px; color: var(--cor-text-muted); font-family: var(--font-body); font-weight: 400; letter-spacing: 0; text-transform: none; }

  /* ========== STATUS BAR ========== */
  .status-bar {
    background: var(--cor-bg-card); 
    border: 1px solid var(--cor-border);
    border-radius: 50px;
    padding: 14px 30px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    max-width: 1060px;
    width: calc(100% - 40px);
  }
  .status-items { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .status-item { display: flex; align-items: center; gap: 8px; }
  .status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cor-success); box-shadow: 0 0 6px rgba(0,200,83,0.5); }
  .status-icon { font-size: 16px; color: var(--cor-primary); }
  .status-info { display: flex; flex-direction: column; line-height: 1.2; }
  .status-label { font-size: 11px; font-weight: 700; color: var(--cor-text); text-transform: uppercase; }
  .status-value { font-size: 10px; color: var(--cor-text-muted); }

  /* ========== MAIN ========== */
  main { position: relative; width: 100%; }
  .main-content { padding: 25px 0; }
  .content-grid { display: grid; grid-template-columns: 280px 1fr 260px; gap: 16px; align-items: start; }

  /* ========== PANEL BOX ========== */
  .panel-box {
    background: var(--cor-bg-card); border: 1px solid var(--cor-border);
    border-radius: var(--radius-lg); overflow: hidden;
  }
  .panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--cor-border);
  }
  .panel-title {
    font-family: var(--font-heading); font-size: 11px; font-weight: 700;
    color: var(--cor-text); text-transform: uppercase; letter-spacing: 1.5px; margin: 0;
  }
  .panel-link { font-size: 10px; color: var(--cor-primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
  .panel-link:hover { color: var(--cor-primary-light); }
  .panel-body { padding: 12px 16px; }

  /* ========== RANKING TABS ========== */
  .panel-tabs { display: flex; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--cor-border); flex-wrap: wrap; }
  .panel-tab {
    padding: 5px 12px; border: 1px solid var(--cor-border); border-radius: 20px;
    background: transparent; color: var(--cor-text-muted) !important; font-size: 10px;
    font-weight: 600; text-transform: uppercase; cursor: pointer; transition: var(--transition);
    height: auto; font-family: var(--font-body); letter-spacing: 0.3px;
  }
  .panel-tab:hover { border-color: var(--cor-primary); color: var(--cor-primary) !important; background: transparent; box-shadow: none; transform: none; }
  .panel-tab.active { background: var(--cor-primary); border-color: var(--cor-primary); color: #fff !important; }

  .ranking-body { padding: 0; }
  .rank-panel { display: none; padding: 8px 0; }
  .rank-panel.active { display: block; }

  /* Ranking rows */
  .tableBlock-content {
    display: flex; align-items: center; padding: 7px 16px;
    border-bottom: 1px solid var(--cor-border); transition: background 0.2s;
  }
  .tableBlock-content:hover { background: rgba(200,134,10,0.03); }
  .tableBlock-content > div { display: flex; align-items: center; height: 34px; font-size: 12px; }
  .tableBlock-conten_number { width: 28px; font-size: 15px; font-weight: 700; color: var(--cor-primary); font-family: var(--font-heading); }
  .tableBlock-conten_name { flex: 1; display: flex !important; align-items: center; gap: 8px; }
  .tableBlock-conten_name img, .tableBlock-conten_name svg { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--cor-border); background: #1a1a1a; }
  .tableBlock-conten_name a { color: var(--cor-text); font-size: 12px; font-weight: 500; }
  .tableBlock-conten_name a:hover { color: var(--cor-primary); }
  .tableBlock-conten_lvl { width: 50px; text-align: center; color: var(--cor-text-muted); font-size: 11px; justify-content: center; }
  .tableBlock-conten_scr { width: 70px; text-align: right; color: var(--cor-text); font-weight: 600; font-size: 13px; justify-content: flex-end; }
  .tableBlock-title { display: none; }

  /* ========== NEWS ========== */
  .news-body { padding: 0; }
  .newsLink {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px; border-bottom: 1px solid var(--cor-border); transition: background 0.2s;
  }
  .newsLink:hover { background: rgba(200,134,10,0.02); }
  .newsLink img, .newsLink .news-thumb { width: 75px; height: 60px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
  .newsLink-info { flex: 1; min-width: 0; }
  .newsLink-info .news-category { display: inline-block; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--cor-primary); font-weight: 600; margin-bottom: 3px; }
  .newsLink-info a { display: block; color: var(--cor-text); font-size: 13px; font-weight: 600; margin-bottom: 3px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .newsLink-info a:hover { color: var(--cor-primary); }
  .newsLink-info p, .newsLink-info .news-desc { font-size: 11px; color: var(--cor-text-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .newsLink-info span, .newsLink-info .news-date { font-size: 10px; color: var(--cor-text-muted); }
  .newsLink-more { display: none; }

  /* ========== SERVER INFO ========== */
  .info-body { padding: 8px 16px; }
  .info-row { display: flex; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--cor-border); }
  .info-row:last-child { border-bottom: none; }
  .info-icon { width: 26px; color: var(--cor-primary); font-size: 13px; flex-shrink: 0; }
  .info-label { flex: 1; color: var(--cor-text-muted); font-size: 12px; }
  .info-value { color: var(--cor-text); font-size: 12px; font-weight: 600; text-align: right; }
  .server-online { color: var(--cor-success) !important; font-weight: 700; }
  .server-online i { font-size: 7px; margin-right: 3px; }

  /* ========== BOTTOM SECTION ========== */
  .bottom-section { padding: 15px 0 30px; }
  .bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

  /* Top Classes */
  .classes-body { padding: 16px 12px; }
  .classes-slider { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .classes-slider::-webkit-scrollbar { height: 0; display: none; }
  .class-item {
    flex-shrink: 0; text-align: center; width: 80px; padding: 10px 4px;
    border-radius: 8px; background: rgba(255,255,255,0.02);
    border: 1px solid transparent; transition: var(--transition); cursor: default;
  }
  .class-item:hover { border-color: var(--cor-border-strong); background: rgba(200,134,10,0.04); }
  .class-img {
    width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden;
    border: 2px solid rgba(200,134,10,0.3); background: #0a0a0a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: var(--transition);
  }
  .class-item:hover .class-img { border-color: var(--cor-primary); box-shadow: 0 0 12px rgba(200,134,10,0.3); }
  .class-img img { width: 100%; height: 100%; object-fit: cover; }
  .class-name { font-size: 10px; color: var(--cor-primary); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; line-height: 1.3; }
  .class-type { font-size: 8px; color: var(--cor-text-muted); display: block; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.3px; }

  /* Castle Siege */
  .panel-castle {
    background: #0a0a0a; border-color: rgba(200,134,10,0.2);
    position: relative; overflow: hidden;
  }
  .panel-castle::before {
    content: ""; position: absolute; inset: 0;
    background: url(../images/castlesiege.png) center center no-repeat;
    background-size: cover; opacity: 0.25; z-index: 0;
  }
  .panel-castle::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.7) 100%);
    z-index: 0;
  }
  .panel-castle .panel-header { position: relative; z-index: 1; border-bottom: 1px solid rgba(200,134,10,0.15); }
  .panel-castle .panel-body { position: relative; z-index: 1; }
  .castle-body { display: flex; align-items: center; justify-content: center; min-height: 180px; padding: 20px; }
  .castle-content { text-align: center; }
  .castle-next { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
  .castle-time-title { font-family: var(--font-heading); font-size: 22px; color: var(--cor-primary); margin-bottom: 20px; text-shadow: 0 0 20px rgba(200,134,10,0.4); }
  .castle-countdown { display: flex; gap: 10px; justify-content: center; }
  .countdown-item { display: flex; flex-direction: column; align-items: center; }
  .countdown-number {
    display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(200,134,10,0.15), rgba(200,134,10,0.05));
    border: 1px solid rgba(200,134,10,0.35); border-radius: 8px;
    font-size: 20px; font-weight: 700; color: #fff; font-family: var(--font-heading);
    backdrop-filter: blur(4px);
  }
  .countdown-label { font-size: 9px; color: rgba(255,255,255,0.5); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

  /* ========== FOOTER ========== */
  footer { background: var(--cor-bg-card); border-top: 1px solid var(--cor-border); padding: 35px 0 25px; }
  .footer-grid { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 35px; align-items: start; }
  .footer-logo img { height: 45px; width: auto; }
  .footer-section h4 { font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cor-text); margin-bottom: 12px; }
  .footer-social { display: flex; gap: 10px; }
  .footer-social a {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.04);
    border: 1px solid var(--cor-border); display: flex; align-items: center; justify-content: center;
    color: var(--cor-text-muted); font-size: 15px; transition: var(--transition);
  }
  .footer-social a:hover { border-color: var(--cor-primary); color: var(--cor-primary); }
  .footer-links li { margin-bottom: 6px; }
  .footer-links a { color: var(--cor-text-muted); font-size: 12px; }
  .footer-links a:hover { color: var(--cor-primary); }

  /* ========== MODALS ========== */
  .modal_div .modal-content { background: var(--cor-bg-card); border: 1px solid var(--cor-border); border-radius: var(--radius-lg); color: var(--cor-text); }
  .modal_div .modal-header { border-bottom: 1px solid var(--cor-border); padding: 14px 18px; }
  .modal_div .modalTitle { font-family: var(--font-heading); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--cor-text); }
  .modal_div .modal_close { background: none; border: none; color: var(--cor-text-muted); font-size: 18px; cursor: pointer; }
  .modal_div .modal_close::before { content: "\00d7"; }
  .modal_div .modal-body { padding: 18px; }

  /* Login */
  .login-panel .fields { display: flex; flex-direction: column; gap: 12px; }
  .login-panel .fieldGroup { display: flex; flex-direction: column; gap: 4px; }
  .login-panel .fieldGroup span { font-size: 11px; color: var(--cor-text-muted); font-weight: 500; }
  .login-panel .enter { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
  .login-panel .enterLinks a { font-size: 11px; color: var(--cor-text-muted); display: block; margin-bottom: 3px; }
  .login-panel .enterLinks a:hover { color: var(--cor-primary); }

  /* Panel logged in */
  .panel-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
  .panel-info-card { background: rgba(200,134,10,0.04); border: 1px solid var(--cor-border); border-radius: var(--radius); padding: 8px 10px; text-align: center; }
  .panel-info-label { display: block; font-size: 10px; color: var(--cor-text-muted); }
  .panel-info-value { display: block; font-size: 13px; font-weight: 600; color: var(--cor-primary); margin-top: 2px; }
  .panel-services-grid { display: flex; gap: 8px; margin-bottom: 12px; }
  .panel-service-btn { flex: 1; padding: 9px; background: rgba(200,134,10,0.06); border: 1px solid var(--cor-border); border-radius: var(--radius); text-align: center; color: var(--cor-text) !important; font-size: 11px; font-weight: 600; transition: var(--transition); }
  .panel-service-btn:hover { border-color: var(--cor-primary); background: rgba(200,134,10,0.12); }

  /* ========== SOCIAL FLOAT ========== */
  .social-float { position: fixed; right: 15px; bottom: 15px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
  .social-float-item { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; transition: var(--transition); box-shadow: 0 3px 12px rgba(0,0,0,0.3); }
  .social-whatsapp { background: #25d366; }
  .social-discord { background: #5865f2; }
  .social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
  .social-float-item:hover { transform: scale(1.1); color: #fff; }

  /* ========== GO TO TOP ========== */
  .toTop { position: fixed; right: 15px; bottom: 180px; z-index: 998; width: 36px; height: 36px; background: var(--cor-bg-card); border: 1px solid var(--cor-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.6; transition: var(--transition); }
  .toTop:hover { opacity: 1; border-color: var(--cor-primary); }
  .toTop span { font-size: 0; }
  .toTop::before { content: "\2191"; color: var(--cor-primary); font-size: 14px; }

  /* ========== HIDE OLD ELEMENTS ========== */
  .footerMenu, .footerInfo, .smoke-container, #sandCanvas, .onlinetop, .download,
  .more-downloads, .rightBodyLinks, .mu-panel, .mu-layout, .mu-sidebar-left,
  .mu-sidebar-right, .mu-center, .mu-home-wide, .mu-online-count,
  .mu-deco-left, .mu-deco-right, .main-container, .mu-btn-panel,
  .castle-siege-section, .toggle-panel-btn { display: none !important; }

  /* ========== HAMBURGER ========== */
  .btn-drop { display: none; cursor: pointer; padding: 8px; z-index: 1001; border: none; background: none; height: auto; }
  .btn-wrap span { display: block; width: 20px; height: 2px; background: var(--cor-text); margin: 4px 0; transition: 0.3s; border-radius: 1px; }

  /* ========== COMPAT ========== */
  .h2-title { padding: 12px 16px; border-bottom: 1px solid var(--cor-border); }
  .h2-title span { font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cor-text); }

  /* Rankings inside panel (HallFame plugin output) */
  .ranking-body { padding: 0 !important; overflow: hidden; }
  .ranking-body .ghallfame { margin: 0; }

  /* Rank Tabs Navigation */
  .rank-tabs-wrapper {
    display: flex; align-items: center; gap: 0;
    border-bottom: 1px solid var(--cor-border); padding: 0;
  }
  .rank-nav-btn {
    width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center;
    justify-content: center; background: transparent; border: none; color: var(--cor-primary) !important;
    font-size: 14px; cursor: pointer; padding: 0; margin: 0 4px; border-radius: 50%;
    transition: var(--transition);
  }
  .rank-nav-btn:hover { background: rgba(200,134,10,0.1); color: var(--cor-primary-light) !important; }
  .rank-tabs-nav {
    display: flex; gap: 6px; padding: 10px 4px;
    overflow: hidden; flex: 1; flex-wrap: nowrap;
  }
  .rank-tab-btn {
    padding: 5px 10px; border: 1px solid var(--cor-border); border-radius: 20px;
    background: transparent; color: var(--cor-text-muted) !important; font-size: 9px;
    font-weight: 600; text-transform: uppercase; cursor: pointer; transition: var(--transition);
    height: auto; font-family: var(--font-body); letter-spacing: 0.3px; white-space: nowrap;
    flex-shrink: 0;
  }
  .rank-tab-btn:hover { border-color: var(--cor-primary); color: var(--cor-primary) !important; background: transparent; box-shadow: none; transform: none; }
  .rank-tab-btn.active { background: var(--cor-primary); border-color: var(--cor-primary); color: #fff !important; }

  /* Rank Tab Panels */
  .rank-tabs-content { position: relative; }
  .rank-tab-panel { display: none; }
  .rank-tab-panel.active { display: block; }

  /* Rank Rows */
  .rank-row {
    display: flex; align-items: center; padding: 9px 14px;
    border-bottom: 1px solid var(--cor-border); transition: background 0.2s;
  }
  .rank-row:last-child { border-bottom: none; }
  .rank-row:hover { background: rgba(200,134,10,0.03); }
  .rank-pos { width: 26px; font-size: 15px; font-weight: 700; color: var(--cor-primary); font-family: var(--font-heading); }
  .rank-avatar { width: 34px; display: flex; align-items: center; }
  .rank-avatar img, .rank-avatar svg { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cor-border); background: #1a1a1a; }
  .rank-name { flex: 1; font-size: 12px; color: var(--cor-text); }
  .rank-name a { color: var(--cor-text); text-decoration: none; }
  .rank-name a:hover { color: var(--cor-primary); }
  .rank-score { width: 65px; text-align: right; font-size: 13px; font-weight: 600; color: var(--cor-text); }

  /* Hide old ranking compat */
  .ranking-body .nav-tabs { display: none !important; }
  .ranking-body .tab-content { display: block; }
  .ranking-body .tab-pane { display: block !important; opacity: 1 !important; }
  .ranking-body .all-button { display: none; }
  .ranking-body .h2-title-table { display: none; }
  .ranking-body .top-title { display: none; }
  .ranking-body .bottom-block { flex-direction: column !important; gap: 0 !important; }
  .events-list { max-height: 280px; overflow-y: auto; }
  .events .events-event { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--cor-border); font-size: 12px; }
  .events .events-event-name { color: var(--cor-text-muted); }
  .list-i ul li { padding: 8px 0; border-bottom: 1px solid var(--cor-border); display: flex; justify-content: space-between; font-size: 12px; }
  .list-i .info-server { color: var(--cor-text-muted); font-size: 11px; }

  .blockHome { background: transparent; border: none; border-radius: 0; overflow: hidden; }
  .mainHomeBlock { display: flex; gap: 0; margin-bottom: 0; }
  .bottom-block { display: flex; gap: 0; flex: 1; flex-wrap: wrap; }
  .tabTable-button { cursor: pointer; padding: 4px 10px; font-size: 11px; color: var(--cor-text-muted); border: 1px solid var(--cor-border); border-radius: 20px; background: transparent; margin-right: 5px; }
  .tabTable-button.active { background: var(--cor-primary); color: #fff; border-color: var(--cor-primary); }
  .tabTable-block { display: none; }
  .tabTable-block.active { display: block; }

  .ghallfame { margin: 0; }
  .top-title { font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; padding: 10px 14px; border-bottom: 1px solid var(--cor-border); color: var(--cor-text); text-align: center; }
  .top-list { display: flex; align-items: center; padding: 6px 14px; border-bottom: 1px solid var(--cor-border); font-size: 11px; color: var(--cor-text-muted); }
  .top-list:hover { background: rgba(200,134,10,0.03); }
  .top-number { width: 28px; color: var(--cor-primary); font-weight: 700; }
  .top-name { flex: 1; }
  .top-lvl { text-align: right; color: var(--cor-text); font-weight: 600; }

  .swiper-news .swiper-slide img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
  .swiper-news_info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
  .swiper-news_info span { font-family: var(--font-heading); font-size: 16px; color: var(--cor-text); display: block; }

  .section-subtitle { color: var(--cor-primary); font-size: 10px; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }
  .section-title { font-family: var(--font-heading); font-size: 22px; text-transform: uppercase; letter-spacing: 2px; }

  /* Badge */
  .badge { font-size: 9px; padding: 2px 5px; border-radius: 8px; }
  .bg-danger { background: var(--cor-danger) !important; }
  .bg-success { background: var(--cor-success) !important; }
  .text-success { color: var(--cor-success) !important; }
  .text-warning { color: var(--cor-primary) !important; }

  .dropdown-menu { background: #1a1a1a; border: 1px solid var(--cor-border); border-radius: var(--radius); }

  /* Post items compat */
  .post-item, .news-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--cor-border); }
  .post-item:hover, .news-item:hover { background: rgba(200,134,10,0.02); }
  .post-item img, .news-item img { width: 75px; height: 60px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }

  /* ========== MORPHEUS OVERRIDES ========== */
  main { padding: 0 !important; margin: 0 !important; min-height: 0 !important; display: block !important; flex: none !important; }
  header { min-height: 0 !important; display: block !important; padding: 0 !important; background: none !important; }
  header::before, header::after { display: none !important; }
  .logo { display: none !important; }
  .download, .more-downloads { display: none !important; }
  .hand-animation, .light-animation, .blue-light, .yellow-light, .sparks { display: none !important; }
  .onlinetop, .onlineBlock, .onlineReg { display: none !important; }
  .first-section { display: none !important; }
  .home-banner-slider .first-section { display: block !important; }
  .status-bar, .main-content, .bottom-section { width: 100%; }
  .content { background: none !important; padding: 0 !important; min-height: 0 !important; }
  #content { background: none !important; padding: 0 !important; min-height: 0 !important; }
  .line { display: none !important; }
  .topPanel { position: fixed !important; }
  .hero-banner { position: relative !important; }
  section, .panel-box, .panel-body, .news-body, .ranking-body, .info-body { min-height: 0 !important; }
  .newsBlock, .topHomeBlocks, .newsSlider { display: none !important; }
  .home-banner-slider .newsBlock,
  .home-banner-slider .topHomeBlocks,
  .home-banner-slider .newsSlider,
  .home-banner-slider .swiper,
  .home-banner-slider .swiper-container,
  .home-banner-slider .slick-slider { display: block !important; }
  body { display: block !important; }
  body > .wrapper { display: block !important; min-height: 0 !important; }

  /* Kill all spacing from morpheus framework */
  .wrapper { min-height: 0 !important; }
  body, html { min-height: 0 !important; }
  main, .main, #main { min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  footer { margin-top: 0 !important; }

  /* Ensure .ghallfame row wrapping works in rankings panel */
  .ranking-body .ghallfame .row { margin: 0 !important; padding: 0 !important; flex-direction: column !important; gap: 0 !important; }
  .ranking-body .ghallfame .col, .ranking-body .ghallfame .col-lg, .ranking-body .ghallfame .col-md, .ranking-body .ghallfame .col-sm { max-width: 100% !important; flex: none !important; width: 100% !important; padding: 0 !important; min-width: 0 !important; }

  /* News body limit height */
  .news-body { max-height: 500px; overflow-y: auto; }
  .news-body::-webkit-scrollbar { width: 3px; }
  .news-body::-webkit-scrollbar-thumb { background: rgba(200,134,10,0.2); border-radius: 2px; }

  /* ========== INTERNAL PAGES ========== */
  .page-content { max-width: 900px; margin: 0 auto; padding: 30px 20px 50px; }
  .page-header { text-align: center; margin-bottom: 30px; padding-top: 70px; }
  .page-title { font-family: var(--font-heading); font-size: 24px; color: var(--cor-text); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
  .page-subtitle { font-size: 13px; color: var(--cor-text-muted); }

  /* Section headings */
  .section-heading { font-family: var(--font-heading); font-size: 14px; color: var(--cor-primary); text-transform: uppercase; letter-spacing: 1.5px; margin: 30px 0 15px; padding-bottom: 8px; border-bottom: 1px solid var(--cor-border); }

  /* Hide old layout wrapper */
  .main { display: block !important; }
  .main > aside { display: none !important; }
  .main > .content { max-width: 900px !important; margin: 0 auto !important; padding: 30px 20px 50px !important; width: 100% !important; }
  .main > .content > .h2-title-content { text-align: center; border: none; padding: 70px 0 10px; }
  .main > .content > .h2-title-content span { font-size: 20px !important; display: block; }

  /* Download page */
  .download-cards { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
  .download-card {
    background: var(--cor-bg-card); border: 1px solid var(--cor-border); border-radius: var(--radius-lg);
    padding: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  }
  .download-card-icon { font-size: 28px; color: var(--cor-primary); width: 50px; text-align: center; }
  .download-card-info { flex: 1; }
  .download-card-info h3 { font-size: 15px; margin: 0 0 3px; color: var(--cor-text); font-family: var(--font-heading); }
  .download-size { font-size: 12px; color: var(--cor-text-muted); }
  .download-card-buttons { display: flex; gap: 8px; }
  .download-card-desc { width: 100%; font-size: 12px; color: var(--cor-text-muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cor-border); }

  .drivers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .driver-item { background: var(--cor-bg-card); border: 1px solid var(--cor-border); border-radius: var(--radius); padding: 15px; text-align: center; }
  .driver-item img { max-height: 50px; margin-bottom: 10px; border-radius: 4px; }
  .driver-item .button { font-size: 9px; height: 30px; }

  .download-requirements table { background: var(--cor-bg-card); border-radius: var(--radius); overflow: hidden; }
  .download-requirements table thead td { background: rgba(200,134,10,0.08); font-weight: 600; }

  /* Register page */
  .register-box {
    background: var(--cor-bg-card); border: 1px solid var(--cor-border); border-radius: var(--radius-lg);
    padding: 30px; max-width: 650px; margin: 0 auto;
  }
  .register-social { display: flex; gap: 10px; margin-bottom: 15px; }
  .btn-social { flex: 1; padding: 10px; border-radius: var(--radius); text-align: center; font-size: 13px; font-weight: 600; color: #fff !important; }
  .btn-facebook { background: #4267B2; }
  .btn-google { background: #DB4437; }
  .register-divider { text-align: center; margin: 15px 0; position: relative; }
  .register-divider::before { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--cor-border); }
  .register-divider span { background: var(--cor-bg-card); padding: 0 12px; position: relative; color: var(--cor-text-muted); font-size: 12px; }

  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 15px; }
  .form-group { display: flex; flex-direction: column; gap: 4px; }
  .form-group.full-width { grid-column: span 2; }
  .form-group label { font-size: 11px; color: var(--cor-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
  .terms-group { margin-top: 10px; }
  .terms-label { display: flex; align-items: center; font-size: 12px; color: var(--cor-text-muted); cursor: pointer; }
  .terms-label a { color: var(--cor-primary); margin-left: 4px; }

  .form-actions { text-align: center; margin-top: 20px; }
  .form-actions .button { width: 100%; max-width: 300px; height: 44px; font-size: 12px; }
  .form-login-link { margin-top: 12px; font-size: 12px; color: var(--cor-text-muted); }
  .form-login-link a { color: var(--cor-primary); }

  /* Rankings page */
  .rankings-nav { margin-bottom: 20px; }
  .rankings-nav .align-center { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
  .rankings-content .ghallfame { margin: 0; }
  .rankings-content .rank-tabs-nav { justify-content: center; }
  .rankings-content .rank-row { padding: 10px 20px; }

  /* Box panel (info page) */
  .box-panel { background: var(--cor-bg-card); border: 1px solid var(--cor-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 15px; }
  .box-panel .h2-title-content { padding: 12px 16px; border-bottom: 1px solid var(--cor-border); margin: 0; background: rgba(200,134,10,0.03); }
  .box-panel-content { padding: 16px; }
  .box-panel-content table.list { width: 100%; }
  .box-panel-content table.list td { padding: 8px 0; border-bottom: 1px solid var(--cor-border); font-size: 12px; color: var(--cor-text-muted); }
  .box-panel-content table.list td strong { color: var(--cor-text); }

  /* Grid layout for info page */
  .grid { display: flex; flex-wrap: wrap; gap: 15px; }
  .grid-6 { flex: 1; min-width: 280px; }
  .grid-12 { width: 100%; }

  /* Table styling for inner pages - MODERN */
  .table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cor-bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--cor-border); }
  .table th {
    background: rgba(200,134,10,0.06); padding: 11px 14px; font-size: 10px;
    text-transform: uppercase; color: var(--cor-primary); font-weight: 600;
    border-bottom: 1px solid var(--cor-border); letter-spacing: 0.5px;
    border-right: none; border-left: none; border-top: none;
  }
  .table td {
    padding: 10px 14px; font-size: 12px; color: var(--cor-text-muted);
    border-bottom: 1px solid var(--cor-border); border-right: none; border-left: none; border-top: none;
  }
  .table td strong { color: var(--cor-text); }
  .table tr:last-child td { border-bottom: none; }
  .table-hover tbody tr:hover td { background: rgba(200,134,10,0.02); }
  .table-bordered, .table-bordered th, .table-bordered td { border-color: var(--cor-border) !important; }
  .table thead tr th { border-color: var(--cor-border) !important; }

  /* Remove any white/light borders globally */
  .table-bordered > :not(caption) > * > * { border-color: var(--cor-border) !important; }
  table, th, td { border-color: var(--cor-border) !important; }
  .border-light { border-color: var(--cor-border) !important; }

  /* Old .regBlock compatibility */
  .regBlock { max-width: 650px; margin: 0 auto; padding: 80px 20px 50px; }
  .regBlock .modalTitle { font-family: var(--font-heading); font-size: 20px; display: block; text-align: center; margin-bottom: 20px; color: var(--cor-text); }
  .regBlock .fields { display: flex; flex-direction: column; gap: 12px; }
  .regBlock .fields .row { display: flex; gap: 12px; }
  .regBlock .fields .row .col { flex: 1; }
  .regBlock .fieldGroup { margin-bottom: 0; }
  .regBlock .fieldGroup span { font-size: 11px; color: var(--cor-text-muted); display: block; margin-bottom: 4px; }
  .regBlock .enter { margin-top: 20px; }
  .regBlock .big-button-blue { width: 100%; max-width: 300px; margin: 0 auto; display: flex; }

  @media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: auto; }
    .content-grid { grid-template-columns: 1fr !important; }
    .drivers-grid { grid-template-columns: 1fr; }
    .page-header { padding-top: 60px; }
  }

  /* ========== NEWS / POSTS PANEL MODERN ========== */
  .news-body { padding: 0 !important; background: transparent; }

  /* Posts tabs (categorias: Importante, Update, Promoções) */
  .news-body .nav-tabs,
  .news-body .nav,
  .news-body ul[role="tablist"] {
    display: flex !important; gap: 0; padding: 0; margin: 0 !important;
    border: none !important; border-bottom: 1px solid var(--cor-border) !important;
    background: transparent !important;
  }
  .news-body .nav-tabs .nav-item,
  .news-body .nav .nav-item { margin: 0; }
  .news-body .nav-tabs .nav-link,
  .news-body .nav .nav-link {
    background: transparent !important; border: none !important; border-bottom: 2px solid transparent !important;
    color: var(--cor-text-muted) !important; font-size: 11px !important; font-weight: 600 !important;
    text-transform: uppercase !important; letter-spacing: 0.5px !important;
    padding: 12px 16px !important; border-radius: 0 !important; height: auto !important;
    min-width: auto !important; transition: color 0.2s !important;
  }
  .news-body .nav-tabs .nav-link:hover,
  .news-body .nav .nav-link:hover { color: var(--cor-primary) !important; }
  .news-body .nav-tabs .nav-link.active,
  .news-body .nav .nav-link.active {
    color: var(--cor-primary) !important; border-bottom-color: var(--cor-primary) !important;
    background: transparent !important;
  }

  /* Posts content area */
  .news-body .tab-content { padding: 0; }
  .news-body .tab-pane { padding: 0; }

  /* Individual post items */
  .news-body .post-item,
  .news-body .newsLink,
  .news-body article,
  .news-body .card {
    background: transparent !important; border: none !important;
    border-bottom: 1px solid var(--cor-border) !important; border-radius: 0 !important;
    padding: 14px 16px !important; margin: 0 !important; color: var(--cor-text) !important;
    box-shadow: none !important; transition: background 0.2s;
  }
  .news-body .post-item:hover,
  .news-body .newsLink:hover,
  .news-body article:hover { background: rgba(200,134,10,0.02) !important; }
  .news-body .post-item:last-child,
  .news-body .newsLink:last-child,
  .news-body article:last-child { border-bottom: none !important; }

  /* Post title/heading */
  .news-body .card-title,
  .news-body h5, .news-body h4, .news-body h3,
  .news-body .post-title { color: var(--cor-text) !important; font-size: 13px !important; font-weight: 600 !important; margin-bottom: 4px !important; }
  .news-body .card-title a,
  .news-body h5 a, .news-body h4 a { color: var(--cor-text) !important; }
  .news-body .card-title a:hover,
  .news-body h5 a:hover, .news-body h4 a:hover { color: var(--cor-primary) !important; }

  /* Post body text */
  .news-body .card-text,
  .news-body .card-body,
  .news-body p { color: var(--cor-text-muted) !important; font-size: 12px !important; line-height: 1.5 !important; }
  .news-body .card-body { padding: 0 !important; background: transparent !important; }

  /* Post date/time */
  .news-body .text-muted,
  .news-body small,
  .news-body time,
  .news-body .post-date { color: var(--cor-text-muted) !important; font-size: 10px !important; opacity: 0.7; }

  /* Post badges/categories */
  .news-body .badge {
    background: rgba(200,134,10,0.15) !important; color: var(--cor-primary) !important;
    font-size: 9px !important; font-weight: 600 !important; padding: 3px 8px !important;
    border-radius: 3px !important; text-transform: uppercase !important; letter-spacing: 0.5px !important;
    border: none !important;
  }
  .news-body .badge-danger, .news-body .bg-danger { background: rgba(220,50,50,0.15) !important; color: #ff6b6b !important; }
  .news-body .badge-success, .news-body .bg-success { background: rgba(0,200,83,0.15) !important; color: #4caf50 !important; }
  .news-body .badge-warning, .news-body .bg-warning { background: rgba(200,134,10,0.2) !important; color: var(--cor-primary) !important; }
  .news-body .badge-primary, .news-body .bg-primary { background: rgba(200,134,10,0.15) !important; color: var(--cor-primary) !important; }
  .news-body .badge-info, .news-body .bg-info { background: rgba(50,150,220,0.15) !important; color: #5bc0de !important; }

  /* Post images */
  .news-body img { border-radius: 6px !important; border: 1px solid var(--cor-border) !important; }
  .news-body .card-img-top, .news-body .card-img { border-radius: 6px !important; }

  /* Links inside posts */
  .news-body a { color: var(--cor-primary) !important; }
  .news-body a:hover { color: var(--cor-primary-light) !important; }

  /* Remove any white/light backgrounds from morpheus */
  .news-body *, .news-body *::before, .news-body *::after { background-color: transparent; }
  .news-body .card, .news-body .list-group-item { background: transparent !important; border-color: var(--cor-border) !important; }

  /* Read more links */
  .news-body .btn, .news-body .btn-link { color: var(--cor-primary) !important; font-size: 11px !important; text-decoration: none !important; padding: 0 !important; border: none !important; background: none !important; box-shadow: none !important; }
  .news-body .btn:hover { color: var(--cor-primary-light) !important; }

  .castle-soon { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }

  /* ========== KILL ALL WHITE BORDERS ========== */
  .table-bordered, .table-bordered td, .table-bordered th,
  .table > :not(caption) > * > *, .table > thead, .table > tbody,
  table, table td, table th, table tr,
  .border, .border-top, .border-bottom, .border-start, .border-end {
    border-color: rgba(255,255,255,0.06) !important;
  }
  thead, tbody, tfoot, tr, td, th { border-color: inherit !important; }
  hr { border-color: rgba(255,255,255,0.06) !important; opacity: 1; }

  /* ========== PANEL PAGE (Account) ========== */
  .panel-page {
    display: grid; grid-template-columns: 240px 1fr; gap: 24px;
    max-width: 1000px; margin: 0 auto; padding: 80px 20px 50px;
  }
  .panel-sidebar { position: sticky; top: 80px; align-self: start; }
  .panel-menu-box {
    background: var(--cor-bg-card); border: 1px solid var(--cor-border);
    border-radius: var(--radius-lg); overflow: hidden;
  }
  .panel-menu-title {
    font-family: var(--font-heading); font-size: 12px; text-transform: uppercase;
    letter-spacing: 2px; color: var(--cor-primary); padding: 18px 20px 14px;
    border-bottom: 1px solid var(--cor-border); margin: 0;
    background: linear-gradient(180deg, rgba(200,134,10,0.06) 0%, transparent 100%);
  }
  .panel-nav { display: flex; flex-direction: column; padding: 8px 0; }
  .panel-nav-item {
    display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 12px;
    color: rgba(255,255,255,0.5); transition: all 0.2s; border-left: 2px solid transparent;
    text-decoration: none; position: relative;
  }
  .panel-nav-item::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.15); flex-shrink: 0; transition: all 0.2s;
  }
  .panel-nav-item:hover { color: var(--cor-text); background: rgba(200,134,10,0.03); border-left-color: rgba(200,134,10,0.3); }
  .panel-nav-item:hover::before { background: var(--cor-primary); }
  .panel-nav-item.active { color: var(--cor-primary); background: rgba(200,134,10,0.05); border-left-color: var(--cor-primary); font-weight: 600; }
  .panel-nav-item.active::before { background: var(--cor-primary); box-shadow: 0 0 6px rgba(200,134,10,0.4); }

  .panel-main {
    background: var(--cor-bg-card); border: 1px solid var(--cor-border);
    border-radius: var(--radius-lg); padding: 24px; min-height: 300px;
  }
  .panel-main h1, .panel-main h2, .panel-main h3 { font-size: 16px; margin-bottom: 15px; }
  .panel-main .title { font-family: var(--font-heading); font-size: 14px; color: var(--cor-text); text-transform: uppercase; letter-spacing: 1px; }

  /* Panel content typography */
  .panel-main table { width: 100%; }
  .panel-main table td { padding: 8px 0; border-bottom: 1px solid var(--cor-border); font-size: 12px; }
  .panel-main table td:first-child { color: var(--cor-text-muted); }
  .panel-main table td:last-child { color: var(--cor-text); font-weight: 500; text-align: right; }

  /* Character cards in panel */
  .panel-main .credit-shop { margin-top: 15px; }
  .panel-main .character-card .card {
    background: var(--cor-bg-card) !important; border: 1px solid var(--cor-border) !important;
    border-radius: var(--radius-lg) !important; overflow: hidden; text-align: center;
  }
  .panel-main .character-card .card-header { background: rgba(200,134,10,0.04) !important; border-bottom: 1px solid var(--cor-border) !important; color: var(--cor-text) !important; font-size: 13px; font-weight: 600; padding: 10px; }
  .panel-main .character-card .card-body { padding: 15px !important; background: transparent !important; }
  .panel-main .character-card .card-footer { padding: 12px !important; background: transparent !important; border-top: 1px solid var(--cor-border) !important; }

  @media (max-width: 768px) {
    .panel-page { grid-template-columns: 1fr; padding-top: 70px; }
    .panel-sidebar { position: static; }
  }

  /* ========== CHARACTER PANEL ========== */
  .char-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
  .char-card {
    display: flex; flex-direction: column; align-items: center; padding: 12px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--cor-border);
    border-radius: var(--radius-lg); width: 100px; text-decoration: none;
    transition: all 0.2s; cursor: pointer;
  }
  .char-card:hover { border-color: rgba(200,134,10,0.3); background: rgba(200,134,10,0.03); }
  .char-card.active { border-color: var(--cor-primary); background: rgba(200,134,10,0.06); }
  .char-card img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cor-border); margin-bottom: 6px; }
  .char-card.active img { border-color: var(--cor-primary); }
  .char-card-name { font-size: 10px; color: var(--cor-text); font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80px; }

  .char-services { margin-top: 10px; padding-top: 15px; border-top: 1px solid var(--cor-border); }
  .char-services-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 15px; }
  .char-service-btn {
    padding: 6px 14px; border: 1px solid var(--cor-border); border-radius: 20px;
    font-size: 10px; color: var(--cor-text-muted); text-decoration: none;
    transition: all 0.2s; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px;
  }
  .char-service-btn:hover { border-color: var(--cor-primary); color: var(--cor-primary); }
  .char-service-btn.active { background: var(--cor-primary); border-color: var(--cor-primary); color: #fff; }
  .char-service-content { padding-top: 10px; }

  /* ========== RANKING DETAIL PAGE ========== */
  .page-content .table img, .page-content table img,
  .main > .content .table img, .main > .content table img,
  .rankingTable img, table.table img {
    width: 28px !important; height: 28px !important; border-radius: 50% !important;
    object-fit: cover !important; vertical-align: middle !important;
    display: inline-block !important; border: 1px solid var(--cor-border) !important;
    margin-right: 8px !important;
  }

  /* Rankings nav buttons */
  .rankings-nav .align-center, .page-content .align-center, .main > .content > .align-center {
    display: flex !important; gap: 6px !important; justify-content: center !important;
    flex-wrap: wrap !important; margin-bottom: 20px !important;
  }

  /* Ranking table rows - compact and modern */
  .rankingTable, .page-content .table, .main > .content .table {
    width: 100% !important; border-collapse: separate !important; border-spacing: 0 !important;
    background: var(--cor-bg-card) !important; border: 1px solid var(--cor-border) !important;
    border-radius: var(--radius-lg) !important; overflow: hidden !important;
  }
  .rankingTable thead tr, .page-content .table thead tr, .main > .content .table thead tr {
    background: rgba(200,134,10,0.05) !important;
  }
  .rankingTable thead th, .rankingTable thead td,
  .page-content .table thead th, .page-content .table thead td,
  .main > .content .table thead th, .main > .content .table thead td {
    padding: 12px 14px !important; font-size: 10px !important; text-transform: uppercase !important;
    letter-spacing: 0.8px !important; color: var(--cor-primary) !important; font-weight: 600 !important;
    border-bottom: 1px solid var(--cor-border) !important; background: rgba(200,134,10,0.04) !important;
  }
  .rankingTable tbody td, .page-content .table tbody td, .main > .content .table tbody td {
    padding: 10px 14px !important; font-size: 12px !important; color: var(--cor-text-muted) !important;
    border-bottom: 1px solid var(--cor-border) !important; vertical-align: middle !important;
  }
  .rankingTable tbody tr:last-child td, .page-content .table tbody tr:last-child td { border-bottom: none !important; }
  .rankingTable tbody tr:hover td, .page-content .table tbody tr:hover td,
  .main > .content .table tbody tr:hover td { background: rgba(200,134,10,0.02) !important; }

  /* First column (position number) */
  .rankingTable tbody td:first-child, .page-content .table tbody td:first-child {
    font-weight: 700 !important; color: var(--cor-primary) !important;
    font-family: var(--font-heading) !important; font-size: 14px !important; width: 40px !important;
  }

  /* Name column with link */
  .rankingTable tbody td a, .page-content .table tbody td a, .main > .content .table tbody td a {
    color: var(--cor-text) !important; font-weight: 500 !important; text-decoration: none !important;
  }
  .rankingTable tbody td a:hover, .page-content .table tbody td a:hover { color: var(--cor-primary) !important; }

  /* Score column (last meaningful) */
  .rankingTable tbody td:nth-last-child(2), .page-content .table tbody td:nth-last-child(2) {
    font-weight: 600 !important; color: var(--cor-text) !important;
  }

  /* Top 3 highlight */
  .rankingTable tbody tr.top-1 td:first-child { color: #ffd700 !important; }
  .rankingTable tbody tr.top-2 td:first-child { color: #c0c0c0 !important; }
  .rankingTable tbody tr.top-3 td:first-child { color: #cd7f32 !important; }

  /* Country flags */
  .rankingTable img[height="15"], .page-content .table img[height="15"],
  .main > .content .table img[height="15"] {
    width: 20px !important; height: 14px !important; border-radius: 2px !important;
    border: none !important; margin-right: 0 !important;
  }

  /* SVG guild logos inside tables */
  .rankingTable .svg, .page-content .table .svg { display: inline-flex; align-items: center; }
  .rankingTable svg, .page-content .table svg { width: 24px !important; height: 24px !important; }

  /* VIP badges in rankings */
  .rankingTable .badge, .page-content .table .badge {
    font-size: 8px !important; padding: 2px 6px !important; border-radius: 3px !important;
    vertical-align: middle !important; margin-left: 5px !important;
  }

  /* ========== PANEL MAIN CONTENT (Account Info) ========== */
  .panel-main h1, .panel-main h2, .panel-main h3, .panel-main h4, .panel-main h5 {
    font-family: var(--font-heading) !important; font-size: 12px !important;
    text-transform: uppercase !important; letter-spacing: 1.5px !important;
    color: var(--cor-primary) !important; margin: 20px 0 10px !important;
    padding-bottom: 8px !important; border-bottom: 1px solid var(--cor-border) !important;
  }
  .panel-main h1:first-child, .panel-main h2:first-child { margin-top: 0 !important; }

  /* Info lines inside panel */
  .panel-main p, .panel-main > div > p, .panel-main span {
    font-size: 12px; line-height: 2; color: var(--cor-text-muted);
  }
  .panel-main strong, .panel-main b { color: var(--cor-text); font-weight: 600; }
  .panel-main a { color: var(--cor-primary); }
  .panel-main a:hover { color: var(--cor-primary-light); }

  /* Character avatar in panel - LIMIT SIZE */
  .panel-main img {
    max-width: 80px !important; max-height: 80px !important;
    width: 80px !important; height: 80px !important;
    border-radius: 50% !important; object-fit: cover !important;
    border: 2px solid var(--cor-border) !important;
    display: block !important; margin: 10px 0 !important;
  }

  /* Character section styling */
  .panel-main .character-info, .panel-main .characters-list {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px;
  }

  /* Panel manage button */
  .panel-main a[href*="manage"], .panel-main a[href*="character/"] {
    display: inline-flex; align-items: center; padding: 6px 14px;
    border: 1px solid var(--cor-primary); border-radius: var(--radius);
    font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
    color: var(--cor-primary) !important; font-weight: 600; margin-top: 8px;
    transition: var(--transition);
  }
  .panel-main a[href*="manage"]:hover, .panel-main a[href*="character/"]:hover {
    background: var(--cor-primary); color: #fff !important;
  }

  /* Slick slider characters */
  .panel-main .slick-characters, .panel-main .credit-shop {
    margin-top: 10px;
  }
  .panel-main .slick-characters .character-card,
  .panel-main .slick-slide {
    padding: 5px;
  }
  .panel-main .slick-characters .card,
  .panel-main .credit-shop .card {
    background: rgba(255,255,255,0.02) !important; border: 1px solid var(--cor-border) !important;
    border-radius: var(--radius-lg) !important; text-align: center !important; padding: 12px !important;
  }
  .panel-main .card img {
    width: 50px !important; height: 50px !important; margin: 0 auto 8px !important;
  }
  .panel-main .card .card-header {
    background: transparent !important; border: none !important; padding: 0 0 8px !important;
    font-size: 12px !important; color: var(--cor-text) !important; font-weight: 600 !important;
  }
  .panel-main .card .card-body { padding: 0 !important; background: transparent !important; }
  .panel-main .card .card-footer {
    padding: 8px 0 0 !important; background: transparent !important;
    border-top: 1px solid var(--cor-border) !important; margin-top: 8px !important;
  }

  /* ========== HOME BANNER SLIDER ========== */
  .home-banner-slider {
    margin-bottom: 20px; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--cor-border); background: var(--cor-bg-card);
  }
  .home-banner-slider:empty { display: none; margin: 0; }
  .home-banner-slider .newsSlider {
    width: 100% !important; max-width: 100% !important; flex: none !important;
    padding: 0 !important; margin: 0 !important;
  }
  .home-banner-slider .swiper-container,
  .home-banner-slider .swiper-news {
    max-height: 260px !important; border-radius: 0 !important;
  }
  .home-banner-slider img {
    width: 100% !important; height: 260px !important; object-fit: cover !important;
    border-radius: 0 !important; border: none !important; max-width: 100% !important;
    max-height: 260px !important; display: block !important;
  }
  .home-banner-slider .swiper-slide { max-height: 260px !important; }

  /* Swiper pagination/navigation inside banner */
  .home-banner-slider .swiper-news-pagination {
    position: absolute; bottom: 12px; right: 12px; left: auto;
    background: rgba(0,0,0,0.5); border-radius: 20px; padding: 6px 12px;
    display: flex; align-items: center; gap: 8px; z-index: 5;
    width: auto; height: auto;
  }
  .home-banner-slider .swiper-button-next,
  .home-banner-slider .swiper-button-prev {
    color: #fff !important; position: relative !important; top: auto !important;
    width: 20px !important; height: 20px !important; margin: 0 !important;
    background: none !important;
  }
  .home-banner-slider .swiper-button-next::after,
  .home-banner-slider .swiper-button-prev::after { font-size: 12px !important; }
  .home-banner-slider .swiper-pagination {
    position: relative !important; bottom: auto !important; color: rgba(255,255,255,0.6);
    font-size: 11px;
  }

  /* Banner overlay text */
  .home-banner-slider .swiper-news_info {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
    padding: 30px 20px 16px !important;
  }
  .home-banner-slider .swiper-news_info span {
    font-family: var(--font-heading); font-size: 15px !important; color: #fff !important;
    display: block; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }

  /* ========== VIP PAGE ========== */
  .vip-nav {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px;
  }
  .vip-nav-btn {
    padding: 8px 20px; border: 1px solid var(--cor-border); border-radius: 25px;
    font-size: 11px; color: var(--cor-text-muted); text-decoration: none;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
    transition: all 0.2s;
  }
  .vip-nav-btn:hover { border-color: var(--cor-primary); color: var(--cor-primary); }
  .vip-nav-btn.active { background: var(--cor-primary); border-color: var(--cor-primary); color: #fff; }

  .vip-cards { display: flex; flex-direction: column; gap: 16px; }
  .vip-card {
    background: var(--cor-bg-card); border: 1px solid var(--cor-border);
    border-radius: var(--radius-lg); padding: 24px; position: relative;
    transition: border-color 0.3s;
  }
  .vip-card:hover { border-color: rgba(200,134,10,0.2); }
  .vip-card-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(200,134,10,0.08); border: 1px solid rgba(200,134,10,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--cor-primary); margin-bottom: 14px;
  }
  .vip-card h3 {
    font-family: var(--font-heading) !important; font-size: 14px !important;
    color: var(--cor-text) !important; text-transform: none !important;
    letter-spacing: 0.5px !important; margin-bottom: 10px !important;
    padding: 0 !important; border: none !important;
  }
  .vip-card p {
    font-size: 13px !important; color: var(--cor-text-muted) !important;
    line-height: 1.7 !important; margin-bottom: 6px !important;
  }
  .vip-card a { color: var(--cor-primary) !important; font-weight: 600; }
  .vip-card a:hover { color: var(--cor-primary-light) !important; }

  /* Also style the advantages and payment pages that use .content */
  .content-page, .main > .content-page {
    max-width: 900px !important; margin: 0 auto !important; padding: 30px 20px 50px !important;
  }
  .content-page .button-custom { margin-bottom: 5px; }

  /* ========== VIP/DONATE PAGES (legacy structure) ========== */
  .main > .content .button-custom {
    padding: 6px 16px !important; border: 1px solid var(--cor-border) !important;
    border-radius: 25px !important; font-size: 10px !important; color: var(--cor-text-muted) !important;
    background: transparent !important; text-transform: uppercase !important;
    letter-spacing: 0.5px !important; margin: 0 3px 8px 0 !important; display: inline-flex !important;
    height: auto !important; line-height: normal !important;
  }
  .main > .content .button-custom:hover { border-color: var(--cor-primary) !important; color: var(--cor-primary) !important; }
  .main > .content .button-custom.active { background: var(--cor-primary) !important; border-color: var(--cor-primary) !important; color: #fff !important; }

  /* VIP content boxes */
  .main > .content .bg-azul-escuro,
  .main > .content .shadow-lg,
  .main > .content [class*="border-light"] {
    background: var(--cor-bg-card) !important; border: 1px solid var(--cor-border) !important;
    border-radius: var(--radius-lg) !important; padding: 20px !important;
    margin-bottom: 16px !important; box-shadow: none !important;
  }

  /* VIP section headings */
  .main > .content .h2-title h3,
  .main > .content .bg-azul-escuro h3,
  .main > .content .shadow-lg h3 {
    font-family: var(--font-heading) !important; font-size: 13px !important;
    color: var(--cor-text) !important; text-transform: none !important;
    letter-spacing: 0.5px !important; border: none !important; padding: 0 !important;
    margin-bottom: 10px !important;
  }

  /* VIP text */
  .main > .content .transfer p,
  .main > .content .bg-azul-escuro p,
  .main > .content .shadow-lg p {
    font-size: 13px !important; color: var(--cor-text-muted) !important;
    line-height: 1.7 !important;
  }

  /* Links inside VIP pages */
  .main > .content .text-info,
  .main > .content a.text-info { color: var(--cor-primary) !important; }

  /* HR separators */
  .main > .content hr { border-color: var(--cor-border) !important; margin: 20px 0 !important; opacity: 1 !important; }

  /* Alert boxes */
  .main > .content .alert {
    background: var(--cor-bg-card) !important; border: 1px solid var(--cor-border) !important;
    border-radius: var(--radius-lg) !important; color: var(--cor-text) !important; padding: 16px !important;
  }
  .main > .content .alert h1 { font-size: 14px !important; color: var(--cor-primary) !important; }

  /* ========== REMOVE EMPTY GAPS IN VIP/CONTENT PAGES ========== */
  .main > .content hr { display: none !important; }
  .main > .content .h2-title:empty,
  .main > .content .h2-title-content:empty,
  .main > .content div:empty:not([class*="swiper"]):not([id]) {
    display: none !important; padding: 0 !important; margin: 0 !important;
    border: none !important; height: 0 !important; min-height: 0 !important;
  }
  .main > .content br { display: none !important; }

  /* ========== HERO SPARKS ========== */
  .hero-sparks {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  }
  .spark {
    position: absolute; width: 2px; height: 2px; border-radius: 50%;
    background: rgba(255, 200, 80, 0.9); box-shadow: 0 0 4px rgba(255,200,80,0.6), 0 0 8px rgba(200,134,10,0.3);
    animation: sparkFall linear forwards;
    opacity: 0;
  }
  @keyframes sparkFall {
    0% { opacity: 0; transform: translateY(0) translateX(0); }
    10% { opacity: 1; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(420px) translateX(var(--drift)); }
  }

/* ========== MODAL CLOSE BUTTON ========== */
.modal_div .modal_close,
.modal .btn-close,
.modal_close {
  background: none !important; border: none !important; color: #ff4444 !important;
  font-size: 24px !important; font-weight: 700 !important; cursor: pointer !important;
  opacity: 1 !important; width: 32px !important; height: 32px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 50% !important; transition: all 0.2s !important;
  filter: none !important; line-height: 1 !important; padding: 0 !important;
}
.modal_div .modal_close::before,
.modal_close::before { content: "\2715" !important; font-size: 20px !important; color: #ff4444 !important; }
.modal_div .modal_close:hover,
.modal .btn-close:hover,
.modal_close:hover { background: rgba(255,68,68,0.1) !important; transform: scale(1.1); }
