
.noticias-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}


.news-main-content {
  width: 100%;
}


.news-sidebar {
  width: 100%;
  margin-top: 20px;
}


@media (min-width: 768px) and (max-width: 1023px) {
  .noticias-layout {
    grid-template-columns: 2fr 1fr;
    gap: 30px;
  }

  .news-main-content {
    width: 100%;
  }

  .news-sidebar {
    width: 100%;
    margin-top: 0;
  }


  .news-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .news-card.featured {
    grid-column: span 2 !important;
  }


  .news-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    overflow-x: visible !important;
    padding: 0 !important;
    margin: 30px 0 !important;
  }

  .stat-item {
    width: auto !important;
    min-width: auto !important;
    margin-right: 0 !important;
  }


  .sidebar-widget {
    margin-bottom: 20px;
  }
}


@media (min-width: 1024px) {
  .noticias-layout {
    grid-template-columns: 3fr 1fr;
    gap: 40px;
  }

  .news-main-content {
    width: 100%;
  }

  .news-sidebar {
    width: 100%;
  }


  .news-container {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
  }

  .news-card.featured {
    grid-column: span 1 !important;
  }


  .news-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    overflow-x: visible !important;
    padding: 0 !important;
    margin: 40px 0 !important;
  }

  .stat-item {
    width: auto !important;
    min-width: auto !important;
    margin-right: 0 !important;
  }
}


