  /* style.css - dark theme, responsive */

  html, body {
    height: 100%;
    margin: 0;
  }

  /* Variables */
  :root{
    --bg:#0f1116;
    --card:#0b1220;
    --muted:#98a0b3;
    --accent:#9b6bff;
    --glass: rgba(255,255,255,0.03);
    --radius:12px;
    --max-width:1200px;
    --text:#e6eef8;
    --muted-2:#9aa4b2;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  }

  *{box-sizing:border-box}
  html,body{
    height:100%;
    margin:0;
    background:linear-gradient(180deg,#0b0f14,#0f1116);
    color:var(--text);
  }

  a{color:inherit;text-decoration:none}


  /*marge header*/
  main.container {
    padding-top: 20px; /* ajuster selon la hauteur réelle du header */
  }

  /* Empêche la grille de dépasser */
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px;
    width: 100%;
  }

  @media (min-width:720px){
    .container{ padding:20px; }
  }
  @media (min-width:1100px){
    .container{ padding:24px; } /* bordures équilibrées */
  }
  @media (min-width:1400px){
    .container{ padding:28px; }
  }


  /* Header */
  .site-header {
    background: rgba(15, 17, 22, 0.95); /* semi-transparent pour effet overlay si nécessaire */
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    
    position: sticky;  /* rend le header sticky */
    top: 0;            /* positionné en haut */
    left: 0;
    width: 100%;
    z-index: 1000;     /* s'assure que le header reste au-dessus du contenu */
  }


  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  @media (min-width:1100px){
    .header-inner{ padding:0 24px; }
  }

  .logo{
    font-weight:800;
    font-size:20px;
    letter-spacing:0.6px
  }
  .logo-accent{color:var(--accent)}

  .spacer{flex:1}

  /* Recherche responsive */
  .search input {
    width: 100%;         /* prend toute la largeur disponible de son conteneur */
    max-width: 100%;    /* limite la largeur sur grand écran */
    border: 1px solid rgba(255,255,255,0.02);
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--glass);
    color: var(--muted);
    box-sizing: border-box;
  }

  .search {
    flex: 1 1 auto; /* occupe tout l’espace disponible */
    min-width: 0;   /* important pour que width:100% fonctionne correctement dans flex */
  }

  /* Bouton connexion dans le header */
  .login-btn {
    white-space: nowrap;
    padding: 7px 16px;
    margin-left: 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    color: #a9c7ff;
    background: rgba(80, 140, 255, 0.08);
    border: 1px solid rgba(120, 170, 255, 0.25);

    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
  }

  /* Effet futuriste au survol */
  .login-btn:hover {
    color: #ffffff;
    background: rgba(80, 140, 255, 0.18);
    border-color: rgba(150, 190, 255, 0.6);
    box-shadow: 0 0 12px rgba(80,140,255,0.35);
  }



  @media (max-width: 600px) {
    .login-btn {
      padding: 6px 12px;
      font-size: 13px;
    }

    .search {
      flex: 1 1 100%;
      order: 3;
    }

    .login-btn {
      order: 2;
    }
  }



  /* Hero section */

  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 380px;
    overflow: hidden;
  }

  .carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(100%);
    transition: transform 0.7s ease-out;
    z-index: 1;
  }

  .carousel-slide.active {
    transform: translateX(0);
    z-index: 10;
  }

  .carousel-slide.prev {
    transform: translateX(-100%);
    z-index: 5;
  }

  .hero-picture,
  .hero-picture img {
    width: 100%;
    height: 100%;
  }

  .hero-picture img {
    object-fit: cover;
    display: block;
  }

  /* Indicateurs du carrousel */
  .carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
    display: none;
  }

  .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .carousel-indicators .indicator.active {
    background: rgba(255, 255, 255, 1);
    width: 28px;
    border-radius: 999px;
  }

  .carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
  }

  .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.8) 25%,
      rgba(0, 0, 0, 0.6) 45%,
      rgba(0, 0, 0, 0.35) 65%,
      rgba(0, 0, 0, 0.15) 85%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  /* Texte dynamique avec dégradé noir */
  .carousel-text {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    padding-left: 48px;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.85) 40%,
      rgba(0, 0, 0, 0.4) 75%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .text-content {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    max-width: 600px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .text-title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 950;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.1;
  }

  .text-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    line-height: 1.4;
    max-width: 480px;
  }

  .text-content.active {
    opacity: 1;
  }

  /* Tagline gauche - apparaît/disparaît avec premier slide */
  .hero-tagline {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    padding: 0 48px;
    width: 50%;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.8s ease-out;
  }

  .hero-tagline.active {
    opacity: 1;
  }

  /* Bouton scroll vers la boutique */
  .scroll-to-shop {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    padding: 14px 40px;
    border-radius: 12px;
    background: #ffffff;
    border: none;
    color: #000000;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .scroll-to-shop:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .scroll-to-shop:active {
    transform: translateX(-50%) translateY(-2px);
  }


  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 8% 64px; /* espace en bas */
    text-align: center;
  }

  .hero-text {
    max-width: 640px;
    color: #fff;
  }

  .hero-text h1 {
    font-size: clamp(34px, 5vw, 52px);
    margin-bottom: 14px;
    font-weight: 900;
    letter-spacing: 1px;
  }

  .hero-text p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.85);
  }

  .hero-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    background: #ffffff;
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  html {
    scroll-behavior: smooth;
  }

  .hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  }

  @media (max-width: 768px) {
    .hero {
      height: 70vh;
    }

    .hero-content {
      padding-bottom: 48px;
    }

    .carousel-text {
      width: 100%;
      background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0) 100%
      );
      padding-left: 24px;
    }

    .text-content {
      font-size: clamp(24px, 4vw, 36px);
    }

    .text-title {
      font-size: clamp(32px, 5vw, 48px);
    }

    .text-subtitle {
      font-size: clamp(14px, 2vw, 20px);
    }

    .scroll-to-shop {
      bottom: 24px;
      padding: 12px 32px;
      font-size: 14px;
      letter-spacing: 1px;
    }
  }




  /* ---- GRID FIX ---- */
  .catalog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
  }


  @media (min-width:720px){
    .catalog{
      grid-template-columns:repeat(3,1fr);
      padding-inline:6px;
    }
  }

  @media (min-width:1100px){
    .catalog{
      grid-template-columns:repeat(4,1fr);
      padding-inline:10px;
    }
  }

  @media (min-width:1400px){
    .catalog{
      grid-template-columns:repeat(5,1fr);
      padding-inline:16px;
    }
  }

  /* Cards */
  .card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    padding: 10px;
    border-radius: var(--radius);
    border: 3px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 340px; /* force une hauteur minimale */
  }


  /* Contenu flexible */
  .meta {
    flex: 1; /* prend tout l’espace restant sous l’image */
  }

  /* Actions (bouton favoris) */
  .actions {
    margin-top: auto; /* reste collé en bas */
    display: flex;
    gap: 8px;
    align-items: center;
  }

  /* Version PC */
  @media (min-width: 1100px) {
    .catalog {
      grid-template-columns: repeat(4, 1fr);
    }

    .card {
      min-height: 380px; /* un peu plus haut pour PC */
    }
  }


  .catalog-section {
    margin-top: 60px;
  }

  .catalog-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .catalog-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .catalog-subtitle {
    font-size: 16px;
    color: var(--muted, #aaa);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
  }



  /* Images totalement responsives */
  .cover-img {
    width: 100%;
    height: auto;
    aspect-ratio: 155 / 180;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

  .meta{padding:8px 6px}
  .meta h3{font-size:15px;margin:0 0 6px 0}
  .meta .muted{font-size:13px;color:var(--muted)}
  .actions{margin-top:auto;display:flex;gap:8px;align-items:center}
  .card-link{display:block}

  /* Controls */
  .fav{
    background:transparent;
    border:0;
    color:var(--muted);
    font-size:20px;
    cursor:pointer;
  }
  .fav.active{color:gold}


  .catalog-section {
    margin-bottom: 120px;
  }

  @media (max-width: 768px) {
    .catalog-section {
      margin-bottom: 64px;
    }
  }



  .shop-section {
    margin-top: 120px;
  }

  .shop-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .shop-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .shop-header p {
    font-size: 16px;
    color: var(--muted, #aaa);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
  }


  /* Reader layout */





  /* ==============================
    CONTENEUR PRINCIPAL
    ============================== */
  .reader-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 12px;
  }

  /* ==============================
    TOOLBAR DISCRÈTE
    ============================== */
  .reader-toolbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;

    background: linear-gradient(
      to bottom,
      rgba(10,10,14,0.85),
      rgba(10,10,14,0.35),
      transparent
    );

    backdrop-filter: blur(6px);
    border-radius: 0 0 10px 10px;
    margin-bottom: 4px;
  }

  /* ==============================
    ZONE DE LECTURE
    ============================== */
  .reader-inner {
    height: auto;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding-bottom: 40px;
  }

  /* ==============================
    PAGES / PLANCHES
    ============================== */
  .page {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .page-img {
    width: 100%;
    max-width: 900px;
    height: auto;

    display: block;
    object-fit: contain;

    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  }

  /* ==============================
    WATERMARK ULTRA DISCRET
    ============================== */
  .reader-watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    user-select: none;
    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: 4px;

    color: rgba(255,255,255,0.06);
    transform: rotate(-20deg);
    text-shadow: 0 0 12px rgba(0,0,0,0.8);
  }

  /* ==============================
    FOOTER (HORS LECTURE)
    ============================== */
  .site-footer {
    background: #0b0e14;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 12px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0.75;
  }


  /*footer styles*/

  /* Logo dans le footer */
  .footer-inner .logo {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--text);
  }

  /* Mentions légales */
  .footer-inner .legal {
    color: var(--muted-2);
    font-size: 13px;
    text-align: center;
  }

  .footer-inner .legal a {
    color: var(--muted-2);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-inner .legal a:hover {
    color: var(--accent);
  }

  /* Desktop layout */
  @media (min-width: 720px) {
    .footer-inner {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    .footer-inner .legal {
      text-align: right;
    }
  }


  /* ==============================
    LAYOUT CHAPITRES (DESKTOP)
    ============================== */
  .chapter-layout {
    display: grid;
    grid-template-columns: minmax(320px, 40%) 1fr;
    overflow: hidden;
  }

  /* ==============================
    COLONNE GAUCHE – IMAGE FIXE
    ============================== */
  .chapter-cover {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .chapter-cover img {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    display: block;
  }



  /* ==============================
    COLONNE DROITE – LISTE CHAPITRES
    ============================== */
  .chapter-panel {
    height: 100vh;
    overflow-y: auto;
    padding: 24px 20px 40px;

    background: linear-gradient(
      180deg,
      rgba(10,10,14,0.98),
      rgba(10,10,14,0.95)
    );

    -webkit-overflow-scrolling: touch;
  }

  .chapter-panel h2 {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
  }



  .chapter-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;

    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .chapter-list li {
    background: var(--card);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, transform 0.2s;
  }

  .chapter-list li:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
  }

  /* Carte chapitre */
  .chapter-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .chapter-thumb {
    width: 56px;
    height: 76px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .chapter-link {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
  }


  /* Reader close button */ .reader-close { position: absolute; right: 20px; background: none; border: none; cursor: pointer; font-size: 28px; color: #bbb; font-weight: 700; transition: 0.2s; } .reader-close:hover { color: #fff; background: rgba(255,255,255,0.08); border-radius: 6px; }



  /* ==============================
    RESPONSIVE MOBILE – CHAPITRES
    ============================== */
  @media (max-width: 900px) {

    /* Revenir à un flux normal */
    .chapter-layout {
      display: block;
      height: auto;
      overflow: visible;
    }

    /* Image en premier */
    .chapter-cover {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-height: 60vh;
      overflow: hidden;
    }

    .chapter-cover img {
      width: 100%;
      height: auto;
      max-height: 60vh;
      object-fit: cover;
      display: block;
    }

    /* Liste sous l'image */
    .chapter-panel {
      height: auto;
      overflow: visible;
      padding: 16px 14px 32px;
    }

    .chapter-panel h2 {
      font-size: 20px;
      margin-bottom: 12px;
    }

    /* Cartes chapitres légèrement plus grandes pour le tactile */
    .chapter-list li {
      padding: 12px;
    }

    .chapter-thumb {
      width: 64px;
      height: 88px;
    }
  }




  /* Désactive sélection et interactions */
  .reader-container, 
  .reader-container img {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: auto;
  }

  /* Empêche le drag des images */
  img {
    -webkit-user-drag: none;
  }



  /* ==============================
    STARBORD SHOP CARD
    ============================== */


    /* ==============================
    GRID LAYOUT
    ============================== */
  .shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* desktop : 4 colonnes */
    gap: 20px;
  }

  /* ==============================
    SHOP CARD
    ============================== */
  .shop-card {
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .shop-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  }

  .shop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .shop-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .shop-price {
    margin: 8px 0 14px;
    padding: 6px 14px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #fff;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    display: inline-block;
  }

  .shop-price {
    font-family: 'Orbitron', sans-serif;
  }


  .shop-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    color: #11141a;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s;
  }

  .shop-btn:hover {
    background: #5100ff;
    color: #fff;
  }



  /* ==============================
    RESPONSIVE : 2 COLONNES
    ============================== */
  @media (max-width: 1024px) {
    .shop-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
  }

  @media (max-width: 768px) {
    .shop-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur petit écran */
    }
  }

  @media (max-width: 480px) {
    .shop-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
    }
  }




  /* IMAGE */
  .starbord-image {
    flex: 1;
  }

  .starbord-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }

  /* CONTENU */
  .starbord-content {
    flex: 1;
    color: #f8fafc;
  }

  .starbord-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
  }

  .starbord-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cbd5f5;
  }

  /* BOUTON */
  .starbord-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .starbord-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
  }

  /* 📱 RESPONSIVE */
  @media (max-width: 768px) {
    .starbord-container {
      flex-direction: column;
      padding: 20px;
    }

    .starbord-content h1 {
      font-size: 2rem;
    }

    .starbord-content {
      text-align: center;
    }
  }

  #comicTitle {
    display: flex;
    flex-direction: column;
    gap: 4px; /* petit espace entre titre et auteur */
    margin-bottom: 16px;
    color: var(--text);
  }

  /* Nom de l’œuvre : plus gros, impact visuel */
  #comicTitle .comic-title-name {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff; /* ou var(--text) */
    text-shadow: 0 2px 6px rgba(0,0,0,0.5); /* léger relief pour pop */
  }

  /* Nom de l'artiste : plus discret, italique */
  #comicTitle .comic-title-author {
    font-size: 16px;
    font-weight: 500;
    font-style: italic;
    color: rgba(255,255,255,0.75);
    line-height: 1.2;
  }

  @media (max-width: 900px) {
    #comicTitle .comic-title-name {
      font-size: 20px;
    }
    #comicTitle .comic-title-author {
      font-size: 14px;
    }
  }

  /*
  ===============================
    PREMIUM LOCK NOTICE
    ============================== */


  .premium-cta {
    text-align: center;
    padding: 50px 20px;
    margin: 30px auto;
    max-width: 500px;
    background: linear-gradient(145deg, #111, #1c1c1c);
    color: white;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
  }

  .premium-cta h3 {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .premium-cta p {
    margin-bottom: 20px;
    color: #ccc;
  }

  .login-btn-header {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;

    /* Couleur bleu discret */
    background: rgba(80, 140, 255, 0.12);
    color: #9bbcff;

    border: 1px solid rgba(120, 170, 255, 0.25);

    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
  }

  /* Effet au survol */
  .login-btn-header:hover {
    background: rgba(80, 140, 255, 0.22);
    color: #cfe0ff;
    border-color: rgba(140, 180, 255, 0.45);
  }



  /* ================================
    LOGIN PAGE STYLES
    ============================== */

  /* PAGE FOND */
  .login-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, #12121a, #07070b 70%);
    font-family: 'Orbitron', sans-serif;
  }

  /* WRAPPER */
  .login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
  }

  /* CARTE */
  .login-card {
    width: 100%;
    max-width: 420px;
    padding: 45px 35px;
    border-radius: 18px;
    background: rgba(18, 18, 28, 0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 60px rgba(0,0,0,0.6);
    color: white;
    position: relative;
  }

  @media (max-width: 480px) {
    .login-card {
      padding: 50px 28px;
    }
  }

  /* LUEUR SUBTILE */
  .login-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(90,140,255,0.15), transparent 40%);
    z-index: -1;
  }

  /* HEADER */
  .login-header h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 1px;
  }

  .login-header p {
    margin-top: 6px;
    font-size: 13px;
    color: #8f9bbf;
  }

  @media (max-width: 480px) {
    .login-header h2 {
      font-size: 26px;
    }

    .login-header p {
      font-size: 15px;
      margin-top: 10px;
    }
  }

  /* FORMULAIRE */
  .login-form {
    margin-top: 30px;
  }

  @media (max-width: 480px) {
    .login-form {
      margin-top: 40px;
    }
  }

  /* INPUTS */
  .input-group {
    margin-bottom: 16px;
  }

  .input-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
    color: #ddd;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
  }

  .input-group input:focus {
    border-color: rgba(120,170,255,0.7);
    background: rgba(255,255,255,0.06);
  }

  @media (max-width: 480px) {
    .input-group {
      margin-bottom: 22px;
    }

    .input-group input {
      padding: 16px 16px;
      font-size: 16px;
      border-radius: 12px;
    }
  }

  /* BOUTON PRINCIPAL */
  .login-main-btn {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #4f8cff, #6ea8ff);
    color: white;
    transition: all 0.25s ease;
  }

  .login-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(80,140,255,0.35);
  }

  @media (max-width: 480px) {
    .login-main-btn {
      padding: 18px;
      font-size: 16px;
      margin-top: 16px;
      border-radius: 12px;
    }
  }

  /* MESSAGE */
  .login-message {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    color: #9bbcff;
    min-height: 18px;
  }

  @media (max-width: 480px) {
    .login-message {
      font-size: 14px;
      margin-top: 20px;
    }
  }


  .login-back {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 12px;
    font-size: 12px;
    text-decoration: none;
    color: #9bbcff;
    background: rgba(80,140,255,0.08);
    border: 1px solid rgba(120,170,255,0.2);
    border-radius: 999px;
    transition: 0.2s ease;
  }

  .login-back:hover {
    background: rgba(80,140,255,0.18);
    border-color: rgba(140,180,255,0.4);
  }

  @media (max-width: 480px) {
    .login-back {
      padding: 8px 14px;
      font-size: 13px;
      margin-bottom: 25px;
    }
  }
