  /* CSS Reset */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    
    body, html {
      margin: 0;
      padding: 0;
      border: 0;
      font-weight: normal;
      font-family: 'Inter', sans-serif;
      line-height: 1.5;
      color: #eee;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      max-width: 100%;
    }
    
    body {
      background: linear-gradient(135deg, #0d0d0d, #245dcf);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .games_section{
      padding: 4rem 1rem;
      background: linear-gradient(135deg, #121826cc 0%, #11264fcc 100%);
    }
    #duck_empire_description{
      max-width: 600px;
      color: #d4d8e2dd;
      text-align: right;
    }
    #duck_empire{
      text-align: left;
      font-weight: normal;
      font-family: 'Inter', sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      color: #7ea1ff;
      font-size: 1.2rem;
      margin: 0;
    }
    #privacy{
      text-decoration: none;
    }
    .top_bar {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    
    .top_bar:hover,
    .top_bar:focus {
      color: #6495ED;
      outline: none;
    }
    

    .top_bar_hamb {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    
    .top_bar_hamb:hover,
    .top_bar_hamb:focus {
      color: #6495ED;
      outline: none;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      user-select: none;
    }

    /* Container for center alignment */
    .container {
      width: 90%;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    /* ===================== HEADER ===================== */
    header {
      position: sticky;
      top: 0;
      background: #121826;
      z-index: 1000;
      box-shadow: 0 2px 8px rgb(0 0 0 / 0.7);
    }
    
    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 60px;
      padding: 0 1rem;
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
    }

    .logo {
      font-weight: 700;
      font-size: 1.25rem;
      color: #6495ED;
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 1001;
      text-decoration: none;
    }

    /* Menu Hamburger */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 8px;
      z-index: 1001;
      background: none;
      border: none;
    }

    .hamburger-line {
      width: 25px;
      height: 3px;
      background-color: #ddd;
      margin: 3px 0;
      transition: 0.3s;
      border-radius: 2px;
    }

    .menu-toggle.active .hamburger-line:nth-child(1) {
      transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .hamburger-line:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
      transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Desktop Navigation */
    nav.desktop-nav {
      display: flex;
      gap: 24px;
    }
    
    nav.desktop-nav a {
      color: #ddd;
      font-weight: 500;
      font-size: 1rem;
      padding: 6px 0;
      position: relative;
    }
    
    nav.desktop-nav a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background-color: #6495ED;
      transition: width 0.3s ease;
    }
    
    nav.desktop-nav a:hover::after,
    nav.desktop-nav a:focus::after {
      width: 100%;
    }

    /* Mobile Navigation */
    .mobile-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #121826;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
    }

    .mobile-nav.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .mobile-nav-content {
      padding: 1rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .mobile-nav a {
      color: #ddd;
      font-weight: 500;
      font-size: 1rem;
      padding: 12px 16px;
      border-radius: 8px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus {
      background: rgba(100, 149, 237, 0.1);
      color: #6495ED;
    }

    .mobile-buttons {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Header buttons */
    .header-buttons {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .btn-login {
      background-color: #4CAF50;
      color: white;
      border-radius: 6px;
      padding: 8px 14px;
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 6px;
      border: none;
      transition: background-color 0.3s ease;
    }
    
    .btn-login:hover,
    .btn-login:focus {
      background-color: #45a049;
      outline: none;
    }

    .btn-discord {
      background-color: #5865F2;
      color: white;
      border-radius: 6px;
      padding: 8px 14px;
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 6px;
      border: none;
      transition: background-color 0.3s ease;
    }
    
    .btn-discord:hover,
    .btn-discord:focus {
      background-color: #4752c4;
      outline: none;
    }
    
    .btn-discord .material-icons,
    .btn-login .material-icons {
      font-size: 18px;
    }

    /* ===================== HERO ===================== */
    main.hero-section {
      flex: 1 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 4rem 1rem 2rem;
      background: linear-gradient(135deg, #121826cc 0%, #11264fcc 100%);
      position: relative;
      overflow: hidden;
    }

    .hero-content h1 {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      font-weight: 900;
      letter-spacing: 0.05em;
      color: #7ea1ff;
      background: linear-gradient(90deg, #5A7FFF, #9FCFFF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 1rem;
    }

    .hero-content p {
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto 2.5rem;
      color: #d4d8e2dd;
      line-height: 1.6;
    }

    /* ===================== GAMES SECTION ===================== */
    .games-section {
      padding: 4rem 1rem;
      background: linear-gradient(135deg, #11264fcc 0%, #121826cc 100%);
      text-align: center;
    }

    .games-section h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #6495ED;
      margin-bottom: 3rem;
      background: linear-gradient(90deg, #5A7FFF, #9FCFFF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      max-width: 800px;
      margin: 0 auto;
    }

    .game-card {
      background: linear-gradient(145deg, #1a2332, #0f1419);
      border: 1px solid rgba(100, 149, 237, 0.2);
      border-radius: 16px;
      padding: 2rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .game-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #5A7FFF, #9FCFFF);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 32px rgba(100, 149, 237, 0.3);
      border-color: rgba(100, 149, 237, 0.5);
    }

    .game-card:hover::before {
      opacity: 1;
    }

    .game-icon {
      font-size: 3rem;
      color: #6495ED;
      margin-bottom: 1rem;
      display: block;
    }

    .game-card h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 1rem;
    }

    .game-card p {
      color: #b8c5d1;
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .btn-play {
      background: linear-gradient(135deg, #6495ED, #4169E1);
      color: white;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 12px rgba(100, 149, 237, 0.3);
    }

    .btn-play:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(100, 149, 237, 0.4);
      background: linear-gradient(135deg, #557bc1, #3654c4);
    }

    /* ===================== TEAM SECTION ===================== */
    .team-section {
      padding: 4rem 1rem;
      text-align: center;
      background: linear-gradient(135deg, #121826cc 0%, #11264fcc 100%);
    }

    .team-section h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #6495ED;
      margin-bottom: 3rem;
      background: linear-gradient(90deg, #5A7FFF, #9FCFFF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .team-section h2 span {
      color: white;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1000px;
      margin: 0 auto;
    }

    .team-member {
      background: linear-gradient(145deg, #1a2332, #0f1419);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 2rem;
      color: white;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      
    }

    .team-member:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(100, 149, 237, 0.2);
    }

    .team-member img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 3px solid #6495ED;
      margin-bottom: 1rem;
      transition: border-color 0.3s ease;
    }

    .team-member:hover img {
      border-color: #9FCFFF;
    }

    .team-member h3 {
      font-size: 1.2rem;
      margin: 0 0 0.5rem 0;
      color: #6495ED;
      font-weight: 600;
    }

    .team-member p {
      font-size: 0.9rem;
      color: #cbd5e1;
      margin: 0;
    }

    /* ===================== FOOTER ===================== */
    footer {
      background-color: #121826;
      padding: 2rem 1rem;
      color: #666f8a;
      font-size: 0.9rem;
      text-align: center;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    footer a {
      color: #6495ED;
      font-weight: 600;
    }
    
    footer a:hover,
    footer a:focus {
      color: #557bc1;
      text-decoration: underline;
      outline: none;
    }

    /* ===================== RESPONSIVE ===================== */
    @media (max-width: 767px) {
      .menu-toggle {
        display: flex;
      }

      .desktop-nav {
        display: none;
      }

      .mobile-nav {
        display: block;
      }

      .header-buttons {
        display: none;
      }
      
      main.hero-section {
        padding: 3rem 1rem 2rem;
      }
      
      .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      
      .game-card {
        padding: 1.5rem;
      }
      
      .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
      }
    }

    
    @media (min-width: 768px) and (max-width: 1023px) {
      .container {
        max-width: 720px;
      }
      
    }
    
    @media (min-width: 1024px) and (max-width: 1439px) {
      .container {
        max-width: 960px;
      }
    }
    
    @media (min-width: 1440px) {
      .container {
        max-width: 1140px;
      }
    }
    @media (max-width: 768px) {
      .top_bar {
        display: none;
      }
    }

    @media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .header-buttons {
    display: none;
  }

  main.hero-section {
    padding: 3rem 1rem 2rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .game-card {
    padding: 1.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr; /* forza 1 colonna */
    gap: 1.5rem;
  }

  .team-section {
    padding: 2rem 1rem;
  }

  .team-member {
    padding: 1.5rem;
  }

  .team-member img {
    width: 70px;
    height: 70px;
  }

  .team-member h3 {
    font-size: 1rem;
  }

  .team-member p {
    font-size: 0.85rem;
  }
}
.btn-play {
  text-decoration: none;
}

    