/* ===== Community Page Specific Styles ===== */

/* Hero */
.comm-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    position: relative;
}

.comm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 200, 83, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.comm-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--green);
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.25);
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 24px;
}

.comm-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.comm-hero .green {
    color: var(--green);
}

.comm-hero .subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 200, 83, 0.15);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.code-block {
    background: #0d0d0d;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--green);
    overflow-x: auto;
}

/* Documentation Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px 24px;
    color: var(--white);
    transition: all 0.3s;
}

.doc-card:hover {
    border-color: var(--green);
    background: rgba(0, 200, 83, 0.03);
    transform: translateX(4px);
    opacity: 1;
}

.doc-icon {
    font-size: 1.8rem;
    min-width: 40px;
    text-align: center;
}

.doc-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.doc-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

.doc-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--green);
    opacity: 0;
    transition: opacity 0.3s;
}

.doc-card:hover .doc-arrow {
    opacity: 1;
}

/* Bootcamp Timeline */
.bootcamp-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.boot-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.boot-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}

.boot-phase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.boot-badge {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--green);
    background: rgba(0, 200, 83, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.boot-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.boot-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.boot-card ul {
    list-style: none;
    margin-bottom: 16px;
}

.boot-card ul li {
    font-size: 0.85rem;
    color: var(--light-gray);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.boot-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.7rem;
}

.boot-tag {
    font-size: 0.75rem;
    color: var(--gray);
    border-top: 1px solid var(--dark-border);
    padding-top: 12px;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.res-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.res-card:hover {
    border-color: var(--green);
    transform: translateY(-3px);
}

.res-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.res-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.res-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.res-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
}

/* Community Channels */
.community-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.channel-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    color: var(--white);
    transition: all 0.3s;
}

.channel-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    opacity: 1;
}

.ch-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.channel-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.channel-card p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .comm-hero h1 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .bootcamp-timeline {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .community-channels {
        grid-template-columns: repeat(2, 1fr);
    }
}