/* ========================= RESET ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #ddd;
  background-color: #0a0a0a;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================= CONTAINER ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================= HEADER ========================= */
.header {
  background-color: #111;
  border-bottom: 2px solid #FF6B35;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
  padding: 0 !important;
  width: 100%;
}

.header .container {
  padding: 0 40px 0 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100% !important;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  margin: 0;
  padding: 0 !important;
  width: 100%;
}

/* ========================= LOGO (versione più piccola) ========================= */
.logo {
  height: 50px;
  display: flex;
  align-items: center;
  margin-left: 5px; /* piccolo spazio a sinistra */
}


.logo-img {
  max-height: 50%; 
  max-width: 50px; /* prima 120px → ora ancora più piccolo */
  width: auto;
  height: auto;
  object-fit: contain;
}



.logo h1 {
  color: white;
  font-size: 1.8rem;
  display: none;
}

.logo span {
  color: #FF6B35;
  margin-left: 5px;
}

/* ========================= MENU DESKTOP ========================= */
.nav-desktop {
  margin-left: auto !important;
}

.nav-desktop ul {
  display: flex;
  gap: 30px;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-end;
  align-items: center;
}

.nav-desktop ul li {
  position: relative;
}

.nav-desktop a {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 0;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-desktop a:hover {
  color: #FF6B35;
}

.nav-desktop a i {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* ========================= DROPDOWN DESKTOP ========================= */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1a1a;
  min-width: 150px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;  /* 👈 rende tutto in colonna */
  gap: 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  width: 100%;
  padding: 15px 20px; /* più grande e comodo */
  color: #ddd;
  font-size: 1.1rem;
  border-bottom: 1px solid #262626;
}
.dropdown-menu {
  gap: 0 !important;  /* elimina qualsiasi spazio tra le voci */
}


.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #222;
  color: #FF6B35;
}

/* ========================= MENU MOBILE ========================= */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.mobile-toggle:hover {
  color: #FF6B35;
}

.nav-mobile {
  display: none;
  background-color: #111;
  border-top: 1px solid #333;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-mobile.active {
  display: block;
  max-height: 1000px;
}

.nav-mobile ul {
  padding: 0;
}

.nav-mobile li {
  border-bottom: 1px solid #333;
}

.nav-mobile li:last-child {
  border-bottom: none;
}

.nav-mobile a {
  color: white;
  padding: 15px 20px;
  display: block;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.nav-mobile a:hover {
  background-color: #222;
}

/* ========================= DROPDOWN MOBILE ========================= */
.dropdown-mobile {
  position: relative;
}

.dropdown-menu-mobile {
  background-color: #1a1a1a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.dropdown-menu-mobile.active {
  max-height: 300px;
}

.dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* ========================= HERO SLIDER ========================= */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  margin-bottom: 80px;
}

.slider-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide:nth-child(1) {
  background-image:  url('images/img\ 1.jpeg');
}

.slide:nth-child(2) {
  background-image:  url('images/img\ 2.jpeg');
}

.slide:nth-child(3) {
  background-image:  url('images/');
}

.slide-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.slide-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FF6B35;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 107, 53, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: #FF6B35;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #FF6B35;
}

.dot:hover {
  background-color: rgba(255, 107, 53, 0.8);
}

/* ========================= GAMES SECTION ========================= */
.games-section {
  padding: 80px 0;
  background-color: #111;
}
h2{
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: #aaa;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.game-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
  border-color: #FF6B35;
}

.game-image {
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-info {
  padding: 25px;
}

.game-info h3 {
  color: #FF6B35;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.game-info p {
  color: #aaa;
  margin-bottom: 20px;
}

.game-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag {
  background-color: #333;
  color: #FF6B35;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #444;
}

/* ========================= UPCOMING SECTION ========================= */
.upcoming-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.upcoming-card {
  background-color: #111;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FF6B35;
  border: 1px solid #333;
}

.upcoming-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
  border-color: #FF6B35;
}

