/* header_tgp.css — self-contained, scoped under .header_tgp */


.header_tgp {
  --tgp-backdrop: blur(8px);
  --tgp-text: #f4f6fb;
  --tgp-border: #222227;
  --tgp-accent: #7cf2d0;
  --tgp-panel: #12141a;
  box-sizing: border-box;
}

/* Reset box-sizing inside header scope */
.header_tgp, .header_tgp * { box-sizing: inherit; }

.lang-menu_tgp button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 3px;
  margin: 2px;
}

.lang-menu_tgp-button:hover {
  background-color: var(--tgp-accent);
  color: var(--tgp-border);
  border: 2px solid var(--tgp-accent);
}

.profileMenu-hr_tgp {
  border: none;
  border-top: 2px solid #ffffff;
  margin: 0px 0;
}


/* NAV container */
.header_tgp .nav_tgp {
  position: fixed;
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  padding:12px 20px; 
  background:rgba(13,13,15,.36);
  backdrop-filter:var(--tgp-backdrop); 
  border-bottom:1px solid var(--tgp-border);
  position:relative; 
  z-index:1200;
}

/* Menu */
.header_tgp .menu_tgp { flex:1; display:flex; justify-content:center; gap:20px; list-style:none; margin:0; padding:0; padding-right:12%; }
.header_tgp .menu_tgp a {
  color:var(--tgp-text); text-decoration:none; font-weight:600; padding:8px 6px; border-radius:6px;
  position:relative; transition:color .2s; display:inline-block;
}
.header_tgp .menu_tgp a::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:transparent; transition:background .16s ease; }
.header_tgp .menu_tgp a:hover { color:var(--tgp-accent); }
.header_tgp .menu_tgp a:hover::after { background:var(--tgp-accent); }

/* Dropdown (logo) ANCIEN
.header_tgp .dropdown_tgp { position:relative; }
.header_tgp .dropbtn_tgp { background:none; border:0; padding:0; cursor:pointer; }
.header_tgp .dropdown-content_tgp {
  display:none; position:absolute; top:100%; left:0; background:rgba(17,17,17,.73); padding:10px; min-width:200px;
  box-shadow:0 8px 18px rgba(0,0,0,.45); border-radius:6px;
}
.header_tgp .dropdown-content_tgp img { width:100%; border-radius:6px; transition:transform .18s ease; display:block; }
.header_tgp .dropdown_tgp.open > .dropdown-content_tgp,
.header_tgp .dropdown_tgp:hover > .dropdown-content_tgp { display:block; }
*/

/* Dropdown  NOUVEAUX */
.dropdown_tgp { position: relative; }

.dropdown-trigger_tgp { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: transparent; 
    border: none; color: rgba(255, 255, 255, 0.9); font-weight: 500; font-size: 16px; cursor: pointer; transition: color 0.2s ease; }

.dropdown-trigger_tgp:hover { color: white; }

.dropdown-trigger_tgp-globe:hover { color: rgba(192, 192, 192, 1); transform: scale(1.0);}

.dropdown-trigger_tgp-profil:hover { color: white; transform: scale(1.0); }

.dropdown-trigger_tgp .chevron { transition: transform 0.3s ease; }

