/* Bottom Grid layout (Activities & Launch) */
.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.activities-card {
    padding: var(--spacing-xl);
}

.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.activities-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
}

.activity-list {
    position: relative;
    padding-left: 12px;
}

.activity-list::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 16px;
    bottom: 24px;
    width: 2px;
    background-color: var(--border-color);
}

.activity-item {
    display: flex;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-dot-wrapper {
    position: relative;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-lg);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.activity-dot-wrapper.is-green {
    border-color: #bbf7d0;
}

.activity-dot-wrapper.is-green .activity-dot {
    background-color: var(--color-success);
}

.activity-dot-wrapper.is-blue {
    border-color: rgba(67, 56, 202, 0.2);
}

.activity-dot-wrapper.is-blue .activity-dot {
    background-color: var(--color-primary);
}

.activity-dot-wrapper.is-purple {
    border-color: #e9d5ff;
}

.activity-dot-wrapper.is-purple .activity-dot {
    background-color: #9333ea;
}

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.activity-content {
    flex: 1;
    background-color: var(--bg-surface-hover);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.activity-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.activity-title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.activity-time--mobile {
    margin-top: 4px;
}

.activity-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Launch CTA Card */
.launch-cta {
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-xl);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    transition: all 0.4s ease;
}

.launch-cta.is-pending {
    background: linear-gradient(135deg, var(--color-primary), #312e81);
    box-shadow: 0 20px 25px -5px rgba(67, 56, 202, 0.4);
}

.launch-cta.is-ready {
    background: linear-gradient(135deg, var(--color-success), #047857);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
}

.launch-cta.is-development {
    background: linear-gradient(135deg, #475569, #1e293b);
    box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.4);
}

.launch-cta::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.launch-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.launch-icon .material-icons-outlined {
    font-size: 32px;
    color: #e0e7ff;
}

.launch-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.launch-desc {
    font-size: 0.9375rem;
    color: #cbd5e1;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.btn-launch {
    background-color: var(--color-white);
    color: var(--color-primary);
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.launch-cta.is-pending .btn-launch:hover {
    background-color: var(--color-slate-50);
}

.launch-cta.is-ready .is-ready-btn {
    color: var(--color-success);
}

.launch-cta.is-ready .is-ready-btn:hover {
    background-color: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.launch-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 12px;
}

/* Launch Card Enhancements (Status Badge & Price logic) */
.launch-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ready-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pending-badge {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.development-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.development-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.launch-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.launch-price-info .price-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.launch-price-info .price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.support-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.support-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-surface-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.support-title {
    font-size: 1rem;
    margin-bottom: 2px;
}

.support-link {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .bottom-grid {
        grid-template-columns: 1fr;
    }
}

.activities-title {
    font-size: 1.25rem;
}

/* grid-launch-card.css */

/* Make the launch card behave nicely inside the tasks grid */
.tasks-grid .launch-cta {
    margin-bottom: 0;
    /* Remove bottom margin, grid gap handles spacing */
    height: 100%;
    /* Ensure it fills the grid track height */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-md);
    /* Reduce padding to match standard cards */
}

/* Shrink the icon wrapper for compact view */
.tasks-grid .launch-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--spacing-sm);
}

/* Shrink the material icon itself */
.tasks-grid .launch-icon .material-icons-outlined {
    font-size: 20px;
}

/* Adjust typography for tighter spaces */
.tasks-grid .launch-title {
    font-size: 1.125rem;
    margin-bottom: 2px;
}

.tasks-grid .launch-desc {
    font-size: 0.8125rem;
    /* Smaller text */
    margin-bottom: var(--spacing-md);
    /* Prevent text from overflowing and stretching the card vertically */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Less lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Adjust the status badge in the grid */
.tasks-grid .launch-status-badge {
    margin-bottom: var(--spacing-sm);
    padding: 2px 8px;
    font-size: 0.65rem;
}

/* Adjust the price info block in the grid */
.tasks-grid .launch-price-info {
    padding: 8px 12px;
    margin-bottom: var(--spacing-md);
}

.tasks-grid .launch-price-info .price-label {
    font-size: 0.75rem;
}

.tasks-grid .launch-price-info .price-value {
    font-size: 1rem;
}

/* Adjust button padding and font size */
.tasks-grid .btn-launch {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

/* Adjust the note text margins */
.tasks-grid .launch-note {
    margin-top: 6px;
    font-size: 0.65rem;
}