:root {
  --bg: #171717;
  --bg-grad-a: #0f0f1a;
  --bg-grad-b: #1a1a2e;
  --panel: #111827;
  --panel-soft: #1f2937;
  --line: #00f7ff55;
  --text: #ffffff;
  --muted: #9ca3af;
  --accent: #00f7ff;
  --accent-2: #7ff6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-grad-a), var(--bg-grad-b));
}

.skip-link {
  position: absolute;
  left: -9999px;
}

#wrapper {
  width: 100%;
}

#topbar {
  background: #000000;
  border-bottom: 1px solid #282828;
  box-shadow: 0 3px 8px #000000;
}

#topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 20px;
}

.socialicons {
  text-decoration: none;
  color: #cccccc;
  font-size: 13px;
}

.socialicons:hover {
  color: var(--accent);
}

#header-full {
  width: 100%;
}

#header {
  max-width: 1180px;
  margin: 0 auto;
}

#branding {
  margin-top: 24px;
  min-height: 140px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  padding: 26px 24px 18px;
  box-shadow: 0 0 25px #00f7ff30;
}

#header-container {
  float: left;
}

#site-title {
  font-size: 42px;
  line-height: 1;
}

#site-title a {
  text-decoration: none;
  color: var(--accent);
}

#site-description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

#header-widget-area {
  float: right;
  width: 33%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo-box {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(180deg, #1e2d45, #162338);
  text-shadow: 0 0 16px #00f7ff70;
}

#nav-toggle {
  display: none;
}

#access {
  background: #eaeaea;
  border: 1px solid #cccccc;
  border-top: 0;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 0 0 12px 12px;
}

.menu {
  width: 100%;
}

#prime_nav,
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#prime_nav {
  display: flex;
  flex-wrap: wrap;
}

#prime_nav > li {
  position: relative;
}

#prime_nav > li > a {
  display: block;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  padding: 12px 14px;
  border-right: 1px solid #cccccc;
  box-shadow: 1px 0 0 #ffffff;
}

#prime_nav > li > a:hover {
  background: #f7f7f7;
  color: #111111;
}

#prime_nav > li:last-child > a {
  border-right: 0;
  box-shadow: none;
}

#prime_nav > li > a > span {
  white-space: nowrap;
}

.vip-link {
  background: #00f7ff;
  color: #111111 !important;
  font-weight: 700;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  z-index: 30;
  border: 1px solid #223044;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-radius: 10px;
}

.menu li:hover > .sub-menu {
  display: block;
}

.sub-menu li {
  background: #2d2d2d;
  border-top: 1px solid #3b3b3b;
  border-bottom: 1px solid #222222;
}

.sub-menu a {
  display: block;
  text-decoration: none;
  color: #bbbbbb;
  font-size: 13px;
  padding: 9px 12px;
}

.sub-menu a:hover {
  background: #3b3b3b;
  color: #ffffff;
}

#main {
  max-width: 1180px;
  margin: 20px auto 0;
  background: transparent;
}

#forbottom {
  margin-left: 30px;
  margin-right: 30px;
}

#container.two-columns-right #secondary {
  width: 280px;
  float: right;
}

#container.two-columns-right #content {
  width: calc(100% - 310px);
  float: left;
}

#content,
#secondary {
  margin-top: 8px;
}

.post {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 0 15px #00f7ff2c;
}

.entry-title {
  margin: 0 0 12px;
  font-size: 34px;
  color: var(--accent);
}

.entry-content p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #e2e8f4;
}

.entry-content a {
  color: var(--accent);
  text-decoration: none;
}

.entry-content a:hover {
  text-decoration: underline;
}

.entry-content strong {
  color: var(--accent-2);
}

.breadcrumbs {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: #b7c3d4;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 6px;
}

.breadcrumbs .current {
  color: #d6e1f2;
}

.section-subtitle {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.rule-list {
  margin: 0 0 12px 18px;
  padding: 0;
  color: #e2e8f4;
}

.rule-list li {
  margin: 0 0 8px;
}

.inline-code {
  display: inline-block;
  border: 1px solid var(--line);
  background: #131f32;
  color: #d8ecff;
  border-radius: 6px;
  padding: 4px 8px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.92rem;
}

.warn-line {
  color: #ff7a7a !important;
  font-weight: 600;
}

.ranking-meta {
  color: #b8cde7 !important;
}

.rwd-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.rwd-table tr {
  border-bottom: 1px solid var(--line);
}

.rwd-table th {
  text-align: left;
  color: var(--accent);
  font-weight: 700;
  padding: 8px 8px 10px 0;
  font-size: 0.9rem;
}

.rwd-table td {
  text-align: left;
  color: #e7eefb;
  padding: 9px 8px 9px 0;
  font-size: 0.95rem;
}

.paginacion {
  margin-top: 18px;
  text-align: center;
}

.page-numbers {
  display: inline-block;
  text-decoration: none;
  margin: 0 2px;
  border: 1px solid var(--line);
  color: #d4ecff;
  background: #131f32;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.86rem;
}

.page-numbers:hover {
  color: #081925;
  background: var(--accent);
}

.page-numbers.current {
  background: var(--accent);
  color: #081925;
  font-weight: 700;
}

.ranking-links a {
  display: block;
  color: #d4ecff;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #132036;
  border-radius: 6px;
  padding: 7px 8px;
  margin-bottom: 7px;
  font-size: 0.85rem;
}

.ranking-links a:hover {
  color: #081925;
  background: var(--accent);
}

.widget-container {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 0 15px #00f7ff2c;
}

.widget-title {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.textwidget p {
  margin: 0 0 12px;
  color: #d8e2ef;
  line-height: 1.55;
}

.donate-button {
  display: inline-block;
  text-decoration: none;
  color: #0f1726;
  background: var(--accent);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

#footer {
  margin-top: 20px;
}

#footer2 {
  margin-top: 12px;
  min-height: 1px;
}

.site-info {
  font-size: 0.9em;
  color: var(--muted);
}

@media (max-width: 980px) {
  #header-container,
  #header-widget-area {
    float: none;
    width: 100%;
  }

  #header-widget-area {
    justify-content: flex-start;
    margin-top: 14px;
  }

  #container.two-columns-right #content,
  #container.two-columns-right #secondary {
    float: none;
    width: 100%;
  }
}

@media (max-width: 760px) {
  #forbottom {
    margin-left: 10px;
    margin-right: 10px;
  }

  #prime_nav {
    display: block;
  }

  #prime_nav > li > a {
    border-right: 0;
    border-bottom: 1px solid #cccccc;
    box-shadow: none;
  }

  .sub-menu,
  .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    border-radius: 0;
    border: 0;
  }

  .sub-menu {
    display: block;
  }

  .rwd-table th {
    display: none;
  }

  .rwd-table td {
    display: block;
    padding: 6px 0;
  }

  .rwd-table td::before {
    content: attr(data-th) ": ";
    font-weight: 700;
    color: #9bc8df;
  }

  #footer2 {
    flex-direction: column;
    align-items: flex-start;
  }
}