@media (max-width: 767px) {

  .noticias-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }


  .news-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }


  .news-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 20px 0 !important;
    overflow-x: visible !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .stat-item {
    width: 100% !important;
    min-width: auto !important;
    margin-right: 0 !important;
    padding: 15px !important;
    gap: 15px !important;
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: left;
    height: auto;
  }

  .stat-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2em !important;
    flex-shrink: 0;
  }

  .stat-content {
    flex: 1;
    min-width: 0;
  }

  .stat-value {
    font-size: 1.5em !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }


  .news-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    margin: 20px 0 !important;
    justify-content: flex-start;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 8px 15px !important;
    font-size: 0.9em;
  }


  .news-card {
    margin-bottom: 10px;
  }

  .news-card-header {
    padding: 15px 15px 8px 15px !important;
  }

  .news-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .news-title {
    font-size: 1.2em !important;
    margin-bottom: 10px !important;
  }

  .news-excerpt {
    font-size: 0.9em !important;
    margin-bottom: 15px !important;
  }

  .news-card-footer {
    padding: 15px !important;
    flex-direction: column;
    gap: 15px;
  }

  .btn-read-more {
    width: 100%;
    justify-content: center;
  }

  .news-actions {
    width: 100%;
    justify-content: center;
  }


  .sidebar-widget {
    padding: 20px !important;
    margin-bottom: 20px;
  }


  .whatsapp-widget {
    padding: 20px !important;
  }

  .whatsapp-stats {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .whatsapp-buttons {
    flex-direction: column;
  }

  .btn-whatsapp,
  .btn-outline-whatsapp {
    width: 100%;
  }

  .whatsapp-features li {
    font-size: 0.85em;
    padding: 6px 0;
  }


  .pagination {
    flex-direction: column;
    gap: 10px;
    margin: 30px 0 !important;
  }

  .page-numbers {
    order: -1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .page-btn {
    width: 100%;
    justify-content: center;
    padding: 10px !important;
  }


  .admin-panel {
    padding: 15px !important;
    margin: 15px 0 !important;
  }

  .admin-stats {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .admin-buttons {
    flex-direction: column;
  }

  .admin-buttons .btn {
    width: 100%;
    justify-content: center;
  }


  .admin-login-btn {
    padding: 8px 15px;
    font-size: 0.9em;
    bottom: 15px;
    right: 15px;
  }


  .news-form {
    padding: 20px !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px !important;
    font-size: 14px !important;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .form-checkboxes {
    flex-direction: column;
    gap: 10px;
  }


  .login-box {
    margin: 0 15px;
    padding: 20px !important;
  }
}


@media (max-width: 480px) {
  .news-stats {
    grid-template-columns: 1fr !important;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .stat-icon {
    margin: 0 auto;
  }

  .news-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge-important,
  .badge-pinned,
  .badge-new {
    font-size: 0.7em;
    padding: 4px 10px;
  }

  .page-title {
    font-size: 1.8rem !important;
    text-align: center;
  }

  .page-subtitle {
    font-size: 1rem !important;
    text-align: center;
    padding: 0 10px;
  }

  .panda-decorative {
    font-size: 2.5rem !important;
  }
}



.games-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.game-tag {
  background: var(--light-green);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-green);
  margin-bottom: 10px;
}

.text-center {
  text-align: center;
}


header {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.header-container {
  position: relative;
  width: 100%;
}


.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}


nav {
  transition: all 0.3s ease;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: block;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}


@media (max-width: 992px) {
  .header-container {
    flex-direction: row;
    padding: 0 15px;
  }

  .logo {
    font-size: 1.8rem;
  }

  nav ul {
    gap: 15px;
  }

  nav ul li a {
    font-size: 1rem;
    padding: 6px 12px;
  }


  .clan-logo-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 25px;
  }

  .clan-slogan {
    font-size: 1.8rem;
  }

  .logo-badges {
    justify-content: center;
  }
}


@media (max-width: 768px) {

  header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    width: 100%;
    position: relative;
  }


  .logo {
    font-size: 1.6rem;
    z-index: 1001;
  }


  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 1001;
    margin-left: auto;
  }


  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-green);
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  nav.active {
    display: block;
    max-height: 500px;
    overflow-y: auto;
  }


  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 15px 0;
  }

  nav ul li {
    width: 100%;
    margin: 0;
  }

  nav ul li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    font-size: 0.95rem;
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

  nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
  }


  body.nav-open {
    overflow: hidden;
  }

  body.nav-open main {
    margin-top: 60px;
  }


  .page-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 20px;
  }

  .container {
    width: 100%;
    padding: 0 15px;
    margin-top: 0;
  }


  .card,
  .gallery-card {
    padding: 20px;
    margin-bottom: 25px;
  }

  .card-title {
    font-size: 1.3rem;
  }


  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-section {
    min-width: 100%;
  }


  .ranking-container {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .ranking-section {
    padding: 20px;
    overflow: visible;
  }

  .ranking-table {
    font-size: 14px;
    min-width: 100%;
  }

  .ranking-table th,
  .ranking-table td {
    padding: 10px;
    white-space: nowrap;
  }


  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial {
    padding: 20px;
  }

  .testimonial-content {
    font-size: 15px;
    padding-left: 15px;
  }

  .testimonial-content::before {
    font-size: 2rem;
  }

  .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonial-author h4 {
    font-size: 1rem;
  }

  .testimonial-author span {
    font-size: 0.85rem;
  }


  .games-tags {
    justify-content: center;
  }

  .game-tag {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}


@media (max-width: 480px) {

  .header-container {
    padding: 10px 12px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .mobile-menu-btn {
    font-size: 1.3rem;
    padding: 6px;
  }


  nav ul li a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.7rem;
  }


  .clan-logo {
    width: 150px;
    height: 150px;
  }

  .logo-glow {
    width: 170px;
    height: 170px;
  }

  .clan-slogan {
    font-size: 1.5rem;
  }

  .badge {
    padding: 6px 15px;
    font-size: 0.85rem;
  }


  .card,
  .gallery-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  .card-title {
    font-size: 1.2rem;
  }


  .ranking-table {
    display: block;
    overflow-x: auto;
  }

  .ranking-table thead {
    display: none;
  }

  .ranking-table tbody tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
  }

  .ranking-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
  }

  .ranking-table tbody td:last-child {
    border-bottom: none;
  }

  .ranking-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #1b4332;
    font-size: 13px;
  }

  .rank-number {
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 14px;
  }

  .points {
    min-width: 65px;
    font-size: 14px;
    padding: 3px 10px;
  }


  .testimonial {
    padding: 15px;
  }

  .testimonial-content {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .testimonial-author img {
    width: 50px;
    height: 50px;
  }


  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .btn-large {
    padding: 12px 25px;
  }


  .games-tags {
    flex-direction: column;
    align-items: center;
  }

  .game-tag {
    width: 100%;
    text-align: center;
  }
}


@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-height: 80vh;
  }

  .modal-image-wrapper {
    min-height: 300px;
  }
}


