.domain {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.domain:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.domain-title {
    margin-bottom: 15px;
    color: green;
    text-align: center;
}

.domain-container {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.domain-item {
    text-align: center;
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 250px;
    transition: transform 0.3s;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--accent-color);
}

.domain-item:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.domain-item a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.domain-item a:hover {
    color: var(--secondary-color);
}

.domain-item span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.domain-item span:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .domain-container {
        gap: 12px;
    }
    
    .domain-item {
        min-width: 180px;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .domain {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .domain-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .domain-container {
        gap: 10px;
    }
    
    .domain-item {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: auto;
    }
}