.cgu-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y : auto; /* allow scrolling */
    scrollbar-width: thin;
    scrollbar-color: #fff4e3 #000000;
}

.cgu-content header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    border-bottom: 3px solid #fff4e3;
    background: transparent;
    color: #fff4e3;
    z-index: 1000;
    transition: background 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(20,1,63,0.15);
    animation: brumeAppear 1s ease-out;
    border-radius: 8px;
    padding: 1rem 2rem;
    
    
    /* margin-bottom: 1100px; <-- REMOVE this line */
}

.cgu-content header h1 {
    margin: 0;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-left: 32px;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;    
}

@keyframes brumeAppear {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cgu-content .cgu-left,
.cgu-content .cgu-right {
    flex: 1;
   
}

.cgu-content .cgu-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.cgu-content .btn {
   background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem 0;
   width: 30%;
    transition: transform 0.3s ease;
}

.cgu-content .btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.1);
}

.cgu-content main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 0 1rem 0; /* Adjust to match header height */
    min-height: unset;
    gap: 0.5rem !important;
    height:auto;
    width:auto; 
}

.cgu-content .cgu-type {
    background: rgb(255, 255, 255);
    border-radius: 18px;
    box-shadow: 0 2px 20px #14013f44;
    padding: 1rem 2rem 1rem 2.5rem;
    max-width: 1400px;
    width: 100%;
    margin-top: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers children horizontally */
    gap: 0.1rem !important;
    
}

.cgu-content .cgu-type {
    /* ...existing styles... */
    margin-bottom: 0 !important; /* Add this line */
}

.cgu-content .cgu-type h2,
.cgu-content .cgu-type h3,
.cgu-content .cgu-type p,
.cgu-content .cgu-type ul {
    text-align: center;
    text-shadow: none !important;

}

.cgu-content .cgu-type h2 {
    color: #000000;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
}

.cgu-content .cgu-type h3 {
    color: #376cff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.cgu-content .cgu-type li {
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
    line-height: 1.6;
}

.cgu-content .cgu-type p {
    color: #050505;
    margin: 0;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .cgu-content .cgu-type ul {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
    .cgu-content .special,
    .cgu-content .cgu-type h2 {
        font-size: 1.3rem;
    }
    .cgu-content header {
        flex-direction: column;
        padding: 1rem 0.5rem;
    }
    .cgu-content header h1 {
        font-size: 1.3rem;
    }
}

@media print {
  html, body {
    height: auto !important;
    overflow: visible !important;
  }
  .cgu-content {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .cgu-content main {
    display: block !important;
    padding: 1.5rem !important;      /* Restore some padding for readability */
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    gap: 0 !important;
    align-items: initial !important;
    justify-content: initial !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .cgu-content .cgu-type {
    display: block !important;
    padding: 1.5rem !important;      /* Restore some padding for readability */
    margin: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .print-btn, header, nav, footer, .succube, .band-passante, button {
    display: none !important;
  }
}