@media (max-width: 768px) {
  .gallery-card .card-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  .filters-container {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    gap: 8px;
    justify-content: flex-start;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }


  .modal-container {
    width: 95%;
    height: auto;
    max-height: 90vh;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 20px 0;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .modal-image-wrapper {
    min-height: 250px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .modal-details {
    padding: 20px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }

  .modal-footer {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }


  .controls-container {
    flex-direction: column;
  }

  .gallery-card .btn {
    width: 100%;
  }
}


@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    padding: 20px 15px;
  }

  .gallery-card .card-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }


  .modal-container {
    width: 98%;
    border-radius: 8px;
  }

  .modal-header {
    padding: 12px 15px;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .modal-image-wrapper {
    min-height: 200px;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .modal-details {
    padding: 15px;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .detail-item i {
    font-size: 18px;
  }

  .filters-container {
    padding: 8px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}


@media (hover: none) and (pointer: coarse) {
  .gallery-item:hover {
    transform: none;
  }

  .card:hover,
  .gallery-card:hover {
    transform: none;
  }


  .filter-btn:active,
  .btn:active,
  .action-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }


  @media (max-width: 768px) {
    .filter-btn,
    .btn,
    .action-btn,
    .nav-btn,
    .modal-close {
      min-height: 44px;
    }

    .filter-btn {
      padding: 12px 20px;
    }

    nav ul li a {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}


@media (max-width: 768px) and (orientation: landscape) {
  .modal-container {
    max-height: 80vh;
  }

  .modal-content {
    grid-template-columns: 1fr 1fr;
    max-height: 65vh;
  }

  .modal-image-wrapper {
    min-height: 200px;
  }
}


.ranking-table td,
.ranking-table th,
.testimonial-content,
.modal-description p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}


.filters-container,
.ranking-table-wrapper,
.modal-details {
  -webkit-overflow-scrolling: touch;
}


@media (max-width: 360px) {
  .gallery-card {
    padding: 15px 10px;
  }

  .gallery-card .card-title {
    font-size: 1.2rem;
  }

  .filters-container {
    padding: 5px;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 11px;
  }

  .ranking-table tbody td {
    font-size: 13px;
  }

  .rank-number {
    width: 24px;
    height: 24px;
    line-height: 24px;
  }
}


@media (max-width: 768px) {

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .nav-overlay.active {
    display: block;
  }


  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }


  nav {
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}



@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}


@media (max-width: 768px) {
  nav {
    animation: slideUp 0.3s ease forwards;
  }

  nav.active {
    animation: slideDown 0.3s ease forwards;
  }


  nav.active ul li {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
  }

  nav.active ul li:nth-child(1) {
    animation-delay: 0.1s;
  }
  nav.active ul li:nth-child(2) {
    animation-delay: 0.15s;
  }
  nav.active ul li:nth-child(3) {
    animation-delay: 0.2s;
  }
  nav.active ul li:nth-child(4) {
    animation-delay: 0.25s;
  }
  nav.active ul li:nth-child(5) {
    animation-delay: 0.3s;
  }
  nav.active ul li:nth-child(6) {
    animation-delay: 0.35s;
  }
  nav.active ul li:nth-child(7) {
    animation-delay: 0.4s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    nav {
      -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-btn {
      -webkit-tap-highlight-color: transparent;
    }
  }
}



@media (max-width: 768px) {

  #requisitos-admin .requirements-container {
    padding: 0;
    overflow-x: hidden;
  }


  .requirement-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    overflow: hidden;
  }


  .requirement-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }


  .requirement-list {
    width: 100%;
    overflow: hidden;
  }

  .requirement-list li {
    font-size: 1rem;
    padding: 8px 0;
    align-items: flex-start;
    word-break: break-word;
    overflow-wrap: break-word;
  }


  .values-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .value-card {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .value-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .value-card h4 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 0.9rem;
  }


  .scenarios-container {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .scenario-card {
    width: 100%;
    margin: 0;
  }

  .scenario-header {
    padding: 12px 15px;
  }

  .scenario-header h4 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .scenario-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .scenario-content {
    padding: 15px;
  }

  .scenario-content ol {
    padding-left: 15px;
  }

  .scenario-content li {
    font-size: 0.9rem;
    padding: 4px 0;
  }


  .commitments {
    gap: 10px;
  }

  .commitment-item {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .commitment-icon {
    margin: 0 auto;
    font-size: 1.5rem;
  }


  .evaluation-section {
    padding: 20px 15px;
    margin: 20px 0;
  }

  .evaluation-intro {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .evaluation-questions {
    gap: 20px;
  }

  .evaluation-question p {
    font-size: 1rem;
    margin-bottom: 12px;
  }


  .evaluation-options {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .evaluation-option {
    padding: 10px 12px;
    font-size: 0.9rem;
  }


  .evaluation-result {
    margin-top: 20px;
  }

  #calculate-score {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .score-result {
    padding: 15px;
    font-size: 0.95rem;
  }


  .requirements-footer {
    margin-top: 30px;
    padding-top: 20px;
  }

  .requirements-continue-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
  }


  #requisitos-admin .alert {
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 0.95rem;
  }


  #requisitos-admin p,
  #requisitos-admin li {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}


@media (max-width: 480px) {

  #requisitos-admin .card-title {
    font-size: 1.4rem;
  }

  .requirement-title {
    font-size: 1.2rem;
  }


  .requirement-list li {
    font-size: 0.95rem;
    padding: 7px 0;
  }


  .value-card {
    padding: 12px;
  }

  .value-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }


  .scenario-card {
    margin-bottom: 15px;
  }

  .scenario-header {
    padding: 10px 12px;
  }

  .scenario-header h4 {
    font-size: 0.95rem;
  }

  .scenario-content {
    padding: 12px;
  }


  .commitment-item {
    padding: 10px;
  }

  .commitment-icon {
    font-size: 1.3rem;
  }

  .commitment-item h4 {
    font-size: 1rem;
  }


  .evaluation-section {
    padding: 15px 12px;
  }

  .evaluation-question p {
    font-size: 0.95rem;
  }

  .evaluation-option {
    padding: 8px 10px;
    font-size: 0.85rem;
  }


  #calculate-score {
    padding: 10px 15px;
    font-size: 0.95rem;
  }


  .requirements-footer {
    margin-top: 25px;
    padding-top: 15px;
  }

  .requirements-continue-btn {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}



