* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: white;
    display: flex;
    flex-direction: column;
}

header {
    background: rgba(0,0,0,.95);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:visited,
.logo-link:hover,
.logo-link:active {
    text-decoration: none;
    color: inherit;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff3366;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.hero {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.8)),
        url("/assets/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
}

.hero.session-active {
    height: auto;
    min-height: 70vh;
    padding-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.hero p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 20px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: .2s ease;
}

.btn-primary {
    background: #ff3366;
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background: #333;
    color: white;
}

.join-box {
    display: flex;
    gap: 10px;
}

.join-box input {
    padding: 15px;
    width: 250px;
    border: none;
    border-radius: 8px;
}

.video-section {
    width: 100%;
    text-align: center;
}

#currentRoom {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

video {
    width: 48vw;
    height: 65vh;
    max-width: 900px;
    object-fit: cover;
    background: black;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.next-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px;
}

.card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    width: 300px;
}

.card h3 {
    color: #ff3366;
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 30px;
    background: #111;
    color: #777;
    margin-top: auto;
}

/* LOADER */
.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.spinner {
    width: 55px;
    height: 55px;
    border: 5px solid rgba(255,255,255,.15);
    border-top: 5px solid #ff3366;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

#searchText {
    font-size: 18px;
    color: #ddd;
    letter-spacing: 0.5px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive uniquement webcams */
@media (max-width: 1100px) {
    .video-container {
        flex-direction: column;
    }

    video {
        width: 90%;
        height: 40vh;
    }
}

.faq-section {
    width: 100%;
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    text-align: left;
    padding: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.faq-highlight {
    font-weight: 700;
    color: #ff3366;
}
.consent-box {
    max-width: 520px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.consent-box label {
    cursor: pointer;
}

.consent-box input {
    margin-right: 8px;
    transform: translateY(1px);
}
.consent-box a {
    color: #ff3366;
    text-decoration: none;
}

.consent-box a:hover {
    text-decoration: underline;
}
.start-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    color: white;
    font-size: 18px;
}

.start-row select {
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 16px;
    cursor: pointer;
}

.start-row select:focus {
    outline: none;
    border-color: #ff3366;
}

.start-row .btn-primary {
    margin-left: 10px;
}

.hero-carousel{
    width:100%;
    overflow:hidden;
    margin:35px 0 45px;
}

.hero-track{
    display:flex;
    gap:24px;
    width:max-content;
    animation:scrollCarousel 22s linear infinite;
}

.hero-track img{

    width:220px;
    height:290px;

    object-fit:cover;

    border-radius:18px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.45);

    transition:.35s;

}

.hero-track img:nth-child(odd){
    transform:rotate(-2deg);
}

.hero-track img:nth-child(even){
    transform:rotate(2deg);
}

.hero-track img:hover{

    transform:
        scale(1.05)
        rotate(0deg);

}

@keyframes scrollCarousel{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}
