/* public/css/style.css */

/* Global Styles */
:root {
    --primary-color: #ff4500;
    --accent-color: #ff6347;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --secondary-text-color: #cccccc;
    --header-background: #222222;
    --footer-background: #222222;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100vh;
  }
  
  /* Particles Background */
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Bleibt im Hintergrund */
    background-color: var(--background-color);
    overflow: hidden;
  }
  
  /* Header Styles */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    background: var(--header-background);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-container img {
    height: 60px;
    width: auto;
    max-width: 250px;
  }
  
  nav {
    display: flex;
    align-items: center;
  }
  
  .menu-with-badge {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .menu-with-badge img {
    height: 40px;
    width: auto;
    max-width: 50px;
  }
  
  .menu-with-badge ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
  }
  
  .menu-with-badge ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
  }
  
  .menu-with-badge ul li a:hover {
    color: var(--accent-color);
  }
  
  /* Sprachumschalter Styles */
  .language-toggle {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
  }
  
  .lang-btn {
    background: var(--background-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 5px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
  }
  
  .lang-btn.active,
  .lang-btn:hover {
    background: var(--accent-color);
    color: var(--text-color);
  }
  
  /* Scroll Progress Bar */
  #progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
  }
  
  #progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease-in-out;
  }
  
  /* Main Content */
  main {
    width: 100%;
    max-width: 1400px;
    margin: 6rem auto 3rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  section {
    background: #222;
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1s ease-in-out;
    width: 95%;
    max-width: 1000px;
    transition: transform 0.3s ease-in-out;
  }
  
  section:hover {
    transform: scale(1.02);
  }
  
  section h2,
  section h3 {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary-color);
  }
  
  /* Forms and Buttons */
  form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--secondary-text-color);
  }
  
  form input,
  form button {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: 15px 0;
    border-radius: 15px;
    font-size: 1.2rem;
  }
  
  form input {
    background: #2a2a2a;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  form input:focus {
    outline: none;
    box-shadow: 0 0 8px var(--accent-color);
  }
  
  form button {
    background: var(--primary-color);
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  form button:hover {
    background: var(--accent-color);
    transform: scale(1.08);
  }
  
  /* Toggle Search */
  .search-type-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .search-type-toggle label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--secondary-text-color);
  }
  
  .search-type-toggle input[type="radio"] {
    cursor: pointer;
  }
  
  /* Clan and Player Result */
  #search-result {
    margin-top: 20px;
    padding: 20px;
    background: #333;
    border-radius: 15px;
    color: var(--text-color);
    width: 90%;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  #search-result img {
    display: block;
    margin: 10px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
  }
  
  #search-result h3 {
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
  }
  
  #search-result p {
    margin: 5px 0;
    text-align: center;
  }
  
  /* Footer Styles */
  footer {
    text-align: center;
    padding: 1.5rem;
    background: var(--footer-background);
    color: var(--secondary-text-color);
    font-size: 1rem;
    border-top: 1px solid #444;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsives Design */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
    }
    nav {
      width: 100%;
    }
    .menu-with-badge {
      width: 100%;
      justify-content: space-between;
    }
    .menu-with-badge ul {
      flex-wrap: wrap;
      gap: 10px;
    }
    .language-toggle {
      margin-top: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .menu-with-badge ul {
      flex-direction: column;
      align-items: flex-start;
    }
    .language-toggle {
      width: 100%;
      justify-content: flex-start;
    }
    .language-toggle .lang-btn {
      width: 45px;
      padding: 5px;
      font-size: 0.8rem;
    }
  }
  