.upcoming-icon {
  font-size: 3rem;
  color: #FF6B35;
  margin-bottom: 20px;
}

.upcoming-card h3 {
  color: #FF6B35;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.upcoming-card p {
  color: #aaa;
  margin-bottom: 20px;
}

.release-date {
  display: inline-block;
  background-color: #222;
  color: #FF6B35;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #333;
}

/* ========================= FOOTER ========================= */
.footer {
  background-color: #111;
  color: #aaa;
  padding: 60px 0 30px;
  border-top: 2px solid #222;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info p {
  margin-top: 15px;
  line-height: 1.8;
  color: #aaa;
}

.footer-logo {
  height: 50px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo-img {
  height: 100%;
  width: auto;
}

.footer-logo h2 {
  color: white;
  font-size: 1.8rem;
  display: none;
}

.footer-logo span {
  color: #FF6B35;
}

.social-media h3,
.footer-links h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #222;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.social-icons a:hover {
  background-color: #FF6B35;
  transform: translateY(-5px);
  border-color: #FF6B35;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FF6B35;
}

copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #222;
  color: #777;
  font-size: 0.9rem;
}

copyright a {
  color: #FF6B35;
}

copyright a:hover {
  color: #FFD166;
}

/* ========================= MEDIA QUERIES ========================= */
@media (max-width: 992px) {
  .slide-content h2 { font-size: 2.8rem; }
  .slide-content p { font-size: 1.3rem; }
  .games-grid, .upcoming-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .header-content { padding: 0; }
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
  .nav-mobile { display: block; }
  .hero-slider { height: 70vh; min-height: 400px; margin-bottom: 60px; }
  .slide-content h2 { font-size: 2.2rem; }
  .slide-content p { font-size: 1.1rem; }
  .slider-btn { width: 40px; height: 40px; font-size: 1rem; }
  .games-grid, .upcoming-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .logo { height: 25px; } /* ultra piccolo su mobile */
  .header-content { height: 60px; padding: 0; }
  .nav-mobile { top: 60px; }
  .hero-slider { height: 60vh; min-height: 350px; margin-bottom: 50px; }
  .slide-content h2 { font-size: 1.8rem; }
  .slide-content p { font-size: 1rem; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .games-section, .upcoming-section { padding: 50px 0; }
}
/* ==================== WRAPPER CONTATTI ==================== */
.contact-wrapper { padding: 120px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 868px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero h1 { font-size: 3.5rem; }
}

/* Info colonna sinistra */
.contact-info h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}
.info-item {
  margin-bottom: 40px;
}
.info-item p { color: #bbb; }

/* Form bellissima */
.contact-form {
  background: #161616;
  padding: 45px;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid #333;
  color: #fff;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 0 3px rgba(0,170,255,0.15);
}
.btn-submit {
  background: #00aaff;
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}
.btn-submit:hover {
  background: #0092e4;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,170,255,0.3);
}
/* CENTRATURA DEL TESTO NELLA CARD */
.game-info {
    text-align: center;
}

/* BOTTONI LEARN MORE — GRANDI, CENTRATI, ARANCIONE-ROSSI */
.btn {
    display: inline-block;
    width: 70%;                     /* Larghezza bottone */
    max-width: 300px;               /* Limite massimo */
    padding: 14px 0;                /* Altezza */
    margin: 15px auto 0 auto;       /* Centra perfettamente */
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;

    background: linear-gradient(45deg, #ff4d00, #ff0000);
    border-radius: 14px;
    border: none;

    box-shadow: 
        0 0 12px rgba(255, 80, 0, 0.6),
        inset 0 0 8px rgba(255, 40, 0, 0.6);

    transition: 0.25s ease;
    cursor: pointer;
}

/* HOVER — EFFETTO GAMING */
.btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(45deg, #ff6a00, #ff1a00);
    box-shadow:
        0 0 18px rgba(255, 60, 0, 0.9),
        inset 0 0 12px rgba(255, 0, 0, 0.7);
}

/* CLICK */
.btn:active {
    transform: scale(0.96);
}
   .language-switcher {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(0,0,0,0.6);
            padding: 10px 16px;
            border-radius: 50px;
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,107,53,0.5);
            font-family: 'Poppins', sans-serif;
        }
        .language-switcher i { color: #FF6B35; font-size: 1.4em; }
        .language-switcher select {
            background: transparent;
            color: white;
            border: none;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            font-size: 1em;
        }
        .language-switcher select option { background: #111; color: white; }

        @media (max-width: 768px) {
            .language-switcher { padding: 8px 12px; gap: 8px; }
            .language-switcher i { font-size: 1.2em; }
            .language-switcher.mobile-lang { margin-top: 20px; justify-content: center; }
        }
        /* === MIGLIOR SPAZIATURA MENU + SELECT LINGUA === */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 20px; /* ← spazio extra tra logo/menu e selettore lingua */
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.6);
    padding: 11px 18px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,107,53,0.5);
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    margin-left: 30px;          /* ← SPAZIO EXTRA A SINISTRA (desktop) */
}

