/* RomsFull-General-v2.0.css | Autor: Robinson Avila | By: WinDroidMODs */

.widget {
  background: #0f0f0f;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}
.widget__title {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #1e1e2e;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
}
.widget__title i {
  color: var(--accent);
}
.popular-post-link {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #1e1e2e;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  border-radius: 8px;
  padding: 0.5rem;
}
.popular-post-link:last-child {
  margin-bottom: 0;
  padding-bottom: 0.5rem;
  border: none;
}
.popular-post-link:hover {
  background: rgba(255, 87, 34, 0.1);
}
.popular-post__img {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.popular-post__title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: #e0e0e0;
}
.popular-post-link:hover .popular-post__title {
  color: var(--accent);
}
.popular-post__date {
  font-size: 0.7rem;
  color: #9e9e9e;
  margin-top: 0.2rem;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag-cloud a {
  background: #1e1e2e;
  color: #b0bec5;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}
.tag-cloud a:hover {
  background: var(--accent);
  color: #fff;
}
.article {
  background: #0f0f0f;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.article__title {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  font-family: 'Oswald', sans-serif;
}
.article__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #9e9e9e;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1e1e2e;
  flex-wrap: wrap;
}
.article__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e0e0e0;
}
.article__body h2 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.7rem;
}
.article__body h3 {
  font-size: 1.15rem;
  margin: 1.2rem 0 0.5rem;
}
.article__body p {
  margin-bottom: 1rem;
}
.article__body ul,
.article__body ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.article__body ul {
  list-style: disc;
}
.article__body ol {
  list-style: decimal;
}
.article__body blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.7rem 1rem;
  background: rgba(255, 87, 34, 0.08);
  border-radius: 0 6px 6px 0;
  margin: 1rem 0;
  font-style: italic;
}
.article__body img {
  border-radius: 10px;
  margin: 1rem 0;
}
.article__body code {
  background: #1e1e2e;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.article__body pre {
  background: #1e1e2e;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.9em;
}
.share-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.share-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1e1e2e;
  color: #e0e0e0;
  padding: 0.5rem 1.3rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}
