/* Container */
.dhc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
}

/* Header */
.dhc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dhc-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0984e3, #6c5ce7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.dhc-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.dhc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Card Styling - Glassmorphism Base */
.dhc-card {
    position: relative;
    display: block;
    text-decoration: none !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

/* Animated Background Gradient for Hover Effect */
.dhc-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.05), rgba(108, 92, 231, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.dhc-card-content {
    position: relative;
    z-index: 1;
}

/* IconWrapper */
.dhc-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(9, 132, 227, 0.15);
    margin-bottom: 1.5rem;
    color: #0984e3;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dhc-icon-wrap i {
    font-size: 32px;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

/* Term Name */
.dhc-term-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
    transition: color 0.3s ease;
}

/* Highlight Card (Veja todos) */
.dhc-card-highlight {
    background: linear-gradient(135deg, #0984e3, #6c5ce7);
    border: none;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

.dhc-card-highlight .dhc-term-name {
    color: #ffffff;
}

.dhc-card-highlight .dhc-icon-wrap {
    color: #6c5ce7;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.dhc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.1);
    border-color: #ffffff;
}

.dhc-card:hover .dhc-card-bg {
    opacity: 1;
}

.dhc-card:hover .dhc-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(9, 132, 227, 0.25);
}

.dhc-card-highlight:hover {
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.4);
    transform: translateY(-8px) scale(1.02);
}

.dhc-card-highlight:hover .dhc-icon-wrap {
    transform: scale(1.1) rotate(15deg);
}

/* Responsive */
@media (max-width: 768px) {
    .dhc-title {
        font-size: 2rem;
    }
    .dhc-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    .dhc-card {
        padding: 2rem 1.25rem;
    }
}
@media (max-width: 480px) {
    .dhc-container {
        padding: 2rem 1rem;
    }
    .dhc-title {
        font-size: 1.75rem;
    }
    .dhc-grid {
        grid-template-columns: 1fr;
    }
    .dhc-card {
        padding: 1.5rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .dhc-icon-wrap {
        margin-bottom: 0;
        margin-right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .dhc-icon-wrap i {
        font-size: 24px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }
    .dhc-term-name {
        font-size: 1.1rem;
    }
}
