/* Featured Domains Section */
.featured-domains {
    width: 100%;
    margin: 70px auto;
}

.featured-domains-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #25354b;
    text-align: left;
    padding: 0 0.5rem;
}

/* Categories Bar */
.featured-domains-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.featured-domains-category-btn {
    padding: 0.375rem 0.875rem;
    border: 1px solid rgba(37, 53, 75, 0.15);
    border-radius: 20px;
    background: transparent;
    color: #25354b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.featured-domains-category-btn:hover {
    border-color: #ba1628;
    color: #ba1628;
}

.featured-domains-category-btn.active {
    background: #25354b;
    color: white;
    border-color: #25354b;
}

/* Grid - 6 columns on desktop */
.featured-domains-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    padding: 0 0.5rem;
}

/* Tablet: 4 columns */
@media (max-width: 1024px) {
    .featured-domains-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .featured-domains {
        padding: 1rem 0.5rem;
    }

    .featured-domains-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .featured-domains-categories {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .featured-domains-category-btn {
        padding: 0.3rem 0.7rem;
        font-size: 11px;
    }

    .featured-domains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Cards */
.featured-domains-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.featured-domains-card:hover {
    transform: scale(1.02);
}

.featured-domains-card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-domains-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-domains-card-name {
    font-size: 11px;
    font-weight: 500;
    color: #25354b;
    text-align: center;
    word-break: break-word;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

[x-cloak] {
    display: none;
}