.share-buttons a:hover {
  background: var(--accent);
  color: #fff;
}
.post-comments {
  background: #0f0f0f;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.post-comments .widget-title {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1rem;
}
.post-comments .widget-name {
  background: transparent !important;
  color: #f5f5f5;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-comments .widget-name i {
  color: var(--accent);
}
.comments {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comments-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.comment {
  display: flex;
  gap: 1rem;
  position: relative;
}
.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comment-block {
  flex: 1;
}
.comment-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.comment-author {
  font-weight: 600;
  color: #f5f5f5;
}
.comment-time {
  font-size: 0.75rem;
  color: #9e9e9e;
}
.comment-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
}
.comment-content a {
  color: var(--accent);
}
.comment-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.comment-reply-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
}
.comment-reply-button:hover {
  color: var(--accent-dark);
}
.comment-replies-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent);
  cursor: pointer;
}
.comment-replies-label:hover {
  color: var(--accent-dark);
}
.comment-replies-label i {
  font-size: 0.9rem;
}
.comment-toggle {
  display: none;
}
.comment-toggle:not(:checked) ~ .comments-replies {
  display: none;
}
.comments-replies {
  margin-top: 1rem;
  padding-left: 1.5rem;
  border-left: 2px solid #1e1e2e;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comment-form {
  margin-top: 1.5rem;
}
#comment-editor {
  width: 100% !important;
  min-height: 66px;
  background: #1e1e2e;
  border: none;
}
.reply-notice {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 87, 34, 0.15);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.reply-notice.show {
  display: flex;
}
.reply-notice i {
  font-size: 1rem;
}
.cancel-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid #e53935;
  color: #e53935;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
  text-decoration: none;
}
.cancel-reply-btn:hover {
  background: rgba(229, 57, 53, 0.25);
  color: #ef5350;
}
.footer {
  background: #000000;
  border-top: 1px solid #1e1e2e;
  margin-top: 0.5rem;
}
.footer__top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 0;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer__copy {
  text-align: center;
  padding: 0.8rem 0;
  border-top: 1px solid #1e1e2e;
  font-size: 0.8rem;
  color: #9e9e9e;
}
.footer__copy a {
  color: var(--accent);
  text-decoration: underline;
}
.footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  color: #b0bec5;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0f0f0f;
  border: 1px solid #1e1e2e;
  color: #e0e0e0;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-decoration: none;
}
.pagination a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 87, 34, 0.5);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
  transform: translateY(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: rgba(230, 74, 25, 0.95);
  border-color: #E64A19;
  transform: scale(1.05);
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid #1e1e2e;
  z-index: 10000;
  padding: 1.2rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
  animation: cookieSlideUp 0.4s ease-out;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 280px;
  font-size: 0.88rem;
  color: #b0bec5;
  line-height: 1.5;
  text-align: center;
}
.cookie-banner__text a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover {
  color: var(--accent-dark);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner__btn {
  padding: 0.5rem 1.6rem;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.cookie-banner__btn--accept:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.cookie-banner__btn--reject {
  background: transparent;
  color: #9e9e9e;
  border: 1px solid #2a2a3a;
}
.cookie-banner__btn--reject:hover {
  background: #1e1e2e;
  color: #e0e0e0;
}
@media (max-width: 540px) {
  .cookie-banner { padding: 1rem; gap: 0.8rem; }
  .cookie-banner__text { font-size: 0.8rem; }
  .cookie-banner__btn { padding: 0.45rem 1rem; font-size: 0.78rem; }
}
a, button, .post-card, .pagination a, .share-buttons a, .tag-cloud a, .popular-post-link {
  transition: all 0.2s ease-in-out;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 768px) {
  .article { padding: 1.2rem; }
  .article__title { font-size: 1.5rem; }
  .footer { margin-top: 0.3rem; }
  #back-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; font-size: 1.2rem; }
  .post-comments { padding: 1rem; }
  .comment-avatar { width: 45px; height: 45px; }
  .nav__menu { max-height: 70vh; overflow-y: auto; }
  .header__inner { position: relative; }
  #header-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; }
  #header-menu .widget { margin: 0; padding: 0; background: transparent; border: none; }
  .nav__menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid #1e1e2e;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
    position: relative;
    max-height: 70vh;
    overflow-y: auto;
  }
  #nav-check:checked ~ header .nav__menu { display: flex; }
  .nav__menu a {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    font-weight: 500;
    white-space: normal;
    line-height: 1.3;
    border-radius: 8px;
    text-align: center;
    background: transparent;
  }
  .nav__menu a:hover, .nav__menu a.active {
    background: #FF5722;
    color: #fff;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav__menu .dropdown__menu {
    position: static;
    background: transparent;
    border: none;
    padding-left: 0;
    box-shadow: none;
    display: none;
    width: 100%;
    margin-top: 0.25rem;
  }
  .nav__menu .dropdown.open .dropdown__menu { display: block; }
  .nav__menu .dropdown__menu a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    background: rgba(30, 30, 46, 0.6);
    margin: 0.2rem 0;
    font-size: 0.9rem;
  }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    grid-column: 1;
    justify-self: start;
    margin: 0;
    cursor: pointer;
  }
  .nav__toggle span {
    width: 22px;
    height: 2px;
    background: #b0bec5;
    border-radius: 2px;
    transition: all 0.3s;
  }
  #nav-check:checked ~ header .nav__toggle span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
  }
  #nav-check:checked ~ header .nav__toggle span:nth-child(2) { opacity: 0; }
  #nav-check:checked ~ header .nav__toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
  }
  .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #b0bec5;
    font-size: 1.2rem;
    grid-column: 3;
    justify-self: end;
    margin: 0;
    cursor: pointer;
  }
  .logo {
    grid-column: 2;
    justify-self: center;
    margin: 0;
  }
  .logo__text { font-size: 1.1rem; }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .header__inner { padding: 1.3rem 0 !important; }
}
@media (min-width: 1200px) {
  .header__inner { padding: 0.7rem 0 !important; }
  .logo__text { font-size: 1.15rem !important; }
  .logo::before { font-size: 1.2rem !important; }
  .header__search input { height: 32px !important; font-size: 0.8rem !important; width: 150px !important; }
  .header__search button { width: 30px !important; height: 30px !important; }
  .nav__menu a { padding: 0.3rem 0.8rem !important; font-size: 0.8rem !important; }
}
@media (max-width: 480px) {
  .article { padding: 3px; margin: 0 0 0.8rem 0; border-radius: 0; border-left: none; border-right: none; }
  .article__title { font-size: 1.3rem; }
  .share-buttons a { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
  .pagination a { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
  #back-to-top { bottom: 10px; right: 10px; width: 36px; height: 36px; font-size: 1rem; }
  .post-comments { padding: 0.8rem; }
  .comment-avatar { width: 40px; height: 40px; }
  .comment-header { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; text-align: center; padding: 0.6rem 0; }
  .footer__links { justify-content: center; }
  .footer__links a { font-size: 0.7rem; }
  .footer__copy { padding: 0.6rem 0; }
  .footer { margin-top: 0.2rem; }
  .nav__menu { max-height: 70vh; overflow-y: auto; }
}

/* ===== TEMA CLARO ===== */
body.light-theme {
  background: #ffffff;
  color: #111111;
}
body.light-theme a { color: #FF5722; }
body.light-theme a:hover { color: #E64A19; }
body.light-theme .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
}
body.light-theme .hero {
  background: linear-gradient(135deg, #fff3e0 0%, #f5f7fa 100%);
  border-bottom: 1px solid #e2e8f0;
}
body.light-theme .hero__title,
body.light-theme .hero__subtitle {
  color: #111111;
  text-shadow: none;
}
body.light-theme .hero__icons i {
  background: rgba(255, 87, 34, 0.15);
  color: #FF5722;
}
body.light-theme .widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
body.light-theme .widget__title {
  color: #111111;
  border-bottom-color: #e2e8f0;
}
body.light-theme .popular-post-link {
  border-bottom-color: #e2e8f0;
}
body.light-theme .popular-post-link:hover {
  background: rgba(255, 87, 34, 0.08);
}
body.light-theme .popular-post__title { color: #111111; }
body.light-theme .tag-cloud a {
  background: #f1f5f9;
  color: #334155;
}
body.light-theme .tag-cloud a:hover {
  background: #FF5722;
  color: #fff;
}
body.light-theme .article,
body.light-theme .post-comments {
  background: #ffffff;
  border-color: #e2e8f0;
}
body.light-theme .article__title { color: #111111; }
body.light-theme .article__meta {
  color: #64748b;
  border-bottom-color: #e2e8f0;
}
body.light-theme .article__body { color: #111111; }
body.light-theme .article__body blockquote {
  background: rgba(255, 87, 34, 0.05);
}
body.light-theme .share-buttons a {
  background: #f1f5f9;
  color: #111111;
}
body.light-theme .share-buttons a:hover {
  background: #FF5722;
  color: #fff;
}
body.light-theme .footer {
  background: #ffffff;
  border-top-color: #e2e8f0;
}
body.light-theme .footer__copy {
  border-top-color: #e2e8f0;
  color: #64748b;
}
body.light-theme .footer__links a { color: #334155; }
body.light-theme .pagination a {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #111111;
}
body.light-theme .pagination a:hover {
  background: #FF5722;
  color: #fff;
}
body.light-theme .cookie-banner {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: #e2e8f0;
}
body.light-theme .cookie-banner__text { color: #334155; }
body.light-theme .post-card {
  background: rgba(255, 87, 34, 0.08);
}
body.light-theme .post-card__title { color: #111111; }
body.light-theme .post-card__version {
  background: rgba(0, 0, 0, 0.05);
  color: #475569;
}
body.light-theme .post-card__date { color: #64748b; }
body.light-theme .rating-star.empty { background: #cbd5e1; }
body.light-theme #back-to-top {
  background: rgba(255, 87, 34, 0.9);
  border-color: #FF5722;
}
body.light-theme #back-to-top:hover { background: #E64A19; }
body.light-theme .nav__menu a { color: #334155; }
body.light-theme .nav__menu a:hover,
body.light-theme .nav__menu a.active {
  background: #FF5722;
  color: #fff;
}
body.light-theme .nav__menu .dropdown__menu {
  background: #ffffff;
  border-color: #e2e8f0;
}
body.light-theme .nav__toggle span { background: #334155; }
body.light-theme .header__search button {
  background: #FF5722;
  color: #fff;
}
body.light-theme .header__search button:hover {
  background: #E64A19;
}
body.light-theme .search-btn {
  color: #334155;
}
body.light-theme .search-btn:hover {
  color: #FF5722;
}
body.light-theme .hero__search input {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-right: none;
  color: #111111;
}
body.light-theme .hero__search input::placeholder {
  color: #94a3b8;
}
body.light-theme .hero__search input:focus {
  border-color: #FF5722;
}
body.light-theme .hero__search button {
  background: #FF5722;
  color: #ffffff;
}
body.light-theme .hero__search button:hover {
  background: #E64A19;
}
body.light-theme .header__search input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #111111;
}
body.light-theme .header__search input::placeholder {
  color: #94a3b8;
}
body.light-theme .header__search input:focus {
  border-color: #FF5722;
}
body.light-theme .post-comments .widget-name,
body.light-theme .post-comments .widget-name i {
  color: #111111;
}
body.light-theme .comment-author {
  color: #111111;
}
body.light-theme .comment-time {
  color: #64748b;
}
body.light-theme .comment-content {
  color: #111111;
}
body.light-theme .comment-reply-button,
body.light-theme .comment-replies-label {
  color: #FF5722;
}
body.light-theme .nav__menu {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #e2e8f0;
}
body.light-theme .nav__menu a {
  color: #111111;
}
body.light-theme .nav__menu .dropdown__menu {
  background: #ffffff;
  border: 1px solid #ffffff;
}
body.light-theme .nav__menu .dropdown__menu a {
  background: #f8fafc;
  color: #111111;
}
body.light-theme .nav__menu .dropdown__menu a:hover {
  background: #FF5722;
  color: #ffffff;
}
@media (max-width: 768px) {
  body.light-theme .nav__menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
  }
}