.dropdown_tgp:hover .dropdown-trigger_tgp .chevron {
    transform: rotate(180deg);
}
/* Dropdown Content - Hidden by default */
.dropdown-content_tgp {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(26, 26, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content_tgp-globe {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    margin-left: -200px;
    background: rgba(26, 26, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content_tgp-profil {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    margin-left: -250px;
    background: rgba(26, 26, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

/* Show dropdown on hover  transform: scale(1.25); */
.dropdown_tgp:hover .dropdown-content_tgp {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_tgp:hover .dropdown-content_tgp-globe {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_tgp:hover .dropdown-content_tgp-profil {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Gradient Overlay */
.dropdown-gradient_tgp {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, transparent 0%, transparent 50%, rgba(36, 93, 251, 0.1) 100%),
        linear-gradient(225deg, transparent 0%, transparent 50%, rgba(63, 172, 244, 0.1) 100%);
    pointer-events: none;
}

/* Columns Container */
.dropdown-columns_tgp {
    position: relative;
    display: flex;
}

.dropdown-column_tgp {
    padding: 24px;
    min-width: 240px;
}

.dropdown-column_tgp:last-child {
    min-width: 280px;
}

/* Column Separator */
.column-separator_tgp {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 24px 0;
}
/* Column Separator 2 */
.column-separator2_tgp {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 24px 0;
}

/* Menu Section */
.menu-section_tgp {
    margin-bottom: 24px;
}

.menu-section_tgp:last-child {
    margin-bottom: 0;
}

.section-title_tgp {
    color: white;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
    padding: 0 12px;
}

/* Menu Item */
.menu-item_tgp {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    
}

.button-tgp_add-opaque {
    display: flex;
    gap: 12px;
    padding: 8px 12px;
    margin: 7px
    
}

.menu-item_tgp:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-item_tgp img {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.menu-item_tgp:hover img {
    color: white;
}

.menu-item_tgp span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.menu-item_tgp:hover span {
    color: white;
}

/* Séparateur vertical */
        .separator {
            width: 1px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.15);
        }

/* Logo */
        .project-logo_tgp {
            display: flex;
            align-items: center;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 6px;
            margin-left: 4px;
            transition: background-color 0.2s ease;
        }

       /* .project-logo_tgp:hover {
            background-color: rgba(255, 255, 255, 0.08);
        } */

        .project-text_tgp {
            font-family: 'Inter', sans-serif;
            font-weight: 800;
            font-size: 20px;
            letter-spacing: 2px;
            color: white;
            text-transform: uppercase;
            position: relative;
        }

        /* Section centrale - Navigation */
        .header-center_tgp {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* Section droite - Actions */
        .header-right {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        /* Barre de recherche */
        .search-bar_tgp {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            padding: 8px 14px;
            gap: 10px;
            min-width: 180px;
            transition: all 0.2s ease;
        }

        .search-bar_tgp:hover,
        .search-bar_tgp:focus-within {
            background-color: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .search-bar_tgp img {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
        }

        .search-bar_tgp input {
            background: transparent;
            border: none;
            outline: none;
            color: white;
            font-size: 13px;
            width: 100%;
        }

        .search-bar_tgp input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }
        /* Icône Globe */
        .globe-btn_tgp {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .globe-btn_tgp:hover {
            background-color: rgba(255, 255, 255, 0.08);
            color: white;
        }

        .globe-btn_tgp svg {
            font-size: 18px;
        }

        /* Bouton Se connecter */
        .btn-login_tgp {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 20px;
            background: none;
            border: 0;
            border-radius: 8px;
            color: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            font-family: inherit;
        }

        .btn-login_tgp:hover {
            background-color: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.25);
        }

        /* Menu hamburger */
    .hamburger-menu_tgp { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; 
                        cursor: pointer; border-radius: 8px; transition: background-color 0.2s ease; gap: 5px; }
    .hamburger-menu_tgp:hover { background-color: rgba(255, 255, 255, 0.08); }
    .hamburger-menu_tgp span { display: block; width: 20px; height: 2px; background-color: rgba(255, 255, 255, 0.8); border-radius: 2px; transition: all 0.3s ease; }



/* Responsive */
@media (max-width:980px) {
    .header_tgp .burger_tgp { display:flex; }
    .header_tgp .menu_tgp { display:none; position:absolute; left:0; right:0; top:60px; background:rgba(12,14,18,.96); backdrop-filter:var(--tgp-backdrop); border-bottom:1px solid var(--tgp-border); flex-direction:column; padding:8px 12px; z-index:1100; }
    .header_tgp .menu_tgp.is-open_tgp { display:flex; }
    .header_tgp .menu_tgp li { padding:4px 0; }
}

@media (max-width: 768px) {
    .dropdown-columns {
        flex-direction: column;
    }

    .column-separator_tgp {
        width: 100%;
        height: 1px;
        margin: 0 24px;
    }
}
@media (min-width: 1500px) {
            .header-center_tgp {
                display: flex;
            }
            .nav-reduced_tgp {
                display: none;
            }
            .hamburger-menu_tgp {
                display: none;
            }
        }

        /* Desktop standard (1300px - 1499px) - Navigation complète mais compacte */
        @media (max-width: 1499px) and (min-width: 1300px) {
            .header-center_tgp {
                display: flex;
                gap: 2px;
            }
            .nav-item_tgp {
                padding: 10px 8px;
                font-size: 12px;
            }
            .search-bar_tgp {
                min-width: 120px;
            }
        }

        /* Tablette très large (1100px - 1299px) - Navigation réduite + tous boutons */
        @media (max-width: 1299px) and (min-width: 1100px) {
            .header-center_tgp {
                display: none;
            }
            .nav-reduced_tgp {
                display: flex;
            }
            .search-bar_tgp {
                min-width: 120px;
            }
        }

        /* Tablette large (900px - 1099px) - Navigation réduite + recherche + globe */
        @media (max-width: 1099px) and (min-width: 900px) {
            .header-center_tgp {
                display: none;
            }
            .nav-reduced_tgp {
                display: flex;
            }
            .search-bar_tgp {
                min-width: 100px;
            }
            .btn-login_tgp {
                display: none;
            }
        }

        /* Tablette (750px - 899px) - Navigation réduite, pas de recherche/login/globe */
        @media (max-width: 899px) and (min-width: 750px) {
            .header-center_tgp {
                display: none;
            }
            .nav-reduced_tgp {
                display: flex;
            }
            .search-bar_tgp {
                display: none;
            }
            .globe-btn_tgp {
                display: none;
            }
            .btn-login_tgp {
                display: none;
            }
        }

        /* Petite tablette (600px - 749px) - Logo + Download + Hamburger */
        @media (max-width: 749px) and (min-width: 600px) {
            .header_tgp {
                padding: 0 16px;
            }
            .header-center_tgp {
                display: none;
            }
            .nav-reduced_tgp {
                display: none;
            }
            .search-bar_tgp {
                display: none;
            }
            .globe-btn_tgp {
                display: none;
            }
            .btn-login_tgp {
                display: none;
            }
            .hamburger-menu_tgp {
                display: flex;
            }
        }

        /* Mobile large (450px - 599px) */
        @media (max-width: 599px) and (min-width: 450px) {
            .header {
                padding: 0 12px;
            }
            .header-center_tgp {
                display: none;
            }
            .nav-reduced_tgp {
                display: none;
            }
            .search-bar_tgp {
                display: none;
            }
            .globe-btn_tgp {
                display: none;
            }
            .btn-login_tgp {
                display: none;
            }
            .hamburger-menu_tgp {
                display: flex;
            }
            .btn-download_tgp {
                padding: 8px 16px;
                font-size: 12px;
            }
            .fortnite-text_tgp {
                font-size: 18px;
                letter-spacing: 1.5px;
            }
        }

        /* Mobile (moins de 450px) */
        @media (max-width: 449px) {
            .header {
                padding: 0 10px;
                height: 56px;
            }
            .header-left {
                gap: 8px;
            }
            .epic-logo {
                padding: 6px 8px;
            }
            .epic-logo-icon {
                width: 20px;
                height: 24px;
            }
            .epic-chevron {
                font-size: 8px;
            }
            .project-logo_tgp {
                padding: 6px 8px;
            }
            .project-text_tgp {
                font-size: 16px;
                letter-spacing: 1px;
            }
            .header-center {
                display: none;
            }
            .nav-reduced {
                display: none;
            }
            .search-bar {
                display: none;
            }
            .globe-btn {
                display: none;
            }
            .btn-login {
                display: none;
            }
            .hamburger-menu {
                display: flex;
                width: 36px;
                height: 36px;
            }
            .hamburger-menu span {
                width: 18px;
            }
            .btn-download {
                padding: 8px 12px;
                font-size: 11px;
                border-radius: 6px;
            }
            .header-right {
                gap: 8px;
            }
            .search-bar_tgp {
                display: none;
            }

            .dropdown_tgp img {
                width: 160.85px;
                height: 30px;
            }
        }

        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #121212;
            z-index: 999;
            padding: 20px;
            flex-direction: column;
            gap: 8px;
            overflow-y: auto;
        }

        .mobile-menu-overlay.active {
            display: flex;
        }

        .mobile-menu-overlay .mobile-nav-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            border-radius: 8px;
            transition: background-color 0.2s ease;
        }

        .mobile-menu-overlay .mobile-nav-item:hover {
            background-color: rgba(255, 255, 255, 0.08);
        }

        .mobile-menu-overlay .mobile-nav-item i {
            color: rgba(255, 255, 255, 0.5);
            font-size: 12px;
        }

        .mobile-menu-overlay .mobile-search {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 10px;
            padding: 14px 18px;
            gap: 12px;
            margin-bottom: 16px;
        }

        .mobile-menu-overlay .mobile-search i {
            color: rgba(255, 255, 255, 0.5);
            font-size: 16px;
        }

        .mobile-menu-overlay .mobile-search input {
            background: transparent;
            border: none;
            outline: none;
            color: white;
            font-size: 15px;
            width: 100%;
            font-family: inherit;
        }

        .mobile-menu-overlay .mobile-search input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .mobile-menu-overlay .mobile-actions {
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-menu-overlay .mobile-btn-login {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px 24px;
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            color: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
        }

        .mobile-menu-overlay .mobile-btn-login:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        @media (max-width: 399px) {
            .mobile-menu-overlay {
                top: 56px;
            }
        }

        .project-text_tgp img {visibility: hidden; background-image: url("#");} .separator {visibility: hidden;}