@media (max-width: 768px) {

  #aspirantes-admin .contact-form {
    padding: 15px;
    margin: 0;
  }


  #aspirantes-admin .form-row {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }

  #aspirantes-admin .form-row .form-group {
    width: 100%;
  }


  #aspirantes-admin .form-label {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  #aspirantes-admin .form-control {
    padding: 10px 12px;
    font-size: 0.95rem;
  }


  #aspirantes-admin textarea.form-control {
    min-height: 80px;
  }


  #aspirantes-admin .form-checkbox {
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }


  #aspirantes-admin .form-submit-btn {
    padding: 12px;
    font-size: 1rem;
  }
}



@media (max-width: 768px) {

  .contact-cards {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .contact-card {
    width: 100%;
    padding: 20px;
    margin: 0;
  }


  .team-cards {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .team-card {
    width: 100%;
  }
}



@media (max-width: 768px) and (orientation: landscape) {

  .values-grid,
  .scenarios-container,
  .contact-cards,
  .team-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }


  .requirement-title {
    font-size: 1.2rem;
  }

  .value-card h4,
  .scenario-header h4 {
    font-size: 0.95rem;
  }


  #aspirantes-admin .form-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #aspirantes-admin .form-row .form-group {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
  }
}


@media (hover: none) and (pointer: coarse) {

  .requirement-list li,
  .value-card,
  .scenario-card,
  .evaluation-option,
  .commitment-item,
  .contact-card,
  .team-card {
    min-height: 44px;
  }


  .requirements-continue-btn,
  #calculate-score,
  .form-submit-btn,
  .btn-whatsapp,
  .btn-discord {
    min-height: 44px;
  }


  .value-card:active,
  .scenario-card:active,
  .evaluation-option:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}



#requisitos-admin,
#aspirantes-admin {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}


.requirements-container,
.scenarios-container,
.values-grid,
.evaluation-options,
.contact-cards,
.team-cards {
  max-width: 100%;
  overflow-x: hidden;
}


.requirement-section,
.scenario-card,
.value-card,
.evaluation-question,
.commitment-item {
  max-width: 100%;
  box-sizing: border-box;
}


#requisitos-admin,
#aspirantes-admin,
#reportar,
#sugerencias {
  scroll-margin-top: 80px;
}


@media (max-width: 768px) {
  #requisitos-admin,
  #aspirantes-admin,
  #reportar,
  #sugerencias {
    scroll-margin-top: 60px;
  }
}


@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .value-card,
  .scenario-card,
  .contact-card,
  .team-card,
  .evaluation-option {
    transition: none !important;
    animation: none !important;
  }
}



@media (max-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .games-stats {
    gap: 15px;
  }

  .stat {
    min-width: 160px;
    padding: 10px 15px;
  }
}


@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    max-height: 300px;
  }

  .games-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .games-actions {
    flex-direction: column;
    align-items: center;
  }

  .games-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .categories-header {
    padding: 15px;
  }

  .categories-header h3 {
    font-size: 1.1rem;
  }
}


