:root {
    --primary-color: linear-gradient(180deg, #4E4376, #000DFF, #29323C);
    --primary-solid: #2e3c29;
    --secondary-color: #6c757d;
    --success-color: #59ff00;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #2ab817;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #343a40;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --main-font: 'Poppins', sans-serif;
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-overlay: 900;
    --z-sidebar: 1000;
    --z-hamburger: 1001;
    --z-modal: 9999;
    --hero-bg-image: url('https://bf31-69promax.com/downloads/background.jpg');
    --hero-devices-image: url('https://bf31-69promax.com/images/logo-topstreaming.png');
}

html {
    height: 100%;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: var(--main-font);
    height: auto !important;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Body spécifique à la page d'accueil avec margin-left */
body.page-accueil {
    margin-left: 60px !important;
    background: linear-gradient(90deg, #000, #4E4376, #29323C) !important;
}

body.sidebar-open {
    overflow: hidden;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
    overflow: visible;
}

/* ==================== NOTIFICATIONS ==================== */
.notification-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 600px;
    animation: fadeInCenter 0.3s ease-in-out;
}

.notification-center .alert {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 2px solid transparent;
    padding: 20px 25px;
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(10px);
}

.notification-center .alert-success {
    background: linear-gradient(180deg, #303132, #1dce02, #303132);
    border-color: rgb(255, 255, 255);
    color: white;
    margin-left: 50px;
}

.notification-center .alert-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.notification-center .alert .close {
    color: rgb(255, 251, 251);
    opacity: 0.8;
    position: absolute;
    top: 4px;
    right: 1px;
}

.notification-center .alert .close:hover {
    opacity: 1;
    color: rgb(246, 8, 8);
}

@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeOutCenter {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}

/* ==================== ANCIENS STYLES SIDEBAR (CACHÉS) ==================== */
/*.hamburger-btn,*/
/*.sidebar,*/
/*.sidebar-overlay,*/
/*.sidebar-header,*/
/*.sidebar-close {*/
/*    display: none !important;*/
/*}*/

/* ==================== NOUVELLE SIDEBAR ==================== */
body.page-accueil .new-sidebar {
    width: 60px;
    height: 100vh;
    border-radius: 20px;
    margin-top: -55px;
    margin-left: -5px;
    background: linear-gradient(90deg, #000, #4E4376, #19191a);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: width 0.5s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: fixed;
    left: 10px;
    top: 60px;
    z-index: var(--z-sidebar);
    animation: sidebarSlideIn 0.5s ease-out;
}

body.page-accueil .new-sidebar:hover {
    width: 300px;
}

body.page-accueil .new-sidebar-content {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

body.page-accueil .new-sidebar-content li {
    padding: 20px;
    height: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 5px;
    color: #fff;
    transition: background 0.3s;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

body.page-accueil .new-sidebar-content li:hover {
    background: linear-gradient(180deg, #4E4376, #E85A19, #29323C);
}

body.page-accueil .new-sidebar-content li span {
    font-size: 20px;
    margin-right: 10px;
    transition: margin 0.5s ease-in-out;
    color: #fff;
}

body.page-accueil .new-sidebar-content li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

body.page-accueil .new-sidebar-content li a span.text {
    display: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

body.page-accueil .new-sidebar:hover .new-sidebar-content li a span.text {
    display: inline;
}

body.page-accueil .new-sidebar-content li a span.material-icons {
    transition: transform 0.3s;
}

body.page-accueil .new-sidebar:hover .new-sidebar-content li a span.material-icons {
    transform: rotate(360deg);
}

body.page-accueil .new-sidebar-content li.active {
    background: linear-gradient(180deg, #E85A19, #4E4376, #29323C);
}

body.page-accueil .sidebar-logo-container {
    width: 100%;
    text-align: center;
    padding: 20px 10px;
    margin-top: 55px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.page-accueil .sidebar-logo-container img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

body.page-accueil .sidebar-logo-container img:hover {
    transform: scale(1.05);
}

@keyframes sidebarSlideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==================== NAVBAR ==================== */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    top: 0;
    z-index: calc(var(--z-sidebar) - 1);
    min-height: 80px;
    background: linear-gradient(180deg, #29323C, #f8f6f6, #29323C) !important;
    border-bottom: 5px solid var(--primary-solid);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2e3c29;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
}

.navbar-home-icon i {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.navbar-home-icon:hover {
    color: #03ff29;
    transform: translateY(-50%) scale(1.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-solid) !important;
    font-size: 1.1rem;
    margin-left: 80px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-brand:hover {
    transform: scale(1.1);
    color: #fa0000 !important;
}

/* ==================== INFOS UTILISATEUR ==================== */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(180deg, #29323C, #E85A19, #29323C);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(232, 90, 25, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #393838;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.user-credits {
    font-size: 0.85rem;
    color: #000DFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-credits i {
    color: #E85A19;
    font-size: 0.8rem;
}

/* ==================== BOUTON RAFRAÎCHIR ==================== */
.refresh-credits-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #4E4376, #55ff00, #4E4376) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 6px 20px !important;
    font-size: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 5px rgba(0, 13, 255, 0.3) !important;
    margin-left: 5px !important;
}

.refresh-credits-btn i {
    font-size: 0.9rem;
    transition: transform 0.5s ease;
}

.refresh-credits-btn:hover {
    background: linear-gradient(180deg, #02fc0a, #4E4376, #02fc0a) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(221, 214, 1, 0.53) !important;
}

.refresh-credits-btn:hover i {
    transform: rotate(360deg);
}

/* ==================== BOUTONS NAVBAR ==================== */
.navbar .btn-outline-primary,
.navbar .btn-primary,
.navbar a[href*="mon-compte"].btn-outline-primary,
.navbar .btn-logout,
.navbar .btn-outline-warning {
    border-radius: 5px !important;
    padding: 8px 20px !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-decoration: none !important;
}

.navbar .btn-outline-primary {
    background: linear-gradient(180deg, #29323C, #2ff603, #29323C) !important;
    color: white !important;
    border: 2px solid #03ff29 !important;
    box-shadow: 0 4px 15px rgba(3, 255, 41, 0.3) !important;
}

.navbar .btn-outline-primary:hover {
    background: linear-gradient(180deg, #4E4376, #03ff29, #4E4376) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(3, 255, 41, 0.4) !important;
    border-color: white !important;
}

.navbar .btn-primary {
    background: linear-gradient(180deg, #ac0101, #4E4376, #ac0101) !important;
    color: white !important;
    border: 2px solid #03ff29 !important;
    box-shadow: 0 4px 15px rgba(3, 255, 41, 0.3) !important;
    animation: buttonPulse 3s ease-in-out infinite;
}

.navbar .btn-primary:hover {
    background: linear-gradient(180deg, #4E4376, #000DFF, #4E4376) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 13, 255, 0.4) !important;
    border-color: rgb(2, 8, 111) !important;
    animation: none;
}

.navbar a[href*="mon-compte"].btn-outline-primary {
    background: linear-gradient(180deg, #29323C, #E85A19, #29323C) !important;
    color: white !important;
    border: 2px solid #E85A19 !important;
    box-shadow: 0 4px 15px rgba(232, 90, 25, 0.3) !important;
}

.navbar a[href*="mon-compte"].btn-outline-primary:hover {
    background: linear-gradient(180deg, #E85A19, #29323C, #E85A19) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(232, 90, 25, 0.4) !important;
    border-color: #29323C !important;
}

.navbar .btn-logout {
    background: linear-gradient(180deg, #29323C, #c82333, #29323C) !important;
    color: white !important;
    border: 2px solid #dc3545 !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
}

.navbar .btn-logout:hover {
    background: linear-gradient(180deg, #c82333, #29323C, #c82333) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4) !important;
    border-color: #29323C !important;
}

.navbar .btn-outline-warning {
    background: linear-gradient(180deg, #29323C, #ffc107, #29323C) !important;
    color: white !important;
    border: 2px solid #ffc107 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important;
}

.navbar .btn-outline-warning:hover {
    background: linear-gradient(180deg, #ffc107, #29323C, #ffc107) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4) !important;
    border-color: white !important;
}

.navbar .btn i {
    margin-right: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.navbar .btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(3, 255, 41, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(3, 255, 41, 0.5);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE NAVBAR ==================== */
@media (max-width: 991.98px) {
    .navbar .btn-outline-primary,
    .navbar .btn-primary,
    .navbar a[href*="mon-compte"].btn-outline-primary,
    .navbar .btn-logout,
    .navbar .btn-outline-warning {
        display: none !important;
    }
    
    .navbar .container {
        display: flex;
        align-items: center !important;
        justify-content: space-between;
        flex-wrap: nowrap;
        height: 80px;
        padding: 0 15px;
        position: relative;
    }
    
    .navbar-home-icon {
        left: 15px;
        font-size: 1.6rem;
        color: #3c3d3c;
        display: flex !important;
    }
    
    .navbar-brand {
        margin-left: 55px !important;
        font-size: 1.2rem !important;
        white-space: nowrap;
        line-height: 1;
        display: flex;
        align-items: center;
        height: 100%;
        padding: 0;
        transform: none !important;
    }
    
    .navbar-brand:hover {
        transform: none !important;
    }
    
    .navbar .ml-auto {
        margin-left: auto !important;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .navbar .ml-auto .d-flex {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end;
        gap: 8px;
        height: 100%;
        margin: 0;
        padding: 0;
        animation: none;
    }
    
    .navbar .user-info {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 5px 12px !important;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 40px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        height: auto;
        min-height: 50px;
        gap: 12px;
    }
    
    .navbar .user-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .navbar .user-details {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.3;
    }
    
    .navbar .user-name {
        font-size: 0.9rem;
        color: #201f1f;
        font-weight: 600;
        margin: 0;
        padding: 0;
    }
    
    .navbar .user-credits {
        font-size: 0.8rem;
        color: #0008ff;
        margin: 0;
        padding: 0;
    }
    
    .navbar .refresh-credits-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        margin-left: 5px !important;
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        background: linear-gradient(180deg, #4E4376, #59ff00, #4E4376) !important;
        border: none !important;
        border-radius: 30px !important;
        height: 45px;
        white-space: nowrap;
    }
    
    .refresh-credits-btn:hover {
        background: linear-gradient(180deg, #02fc0a, #4E4376, #02fc0a) !important;
        transform: translateY(-2px) scale(1.02);
    }
    
    .navbar .refresh-credits-btn span {
        display: inline !important;
        margin-left: 5px;
    }
    
    .navbar .btn-primary {
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        height: 50px;
        padding: 0 25px !important;
        font-size: 0.95rem !important;
        border-radius: 40px !important;
        margin: 0;
    }
}

/* ==================== RESPONSIVE SIDEBAR ==================== */
@media (max-width: 1200px) {
    body.page-accueil .new-sidebar {
        width: 60px;
        height: 100vh !important;
    }
    
    body.page-accueil .new-sidebar:hover {
        width: 300px;
    }
}

@media (max-width: 992px) {
    body.page-accueil {
        margin-left: 60px !important;
    }
    
    body.page-accueil .new-sidebar {
        width: 55px;
        height: 100vh !important;
        left: 8px;
        top: 55px;
    }
    
    body.page-accueil .new-sidebar:hover {
        width: 300px;
    }
    
    body.page-accueil .new-sidebar-content li {
        padding: 18px;
        height: 15px;
    }
    
    body.page-accueil .new-sidebar-content li span {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body.page-accueil {
        margin-left: 55px !important;
    }
    
    body.page-accueil .new-sidebar {
        width: 50px;
        height: 100vh !important;
        left: 6px;
        top: 55px;
    }
    
    body.page-accueil .new-sidebar:hover {
        width: 220px;
    }
    
    body.page-accueil .new-sidebar-content li {
        padding: 16px;
        height: 15px;
    }
    
    body.page-accueil .new-sidebar-content li span {
        font-size: 17px;
    }
    
    body.page-accueil .sidebar-logo-container {
        margin-top: 50px;
        padding: 15px 8px;
    }
}

@media (max-width: 576px) {
    body.page-accueil {
        margin-left: 50px !important;
    }
    
    body.page-accueil .new-sidebar {
        width: 60px;
        height: 100vh !important;
        border-radius: 15px;
        left: 5px;
        top: 60px;
    }
    
    body.page-accueil .new-sidebar:hover {
        width: 280px;
    }
    
    body.page-accueil .new-sidebar-content li {
        padding: 20px;
        height: 20px;
        margin: 4px;
    }
    
    body.page-accueil .new-sidebar-content li span {
        font-size: 20px;
        margin-right: 8px;
    }
    
    body.page-accueil .sidebar-logo-container {
        margin-top: 30px;
        padding: 12px 5px;
    }
    
    body.page-accueil .sidebar-logo-container img {
        max-width: 70%;
    }
}

@media (max-width: 400px) {
    body.page-accueil {
        margin-left: 45px !important;
    }
    
    body.page-accueil .new-sidebar {
        width: 40px;
        height: 100vh !important;
        border-radius: 12px;
        left: 4px;
        top: 48px;
    }
    
    body.page-accueil .new-sidebar:hover {
        width: 180px;
    }
    
    body.page-accueil .new-sidebar-content li {
        padding: 12px;
        height: 13px;
        margin: 3px;
    }
    
    body.page-accueil .new-sidebar-content li span {
        font-size: 15px;
        margin-right: 6px;
    }
}

/* ==================== MODAL AUTH - STYLE MOBILE (INCHANGÉ) ==================== */
@media (max-width: 768px) {
    .auth-modal .modal-content {
        border-radius: 15px;
        border: none;
        box-shadow: 0 10px 40px rgba(2, 246, 71, 0.2);
    }

    .auth-modal .modal-header {
        background: var(--primary-color);
        color: white;
        border-radius: 15px 15px 0 0;
        padding: 20px;
        border-bottom: none;
    }

    .auth-modal .modal-header .close {
        color: white;
        opacity: 0.8;
        text-shadow: none;
    }

    .auth-modal .modal-header .close:hover {
        opacity: 1;
    }

    .auth-modal .modal-body {
        padding: 30px;
    }

    .auth-modal .nav-tabs {
        border-bottom: 2px solid var(--border-color);
        margin-bottom: 25px;
    }

    .auth-modal .nav-link {
        color: var(--text-light);
        font-weight: 600;
        border: none;
        padding: 12px 25px;
        border-radius: 8px 8px 0 0;
        transition: all 0.3s ease;
    }

    .auth-modal .nav-link:hover {
        color: var(--primary-solid);
        background-color: rgba(41, 50, 60, 0.05);
    }

    .auth-modal .nav-link.active {
        color: var(--primary-solid);
        background-color: rgba(41, 50, 60, 0.1);
        border-bottom: 3px solid var(--primary-solid);
    }

    .form-group {
        margin-bottom: 1.5rem;
        position: relative;
    }

    .form-label {
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--text-color);
        font-size: 0.9rem;
        display: flex;
        align-items: center;
    }

    .form-label i {
        margin-right: 8px;
        color: var(--primary-solid);
    }

    .form-control {
        border: 2px solid var(--border-color);
        border-radius: 8px;
        padding: 12px 15px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background-color: #fff;
    }

    .form-control:focus {
        border-color: var(--primary-solid);
        box-shadow: 0 0 0 0.2rem rgba(41, 50, 60, 0.25);
        outline: none;
    }

    .form-control.is-invalid {
        border-color: var(--danger-color);
    }

    .invalid-feedback {
        display: none;
        color: var(--danger-color);
        font-size: 0.85rem;
        margin-top: 5px;
    }

    .show-error {
        display: block;
    }

    .btn-auth {
        background: var(--primary-color);
        border: none;
        color: white;
        padding: 14px 30px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
        width: 100%;
        transition: all 0.3s ease;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
    }

    .btn-auth:hover {
        background: linear-gradient(45deg, #1a1f25, #29323c);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(41, 50, 60, 0.3);
    }

    .btn-auth:active {
        transform: translateY(0);
    }

    .password-toggle {
        position: absolute;
        right: 15px;
        top: 40px;
        background: none;
        border: none;
        color: var(--text-light);
        cursor: pointer;
        padding: 5px;
        z-index: 2;
    }

    .password-toggle:hover {
        color: var(--primary-solid);
    }

    .form-check {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .form-check-input {
        margin-right: 10px;
    }

    .form-check-label {
        font-size: 0.9rem;
        color: var(--text-light);
    }

    .form-check-label a {
        color: var(--primary-solid);
        text-decoration: none;
    }

    .form-check-label a:hover {
        text-decoration: underline;
    }

    .alert-auth {
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 20px;
        border: 1px solid transparent;
        font-size: 0.9rem;
    }

    .alert-success {
        background-color: #d4edda;
        border-color: #c3e6cb;
        color: #155724;
    }

    .alert-danger {
        background-color: #f8d7da;
        border-color: #f5c6cb;
        color: #721c24;
    }

    .alert-info {
        background-color: #d1ecf1;
        border-color: #bee5eb;
        color: #0c5460;
    }

    .alert-warning {
        background-color: #fff3cd;
        border-color: #ffeeba;
        color: #856404;
    }

    .auth-divider {
        text-align: center;
        margin: 25px 0;
        position: relative;
    }

    .auth-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border-color);
        z-index: 1;
    }

    .auth-divider span {
        background: var(--card-bg);
        padding: 0 15px;
        color: var(--text-light);
        font-size: 0.9rem;
        position: relative;
        z-index: 2;
    }

    .password-strength {
        font-size: 0.8rem;
        margin-top: 5px;
        padding: 4px 8px;
        border-radius: 3px;
        display: inline-block;
        font-weight: 600;
        margin-left: 10px;
        vertical-align: middle;
        position: relative;
        top: 2px;
    }

    .password-strength.strength-weak {
        background-color: #f8d7da;
        color: #ff0000;
        border: 1px solid #f5c6cb;
    }

    .password-strength.strength-medium {
        background-color: #fff3cd;
        color: #E85A19;
        border: 1px solid #ffeaa7;
    }

    .password-strength.strength-strong {
        background-color: #d4edda;
        color: #70F570;
        border: 1px solid #c3e6cb;
    }

    #password_inscription {
        padding-right: 50px;
    }

    .position-relative {
        position: relative;
    }

    #inscription .form-group .position-relative {
        margin-bottom: 5px;
    }

    #inscription .password-strength {
        margin-top: 2px;
        margin-bottom: 10px;
        display: block;
        width: auto;
        float: right;
        position: relative;
        top: -5px;
    }
}

/* ==================== MODAL AUTH - STYLE PC (STYLE MOBILE ADAPTÉ) ==================== */
@media (min-width: 769px) {
    .auth-modal .modal-content {
        border-radius: 24px;
        border: 1px solid rgba(3, 255, 41, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(3, 255, 41, 0.3);
        background: rgba(20, 25, 35, 0.75);
        backdrop-filter: blur(8px);
        overflow: hidden;
        animation: authSoftPulse 3s infinite;
    }

    .auth-modal .modal-header {
        background: linear-gradient(90deg, #000, #4E4376, #19191a);
        padding: 20px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        border-radius: 24px 24px 0 0;
    }

    .auth-modal .modal-header .modal-title {
        font-size: 1.3rem;
        font-weight: 700;
        background: linear-gradient(135deg, #ffffff, #03ff29);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .auth-modal .modal-header .close {
        color: white;
        opacity: 0.8;
        text-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        font-size: 1.2rem;
    }

    .auth-modal .modal-header .close:hover {
        background: #ff4444;
        transform: rotate(90deg);
    }

    .auth-modal .modal-body {
        padding: 30px 35px;
    }

    .auth-modal .nav-tabs {
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 25px;
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .auth-modal .nav-link {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
        font-size: 1rem;
        padding: 12px 25px;
        border-radius: 25px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid transparent;
    }

    .auth-modal .nav-link:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(3, 255, 41, 0.3);
    }

    .auth-modal .nav-link.active {
        color: white;
        background: linear-gradient(180deg, #03ff29, #4E4376, #03ff29);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(3, 255, 41, 0.3);
    }

    /* Style des formulaires */
    .auth-modal .form-group {
        margin-bottom: 1.5rem;
    }

    .auth-modal .form-label,
    .auth-modal .form-group label {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        margin-bottom: 8px;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

    .auth-modal .form-label i,
    .auth-modal .form-group label i {
        color: #03ff29;
        margin-right: 8px;
        font-size: 1rem;
    }

    .auth-modal .form-control {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 14px 18px;
        font-size: 1rem;
        color: white;
        transition: all 0.3s ease;
        height: auto;
    }

    .auth-modal .form-control:focus {
        border-color: #03ff29;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 3px rgba(3, 255, 41, 0.1);
    }

    .auth-modal .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    /* Style pour les champs de mot de passe */
    .auth-modal .password-field-wrapper {
        position: relative;
        width: 100%;
    }

    .auth-modal .password-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        z-index: 10;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .auth-modal .password-toggle:hover {
        color: #03ff29;
    }

    .auth-modal .password-toggle i {
        font-size: 1.2rem;
        pointer-events: none;
    }

    /* Padding pour laisser de la place à l'icône œil */
    .auth-modal .password-field-wrapper .form-control {
        padding-right: 50px;
    }

    .auth-modal .form-check {
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
    }

    .auth-modal .form-check-input {
        margin-right: 10px;
        width: 18px;
        height: 18px;
    }

    .auth-modal .form-check-label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
    }

    .auth-modal .form-check-label a {
        color: #03ff29;
        text-decoration: none;
    }

    .auth-modal .form-check-label a:hover {
        text-decoration: underline;
    }

    .auth-modal .btn-auth {
        background: linear-gradient(90deg, #01570f, #00cc22, #01570f);
        border: none;
        color: white;
        padding: 16px 25px;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        box-shadow: 0 0 15px rgba(3, 255, 41, 0.3);
        width: 100%;
        margin-top: 15px;
    }

    .auth-modal .btn-auth:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 25px rgba(3, 255, 41, 0.5);
        border-color: white;
    }

    .auth-modal .btn-auth i {
        margin-right: 8px;
    }

    .auth-modal .alert-auth {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: white;
        font-size: 0.95rem;
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .auth-modal .alert-success {
        background: rgba(3, 255, 41, 0.2);
        border-color: #03ff29;
    }

    .auth-modal .alert-danger {
        background: rgba(255, 71, 87, 0.2);
        border-color: #ff4757;
    }

    .auth-modal .alert-info {
        background: rgba(0, 123, 255, 0.2);
        border-color: #007bff;
    }

    .auth-modal .alert-warning {
        background: rgba(255, 193, 7, 0.2);
        border-color: #ffc107;
    }

    .auth-modal .password-strength {
        font-size: 0.85rem;
        padding: 6px 12px;
        border-radius: 12px;
        margin-top: 8px;
        display: inline-block;
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .auth-modal .password-strength.strength-weak {
        background: rgba(255, 71, 87, 0.3);
        color: #ff8a92;
    }

    .auth-modal .password-strength.strength-medium {
        background: rgba(255, 193, 7, 0.3);
        color: #ffd966;
    }

    .auth-modal .password-strength.strength-strong {
        background: rgba(3, 255, 41, 0.3);
        color: #8aff9a;
    }

    .auth-modal .text-center a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .auth-modal .text-center a:hover {
        color: #03ff29;
    }

    /* Animation de pulsation subtile */
    @keyframes authSoftPulse {
        0%, 100% {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(3, 255, 41, 0.3);
        }
        50% {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(3, 255, 41, 0.5);
        }
    }
}

/* ==================== HERO SECTION (REDIMENSIONNÉ COMME COMMENT-FONCTIONNE) ==================== */
/* ==================== HERO SECTION - VERSION MOBILE COMME COMMENT-FONCTIONNE.PHP ==================== */
/* ==================== HERO SECTION ==================== */
.hero-promo {
    min-height: 45vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        var(--hero-bg-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-attachment: fixed;*/
}

.hero-content {
    position: relative;
    z-index: var(--z-base);
    color: white;
    padding: 50px 0 30px;
    width: 100%;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: linear-gradient(45deg,
            #ffffff 0%,
            #29323c 25%,
            #1a1f25 50%,
            #ffffff 75%,
            #29323c 100%);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text-animation 4s ease-in-out infinite;
}

@keyframes gradient-text-animation {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-devices-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.hero-devices {
    background-image: var(--hero-devices-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 380px;
    height: 230px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    animation: float-reduced 6s ease-in-out infinite;
}

@keyframes float-reduced {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-cta {
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 5px;
    box-shadow: 0 6px 20px rgba(246, 206, 3, 0.28);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-decoration: none;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(198, 242, 2, 0.5);
    background: linear-gradient(180deg, #29323C, #E85A19, #29323C);
    color: white;
    text-decoration: none;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 35px;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.payment-methods img:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-1px);
}

.payment-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==================== HERO SECTION - VERSION MOBILE COMME COMMENT-FONCTIONNE.PHP ==================== */
@media (max-width: 768px) {
    .hero-promo {
        min-height: 35vh !important;
        padding: 0 !important;
    }
    
    .hero-content {
        padding: 35px 0 25px !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .hero-devices-container {
        margin: 15px 0 !important;
    }
    
    .hero-devices {
        width: 300px !important;
        height: 180px !important;
    }
    
    .hero-cta {
        font-size: 0.9rem !important;
        padding: 10px 25px !important;
    }
    
    .payment-methods {
        gap: 10px !important;
        margin-top: 20px !important;
    }
    
    .payment-methods img {
        height: 30px !important;
    }
    
    .payment-text {
        font-size: 0.8rem !important;
        margin-top: 20px !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 576px) {
    .hero-promo {
        min-height: 30vh !important;
    }
    
    .hero-content {
        padding: 30px 0 20px !important;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    
    .hero-devices {
        width: 260px !important;
        height: 155px !important;
    }
    
    .hero-cta {
        font-size: 0.85rem !important;
        padding: 8px 20px !important;
    }
    
    .payment-methods img {
        height: 28px !important;
    }
    
    .payment-text {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.2rem !important;
    }
    
    .hero-devices {
        width: 220px !important;
        height: 130px !important;
    }
    
    .hero-cta {
        font-size: 0.8rem !important;
        padding: 7px 18px !important;
    }
    
    .payment-methods img {
        height: 25px !important;
    }
}
/* ==================== PRODUITS (REDIMENSIONNÉ COMME COMMENT-FONCTIONNE) ==================== */
.products-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
}

.page-title-box {
    margin-bottom: 40px;
}

.page-title-box h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #29323C;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.page-title-box h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #03ff29, #000DFF);
    border-radius: 2px;
}

.page-title-box p {
    color: #4a5568;
    font-size: 0.95rem;
    max-width: 750px;
    margin: 15px auto 0;
}

.product-item {
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-solid);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(180deg, #29323C, #4E4376, #29323C);
    z-index: 1;
}

.product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: var(--z-dropdown);
}

.badge-product {
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(242, 3, 3, 0.15);
    display: flex;
    align-items: center;
    gap: 5px;
    animation: badgePulse 1s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 5px rgba(77, 246, 4, 0.99);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 5px rgb(255, 1, 1);
    }
}

.badge-populaire {
    background: linear-gradient(180deg, #13f402, #0b0b0b, #13f402);
    color: white;
}

.badge-meilleure_vente {
    background: linear-gradient(180deg, #f402ec, #0b0b0b, #f402ec);
    color: white;
}

.badge-nouveau {
    background: linear-gradient(180deg, #0b0b0b, #fe0202, #0b0b0b);
    color: white;
}

.badge-premium {
    background: linear-gradient(180deg, #cbf817, #0b0b0b, #cbf817);
    color: white;
}

.product-content-wrapper {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 12px 0;
    text-align: center;
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.product-features li {
    padding: 6px 0;
    position: relative;
    padding-left: 22px;
    color: var(--text-color);
    font-size: 0.85rem;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* ==================== MÉTADONNÉES PRODUITS (REDIMENSIONNÉ) ==================== */
.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 20px 0;
    padding: 12px 0;
    background: linear-gradient(135deg, rgba(41, 50, 60, 0.03), rgba(89, 255, 0, 0.03));
    border-radius: 8px;
    border: 2px solid rgba(5, 244, 44, 0.05);
    position: relative;
    overflow: hidden;
    animation: slideInMeta 0.6s ease-out 0.3s both;
}

.product-meta-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-solid), transparent);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 8px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.meta-item:nth-child(1) { animation-delay: 0.4s; }
.meta-item:nth-child(2) { animation-delay: 0.5s; }
.meta-item:nth-child(3) { animation-delay: 0.6s; }

.meta-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.249);
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.meta-item:hover .meta-icon {
    animation: iconFloat 0.8s ease-in-out;
    transform: scale(1.15);
}

.meta-icon {
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(41, 50, 60, 0.1), rgba(255, 255, 255, 0.8));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meta-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: ripple 1.5s linear infinite;
    pointer-events: none;
    opacity: 0;
}

.meta-item:hover .meta-icon::after {
    opacity: 1;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
        border-color: currentColor;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
        border-color: transparent;
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-6px) scale(1.08) rotate(4deg);
    }
    75% {
        transform: translateY(2px) scale(1.04) rotate(-2deg);
    }
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 4px;
}

.meta-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-solid), var(--success-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.meta-item:hover .meta-label::after {
    width: 35px;
}

.meta-value {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 4px;
}

.meta-price .meta-icon {
    background: linear-gradient(135deg, rgba(46, 60, 41, 0.15), rgba(255, 255, 255, 0.9));
    color: var(--primary-solid);
}

.meta-price .meta-value {
    color: var(--primary-solid);
    position: relative;
    display: inline-block;
}

.meta-sales .meta-icon {
    background: linear-gradient(135deg, rgba(0, 13, 255, 0.15), rgba(255, 255, 255, 0.9));
    color: #000DFF;
}

.meta-sales .meta-value {
    color: #000DFF;
    position: relative;
    display: inline-block;
}

.meta-delivery .meta-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 255, 255, 0.9));
    color: var(--warning-color);
}

.meta-delivery .meta-value {
    color: var(--warning-color);
    position: relative;
    display: inline-block;
}

.meta-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 35px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.meta-item:hover:not(:last-child)::after {
    background: linear-gradient(to bottom, transparent);
    height: 45px;
    transition: all 0.3s ease;
}

.product-meta-row:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@keyframes slideInMeta {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-footer {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
}

.btn-custom {
    background: var(--primary-color) !important;
    border: none;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(60, 55, 41, 0.25) !important;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 220px;
    display: block !important;
    white-space: nowrap;
}

.btn-custom:hover {
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(180deg, #29323C, #E85A19, #29323C, #E85A19) !important;
    box-shadow: 0 6px 20px rgba(41, 50, 60, 0.35) !important;
}

.btn-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-custom:hover::after {
    left: 100%;
}

/* ==================== CARROUSELS HYBRIDES (REDIMENSIONNÉ) ==================== */
.hybrid-carousel-wrapper,
.single-video,
.product-image-container,
.product-carousel,
.product-video-container {
    width: 100% !important;
    height: 250px !important;
    overflow: hidden;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    position: relative;
    background: #000;
}

.hybrid-carousel-wrapper {
    position: relative;
}

.hybrid-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hybrid-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.hybrid-slide.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hybrid-image,
.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-video,
.hybrid-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 11px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.video-overlay i {
    font-size: 50px;
    color: white;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.video-overlay:hover i {
    transform: scale(1.1);
    opacity: 1;
}

.hybrid-prev,
.hybrid-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.hybrid-prev:hover,
.hybrid-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hybrid-prev { left: 8px; }
.hybrid-next { right: 8px; }

.hybrid-prev i,
.hybrid-next i {
    font-size: 18px;
}

.hybrid-indicators {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 20;
}

.hybrid-indicator {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgb(215, 248, 2);
}

.hybrid-indicator.active {
    background: rgb(250, 5, 5);
    transform: scale(1.15);
    border-color: white;
}

.hybrid-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hybrid-indicator.video-active {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}

.video-slide video.playing + .video-overlay {
    opacity: 0 !important;
    pointer-events: none;
}

/* ==================== STATISTIQUES (REDIMENSIONNÉ) ==================== */
.modern-stats-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f5f7fa 100%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgb(16, 0, 0);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, #44ff00, #f7011a, #29323C);
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.kpi-card {
    background: white;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4E4376, #459522, #4E4376);
}

.kpi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.kpi-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(180deg, #4E4376, #459522, #4E4376);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    line-height: 1;
}

.kpi-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.kpi-value.updating {
    animation: valuePulse 0.6s ease-in-out;
}

@keyframes valuePulse {
    0%, 100% { 
        transform: scale(1); 
        color: inherit;
    }
    50% { 
        transform: scale(1.1); 
        color: #667eea;
    }
}

.stats-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px;
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.6s ease-out;
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stats-card.updating {
    animation: cardUpdate 0.8s ease-out;
}

@keyframes cardUpdate {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
    100% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    }
}

.stats-card-header {
    padding: 20px 25px;
    background: linear-gradient(180deg, #4E4376, #ff0033, #4E4376);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-card-title i {
    font-size: 1.6rem;
    opacity: 0.9;
}

.stats-card-title h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.stats-card-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-card-badge.star,
.stats-card-badge.trending,
.stats-card-badge.new {
    background: linear-gradient(180deg, #4E4376, #459522, #4E4376);
    color: white;
}

.stats-card-body {
    padding: 25px;
}

.featured-product-content,
.top-product-item,
.new-product-item {
    animation: fadeInUp 0.5s ease-out;
}

.featured-product-content {
    text-align: center;
}

.product-image-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.product-image-stats {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-badge-stats {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(180deg, #ddfa01, #4E4376, #ddfa01);
    box-shadow: 0 4px 15px rgba(251, 176, 52, 0.4);
}

.product-name-stats {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
}

.product-price {
    color: #667eea;
    font-weight: 600;
}

.product-sales {
    color: #00b09b;
    font-weight: 600;
}

.top-products-list,
.new-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-product-item,
.new-product-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.top-product-item:hover,
.new-product-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.product-rank {
    margin-right: 12px;
}

.rank-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.product-info {
    flex: 1;
}

.product-tag {
    display: inline-block;
    padding: 3px 8px;
    background: #e2e8f0;
    color: #4a5568;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sales-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #00b09b;
    font-weight: 700;
    font-size: 0.85rem;
}

.new-product-item {
    justify-content: space-between;
}

.new-product-info {
    flex: 1;
}

.product-badge {
    padding: 3px 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-date {
    color: #718096;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, #6a0101, #f20101);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 176, 155, 0.3);
}

.no-data {
    text-align: center;
    padding: 30px 15px;
    color: #a0aec0;
}

.no-data i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.no-data p {
    font-size: 0.95rem;
    margin: 0;
}

.btn-refresh-stats {
    background: linear-gradient(180deg, #764ba2, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-refresh-stats:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-refresh-stats:active {
    transform: translateY(-1px);
}

.btn-refresh-stats.refreshing i {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refresh-info {
    margin-top: 12px;
    color: #718096;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 176, 155, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 176, 155, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== FOOTER (IDENTIQUE) ==================== */
.footer {
    width: 100%;
    background: linear-gradient(180deg, #0a0f1e 0%, #33363b 50%, #0a0f1e 100%);
    color: #ffffff;
    padding: 10px 0 20px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            #00ff88,
            #0077ff,
            #ff00c3,
            #ff0000,
            transparent);
    background-size: 300% 100%;
    animation: gradientMove 8s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-nav-compact {
    text-align: center;
    padding: 15px 0 5px;
}

.footer-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px !important;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #02f40a, #ffff, #7e7171);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 40px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.footer-compact-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-compact-list li {
    display: inline-flex;
    margin: 0;
}

.footer-compact-list .footer-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 119, 255, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.5);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
}

.footer-link[href*="index.php"]::after { content: '🏠'; margin-left: 4px; }
.footer-link[href*="comment-fonctionne"]::after { content: '❓'; margin-left: 5px; }
.footer-link[href*="hebergement"]::after { content: '☁️'; margin-left: 5px; }
.footer-link[href*="contact"]::after { content: '📧'; margin-left: 5px; }
.footer-link[href*="paiements"]::after { content: '💳'; margin-left: 5px; }
.footer-link[href*="mon-compte"]::after { content: '👤'; margin-left: 5px; }
.footer-link[href*="admin"]::after { content: '⚙️'; margin-left: 5px; }
.footer-link[href*="deconnexion"]::after { content: '🚪'; margin-left: 5px; }
.footer-link[href*="outils"]::after { content: '🔧'; margin-left: 5px; }
.footer-link[href*="echange"]::after { content: '🔄'; margin-left: 5px; }

.footer-compact-list .footer-link:hover {
    background: linear-gradient(135deg, #00ff88, #0077ff);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.5);
}

.footer-social-title {
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #02f40a, #ffff, #ed0505);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 119, 255, 0.1));
    color: white;
    font-size: 1.3rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.5);
    text-decoration: none;
    border: 3px solid rgba(0, 255, 136, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
    animation: floatSocial 3s ease-in-out infinite;
    cursor: pointer;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -5px;
    right: -5px;
    bottom: -50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #0077ff, #ff00c3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.footer-social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00ff88;
    border-bottom-color: #dc02f9;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover {
    transform: translateY(-15px) scale(1.15);
    border-color: transparent;
    box-shadow: 0 20px 30px rgba(0, 255, 136, 0.5);
    animation: none;
}

.footer-social-link:hover::before {
    opacity: 0.6;
}

.footer-social-link:hover::after {
    opacity: 1;
}

.footer-social-link.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.footer-social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #24A1DE);
}

.footer-social-link.email:hover {
    background: linear-gradient(135deg, #EA4335, #FBBC05);
}

@keyframes floatSocial {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-social {
    margin: 10px 0 0 0;
    position: relative;
    text-align: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(0, 255, 136, 0.1);
}

.footer-bottom {
    border-top: 2px solid;
    border-image: linear-gradient(90deg, transparent, #00ff88, #0077ff, #ff00c3, transparent) 1;
    position: relative;
    text-align: center;
    margin-top: -5px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(8, 226, 59, 0.452);
    margin: 0;
}

.footer-copyright:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 255, 136, 0.1);
    border-color: #51ff00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
    cursor: default;
}

.footer-copyright::before,
.footer-copyright::after {
    content: '⚡';
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0;
    filter: drop-shadow(0 0 8px #00ff88);
    transition: all 0.3s ease;
}

.footer-copyright::before {
    left: 15px;
}

.footer-copyright::after {
    right: 15px;
}

.footer-copyright:hover::before {
    opacity: 1;
    left: -5px;
}

.footer-copyright:hover::after {
    opacity: 1;
    right: -5px;
}

@media (max-width: 992px) {
    .footer-compact-list {
        gap: 8px 12px;
    }
    
    .footer-compact-list .footer-link {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
    
    .footer-social-links {
        gap: 25px;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-compact-list {
        gap: 8px 10px;
    }
    
    .footer-compact-list .footer-link {
        padding: 6px 12px;
        font-size: 0.5rem;
    }
    
    .footer-section-title {
        font-size: 0.5rem;
        padding: 4px 15px;
    }
    
    .footer-social-title {
        font-size: 0.5rem;
        padding: 6px 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .footer-social-links {
        gap: 20px;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        padding: 8px 20px;
    }
}

@media (max-width: 576px) {
    .footer-compact-list {
        gap: 6px 8px;
    }
    
    .footer-compact-list .footer-link {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
    
    .footer-section-title {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    .footer-social-title {
        font-size: 0.6rem;
        padding: 5px 10px;
    }
    
    .footer-social-links {
        gap: 15px;
    }
    
    .footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
        padding: 6px 15px;
    }
    
    .footer-copyright::before,
    .footer-copyright::after {
        display: none;
    }

    .footer-copyright::before,
    .footer-copyright::after {
        content: '⚡' !important;
        padding: 7px !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 1rem !important;
        opacity: 0 !important;
        filter: drop-shadow(0 0 5px #00ff88) !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }

    .footer-copyright::before {
        left: 10px;
    }

    .footer-copyright::after {
        right: 10px;
    }

    .footer-copyright:hover::before {
        left: -5px;
    }

    .footer-copyright:hover::after {
        right: -5px;
    }

    .footer-copyright:hover::before,
    .footer-copyright:hover::after {
        opacity: 1 !important;
    }
}
@media (max-width: 576px) {
    .footer-copyright {
        padding: 6px 30px !important;
        font-size: 0.6rem !important;
    }
    
    .footer-copyright::before,
    .footer-copyright::after {
        font-size: 0.9rem !important;
        padding: 1px !important;
    }
}
@media (max-width: 576px) {
    .auth-modal .modal-dialog {
        margin: 25px !important;
        position: fixed !important;
        top: 50%!important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 360px !important;
        animation: authModalFloat 0.3s ease-out;
    }
    
    .auth-modal .modal-content {
        border-radius: 24px !important;
        background: rgba(20, 25, 35, 0.75) !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(3, 255, 41, 0.3) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(3, 255, 41, 0.3) !important;
        overflow: hidden !important;
        animation: softPulse 3s infinite !important;
    }
    
    .auth-modal .modal-header {
        background: linear-gradient(90deg, #000, #4E4376, #19191a) !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .auth-modal .modal-header .modal-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #ffffff, #03ff29) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    .auth-modal .modal-header .close {
        color: white !important;
        opacity: 0.8 !important;
        text-shadow: none !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .auth-modal .modal-header .close:hover {
        background: #ff4444 !important;
        transform: rotate(90deg) !important;
    }
    
    .auth-modal .modal-body {
        padding: 20px !important;
    }
    
    .auth-modal .nav-tabs {
        border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
        margin-bottom: 20px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }
    
    .auth-modal .nav-link {
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 600 !important;
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
        border-radius: 20px !important;
        transition: all 0.3s ease !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border: 1px solid transparent !important;
    }
    
    .auth-modal .nav-link:hover {
        color: white !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(3, 255, 41, 0.3) !important;
    }
    
    .auth-modal .nav-link.active {
        color: white !important;
        background: linear-gradient(180deg, #03ff29, #4E4376, #03ff29) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 4px 15px rgba(3, 255, 41, 0.3) !important;
    }
    
    .auth-modal .form-group {
        margin-bottom: 1rem !important;
    }
    
    .auth-modal .form-label {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.7rem !important;
        margin-bottom: 5px !important;
        font-weight: 600 !important;
    }
    
    .auth-modal .form-label i {
        color: #03ff29 !important;
        margin-right: 5px !important;
    }
    
    .auth-modal .form-control {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
        color: white !important;
        transition: all 0.3s ease !important;
    }
    
    .auth-modal .form-control:focus {
        border-color: #03ff29 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 0 0 3px rgba(3, 255, 41, 0.1) !important;
    }
    
    .auth-modal .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4) !important;
    }
    
    .auth-modal .password-field-wrapper {
        position: relative;
        width: 100%;
    }
    
    .auth-modal .password-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        z-index: 10;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    
    .auth-modal .password-toggle:hover {
        color: #03ff29;
    }
    
    .auth-modal .password-toggle i {
        font-size: 0.95rem;
        pointer-events: none;
    }
    
    .auth-modal .password-field-wrapper .form-control {
        padding-right: 38px;
    }
    
    .auth-modal .form-check {
        margin-bottom: 1rem !important;
    }
    
    .auth-modal .form-check-label {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.8rem !important;
    }
    
    .auth-modal .form-check-label a {
        color: #03ff29 !important;
        text-decoration: none !important;
    }
    
    .auth-modal .btn-auth {
        background: linear-gradient(90deg, #01570f, #00cc22, #01570f) !important;
        border: none !important;
        color: white !important;
        padding: 12px 20px !important;
        border-radius: 12px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        border: 2px solid transparent !important;
        box-shadow: 0 0 15px rgba(3, 255, 41, 0.3) !important;
        margin-top: 10px !important;
    }
    
    .auth-modal .btn-auth:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 0 25px rgba(3, 255, 41, 0.5) !important;
        border-color: white !important;
    }
    
    .auth-modal .alert-auth {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(5px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 12px !important;
        color: white !important;
        font-size: 0.8rem !important;
        padding: 10px 12px !important;
        margin-bottom: 15px !important;
    }
    
    .auth-modal .alert-success {
        background: rgba(3, 255, 41, 0.2) !important;
        border-color: #03ff29 !important;
    }
    
    .auth-modal .alert-danger {
        background: rgba(255, 71, 87, 0.2) !important;
        border-color: #ff4757 !important;
    }
    
    .auth-modal .alert-info {
        background: rgba(0, 123, 255, 0.2) !important;
        border-color: #007bff !important;
    }
    
    .auth-modal .alert-warning {
        background: rgba(255, 193, 7, 0.2) !important;
        border-color: #ffc107 !important;
    }
    
    .auth-modal .password-strength {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
        border-radius: 12px !important;
        margin-top: 5px !important;
        display: inline-block !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }
    
    .auth-modal .password-strength.strength-weak {
        background: rgba(255, 71, 87, 0.3) !important;
        color: #ff8a92 !important;
    }
    
    .auth-modal .password-strength.strength-medium {
        background: rgba(255, 193, 7, 0.3) !important;
        color: #ffd966 !important;
    }
    
    .auth-modal .password-strength.strength-strong {
        background: rgba(3, 255, 41, 0.3) !important;
        color: #8aff9a !important;
    }
    
    .auth-modal .text-center a {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.8rem !important;
        text-decoration: none !important;
        transition: color 0.3s ease !important;
    }
    
    .auth-modal .text-center a:hover {
        color: #03ff29 !important;
    }
    
    @keyframes authModalFloat {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
    
    .auth-modal .modal-content {
        animation: authSoftPulse 3s infinite;
    }
    
    @keyframes authSoftPulse {
        0%, 100% {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(3, 255, 41, 0.3);
        }
        50% {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(3, 255, 41, 0.5);
        }
    }
}

@media (max-width: 375px) {
    .auth-modal .modal-dialog {
        width: 300px !important;
        max-width: 300px !important;
    }
    
    .auth-modal .modal-body {
        padding: 15px !important;
    }
    
    .auth-modal .nav-link {
        font-size: 0.75rem !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 320px) {
    .auth-modal .modal-dialog {
        width: 280px !important;
        max-width: 280px !important;
    }
    
    .auth-modal .modal-body {
        padding: 12px !important;
    }
    
    .auth-modal .nav-link {
        font-size: 0.7rem !important;
        padding: 5px 8px !important;
    }
    
    .auth-modal .form-control {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .auth-modal .btn-auth {
        padding: 10px 15px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    #inscription .row {
        margin: 0 !important;
    }
    
    #inscription .col-md-6 {
        padding: 0 3px !important;
    }
    
    #inscription .form-group {
        margin-bottom: 0.5rem !important;
    }
    
    #inscription .form-label {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }
    
    #inscription .form-control {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        height: 32px !important;
    }
    
    #inscription .password-toggle {
        top: 12px !important;
        right: 8px !important;
    }
    
    #inscription .password-toggle i {
        font-size: 0.8rem !important;
    }
    
    #inscription .password-strength {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        float: none !important;
        display: inline-block !important;
        position: relative !important;
        top: -2px !important;
    }
    
    #inscription .form-check {
        margin-bottom: 0.5rem !important;
    }
    
    #inscription .form-check-label {
        font-size: 0.7rem !important;
    }
    
    #inscription .alert-info {
        padding: 6px 8px !important;
        font-size: 0.65rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    #inscription .alert-info i {
        font-size: 0.7rem !important;
    }
    
    #inscription .btn-auth {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
        margin-top: 5px !important;
    }
    
    #inscription .form-group:has(#email_inscription) .form-label small {
        display: none !important;
    }
    
    #inscription .form-group .form-label small.text-muted {
        display: none !important;
    }
    
    #inscription .form-group:has(#email_inscription)::after {
        content: "🔗 lien affiché" !important;
        display: block !important;
        font-size: 0.55rem !important;
        color: rgba(255, 255, 255, 0.5) !important;
        margin-top: 1px !important;
    }
    
    #inscription .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }
    
    #inscription .col-md-6 {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    #inscription .col-md-6:first-child {
        padding-right: 2px !important;
    }
    
    #inscription .col-md-6:last-child {
        padding-left: 2px !important;
    }
}

@media (max-width: 375px) {
    #inscription .form-control {
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
        height: 30px !important;
    }
    
    #inscription .form-label {
        font-size: 0.6rem !important;
    }
    
    #inscription .btn-auth {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
    
    #inscription .form-check-label {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 320px) {
    #inscription .form-group {
        margin-bottom: 0.3rem !important;
    }
    
    #inscription .form-control {
        padding: 4px 6px !important;
        height: 28px !important;
    }
    
    #inscription .btn-auth {
        padding: 5px 10px !important;
    }
}