.language-switcher i { 
    color: #FF6B35; 
    font-size: 1.45em; 
}

.language-switcher select {
    background: transparent;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    font-size: 1em;
}

/* Mobile – anche qui più aria */
@media (max-width: 768px) {
    .header-content {
        gap: 15px;
    }
    .language-switcher {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }
    .language-switcher.mobile-lang {
        margin: 25px auto 10px;   /* ancora più respiro sotto il menu hamburger */
        padding: 12px 20px;
    }
}
        body { margin:0; background:#0f0f0f; color:#eee; font-family:'Poppins',sans-serif; }
        .container { max-width:1200px; margin:0 auto; padding:0 20px; }

        /* HEADER */
        .header-content {
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 20px; padding: 25px 0;
        }
        .logo img { height: 120px; }
        .nav-desktop ul { display:flex; gap:45px; list-style:none; margin:0; padding:0; }
        .nav-desktop a { color:#fff; text-decoration:none; font-weight:600; font-size:1.1em; transition:0.3s; }
        .nav-desktop a:hover { color:#FF6B35; }

        /* SELETTORE LINGUA - IDENTICO AL TEAM */
        .language-switcher {
            position: relative; display: flex; align-items: center; gap: 12px;
            background: rgba(0,0,0,0.6); padding: 11px 18px; border-radius: 50px;
            backdrop-filter: blur(12px); border: 1px solid rgba(255,107,53,0.5);
            font-family: 'Poppins', sans-serif; flex-shrink: 0; margin-left: 30px;
            cursor: pointer; transition: all 0.3s ease;
        }
        .language-switcher:hover {
            background: rgba(255,107,53,0.15); border-color: #FF6B35; transform: translateY(-2px);
        }
        .language-switcher i { color:#FF6B35; font-size:1.45em; transition:transform 0.4s; }
        .language-switcher:hover i { transform:rotate(360deg); }
        .language-switcher .current-lang-text { color:white; font-weight:600; font-size:1em; }

        .language-dropdown {
            position: absolute; top:100%; right:0; margin-top:10px;
            background:rgba(20,20,35,0.98); border:1px solid #FF6B35; border-radius:16px;
            min-width:180px; overflow:hidden; opacity:0; visibility:hidden;
            transform:translateY(-10px); transition:all 0.3s ease;
            box-shadow:0 10px 30px rgba(0,0,0,0.5); z-index:999;
        }
        .language-switcher:hover .language-dropdown { opacity:1; visibility:visible; transform:translateY(0); }
        .language-dropdown a { display:block; padding:12px 20px; color:#eee; text-decoration:none; font-weight:500; transition:0.3s; }
        .language-dropdown a:hover { background:#FF6B35; color:white; }
        .language-dropdown a.current { background:rgba(255,107,53,0.3); font-weight:700; }

        /* TIMELINE */
        .games-section { padding:100px 0; }
        .timeline { position:relative; margin:80px 0; padding-left:40px; }
        .timeline::before { content:''; position:absolute; left:20px; top:0; bottom:0; width:4px; background:#FF6B35; border-radius:2px; }
        .timeline-item { position:relative; margin-bottom:60px; }
        .timeline-year { position:absolute; left:-80px; top:0; background:#FF6B35; color:white; padding:8px 16px; border-radius:50px; font-weight:bold; font-size:1.1em; }
        .timeline-content { background:rgba(20,20,35,0.7); padding:25px; border-radius:16px; border-left:5px solid #FF6B35; backdrop-filter:blur(10px); }

        /* Nasconde completamente il selettore lingua su telefoni */
@media (max-width: 768px) {
    .language-switcher {
        display: none !important;
    }
}
/* Stili rapidi per il tasto Discord (puoi spostarli in style.css dopo) */
        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .discord-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #5865F2;
            color: white !important;
            padding: 10px 18px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
        }
        .discord-btn:hover {
            background: #4752c4;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
        }
        .discord-btn i {
            font-size: 20px;
        }
        .discord-text { 
            display: inline-block; 
        }

        /* Mobile: solo icona */
        @media (max-width: 992px) {
            .discord-text {
                display: none;
            }
            .discord-btn {
                padding: 12px;
                border-radius: 50%;
                width: 48px;
                height: 48px;
                justify-content: center;
            }
            .header-right {
                gap: 12px;
            }
        }
/* Nasconde il tasto Discord solo su mobile (fino a 992px) */
@media (max-width: 992px) {
    .header-right .discord-btn {
        display: none !important;
    }
}
/* Pulsante Steam desktop */
.steam-btn {
    display: inline-flex;
    align-items: center;
    background: #171a21;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.steam-btn:hover {
    background: #2a475e;
    transform: translateY(-2px);
}

.steam-btn i {
    margin-right: 8px;
    font-size: 1.3em;
}

/* Nasconde Steam nella barra in alto sui cellulari */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }
}

/* Stile voci Steam nel menu mobile (opzionale, per uniformità) */
.nav-mobile a[href*="steam"] {
    color: #fff;
    font-weight: 600;
}

.nav-mobile a[href*="steam"] i {
    margin-right: 10px;
    color: #66c0f4;
}
/* Stile pulsante flottante */
.hobbi-bot-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #5865F2;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 6px 25px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.hobbi-bot-button:hover { transform: scale(1.15); }

/* Finestra chatbot */
.hobbi-bot-container {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 370px;
    max-width: 92vw;
    height: 540px;
    background: #1e1f23;
    border-radius: 20px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.7);
    display: none;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    border: 3px solid #5865F2;
    z-index: 9998;
}
.hobbi-bot-header {
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 17px 17px 0 0;
}
.hobbi-bot-header .bot-logo { width: 40px; height: 40px; border-radius: 50%; }
.hobbi-bot-header h3 { margin:0; font-size:19px; }
.close-btn {
    margin-left: auto;
    background:none;
    border:none;
    color:white;
    font-size:32px;
    cursor:pointer;
    padding:0 12px;
    line-height: 1;
}

/* Area messaggi */
.hobbi-bot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #2c2f36;
}
.bot-message, .user-message {
    max-width: 82%;
    margin-bottom: 14px;
    padding: 12px 16px;
    border-radius: 20px;
    line-height: 1.5;
    animation: fadeIn 0.4s;
}
.bot-message {
    background: #5865F2;
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.user-message {
    background: #40444b;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Input */
.hobbi-bot-input-area {
    display: flex;
    padding: 14px;
    background: #1e1f23;
    border-top: 1px solid #333;
}
#hobbiBotInput {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 30px;
    background: #40444b;
    color: white;
    font-size: 15px;
}
#hobbiBotInput:focus { outline: 2px solid #5865F2; }
#hobbiBotSend {
    margin-left: 10px;
    background: #5865F2;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}
#hobbiBotSend:hover { background: #4752c4; }

@keyframes fadeIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }
/* ============================================= */
/*  game-page.css  –  CSS esterno per le pagine gioco  */
/*  Non tocca header, footer né HobbiBot           */
/* ============================================= */

.game-page .game-hero {
    height: 100vh;
    min-height: 680px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.95)), url('../images/placeholder.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.game-page .game-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    animation: scanline 12s linear infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.game-page .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.game-page .hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    margin: 0 0 1rem;
    background: linear-gradient(90deg, var(--color1), var(--color2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(255,255,255,0.3);
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 20px currentColor); }
    to   { filter: drop-shadow(0 0 50px currentColor); }
}

.game-page .game-badges {
    margin: 2.5rem 0;
}

.game-page .game-badges .tag {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    margin: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color1);
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.game-page .game-badges .tag:hover {
    background: var(--color1);
    color: #000;
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 0 30px var(--color1);
}

.game-page .btn-large {
    display: inline-block;
    padding: 1.3rem 4rem;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 60px;
    background: linear-gradient(45deg, var(--color1), var(--color2));
    color: #000;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.game-page .btn-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Sezione contenuto */
.game-content-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.game-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.game-info-grid iframe {
    width: 100%;
    height: 400px;
    border: 3px solid var(--color1);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.7);
}

.features-list {
    list-style: none;
    padding: 0;
    font-size: 1.4rem;
    line-height: 2.2;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.features-list i {
    color: var(--color1);
    margin-right: 1rem;
    font-size: 1.6rem;
}

/* Gallery */
.screenshots-gallery h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 4rem;
    background: linear-gradient(90deg, var(--color1), var(--color2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery img {
    width: 100%;
    border-radius: 16px;
    border: 2px solid var(--color1);
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.gallery img:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border-color: var(--color2);
}

/* Responsive */
@media (max-width: 968px) {
    .game-info-grid { grid-template-columns: 1fr; }
    .game-page .hero-content h1 { font-size: 5rem; }
}
/* Stili menu mobile - sottomenu About */
.nav-mobile .mobile-dropdown .mobile-submenu {
    display: none;
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.3);
}

.nav-mobile .mobile-dropdown.open .mobile-submenu {
    display: block;
}

.nav-mobile .mobile-dropdown .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-mobile .mobile-dropdown .dropdown-toggle i {
    transition: transform 0.3s ease;
}

.nav-mobile .mobile-dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}
/* LINGUA MOBILE → SOLO ICONA GLOBO */
@media (max-width: 768px) {
    .desktop-lang { display: none !important; }
    .mobile-language-toggle { 
        display: flex !important; 
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(0,0,0,0.6);
        border: 1px solid rgba(255,107,53,0.5);
        border-radius: 50%;
        color: #FF6B35;
        font-size: 1.5rem;
        cursor: pointer;
        backdrop-filter: blur(12px);
        transition: .3s;
    }
    .mobile-language-toggle:hover {
        background: rgba(255,107,53,0.2);
        transform: scale(1.1);
    }
}

@media (min-width: 769px) {
    .mobile-language-toggle,
    .mobile-lang-dropdown {
        display: none !important;
    }
}

.mobile-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 10px;
    margin-top: 12px;
    background: rgba(20,20,35,0.98);
    border: 1px solid #FF6B35;
    border-radius: 16px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    z-index: 9999;
}
.mobile-lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mobile-lang-dropdown a {
    display: block;
    padding: 14px 20px;
    color: #eee;
    text-decoration: none;
    font-weight: 500;
}
.mobile-lang-dropdown a:hover { background: #FF6B35; color: white; }
.mobile-lang-dropdown a.current { background: rgba(255,107,53,0.3); font-weight: 700; }