/* Sanctuary Community Styles - Sanctuary Focus Aesthetic */
body {
    background-color: #121212;
    color: #FAFAFA;
}

/* Hide sidebar for visitors - following public_ecosystem.html design */
.sidebar {
    display: none !important;
}

/* Reset main content to full width */
.main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Override vitrine.css header height for visitor header */
header {
    height: auto !important;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #121212;
}

.manifesto-section {
    text-align: center;
    margin-bottom: 1rem;
    padding: 4rem 2rem;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-icon {
    font-size: 4rem;
    color: #feaf50;
    margin-bottom: 2rem;
    display: block;
}

.community-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #FAFAFA;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.community-subtitle {
    font-size: 1.4rem;
    color: #AAAAAA;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.section-title {
    font-size: 1.8rem;
    color: #FAFAFA;
    margin-bottom: 1rem;
    font-weight: bold;
}

.section-description {
    color: #AAAAAA;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Curator Message Section */
.curator-message {
    margin-bottom: 8rem;
    padding: 0 0 4rem 0;
}

.curator-message-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.curator-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.curator-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #feaf50;
    object-fit: cover;
    margin-bottom: 1rem;
}

.curator-name {
    color: #FAFAFA;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.curator-role {
    color: #AAAAAA;
    font-size: 0.9rem;
    margin: 0;
}

.curator-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid #feaf50;
    padding-left: 24px;
    margin: 0;
    color: #FAFAFA;
    font-weight: 300;
}

/* Foundation Article Highlight */
.foundation-highlight {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 12rem;
    align-items: center;
}

.foundation-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.foundation-content .foundation-label {
    color: #feaf50;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.foundation-content .foundation-title {
    color: #FAFAFA;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.foundation-content .foundation-synopsis {
    color: #AAAAAA;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.foundation-content .foundation-button {
    background-color: #feaf50;
    color: #121212;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.foundation-content .foundation-button:hover {
    background-color: #e6993d;
    transform: translateY(-1px);
}

/* Articles Carousel Section */
.articles-carousel {
    margin-bottom: 10rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 300px;
    background-color: #1E1E1E;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.carousel-card:hover {
    border-color: #feaf50;
    transform: translateY(-2px);
}

.carousel-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-card-content {
    padding: 1.5rem;
}

.carousel-card-title {
    color: #FAFAFA;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.3;
}

.carousel-card-synopsis {
    color: #AAAAAA;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-link {
    color: #feaf50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.carousel-card-link:hover {
    text-decoration: underline;
    color: #feaf50;
}

/* Agreements Section - Grid 2x2 */
.agreements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 10rem;
}

.agreement-card {
    background-color: #1E1E1E;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.agreement-card:hover {
    border-color: rgba(254, 175, 80, 0.3);
    transform: translateY(-2px);
}

.agreement-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: #AAAAAA;
    stroke-width: 1.5;
}

.agreement-text {
    color: #FAFAFA;
    line-height: 1.6;
    font-size: 1rem;
}

/* Como Participar Section */
.como-participar-section {
    margin-bottom: 10rem;
    text-align: center;
}

.passos-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.passo-item {
    max-width: 280px;
    text-align: center;
}

.passo-numero {
    width: 60px;
    height: 60px;
    border: 1px solid #feaf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #feaf50;
}

.passo-titulo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FAFAFA;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.passo-descricao {
    color: #AAAAAA;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Action Block */
.action-block {
    background-color: #1E1E1E;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-title {
    font-size: 1.5rem;
    color: #FAFAFA;
    margin-bottom: 1rem;
    font-weight: bold;
}

.action-description {
    color: #AAAAAA;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.primary-button {
    background-color: #feaf50;
    color: #121212;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-button:hover {
    background-color: #e6993d;
    transform: translateY(-1px);
}

/* Application Form */
.application-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    color: #FAFAFA;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #2A2A2A;
    color: #FAFAFA;
    border-radius: 4px;
    font-size: 1rem;
}

.form-input:disabled {
    background-color: #1A1A1A;
    color: #AAAAAA;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input:focus {
    outline: none;
    border-color: #feaf50;
}

/* Application Status Messages */
.status-message {
    background-color: #1E1E1E;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #feaf50;
}

.status-pending {
    border-left-color: #ffc107;
}

.status-approved {
    border-left-color: #28a745;
}

.status-rejected {
    border-left-color: #dc3545;
}

/* Entry Portal Styles */
.entry-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: #121212;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.entry-header {
    text-align: center;
    margin-bottom: 3rem;
}

.entry-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FAFAFA;
}

.entry-subtitle {
    font-size: 1.1rem;
    color: #AAAAAA;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.option-card {
    background-color: #1E1E1E;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #feaf50;
    transform: translateY(-2px);
}

.option-title {
    font-size: 1.3rem;
    color: #FAFAFA;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.signup-button {
    background-color: #feaf50;
    color: #121212;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.signup-button:hover {
    background-color: #e6993d;
    transform: translateY(-1px);
}

.login-form {
    width: 100%;
}

.login-button {
    background-color: #feaf50;
    color: #121212;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #e6993d;
    transform: translateY(-1px);
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

.back-link a {
    color: #feaf50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Action Confirmation Styles */
.confirmation-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.confirmation-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.confirmation-title {
    font-size: 2rem;
    color: #FAFAFA;
    margin-bottom: 1rem;
    font-weight: bold;
}

.confirmation-message {
    font-size: 1.1rem;
    color: #AAAAAA;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-container {
        padding: 1rem;
    }

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

    .action-block {
        padding: 2rem;
    }

    .entry-container {
        padding: 2rem 1rem;
    }

    .options-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .entry-title {
        font-size: 1.8rem;
    }

    .option-card {
        padding: 1.5rem;
    }

    .community-title {
        font-size: 2.5rem;
    }

    .community-subtitle {
        font-size: 1.1rem;
    }

    .manifesto-section {
        padding: 2rem 1rem;
        min-height: 50vh;
    }

    .foundation-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .foundation-image {
        height: 250px;
        max-width: 400px;
        margin: 0 auto;
    }

    .agreements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .agreement-card {
        padding: 2rem 1.5rem;
    }

    .carousel-card {
        flex: 0 0 280px;
    }

    .passos-container {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
    }

    .passo-item {
        max-width: 320px;
    }

    .curator-message-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .curator-photo {
        width: 120px;
        height: 120px;
    }

    .curator-quote blockquote {
        font-size: 1.2rem;
        padding-left: 16px;
        border-left-width: 2px;
    }
}