/* Reset / base */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: #eee;
  background-color: #111;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* Background overlay (optionnel si tu as des images) */
.background-container {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.background-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.background-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.desktop-bg {
    background-image: url('background-tak.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 50px;
}
.logo {
  font-size: 3rem;
  font-weight: 700;
}
.server-owner {
  font-size: 1.2rem;
  opacity: 0.7;
}

/* Hero */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
}
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.85;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.info-card h3 {
  margin-top: 0;
}
.feature-list {
  margin: 0;
  padding-left: 20px;
}
.feature-list li {
  margin-bottom: 8px;
}

/* Language switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.lang-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: rgba(0, 120, 255, 0.8);
    border-color: rgba(0, 120, 255, 0.9);
}

/* Server cards */
.server-card {
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  margin-bottom: 40px;
  color: #fff;
}
.server-blue {
  border: 2px solid rgba(0, 120, 255, 0.8);
  background: rgba(0, 120, 255, 0.15);
}
.server-red {
  border: 2px solid rgba(255, 50, 50, 0.8);
  background: rgba(255, 50, 50, 0.15);
}
.access-info h4 {
  margin-top: 20px;
}
.contact-email {
  color: #add8ff;
  text-decoration: none;
}
.github-link {
  color: #add8ff;
  text-decoration: underline;
}
.opfor-badge {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(255, 50, 50, 0.9);
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 15px;
}
.opfor-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(255, 50, 50, 0.7);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

/* Actions */
.actions {
  text-align: center;
  margin: 50px 0;
}
.login-btn, .download-btn {
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
  margin: 0 10px;
}
.login-btn {
  background: rgba(0, 120, 255, 0.8);
}
.download-btn {
  background: rgba(80, 80, 80, 0.8);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 80px;
  opacity: 0.7;
}
.footer-content p {
  margin: 6px 0;
}
.footer-name {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-name:hover {
    color: #0ff;
    text-decoration: underline;
}
