/* ===================================
   ROADMAP & ABOUT MODALS - GLASS
   Better layout, scrolling, luxury feel
   =================================== */

/* Roadmap Modal */
.roadmap-content {
    max-height: 75vh;
    overflow-y: auto;
    padding: 2rem 2.5rem;
}

.roadmap-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, #6496dc 0%, #4678c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.roadmap-intro {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Timeline */
.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-phase {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.roadmap-phase:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.phase-header {
    margin-bottom: 1rem;
}

.phase-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.phase-badge.complete {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: rgba(16, 185, 129, 1);
}

.phase-badge.current {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: rgba(251, 191, 36, 1);
}

.roadmap-phase h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem 0;
    color: var(--color-text-primary);
}

.phase-description {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.roadmap-list li:last-child {
    border-bottom: none;
}

.roadmap-list li.completed {
    color: var(--color-text-primary);
}

.roadmap-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(100, 150, 220, 0.08);
    border: 1px solid rgba(100, 150, 220, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(12px);
}

.roadmap-cta p {
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
}

.roadmap-cta p:last-child {
    margin-bottom: 0;
}

/* About Modal */
.about-content {
    max-height: 75vh;
    overflow-y: auto;
    padding: 2rem 2.5rem;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #6496dc 0%, #4678c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.about-intro {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

/* Stats Showcase */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.stat-card:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6496dc 0%, #4678c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Sections */
.about-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(12px);
}

.about-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--color-text-primary);
}

.about-section p {
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

/* Admin Status Section */
#adminStatusSection {
    background: rgba(251, 191, 36, 0.1) !important;
    border: 1px solid rgba(251, 191, 36, 0.25) !important;
    border-left: 3px solid rgba(251, 191, 36, 1) !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    margin: 1.5rem 0 !important;
    backdrop-filter: blur(12px);
}

/* Scrollbar Styling */
.roadmap-content::-webkit-scrollbar,
.about-content::-webkit-scrollbar {
    width: 8px;
}

.roadmap-content::-webkit-scrollbar-track,
.about-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.roadmap-content::-webkit-scrollbar-thumb,
.about-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.roadmap-content::-webkit-scrollbar-thumb:hover,
.about-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Responsive - Bottom Sheet */
@media (max-width: 768px) {
    /* Bottom sheet positioning for roadmap/about modals */
    #roadmapModal .modal,
    #aboutModal .modal {
        align-items: flex-end !important;
    }

    #roadmapModal .modal-content,
    #aboutModal .modal-content {
        max-width: 100vw;
        width: 100%;
        margin: 0;
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
        animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
    }

    @keyframes slideUpModal {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Drag handle indicator */
    #roadmapModal .modal-content::before,
    #aboutModal .modal-content::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        z-index: 1;
    }

    .roadmap-content,
    .about-content {
        padding: 2rem 1.25rem 1.25rem 1.25rem;
        max-height: 82vh;
    }

    .roadmap-content h2,
    .about-content h2 {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }

    .stats-showcase {
        grid-template-columns: 1fr;
    }

    .roadmap-phase,
    .about-section {
        padding: 1.25rem;
    }
}
