/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts & Base */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f0f2f5;
  color: #333;
}

.main-header {
  background: linear-gradient(to right, #2c3e50, #2980b9);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.main-header h1 {
  font-size: 2.2rem;
  color: #ff5733;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px black;
}

.main-header p {
  font-size: 1rem;
  opacity: 0.9;
}

.emblem {
  width: 80px;
  margin-bottom: 1rem;
}

/* Force Selector */
.force-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.force-selector .tab {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  background-color: #ccc;
  transition: 0.3s;
}

.force-selector .tab.active {
  background-color: #2e7d32;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cards */
.ranks-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 2rem;
}

.card {
  background: #1b5e20;
  color: white;
  width: 200px;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 60px;
  height: auto;
  margin-bottom: 0.5rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 1.5rem;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close-button {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons inside modal */
.modal-content button {
  padding: 0.6rem 1.2rem;
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 8px;
  margin: 10px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
  .ranks-section {
    flex-direction: column;
    align-items: center;
  }

  .force-selector {
    flex-direction: column;
    align-items: center;
  }

  .modal-content {
    width: 95%;
    padding: 1rem;
  }
}




.force-stats {
  background: #0a0a0a;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.force-stats h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00d9ff;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-card {
  background-color: #1a1a1a;
  padding: 30px 20px;
  border-radius: 15px;
  width: 180px;
  box-shadow: 0 0 10px #00d9ff44;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-card h3 {
  font-size: 2.2rem;
  color: #00d9ff;
  margin: 0;
}

.stat-card p {
  margin-top: 10px;
  font-size: 1rem;
  color: #ccc;
}
.stat-img {
  width: 100px;
  margin-top: 25px;
}


.site-footer {
  background-color: #111;
  color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 10px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: #00ccff;
  margin: 10px 0;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ccff;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #999;
}