@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-height: 250px;
  }

  .games-search-container {
    padding: 15px;
  }

  .search-box {
    margin-bottom: 8px;
  }

  #games-search-input {
    padding: 10px 40px 10px 40px;
    font-size: 0.95rem;
  }

  .game-card-header {
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .game-title {
    font-size: 0.95rem;
  }

  .games-footer {
    padding: 15px;
  }

  .stat {
    min-width: auto;
    padding: 10px;
  }

  .stat span {
    font-size: 0.9rem;
  }

  .stat strong {
    font-size: 1rem;
  }
}


@media (max-width: 768px) and (orientation: landscape) {
  .categories-grid {
    max-height: 200px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}


@media (max-width: 360px) {
  .categories-grid {
    padding: 15px;
    gap: 10px;
  }

  .category-filter {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .game-card {
    border-radius: 8px;
  }

  .game-categories {
    padding: 10px 12px;
  }

  .game-category-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}



.games-pagination {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #e9ecef;
}

.games-pagination .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.games-pagination .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(27, 67, 50, 0.2);
}

.games-pagination .games-count {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: normal;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
}


@media (max-width: 768px) {
  .games-pagination {
    margin-top: 20px;
    padding-top: 15px;
  }

  .games-pagination .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
  }

  .games-pagination .games-count {
    font-size: 0.8rem;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .games-pagination {
    margin-top: 15px;
    padding-top: 10px;
  }

  .games-pagination .btn {
    flex-direction: column;
    gap: 5px;
    padding: 10px 15px;
  }

  .games-pagination .games-count {
    margin-left: 0;
    font-size: 0.75rem;
  }
}


@media (max-width: 768px) {

  .event-calendar {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4caf50 #f1f1f1;
  }


  .calendar-grid {
    min-width: 650px;
    width: 100%;
    gap: 5px;
  }


  .calendar-header.calendar-navigation {
    flex-direction: row !important;
    min-width: 650px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }


  .calendar-nav-btn {
    flex-shrink: 0;
  }


  #current-month-year {
    margin: 0;
    font-size: 1.2em;
  }


  .calendar-legend {
    flex-direction: row !important;
    flex-wrap: nowrap;
    min-width: 650px;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
  }


  .event-calendar::-webkit-scrollbar {
    height: 8px;
  }

  .event-calendar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 0 10px;
  }

  .event-calendar::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 4px;
  }

  .event-calendar::-webkit-scrollbar-thumb:hover {
    background: #3d8b40;
  }
}


@media (max-width: 480px) {
  .calendar-grid {
    min-width: 600px;
  }

  .calendar-header.calendar-navigation {
    min-width: 600px;
  }

  .calendar-legend {
    min-width: 600px;
    gap: 15px;
  }

  .calendar-day {
    min-height: 45px;
    font-size: 0.85em;
  }
}


@media (max-width: 768px) {
  .table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 5px;
    background: #f8f9fa;
    scrollbar-width: thin;
    scrollbar-color: #4caf50 #f1f1f1;
  }

  .results-table {
    min-width: 600px;
    width: 100%;
  }

  .table-container::-webkit-scrollbar {
    height: 8px;
  }

  .table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 0 10px;
  }

  .table-container::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 4px;
  }

  .table-container::-webkit-scrollbar-thumb:hover {
    background: #3d8b40;
  }
}


@media (max-width: 768px) {
  .sanciones-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 5px;
    background: #f8f9fa;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) #f1f1f1;
  }

  .sanciones-table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
  }


  .sanciones-table th,
  .sanciones-table td {
    padding: 12px 10px;
    text-align: left;
    white-space: nowrap;
  }

  .sanciones-table th {
    background: var(--accent-green);
    color: white;
  }

  .sanciones-table tbody tr:nth-child(even) {
    background: #f9f9f9;
  }

  .sanciones-table tbody tr:hover {
    background: #f0f0f0;
  }


  .sanciones-table-container::-webkit-scrollbar {
    height: 8px;
  }

  .sanciones-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 0 10px;
  }

  .sanciones-table-container::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
  }

  .sanciones-table-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
  }
}


@media (max-width: 480px) {
  .sanciones-table {
    min-width: 550px;
    font-size: 0.9em;
  }

  .sanciones-table th,
  .sanciones-table td {
    padding: 10px 8px;
  }

  .sanciones-table small {
    font-size: 0.8em;
  }
}
