#carousel-screen {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(6,6,16,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

#carousel-screen.hidden { display: none; }

.carousel-slides {
    position: relative;
    width: 100%;
    max-width: 560px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide h1 {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin: 0;
    text-align: center;
}

.carousel-slide .slide-subtitle {
    color: #999;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.carousel-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 31;
    background: rgba(255,255,255,0.06);
    border: 1px solid #333;
    color: #888;
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.carousel-arrow:hover {
    color: #ccc;
    border-color: #555;
    background: rgba(255,255,255,0.1);
}

.carousel-arrow-left { left: 1.5rem; }
.carousel-arrow-right { right: 1.5rem; }

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 31;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background: #7c7cf0;
    transform: scale(1.3);
}

.join-options {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.join-option {
    flex: 1;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: border-color 0.2s;
    padding: 1.5rem 1rem;
    background: rgba(17,17,24,0.8);
    border: 1px solid #222;
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.join-option:hover { border-color: #444; }
.join-option h3 { margin: 0 0 0.5rem; color: #e0e0e0; }
.join-option p { margin: 0; color: #888; font-size: 0.85rem; line-height: 1.4; }
.join-option-manual { border-style: dashed; }

.join-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    color: #555;
    font-size: 0.85rem;
}

.join-divider::before, .join-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.qr-section p { color: #666; font-size: 0.85rem; }

.qr-section img {
    border-radius: 8px;
    width: 140px;
    height: 140px;
}

.how-it-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 440px;
}

.how-it-works-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(17,17,24,0.8);
    border: 1px solid #222;
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

.how-it-works-list .step-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(232,149,106,0.15);
    color: #e8956a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.how-it-works-list .step-text {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
}

.network-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.network-stat {
    text-align: center;
}

.network-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #7c7cf0;
}

.network-stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.2rem;
}

.network-link {
    color: #7c7cf0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.network-link:hover { color: #9c9cff; }

@media (max-width: 500px) {
    .join-options { flex-direction: column; }
    .carousel-slide h1 { font-size: 1.4rem; }
    .join-divider, .qr-section { display: none; }
    .carousel-arrow-left { left: 0.75rem; }
    .carousel-arrow-right { right: 0.75rem; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1.1rem; }
    .how-it-works-list li { padding: 0.75rem; }
    .network-stats { gap: 1.5rem; }
    .network-stat-value { font-size: 1.5rem; }
}
