/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(/templates/Virtue/style/images/textura_dark-svg.png);
    background-color: #2a2d3e;
    color: white;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button {
    cursor: pointer;
    border: none;
    outline: none;
  }
  
  /* Banner Styles */
  .banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    text-align: center;
  }
  
  .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
  }
  
  .banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/templates/Virtue/style/images/head.png");
    background-size: cover;
    background-position: center;
  }
  
  .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
  }
  
  .logo-image {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
    cursor:pointer;
  }
  
  /* Login Bar Styles */
  .login-bar {
    background-color: #1e2130;
    padding: 0.75rem 1rem;
    border-top: 1px solid #4b5563;
    border-bottom: 1px solid #4b5563;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
  }
  
  .avatar-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .avatar-icon img {
    object-fit: cover;
  }
  
  .login-input {
    max-width: 180px;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #4b5563;
    background-color: #2a2d3e;
    color: white;
  }
  
  .login-input::placeholder {
    color: #9ca3af;
  }
  
  .login-btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .login-btn:hover {
    background-color: #2563eb;
  }
  
  /* Register and Back Button Styles */
  .register-btn-header {
    background-color: #34d399;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .register-btn-header:hover {
    background-color: #10b981;
  }
  
  .back-btn-header {
    background-color: #4b5563;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .back-btn-header:hover {
    background-color: #6b7280;
  }
  
  .registro-status {
    font-weight: 600;
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .social-icons {
    display: flex;
    gap: 0.75rem;
    margin-left: 0;
  }
  
  .social-icons a {
    color: #9ca3af;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: white;
  }
  
  /* Main Content Styles */
  .main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .content-grid {
      grid-template-columns: 3fr 2fr;
      align-items: start;
    }
  }
  
  .section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
  }
  
  h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    width: 100%;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
    width: 100%;
  }
  
  /* News Section Styles */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    width: 100%;
  }
  
  @media (max-width: 639px) {
    .news-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .news-card {
    background-color: #1e2130;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #4b5563;
    transition: border-color 0.3s;
  }
  
  .news-card:hover {
    border-color: #3b82f6;
  }
  
  .news-image {
    height: 140px;
    position: relative;
    overflow: hidden;
  }
  
  .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  
  .news-card:hover .news-image img {
    transform: scale(1.05);
  }
  
  .news-author {
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: flex;
  }
  
  .news-content {
    padding: 0.75rem;
  }
  
  .news-content h3 {
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.3s;
  }
  
  .news-card:hover .news-content h3 {
    color: #60a5fa;
  }
  
  /* Locations Section Styles */
  .locations-section {
    margin-bottom: 2rem;
    margin-top: 0;
    width: 100%;
  }
  
  .locations-slider {
    position: relative;
    margin-top: 1rem;
    height: 335px;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    width: 100%;
  }
  
  .location-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1e2130;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .location-card.active {
    opacity: 1;
    z-index: 1;
  }
  
  .location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .location-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  }
  
  .location-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }
  
  .location-info p {
    font-size: 0.875rem;
    color: #d1d5db;
  }
  
  /* Rankings Section Styles */
  .rankings-section {
    margin-top: 3rem;
    text-align: left;
  }
  
  .rankings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .rankings-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .ranking-card {
    background-color: #1e2130;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #4b5563;
  }
  
  .ranking-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid #4b5563;
  }
  
  .ranking-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .events-icon {
    background-color: #ef4444;
  }
  
  .money-icon {
    background-color: #f59e0b;
  }
  
  .kills-icon {
    background-color: #f97316;
  }
  
  .ranking-badge {
    margin-left: auto;
    background-color: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  .ranking-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .player-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .player-avatar img {
    object-fit: cover;
  }
  
  .player-info {
    flex: 1;
  }
  
  .player-name {
    font-weight: 500;
  }
  
  .player-score {
    font-size: 0.875rem;
    color: #9ca3af;
  }
  
  .player-badge {
    margin-left: auto;
  }
  
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  .gold-badge {
    background-color: #f59e0b;
    color: white;
  }
  
  .red-badge {
    background-color: #ef4444;
    color: white;
  }
  
  /* Footer Styles */
  .footer {
    background-color: #1e2130;
    padding: 1.5rem 0;
    border-top: 1px solid #4b5563;
    margin-top: 2rem;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .footer-social a {
    color: #6b7280;
    transition: color 0.3s;
  }
  
  .footer-social a:hover {
    color: white;
  }
  
  /* Animations */
  @keyframes pulse {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }
  
  .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .login-container {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .login-input {
      width: 100%;
      max-width: none;
    }
  
    .login-btn,
    .register-btn-header,
    .back-btn-header {
      margin-top: 0.5rem;
    }
  
    .social-icons {
      margin-top: 0.5rem;
      width: 100%;
      justify-content: center;
    }
  
    .registro-status {
      width: 100%;
      justify-content: center;
      margin-bottom: 0.5rem;
    }
  }
  
  /* Modal de Erro de Login */
  .login-error-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
  }
  
  .login-error-modal.show {
    display: block;
    animation: slideIn 0.3s ease-out forwards;
  }
  
  .login-error-content {
    background-color: #1e2130;
    border: 1px solid #cbc3c3;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .login-error-content i.fa-exclamation-circle {
    color: #ef4444;
    font-size: 1.5rem;
    margin-right: 0.75rem;
  }
  
  .login-error-content p {
    color: white;
    font-size: 0.875rem;
    margin: 0;
    flex: 1;
  }
  
  .close-error-modal {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    transition: color 0.3s;
  }
  
  .close-error-modal:hover {
    color: white;
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  /* Ajuste responsivo para o modal */
  @media (max-width: 768px) {
    .login-error-modal {
      left: 20px;
      right: 20px;
    }
  
    .login-error-content {
      max-width: none;
    }
  }
  
  