/* ===========================
   ArticalMC - Modalità Page
   =========================== */

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-primary);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Modes Section */
.modes-section {
    padding: 40px 0 100px;
    background: var(--bg-primary);
}

.mode-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: var(--transition);
}

.mode-block:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Mode Headers with gradients */
.mode-header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mode-header.bedwars {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.mode-header.kitpvp {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.mode-header.skyprison {
    background: linear-gradient(135deg, #00CED1, #00B4B7);
}

.mode-header.survival {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.mode-header.smp {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.mode-header.duels {
    background: linear-gradient(135deg, #e84393, #fd79a8);
}

.mode-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.mode-title-group {
    flex: 1;
}

.mode-title-group h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.mode-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.mode-players {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mode Body */
.mode-body {
    padding: 32px;
}

.mode-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.mode-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--main-color);
    transform: translateY(-2px);
}

.feature > i {
    color: var(--main-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* CTA Section */
.modes-cta {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.cta-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-ip code {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color);
    background: var(--bg-secondary);
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-family: 'Poppins', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .mode-header {
        padding: 20px 24px;
    }
    .mode-body {
        padding: 24px;
    }
    .mode-features {
        grid-template-columns: 1fr;
    }
    .mode-players {
        width: 100%;
        margin-top: 8px;
    }
    .cta-card {
        padding: 30px 20px;
    }
}
