/* ==================== NEWSLETTER.CSS ==================== */
.newsletter-section {
    padding: 80px 0;
    background-color: #0b0f19;
    position: relative;
    overflow: hidden;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 920px) {
    .community-grid {
        grid-template-columns: 1fr; /* Stack 1 by 1 */
        gap: 20px;
    }
}

.newsletter-card, .support-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-content h2, .support-content h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
}

.newsletter-content p, .support-content p {
    color: #a0aec0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.coffee-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFDD00; /* Original BMC Yellow */
    color: #000000;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.coffee-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 221, 0, 0.3);
    background: #FFCC00;
}

.trust-icons {
    margin-top: 20px;
    color: #718096;
    font-size: 0.85rem;
}

.trust-icons i {
    color: #ff4d4d;
}

.newsletter-trust {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.newsletter-trust span {
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-trust i {
    color: var(--primary-blue);
}

.floating-orbit {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.orbit-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.c-1 { width: 100%; height: 100%; animation: rotate 20s linear infinite; }
.c-2 { width: 70%; height: 70%; top: 15%; left: 15%; border-color: rgba(31, 182, 232, 0.2); animation: rotate 15s linear infinite reverse; }
.c-3 { width: 40%; height: 40%; top: 30%; left: 30%; background: var(--primary-gradient); filter: blur(40px); opacity: 0.3; }

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

@media (max-width: 992px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 30px;
    }
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
    }
    .newsletter-form input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 10px;
    }
    .newsletter-visual { display: none; }
}

/* Patreon Button */
.patreon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF424D; /* Patreon brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.patreon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 66, 77, 0.3);
    background: #e03b44;
}

/* Long Subscription Card Layout */
.newsletter-card.long-card {
    margin-top: 40px;
    width: 100%;
}

.newsletter-card.long-card .newsletter-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.newsletter-card.long-card .newsletter-text {
    flex: 1.2;
    text-align: left;
}

.newsletter-card.long-card .newsletter-action {
    flex: 0.8;
    width: 100%;
}

.newsletter-card.long-card .newsletter-content h2 {
    margin-bottom: 8px;
}

.newsletter-card.long-card .newsletter-content p {
    margin-bottom: 0;
}

/* Subscribed State Styles */
.subscribed-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.subscribed-title {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
}

.subscribed-text {
    color: #a0aec0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.subscribed-status {
    margin-top: 20px;
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive Styles for Long Card */
@media (max-width: 992px) {
    .newsletter-card.long-card {
        margin-top: 30px;
    }
    
    .newsletter-card.long-card .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .newsletter-card.long-card .newsletter-text {
        text-align: center;
    }
    
    .newsletter-card.long-card .newsletter-content p {
        margin-bottom: 0;
    }
    
    .newsletter-card.long-card .newsletter-action {
        max-width: 100%;
    }
}

